]> sourceware.org Git - glibc.git/blame - ChangeLog
AArch64: Implement optimized strlen.
[glibc.git] / ChangeLog
CommitLineData
a897655d
SP
12013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4
881ebe89 52013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6
7 * elf/elf.h (R_386_SIZE32): New relocation.
8 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9 R_386_SIZE32.
10 (elf_machine_rela): Likewise.
11 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13
59981e9b
JM
142013-01-17 Joseph Myers <joseph@codesourcery.com>
15
16 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17 (FP_FAST_FMA): Do not define.
18 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22 !_SOFT_FLOAT]: Likewise.
23 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25 value.
26 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32 file.
33
cfa8054f
AS
342013-01-16 Andreas Schwab <schwab@suse.de>
35
36 [BZ #14327]
37 * include/stdlib.h (__mktemp): Add declaration.
38 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40
dd930cc5
SP
412013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42
881ebe89
SP
43 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44 definitions.
45 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48 definitions here.
49 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51 definitions.
52 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53 and ONE.
54 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57 definitions.
58 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60 definitions.
61 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 62
dd930cc5
SP
63 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64
c19a9f89
DM
652013-01-15 David S. Miller <davem@davemloft.net>
66
1aa61767
DM
67 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68 trunc{,f} to libm-sysdep_routes.
69 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71 file.
72 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
73 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
74 file.
75 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
76 file.
77 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
78 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
79 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
80 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
81 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
82 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
83 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
84 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
85
c42d5e98
DM
86 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
87 nearbyint{,f} to libm-sysdep_routes.
88 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
89 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
90 New file.
91 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
92 file.
93 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
94 New file.
95 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
96 file.
97 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
98 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
99 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
100 file.
101 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
102 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
103 file.
104 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
105 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
106 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
107
c19a9f89
DM
108 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
109 libc_feholdexcept and libc_fesetenv.
110
357679d2
MF
1112013-01-15 Mike Frysinger <vapier@gentoo.org>
112
113 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
114
65a82e3d
DM
1152013-01-14 David S. Miller <davem@davemloft.net>
116
8b954ab9
DM
117 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
118 (SPARC_ASM_VIS2_IFUNC): Likewise.
119 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
121 use of 'siam' instruction.
122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
123 Likewise.
124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
125 Likewise.
126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
127 Likewise.
128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
133 file.
134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
135 file.
136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
137 file.
138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
139 file.
140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
145 new VIS2 routines.
146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
149 Likewise.
150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
155 routines to libm-sysdep_routines.
156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
157
65a82e3d
DM
158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
159 fdim/fdimf to libm-sysdep_routines.
160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
161 file.
162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
164 file.
165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
168 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
169 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
170 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
171 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
172
e34ab705
SP
1732013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
174
2a91b573
SP
175 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
176 to optimize copies.
177
1066a534
SP
178 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
181
e34ab705
SP
182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
183 local variable MPTWO.
184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
185 Likewise.
186
aba5e596
MF
1872013-01-13 Mike Frysinger <vapier@gentoo.org>
188
189 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
190 GLOB_NOESCAPE.
191
e557e9e5
MF
1922013-01-13 Mike Frysinger <vapier@gentoo.org>
193
194 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
195
0428cec9
MF
1962013-01-13 Mike Frysinger <vapier@gentoo.org>
197
198 * manual/pattern.texi (glob_t): Document gl_flags.
199 (glob64_t): Likewise.
200
8794a964
DM
2012013-01-11 David S. Miller <davem@davemloft.net>
202
66438c3f
RM
203 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
204 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
205 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
206 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
207 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
208 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
209 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
210 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
211 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
212 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
213 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
214 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
215 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
216
4ae4244d
DM
217 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
218 sparc V9 rather than using V8 code.
219 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
220 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
221
8794a964
DM
222 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
223 Move to...
224 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
225 Here.
226
6270516e
RM
2272013-01-11 Roland McGrath <roland@hack.frob.com>
228
229 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
230 not in the main loop.
231 * configure: Regenerated.
232
6a57d931
JM
2332013-01-11 Joseph Myers <joseph@codesourcery.com>
234
235 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
236 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
237 to just #else.
238 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
239 [!__GLIBC_HAVE_LONG_LONG] case.
240 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
241 condition to just #else.
242 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
243 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
244 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
245 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
246 unconditional.
247 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
248 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
249 #elif condition to just #else.
250 * sysdeps/unix/sysv/linux/sys/sysmacros.h
251 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
252 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
253 #elif condition to just #else.
254
0e8529e9
SE
2552013-01-11 Steve Ellcey <sellcey@mips.com>
256
257 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
258 (EF_MIPS_ARCH_64): Fix value.
259 (EF_MIPS_ARCH_32R2): New.
260 (EF_MIPS_ARCH_64R2): New.
261
740b3dbe
L
2622013-01-11 H.J. Lu <hongjiu.lu@intel.com>
263
264 * Makeconfig (+link-pie-before-libc): New.
265 (+link-pie-after-libc): Likewise.
266 (+link-pie-tests): Likewise.
267 (+link-pie): Rewritten.
268 (link-before-libc): Remove $(config-LDFLAGS).
269 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
270 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
271 (config-LDFLAGS): Renamed to ...
272 (rtld-LDFLAGS): This.
273 (rtld-tests-LDFLAGS): New macro.
274 (link-libc-rpath-link): Likewise.
275 (link-libc-tests-rpath-link): Likewise.
276 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
277 (link-libc): Prepand $(link-libc-rpath-link).
278 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
279 (test-program-prefix): New macro.
280 (test-via-rtld-prefix): Likewise.
281 (test-program-cmd): Likewise.
282 (host-test-program-cmd): Likewise.
283 * Makefile ($(common-objpfx)testrun.sh): Replace
284 $(run-program-prefix) with $(test-program-prefix).
285 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
286 $(rtld-LDFLAGS).
287 ($(common-objpfx)shlib.lds): Likewise.
288 (build-module-helper): Likewise.
289 ($(common-objpfx)format.lds): Likewise.
290 * Rules (binaries-pie-tests): New.
291 (binaries-pie-notests): Likewise.
292 (binaries-pie): Rewritten.
293 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
294 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
295 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
296 (make-test-out): Replace $(host-built-program-cmd) with
297 $(host-test-program-cmd).
298 * config.make.in (build-hardcoded-path-in-tests): New variable.
299 * configure.in (--enable-hardcoded-path-in-tests): New configure
300 option.
301 (hardcoded_path_in_tests): New AC_SUBST.
302 * configure: Regenerated.
303 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
304 $(built-program-cmd) with $(test-program-cmd).
305 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
306 (test_program_cmd): This.
307 * elf/Makefile ($(objpfx)order.out): Run test with
308 $(test-program-prefix).
309 ($(objpfx)order2.out): Likewise.
310 ($(objpfx)tst-initorder.out): Likewise.
311 ($(objpfx)tst-initorder2.out): Likewise.
312 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
313 $(test-program-cmd).
314 ($(objpfx)tst-array1-static.out): Likewise.
315 ($(objpfx)tst-array2.out): Likewise.
316 ($(objpfx)tst-array3.out): Likewise.
317 ($(objpfx)tst-array4.out): Likewise.
318 ($(objpfx)tst-array5.out): Likewise.
319 ($(objpfx)tst-array5-static.out): Likewise.
320 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
321 $(test-program-cmd).
322 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
323 $(run-program-prefix) with $(test-program-prefix).
324 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
325 (test_program_prefix): This.
326 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
327 $(run-program-prefix) with $(test-program-prefix).
328 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
329 (test_program_prefix): This.
330 * iconvdata/tst-tables.sh: Likewise.
331 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
332 $(run-program-prefix) with $(test-program-prefix).
333 ($(objpfx)tst-translit.out): Likewise.
334 ($(objpfx)tst-gettext2.out): Likewise.
335 ($(objpfx)tst-gettext4.out): Likewise.
336 ($(objpfx)tst-gettext6.out): Likewise.
337 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
338 (test_program_prefix): This.
339 * intl/tst-gettext2.sh: Likewise.
340 * intl/tst-gettext4.sh Likewise.
341 * intl/tst-gettext6.sh: Likewise.
342 * intl/tst-translit.sh: Likewise.
343 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
344 with $(test-program-cmd).
345 * libio/Makefile ($(objpfx)test-freopen.out): Replace
346 $(run-program-prefix) with $(test-program-prefix).
347 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
348 (test_program_prefix): This.
349 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
350 $(run-program-prefix) with $(test-program-prefix).
351 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
352 (test_program_prefix): This.
353 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
354 * posix/Makefile ($(objpfx)globtest.out): Replace
355 $(run-via-rtld-prefix) and $(test-wrapper) with
356 $(test-program-prefix) and $(test-via-rtld-prefix).
357 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
358 $(test-program-prefix).
359 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
360 $(host-test-program-cmd).
361 (tst-spawn-ARGS): Likewise.
362 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
363 $(test-program-prefix).
364 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
365 (test_via_rtld_prefix): This.
366 (test_wrapper): Renamed to ...
367 (test_program_prefix): This.
368 (run_program_prefix): Replaced by test_program_prefix.
369 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
370 (test_program_prefix): This.
371 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
372 with $(host-test-program-cmd).
373 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
374 $(run-program-prefix) with $(test-program-prefix).
375 ($(objpfx)tst-printf.out): Likewise.
376 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
377 $(test-program-cmd).
378 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
379 (test_program_prefix): This.
380 * stdio-common/tst-unbputc.sh: Likewise.
381 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
382 $(run-program-prefix) with $(test-program-prefix).
383 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
384 (test_program_prefix): This.
385 * string/Makefile ($(objpfx)tst-svc.out): Replace
386 $(built-program-cmd) with $(test-program-cmd).
387
c6fe55cf
AJ
3882013-01-11 Andreas Jaeger <aj@suse.de>
389
390 [BZ #15003]
391 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
392 value. Sync with Linux 3.7.
393
9e6919c8
DM
3942013-01-10 David S. Miller <davem@davemloft.net>
395
396 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
397 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
398 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
399
1c9f1a02
RM
4002013-01-10 Roland McGrath <roland@hack.frob.com>
401
402 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
403 never set.
404 * configure: Regenerated.
405
b9de2dde
DM
4062013-01-10 David S. Miller <davem@davemloft.net>
407
408 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
409 sparc V9 rather than using V8 code.
410 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
411 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
412
e7f68ef4
RM
4132013-01-10 Roland McGrath <roland@hack.frob.com>
414
415 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
416 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
417 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
418 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
419 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
420 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
421 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
422 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
423 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
424 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
425 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
426 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
427 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
428 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
429 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
430 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
431 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
432 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
433 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
434 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
435 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
436 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
437 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
438 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
439 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
440 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
441 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
442
5a47cc9c
DM
4432013-01-10 David S. Miller <davem@davemloft.net>
444
445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
446
4cf8f209
L
4472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
448
449 * posix/Makefile (tests-static): New variable.
450 (tests): Add $(tests-static).
451 (tst-exec-static-ARGS): New variable.
452 (tst-spawn-static-ARGS): Likewise.
453 * posix/tst-exec-static.c: New file.
454 * posix/tst-spawn-static.c: Likewise.
455 * posix/tst-exec.c: Support run directly.
456 * posix/tst-spawn.c: Likewise.
457
fed0faa1
JM
4582013-01-10 Joseph Myers <joseph@codesourcery.com>
459
828beb13
JM
460 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
461 long.
462 * math/bits/mathcalls.h (llrint): Likewise.
463 (llround): Likewise.
464 * stdlib/stdlib.h (struct drand48_data): Likewise.
465 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
466 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
467 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
468 Likewise.
469 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
470 Likewise.
471 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
472 (elf_greg_t): Likewise.
473 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
474 (__jmp_buf): Likewise.
475 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
476 definitions.
477 (llrint): Likewise, for all definitions.
478 (llrintl): Likewise.
479
fed0faa1
JM
480 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
481 Remove [__GNUC__] condition.
482 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
483 condition to just [__USE_ISOC99].
484 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
485
1a20cb20
L
4862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
487
488 [BZ #14200]
489 * sysdeps/unix/sysv/linux/x86/bits/environments.h
490 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
491 defined.
492 (_POSIX_V6_ILP32_OFF32): Likewise.
493 (_XBS5_ILP32_OFF32): Likewise.
494 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
495 (__ILP32_OFFBIG_LDFLAGS): Likewise.
496
751b85f7
SP
4972013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
498
7490eb81
SP
499 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
500
751b85f7
SP
501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
502 doubles __mpexp_twomm1. Adjust usage.
503 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
504 Remove.
505
988197f0
AS
5062013-01-10 Andreas Schwab <schwab@suse.de>
507
508 [BZ #14964]
509 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
510 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
511
e83d7298
DM
5122013-01-09 David S. Miller <davem@davemloft.net>
513
034ed64b 514 [BZ #15003]
e83d7298
DM
515 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
516 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
517 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
518 TCP_FASTOPEN): Define.
519 (tcp_repair_opt): New structure.
520 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
521 enum values.
522 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
523 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
524 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
525 (tcp_cookie_transactions): New structure.
526
d5e0b9bd
AB
5272013-01-09 Anton Blanchard <anton@samba.org>
528
529 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
530 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
531 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
532 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
533
0c07e3ea
JM
5342013-01-09 Joseph Myers <joseph@codesourcery.com>
535
536 * include/features.h (__USE_ANSI): Remove.
537
232f7002
RM
5382013-01-09 Roland McGrath <roland@hack.frob.com>
539
ad98e30c
RM
540 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
541
232f7002
RM
542 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
543
950c99ca
SP
5442013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
545
b5792741
SP
546 * sysdeps/s390/fpu/libm-test-ulps: Update.
547
47cf2278
SP
548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
549
950c99ca
SP
550 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
551 (__acr): Likewise.
552 (__cpy): Likewise.
553 (norm): Likewise.
554 (denorm): Likewise.
555 (__mp_dbl): Likewise.
556 (__dbl_mp): Likewise.
557 (add_magnitudes): Likewise.
558 (sub_magnitudes): Likewise.
559 (__add): Likewise.
560 (__sub): Likewise.
561 (__mul): Likewise.
562 (__inv): Likewise.
563 (__dvd): Likewise.
564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
565 (__acr): Likewise.
566 (__cpy): Likewise.
567 (norm): Likewise.
568 (denorm): Likewise.
569 (__mp_dbl): Likewise.
570 (__dbl_mp): Likewise.
571 (add_magnitudes): Likewise.
572 (sub_magnitudes): Likewise.
573 (__add): Likewise.
574 (__sub): Likewise.
575 (__mul): Likewise.
576 (__inv): Likewise.
577 (__dvd): Likewise.
578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
579 (__acr): Likewise.
580 (__cpy): Likewise.
581 (norm): Likewise.
582 (denorm): Likewise.
583 (__mp_dbl): Likewise.
584 (__dbl_mp): Likewise.
585 (add_magnitudes): Likewise.
586 (sub_magnitudes): Likewise.
587 (__add): Likewise.
588 (__sub): Likewise.
589 (__mul): Likewise.
590 (__inv): Likewise.
591 (__dvd): Likewise.
592
eede9df9
JM
5932013-01-08 Joseph Myers <joseph@codesourcery.com>
594
595 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
596 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
597 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
598 2 && __USE_EXTERN_INLINES]: Likewise.
599
c40ea3d9
AJ
6002013-01-08 Andreas Jaeger <aj@suse.de>
601
602 [BZ# 14985]
603 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
604 Remove.
605 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
606 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
607
2ccdea26
AB
6082013-01-07 Anton Blanchard <anton@samba.org>
609
610 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
611 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
612 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
613 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
614 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
615 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
616 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
617 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
619 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
620 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
621 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
622 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
623 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
624 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
625 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
626 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
627 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
628 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
629 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
630 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
631 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
632 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
633 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
634 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
635 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
636 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
637 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
639 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
640 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
642 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
643 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
644 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
645 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
646 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
647 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
648 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
650 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
651 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
652 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
653
a9708fed
JM
6542013-01-07 Joseph Myers <joseph@codesourcery.com>
655
375607b9
JM
656 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
657 (__MALLOC_PMT): Likewise.
658 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
659 [__GNUC__], only on [_LIBC].
660 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
661 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
662 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
663 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
664 forward declaration.
665 (realloc_hook_ini): Likewise.
666 (memalign_hook_ini): Likewise.
667 (__libc_memalign): Do not use __MALLOC_PMT in variable
668 declaration.
669 (__libc_valloc): Likewise.
670 (__libc_pvalloc): Likewise.
671 (__libc_calloc): Likewise.
672 (__posix_memalign): Likewise.
673
a9708fed
JM
674 [BZ #14996]
675 * math/s_casinh.c: Include <float.h>.
676 (__casinh): Do not do computation with squaring and square root
677 for large arguments.
678 * math/s_casinhf.c: Include <float.h>.
679 (__casinhf): Do not do computation with squaring and square root
680 for large arguments.
681 * math/s_casinhl.c: Include <float.h>.
682 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
683 (__casinhl): Do not do computation with squaring and square root
684 for large arguments.
685 * math/libm-test.inc (casin_test): Add more tests.
686 (casinh_test): Likewise.
687 * sysdeps/i386/fpu/libm-test-ulps: Update.
688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
689
afec409a
L
6902013-01-04 H.J. Lu <hongjiu.lu@intel.com>
691
692 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
693 (__x86_64_raw_data_cache_size): Likewise.
694 (__x86_64_data_cache_size_half): Likewise.
695 (__x86_64_raw_data_cache_size_half): Likewise.
696 (__x86_64_shared_cache_size): Likewise.
697 (__x86_64_raw_shared_cache_size): Likewise.
698 (__x86_64_shared_cache_size_half): Likewise.
699 (__x86_64_raw_shared_cache_size_half): Likewise.
700 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
701 to ...
702 (__x86_data_cache_size): This.
703 (__x86_64_raw_data_cache_size): Renamed to ...
704 (__x86_raw_data_cache_size): This.
705 (__x86_64_data_cache_size_half): Renamed to ...
706 (__x86_data_cache_size_half): This.
707 (__x86_64_raw_data_cache_size_half): Renamed to ...
708 (__x86_raw_data_cache_size_half): This.
709 (__x86_64_shared_cache_size): Renamed to ...
710 (__x86_shared_cache_size): This.
711 (__x86_64_raw_shared_cache_size): Renamed to ...
712 (__x86_raw_shared_cache_size): This.
713 (__x86_64_shared_cache_size_half): Renamed to ...
714 (__x86_shared_cache_size_half): This.
715 (__x86_64_raw_shared_cache_size_half): Renamed to ...
716 (__x86_raw_shared_cache_size_half): This.
717 * sysdeps/x86_64/memcpy.S: Updated.
718 * sysdeps/x86_64/memset.S: Likewise.
719 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
721 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
722
0b3986d0
DM
7232013-01-04 David S. Miller <davem@davemloft.net>
724
725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
726
e47686e9
AS
7272013-01-04 Andreas Schwab <schwab@linux-m68k.org>
728
d643bac1
AS
729 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
730 1 to avoid redefinition warning.
731 (__USE_GNU): Don't define.
732 (init_signaling_nan): Protoize.
733
e47686e9
AS
734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
735
b18decba
SP
7362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
737
fffb407f
SP
738 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
740 (__cpymn): Likewise.
741 (norm): Remove commented code.
742 (denorm): Likewise.
743 (__mp_dbl): Likewise.
744 (__inv): Likewise.
745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
746 (__cpymn): Likewise.
747 (norm): Remove commented code.
748 (denorm): Likewise.
749 (__mp_dbl): Likewise.
750 (__inv): Likewise.
751
b18decba
SP
752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
753 mp_no value for 1.0 and 2.0.
754 (norm): Use RADIXI instead of radixi.d.
755 (denorm): Likewise.
756 (__mul): Use 0.0 instead of zero.d.
757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
758 mp_no value for 1.0 and 2.0.
759 (norm): Use RADIXI instead of radixi.d.
760 (denorm): Likewise.
761 (__mul): Use 0.0 instead of zero.d.
762
cdc1c96f
JM
7632013-01-04 Joseph Myers <joseph@codesourcery.com>
764
765 [BZ #14994]
766 * math/s_casinh.c (__casinh): Reduce finite argument to first
767 quadrant then set signs of results at the end.
768 * math/s_casinhf.c (__casinhf): Likewise.
769 * math/s_casinhl.c (__casinhl): Likewise.
770 * math/libm-test.inc (casin_test): Add more tests.
771 (casinh_test): Likewise.
772 * sysdeps/i386/fpu/libm-test-ulps: Update.
773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
774
302913e1
SP
7752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
776
6420d207
SP
777 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
778
a9e48ab4
SP
779 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
780
b7837264
SP
781 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
782 declarations.
783 (denorm): Likewise.
784 (__mp_dbl): Likewise.
785 (__inv): Likewise.
786
f8af25d2
SP
787 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
788 and adjust the header comment.
789
302913e1
SP
790 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
791 variable name from declaration.
792
5d7dd1ca
L
7932013-01-03 H.J. Lu <hongjiu.lu@intel.com>
794
795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
796 Initialize COMMON_CPUID_INDEX_7 element.
797 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
798 (CPUID_RTM): Likewise.
799 (HAS_RTM): Likewise.
800 (COMMON_CPUID_INDEX_7): New enum.
801
2f5f40f4
AS
8022013-01-03 Andreas Schwab <schwab@linux-m68k.org>
803
804 [BZ #14981]
805 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
806 size is zero, record memory as freed.
807
4056f4a0
AJ
8082013-01-03 Andreas Jaeger <aj@suse.de>
809
810 * po/ia.po: Add new Interlingua translation.
811
ab15736f 8122012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
813
814 * locale/programs/localedef.c: Fix description of '--posix' flag.
815
568035b7
JM
8162013-01-02 Joseph Myers <joseph@codesourcery.com>
817
e6898b8d
JM
818 * NEWS: Update dates in second copyright notice.
819 * README: Update copyright dates in example.
820 * manual/libc.texinfo: Update copyright dates.
821 * scripts/test-installation.pl: Update copyright date in --version
822 output.
823
0e2f9562
JM
824 * hurd/ctty-input.c: Fix copyright notice formatting.
825 * hurd/ctty-output.c: Likewise.
826 * hurd/dtable.c: Likewise.
827 * hurd/hurd-raise.c: Likewise.
828 * hurd/hurdprio.c: Likewise.
829 * hurd/msgportdemux.c: Likewise.
830 * misc/sys/file.h: Likewise.
831 * misc/sys/ioctl.h: Likewise.
832 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
833 * sysdeps/mach/hurd/chdir.c: Likewise.
834 * sysdeps/mach/hurd/fchdir.c: Likewise.
835 * sysdeps/mach/hurd/rename.c: Likewise.
836 * sysdeps/mach/hurd/rmdir.c: Likewise.
837 * sysdeps/mach/hurd/seekdir.c: Likewise.
838 * sysdeps/mach/hurd/setsid.c: Likewise.
839 * sysdeps/posix/wait3.c: Likewise.
840
568035b7
JM
841 * All files with FSF copyright notices: Update copyright dates
842 using scripts/update-copyrights.
843 * intl/plural.c: Regenerated.
844 * locale/programs/charmap-kw.h: Likewise.
845 * locale/programs/locfile-kw.h: Likewise.
846
da08f647
SP
8472013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
848
0f5477af
SP
849 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
850 four values.
851
44e0d4c2
SP
852 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
853 calculation loop and add branch prediction.
854
4d55b4e5
SP
855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
856 check access beyond bounds of m1np.
857
da08f647
SP
858 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
859 MPTWO.
860 (__inv): Remove local variable MPTWO to use the global
861 constant.
862 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
863 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
864 variable MPTWO.
865 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
866 MP3HALFS static const.
867
8e051029
DM
8682013-01-01 David S. Miller <davem@davemloft.net>
869
870 * po/ca.po: Update from translation team.
871
f4cf5f2d
JM
8722013-01-01 Joseph Myers <joseph@codesourcery.com>
873
874 * scripts/update-copyrights: New file.
875 * Makeconfig: Reformat copyright notice.
876 * ctype/ctype.h: Likewise.
877 * debug/swprintf_chk.c: Likewise.
878 * elf/dl-cache.c: Likewise.
879 * elf/dl-debug.c: Likewise.
880 * elf/dl-object.c: Likewise.
881 * grp/initgroups.c: Likewise.
882 * hurd/Makefile: Likewise.
883 * hurd/hurd/signal.h: Likewise.
884 * hurd/hurdfault.c: Likewise.
885 * hurd/hurdioctl.c: Likewise.
886 * hurd/hurdlookup.c: Likewise.
887 * hurd/intr-msg.c: Likewise.
888 * iconv/gconv_open.c: Likewise.
889 * libio/swprintf.c: Likewise.
890 * locale/lc-ctype.c: Likewise.
891 * locale/nl_langinfo.c: Likewise.
892 * mach/Machrules: Likewise.
893 * mach/Makefile: Likewise.
894 * malloc/obstack.h: Likewise.
895 * manual/Makefile: Likewise.
896 * manual/tsort.awk: Likewise.
897 * misc/bits/stab.def: Likewise.
898 * nis/nis_print_group_entry.c: Likewise.
899 * nis/nis_table.c: Likewise.
900 * nis/nss_compat/compat-pwd.c: Likewise.
901 * nis/nss_compat/compat-spwd.c: Likewise.
902 * po/Makefile: Likewise.
903 * posix/fnmatch.c: Likewise.
904 * posix/regex.h: Likewise.
905 * resolv/Makefile: Likewise.
906 * resolv/nss_dns/dns-network.c: Likewise.
907 * resolv/res_hconf.c: Likewise.
908 * scripts/gen-sorted.awk: Likewise.
909 * soft-fp/soft-fp.h: Likewise.
910 * stdio-common/printf.h: Likewise.
911 * stdlib/monetary.h: Likewise.
912 * stdlib/random.c: Likewise.
913 * stdlib/random_r.c: Likewise.
914 * sysdeps/generic/Makefile: Likewise.
915 * sysdeps/gnu/Makefile: Likewise.
916 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
918 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
920 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
923 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
924 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
926 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
927 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
928 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
929 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
930 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
931 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
932 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
933 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
934 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
936 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
937 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
938 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
939 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
940 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
941 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
942 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
943 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
944 * sysdeps/mach/hurd/errnos.awk: Likewise.
945 * sysdeps/mach/hurd/fork.c: Likewise.
946 * sysdeps/mach/hurd/getcwd.c: Likewise.
947 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
948 * sysdeps/mach/hurd/mmap.c: Likewise.
949 * sysdeps/mach/hurd/utimes.c: Likewise.
950 * sysdeps/mach/hurd/xmknod.c: Likewise.
951 * sysdeps/posix/profil.c: Likewise.
952 * sysdeps/posix/readdir_r.c: Likewise.
953 * sysdeps/powerpc/bits/mathdef.h: Likewise.
954 * sysdeps/powerpc/bits/setjmp.h: Likewise.
955 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
956 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
958 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
959 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
960 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
962 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
963 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
964 * sysdeps/pthread/lio_listio.c: Likewise.
965 * sysdeps/sparc/dl-procinfo.h: Likewise.
966 * sysdeps/unix/i386/sysdep.S: Likewise.
967 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
968 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
969 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
970 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
972 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
973 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
974 * sysdeps/unix/sysv/linux/speed.c: Likewise.
975 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
976 * sysdeps/wordsize-32/divdi3.c: Likewise.
977 * time/sys/time.h: Likewise.
978 * wcsmbs/Makefile: Likewise.
979
0549fbba
DM
9802013-01-01 David S. Miller <davem@davemloft.net>
981
a141f1a7
DM
982 * po/fr.po: Update from translation team.
983
0549fbba
DM
984 * catgets/gencat.c: Update copyright year.
985 * csu/version.c: Likewise.
986 * debug/catchsegv.sh: Likewise.
987 * debug/pcprofiledump.c: Likewise.
988 * debug/xtrace.sh: Likewise.
989 * elf/ldconfig.c: Likewise.
990 * elf/ldd.bash.in: Likewise.
991 * elf/pldd.c: Likewise.
992 * elf/sotruss.ksh: Likewise.
993 * elf/sprof.c: Likewise.
994 * iconv/iconv_prog.c: Likewise.
995 * iconv/iconvconfig.c: Likewise.
996 * locale/programs/locale.c: Likewise.
997 * locale/programs/localedef.c: Likewise.
998 * login/programs/pt_chown.c: Likewise.
999 * malloc/memusage.sh: Likewise.
1000 * malloc/memusagestat.c: Likewise.
1001 * malloc/mtrace.pl: Likewise.
1002 * nscd/nscd.c: Likewise.
1003 * nss/getent.c: Likewise.
1004 * nss/makedb.c: Likewise.
1005 * posix/getconf.c: Likewise.
1006
18ea052c
SP
10072012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1008
1009 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1010 numbers.
1011
9c89fca6
MF
10122012-12-30 Mike Frysinger <vapier@gentoo.org>
1013
1014 * math/bits/mathcalls.h (modf): Use __nonnull.
1015
085ec079
SP
10162012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1017
1018 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1019 (split): Use macro CN instead of the bare value.
1020 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1021 could be used.
1022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1023 instead of the bare value.
1024 (power1): Likewise.
1025
6d9f97e1
SP
10262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1027
d63f73be
SP
1028 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1029 __ATAN_TWOM.
1030 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1031
6d9f97e1
SP
1032 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1033 their values.
1034 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1035 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1036 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1037 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1038
4c4febf5
AJ
10392012-12-28 Andreas Jaeger <aj@suse.de>
1040
af5843ef
AJ
1041 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1042 values are from Linux 3.7.
1043
4c4febf5
AJ
1044 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1045 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1046
99136f82
SP
10472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1048
2f216c3c 1049 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1050 TRUE case.
1051
99136f82
SP
1052 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1053 (norm): Likewise.
1054 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1055 variables with preprocessor constants.
1056 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1057 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1058 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1059
7fffbdff
BH
10602012-12-27 Bruno Haible <bruno@clisp.org>
1061
1062 [BZ #14317]
1063 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1064 only if needed.
1065
b76eb5f0
SP
10662012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1067
31a7fe5c
SP
1068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1069 and use variable directly.
1070 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1071
b76eb5f0
SP
1072 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1073 MPONE.
1074 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1075 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1076 variable MPONE.
1077 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1078 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1079 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1080 include directive. Remove local variable MPONE.
1081 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1082 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1083 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1084
2c8bfe7d
DM
10852012-12-25 David S. Miller <davem@davemloft.net>
1086
1087 * version.h (RELEASE): Set to "development".
1088 (VERSION): Set to "2.17.90".
1089 * NEWS: Add 2.18 section.
1090
147d03b0
DM
10912012-12-21 David S. Miller <davem@davemloft.net>
1092
1093 * po/hr.po: Update from translation team.
1094
a8ebb2b9
AK
10952012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1096
1097 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1098
95b4f1b6
SE
10992012-12-19 Steve Ellcey <sellcey@mips.com>
1100
b2d94007 1101 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1102
cedb2a90
MS
11032012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1104
1105 * manual/contrib.texi (Contributors): Spelling correction.
1106
bbf527d6
DM
11072012-12-15 David S. Miller <davem@davemloft.net>
1108
1109 * po/ru.po: Update from translation team.
1110
bc38c906
DM
11112012-12-13 David S. Miller <davem@davemloft.net>
1112
85429b1a
DM
1113 * NEWS: Mention IFUNC testsuite enhancements.
1114
d283e353
DM
1115 * po/pl.po: Update from translation team.
1116 * po/bg.po: Likewise.
1117
bc38c906
DM
1118 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1119 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1120
a181b0d7
DM
11212012-12-11 David S. Miller <davem@davemloft.net>
1122
4641d57e
DM
1123 * po/sv.po: Update from translation team.
1124
f7bc6495
DM
1125 * po/vi.po: Update from translation team.
1126
6fc9048f
DM
1127 * po/cs.po: Update from translation team.
1128
a181b0d7
DM
1129 * po/de.po: Update from translation team.
1130 * po/eo.po: Likewise.
1131 * po/nl.po: Likewise.
1132
f70bfe80
SP
11332012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1134
3c8b4190
SP
1135 [BZ #14246]
1136 * manual/argp.texi (Argp Helper Functions): Move node to follow
1137 Argp Parsing State.
1138
f70bfe80
SP
1139 [BZ #14872]
1140 * manual/conf.texi (Limits on File System Capacity): Mention if
1141 terminating null is included in the max size.
1142
188f0adf
AJ
11432012-12-10 Andreas Jaeger <aj@suse.de>
1144
1145 * po/cs.po: Update from translation team.
1146
56e7d3ad
SP
11472012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1148
1149 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1150 void pointer and cast to uintptr_t.
1151 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1152 path.
1153 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1154 * sysdeps/s390/s390-64/memset.S: Likewise.
1155
76f2d2ea 11562012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1157
1158 [BZ #14833]
1159 * menual/message.texi (Message Translation): Fix typos.
1160 (Helper programs for gettext): Likewise.
1161
67cbf9a2
AS
11622012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1163
1164 [BZ #14898]
1165 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1166 Change to -1.
1167
682d0e9a
DM
11682012-12-07 David S. Miller <davem@davemloft.net>
1169
1170 * po/libc.pot: Update.
1171
573cd484
RH
11722012-12-07 Richard Henderson <rth@redhat.com>
1173
7e9da188 1174 [BZ #10114]
573cd484
RH
1175 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1176 normal/normal case to before the switch.
1177 (_FP_DIV): Likewise.
1178
e933a943
MF
11792012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1180 Mike Frysinger <vapier@gentoo.org>
1181
1182 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1183 check for __NR_fadvise64_64.
1184
82123268
CM
11852012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1186
1187 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1188 0, not just to plain "0" as a statement.
1189 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1190 with cw.
1191
d9814526
JM
11922012-12-06 Joseph Myers <joseph@codesourcery.com>
1193
1194 * NEWS: Use sourceware.org in Bugzilla URL.
1195
7728c574
SP
11962012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1197
f16946dd
SP
1198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1199 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1200
5704bbcb
SP
1201 * stdio-common/tst-put-error.c (do_test): Add newline to the
1202 padded test to ensure flush.
1203
17aa0516
JL
12042012-12-05 Jeff Law <law@redhat.com>
1205
1206 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1207
363313b5
JM
12082012-12-05 Joseph Myers <joseph@codesourcery.com>
1209
effbd42a
JM
1210 * README: Don't refer to ports add-on as distributed separately.
1211 Mention AArch64 in list of systems supported in the ports add-on.
1212
87600365
JM
1213 * LICENSES: Add more non-FSF copyright and license notices.
1214
a0d7066a
JM
1215 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1216 ((unused)).
1217
66ca5a5b
JM
1218 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1219
363313b5
JM
1220 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1221 10000 as width of padded output.
1222
b37984ad
JM
12232012-12-04 Joseph Myers <joseph@codesourcery.com>
1224
9003570a
JM
1225 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1226
b37984ad
JM
1227 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1228 variable LX with __attribute__ ((unused)).
1229 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1230 Likewise.
1231 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1233 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1234 with __attribute__ ((unused)).
1235
c8df52ec
DM
12362012-12-04 David S. Miller <davem@abraco.davemloft.net>
1237
1238 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1239
b3b099af
JM
12402012-12-04 Joseph Myers <joseph@codesourcery.com>
1241
c33aa6e3
JM
1242 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1243 (CFLAGS-nldbl-acos.c): New variable.
1244 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1245 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1246 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1247 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1248 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1249 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1250 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1251 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1252 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1253 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1254 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1255 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1256 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1257 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1258 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1259 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1260 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1261 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1262 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1263 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1264 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1265 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1266 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1267 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1268 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1269 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1270 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1271 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1272 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1273 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1274 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1275 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1276 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1277 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1278 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1279 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1280 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1281 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1282 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1283 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1284 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1285 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1286 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1287 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1288 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1289 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1290 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1291 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1292 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1293 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1294 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1295 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1296 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1297 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1298 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1299 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1300 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1301 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1302 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1303 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1304 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1305 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1306 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1307 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1308 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1309 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1310 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1311 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1312 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1313 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1314 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1315 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1316 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1317 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1318 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1319 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1320 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1321 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1322 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1323 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1324 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1325 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1326 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1327 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1328 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1329 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1330 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1331 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1332 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1333 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1334 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1335 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1336 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1337 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1338 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1339 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1340 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1341
20f0018d
JM
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1343 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1344
b3b099af
JM
1345 [BZ #14914]
1346 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1347 whole low double instead of just low 47 bits when splitting values
1348 into two parts.
1349
029264d1
AM
13502012-12-03 Allan McRae <allan@archlinux.org>
1351
1352 * manual/stdio.texi (Predefined Printf Handlers): Remove
1353 @hsep and @vsep usage.
1354
c9d6789e
MF
13552012-12-03 Mike Frysinger <vapier@gentoo.org>
1356
1357 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1358 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1359
4b7634a5
JL
13602012-12-03 Jeff Law <law@redhat.com>
1361
1362 * time/sys/time.h (settimeofday): Do not mark TV argument
1363 as __nonnull.
1364
eb6cbd24
MF
13652012-12-01 Mike Frysinger <vapier@gentoo.org>
1366
1367 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1368 when currently writing and seek to current position when not.
1369 * libio/Makefile (tests): Remove bug-fclose1.
1370 * libio/bug-fclose1.c: Delete.
1371
f638872a
JM
13722012-12-01 Joseph Myers <joseph@codesourcery.com>
1373
1374 * manual/arith.texi (feenableexcept): Fix typo.
1375 (fedisableexcept): Likewise.
1376
48085d14
RM
13772012-11-30 Roland McGrath <roland@hack.frob.com>
1378
1379 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1380 second, differently-typed declaration, rather than a cast.
1381
1a538b9f
SP
13822012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1383
1384 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1385 * include/rpc/svc.h: ... here.
1386
d07f2ff1 13872012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1388
1389 [BZ #13013]
1390 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1391 depending n and resplen2 to catch cases where answer
1392 equals answerp2.
1393
c93ec1f0
CD
13942012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1395
1396 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1397 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1398
37db69de
MF
13992012-11-29 Mike Frysinger <vapier@gentoo.org>
1400
1401 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1402
e10c4e4f
RM
14032012-11-29 Roland McGrath <roland@hack.frob.com>
1404
1405 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1406
2af1b328
JL
14072012-11-28 Jeff Law <law@redhat.com>
1408
1409 [BZ #13761]
1410 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1411 dataset_temporary. Track alloca usage into alloca_used.
1412 If dataset is large allocate and release it via malloc/free.
1413
111db5b1
FW
14142012-06-04 Florian Weimer <fweimer@redhat.com>
1415
f06cc227 1416 [BZ #14197]
111db5b1
FW
1417 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1418
dd694abd
DM
14192012-11-28 David S. Miller <davem@davemloft.net>
1420
1421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1422
9984dd01
JM
14232012-11-28 Joseph Myers <joseph@codesourcery.com>
1424
1425 [BZ #14803]
1426 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1427 of pi/2 rounded to nearest to 64 bits.
1428 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1429 nearest to 64 bits.
1430 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1431 bits.
1432
14bc93a9
JL
14332012-11-28 Jeff Law <law@redhat.com>
1434 Martin Osvald <mosvald@redhat.com>
1435
1436 [BZ #14889]
1437 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1438 * sunrpc/svc.c: Include time.h.
1439 (__svc_accept_failed): New function.
1440 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1441 any reason other than EINTR, call __svc_accept_failed.
1442 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1443 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1444
e3c6aa3a
AS
14452012-11-28 Andreas Schwab <schwab@suse.de>
1446
1447 * scripts/abilist.awk: Also handle indirect functions in .opd
1448 section.
1449
1bead169
JM
14502012-11-28 Joseph Myers <joseph@codesourcery.com>
1451
1452 [BZ #13881]
1453 * sysdeps/x86/fpu/powl_helper.c: New file.
1454 * sysdeps/x86/fpu/Makefile: Likewise.
1455 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1456 (p3): New object.
1457 (__ieee754_powl): Use __powl_helper for finite arguments except
1458 integer exponents below 8.
1459 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1460 (p3): New object.
1461 (__ieee754_powl): Use __powl_helper for finite arguments except
1462 integer exponents below 8.
1463 * math/libm-test.inc (pow_test): Add more tests and enable some
1464 previously disabled tests.
1465 * sysdeps/i386/fpu/libm-test-ulps: Update.
1466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1467
0817d63d
SP
14682012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1469 Carlos O'Donell <carlos_odonell@mentor.com>
1470
1471 * nss/makedb.c (is_prime): Assert that input is odd and greater
1472 than 4. Note that fact in a comment too.
1473 (next_prime): Add 4 to input.
1474
de2fd463
SP
14752012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1476
1477 [BZ #11741]
1478 * libio/Makefile (tests): Add test case tst-fwrite-error.
1479 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1480 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1481 * libio/tst-fwrite-error.c: New test case.
1482
c515fb51
L
14832012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1484
1485 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1486 before casting to void *.
1487 * include/libc-internal.h (__pointer_type): New macro.
1488 (__integer_if_pointer_type_sub): Likewise.
1489 (__integer_if_pointer_type): Likewise.
1490 (cast_to_integer): Likewise.
1491 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1492 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1493 before casting to atomic64_t.
1494 (atomic_exchange_acq): Likewise.
1495 (__arch_exchange_and_add_body): Likewise.
1496 (__arch_add_body): Likewise.
1497 (atomic_add_negative): Likewise.
1498 (atomic_add_zero): Likewise.
1499
4cf77aa9
JM
15002012-11-26 Joseph Myers <joseph@codesourcery.com>
1501
1502 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1503 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1504 (add_fdes): Likewise.
1505 (linear_search_fdes): Likewise.
1506 (binary_search_unencoded_fdes): Likewise.
1507
d260b3b4
AS
15082012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1509
1510 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1511
67060746
AC
15122012-11-24 Adam Conrad <adconrad@0c3.net>
1513
1514 * configure.in: Autodetect C++ header directories.
1515 * configure: Regenerated.
1516
800938a1
MF
15172012-11-23 Mike Frysinger <vapier@gentoo.org>
1518
1519 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1520
4e6e34e6
AS
15212012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1522
1523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1524
7c7feb47
JM
15252012-11-22 Joseph Myers <joseph@codesourcery.com>
1526
7184dcdf
JM
1527 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1528 LDBL_MANT_DIG == 106]: Disable some tests.
1529 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1530 Likewise.
1531 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1532 Likewise.
1533
0a42601f
JM
1534 [BZ #14871]
1535 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1536 input for small inputs. Return +/- pi/2 for large inputs.
1537 * math/libm-test.inc (atan_test): Add more tests.
1538
79c9b9fe
JM
1539 * sysdeps/generic/unwind-dw2-fde-glibc.c
1540 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1541 __attribute__ ((unused)).
1542
c60d3bf2
JM
1543 [BZ #14645]
1544 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1545 x * y if x and y are nonzero and z is zero.
1546
ef1e0867
JM
1547 [BZ #14811]
1548 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1549 nonzero exponents with absolute value below 0x1p-117 to +/-
1550 0x1p-117.
1551
1468ded3
JM
1552 [BZ #14869]
1553 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1554 up arguments below 2**-450, not just those below 2**-500.
1555 * math/libm-test.inc (hypot_test): Add another test.
1556
8e27e3cc
JM
1557 [BZ #14868]
1558 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1559 Return a+b for ratio over 2**120, not 2**60.
1560 * math/libm-test.inc (hypot_test): Add another test.
1561
c9c0279b
JM
1562 * math/libm-test.inc (clog_test): Use
1563 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1564 (clog10_test): Likewise.
1565
7c7feb47
JM
1566 [BZ #6778]
1567 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1568
fff1530e
AS
15692012-11-22 Andreas Schwab <schwab@suse.de>
1570
1571 * sysdeps/i386/fpu/libm-test-ulps: Update.
1572
94558d30
PT
15732012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1574
1575 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1576 printf output with newline.
1577
7e1be741
L
15782012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1579
6bfea974
L
1580 [BZ #14865]
1581 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1582 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1583 -z nodlopen, -z initfirst and -z execstack support.
1584 * configure: Regenerated.
1585
7e1be741
L
1586 * elf/elf.h (DF_1_NODIRECT): New macro.
1587 (DF_1_IGNMULDEF): Likewise.
1588 (DF_1_NOKSYMS): Likewise.
1589 (DF_1_NOHDR): Likewise.
1590 (DF_1_EDITED): Likewise.
1591 (DF_1_NORELOC): Likewise.
1592 (DF_1_SYMINTPOSE): Likewise.
1593 (DF_1_GLOBAUDIT): Likewise.
1594 (DF_1_SINGLETON): Likewise.
1595 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1596 DT_1_SUPPORTED_MASK bits.
1597 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1598
105ce2ce
CD
15992012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1600
1601 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1602
123be9de
TS
16032012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1604
d072f3f7
TS
1605 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1606 macro.
1607
123be9de
TS
1608 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1609 (sendmmsg): Move declarations...
1610 * socket/sys/socket.h: ... here.
1611 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1612 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1613 include it from...
1614 * socket/recvmmsg.c: ... this new file.
1615 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1616 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1617 definition of __sendmmsg hidden.
1618 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1619 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1620 Move ENOSYS stub into and include it from...
1621 * socket/sendmmsg.c: ... this new file.
1622 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1623 (sysdep_routines): Move recvmmsg and sendmmsg...
1624 * socket/Makefile (routines): ... here.
1625 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1626 (GLIBC_PRIVATE): Add __sendmmsg.
1627 * include/sys/socket.h (__sendmmsg): Add declarations.
1628 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1629 sendmmsg.
1630
cf9a5d18
JM
16312012-11-20 Joseph Myers <joseph@codesourcery.com>
1632
1633 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1634 variable I1 with __attribute__ ((unused)).
1635 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1636
ecd4caf9
JM
16372012-11-19 Joseph Myers <joseph@codesourcery.com>
1638
be14d48f
JM
1639 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1640 DUMMY variables with __attribute__ ((unused)).
1641
ecd4caf9
JM
1642 * bits/byteswap.h: Include <bits/types.h>.
1643 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1644
986cab95
PT
16452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1646
1647 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1648 string_t. Do not manually set errno.
1649 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1650 length with __strnlen. Make sure to both set errno and return it on
1651 failure.
1652
6d33cc9d
DM
16532012-11-19 David S. Miller <davem@davemloft.net>
1654
1655 With help from Joseph Myers.
1656 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1657 very large arguments properly.
1658 * math/libm-test.inc (atan_test): New tests.
1659 (atan2_test): New tests.
1660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1662
ee663277
JM
16632012-11-19 Joseph Myers <joseph@codesourcery.com>
1664
877f2d8e
JM
1665 [BZ #14856]
1666 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1667 Define to 3.
1668
116fc08a
JM
1669 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1670 [POSIX] (EADDRNOTAVAIL): Likewise.
1671 [POSIX] (EAFNOSUPPORT): Likewise.
1672 [POSIX] (EALREADY): Likewise.
1673 [POSIX] (ECONNABORTED): Likewise.
1674 [POSIX] (ECONNREFUSED): Likewise.
1675 [POSIX] (ECONNRESET): Likewise.
1676 [POSIX] (EDESTADDRREQ): Likewise.
1677 [POSIX] (EDQUOT): Likewise.
1678 [POSIX] (EHOSTUNREACH): Likewise.
1679 [POSIX] (EIDRM): Likewise.
1680 [POSIX] (EISCONN): Likewise.
1681 [POSIX] (ELOOP): Likewise.
1682 [POSIX] (EMULTIHOP): Likewise.
1683 [POSIX] (ENETDOWN): Likewise.
1684 [POSIX] (ENETUNREACH): Likewise.
1685 [POSIX] (ENOBUFS): Likewise.
1686 [POSIX] (ENODATA): Likewise.
1687 [POSIX] (ENOLINK): Likewise.
1688 [POSIX] (ENOMSG): Likewise.
1689 [POSIX] (ENOPROTOOPT): Likewise.
1690 [POSIX] (ENOSR): Likewise.
1691 [POSIX] (ENOSTR): Likewise.
1692 [POSIX] (ENOTCONN): Likewise.
1693 [POSIX] (ENOTSOCK): Likewise.
1694 [POSIX] (EOPNOTSUPP): Likewise.
1695 [POSIX] (EOVERFLOW): Likewise.
1696 [POSIX] (EPROTO): Likewise.
1697 [POSIX] (EPROTONOSUPPORT): Likewise.
1698 [POSIX] (EPROTOTYPE): Likewise.
1699 [POSIX] (ESTALE): Likewise.
1700 [POSIX] (ETIME): Likewise.
1701 [POSIX] (ETXTBSY): Likewise.
1702 [POSIX] (EWOULDBLOCK): Likewise.
1703 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1704 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1705 [POSIX] (SEEK_CUR): Likewise.
1706 [POSIX] (SEEK_END): Likewise.
1707 [POSIX || UNIX98] (mode_t): Do not require.
1708 [POSIX] (off_t): Likewise.
1709 [POSIX] (pid_t): Likewise.
1710 [POSIX] (sys/stat.h): Do not allow header.
1711 [POSIX] (unistd.h): Likewise.
1712 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1713 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1714 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1715 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1716 require.
1717 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1718 sigevent): Specify elements.
1719 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1720 entry.
1721 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1722 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1723
a483863f
JM
1724 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1725 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1726 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1727 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1728 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1729 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1730 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1731 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1732 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1733 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1734 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1735 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1736 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1737 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1738 Likewise.
1739 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1740 Likewise.
1741 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1742 Likewise.
1743 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1744 Likewise.
1745 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1746 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1747 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1748 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1749 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1750 Specify lower bound on value.
1751 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1752 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1753 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1754 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1755 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1756 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1757 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1758 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1759 value.
1760 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1761 as optional.
1762 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1763 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1764 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1765 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1766 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1767 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1768 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1769 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1770 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1771 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1772 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1773 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1774 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1775 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1776 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1777 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1778 entry.
1779 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1780 optional.
1781 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1782 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1783 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1784 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1785 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1786 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1787 Likewise.
1788 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1789 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1790 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1791 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1792 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1793 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1794 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1795 as optional.
1796 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1797 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1798 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1799 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1800 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1801 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1802 specify as optional.
1803 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1804 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1805 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1806 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1807 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1808 [XPG3] (NL_LANGMAX): Likewise.
1809 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1810 [POSIX || XPG3] (NL_NMAX): Likewise.
1811 [POSIX || XPG3] (NL_SETMAX): Likewise.
1812 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1813 [XPG3] (NZERO): Likewise.
1814 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1815 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1816 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1817 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1818 (REG_ERANGE): Expect.
1819 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1820 optional-constant.
1821 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1822 Use (void) in prototype.
1823 [POSIX] (*_t): Allow.
1824 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1825 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1826 (WRDE_BADVAL): Expect.
1827
5ba924e3
JM
1828 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1829 expect.
1830 [XPG3 || XPG4] (O_RSYNC): Likewise.
1831 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1832 Likewise.
1833 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1834 [XPG3 || XPG4] (sigqueue): Likewise.
1835 [XPG3 || XPG4] (sigtimedwait): Likewise.
1836 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1837 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1838 [XPG3 || XPG4] (vsnprintf): Likewise.
1839 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1840 Likewise.
1841 [XPG3 || XPG4] (blksize_t): Likewise.
1842 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1843 Likewise.
1844 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1845 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1846 [XPG3 || XPG4] (struct itimerspec): Likewise.
1847 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1848 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1849 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1850 [XPG3 || XPG4] (clockid_t): Likewise.
1851 [XPG3 || XPG4] (timer_t): Likewise.
1852 [XPG3 || XPG4] (clock_getres): Likewise.
1853 [XPG3 || XPG4] (clock_gettime): Likewise.
1854 [XPG3 || XPG4] (clock_settime): Likewise.
1855 [XPG3 || XPG4] (nanosleep): Likewise.
1856 [XPG3 || XPG4] (timer_create): Likewise.
1857 [XPG3 || XPG4] (timer_delete): Likewise.
1858 [XPG3 || XPG4] (timer_gettime): Likewise.
1859 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1860 [XPG3 || XPG4] (timer_settime): Likewise.
1861 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1862 [XPG3 || XPG4] (getlogin_r): Likewise.
1863 [XPG3 || XPG4] (pread): Likewise.
1864 [XPG3 || XPG4] (pthread_atfork): Likewise.
1865 [XPG3 || XPG4] (pwrite): Likewise.
1866
ee663277
JM
1867 [BZ #14835]
1868 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1869 <bits/siginfo.h>.
1870
942caa16
PT
18712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1872
e19af380
PT
1873 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1874 finalizing MALLSTREAM.
1875
942caa16
PT
1876 * sysdeps/mach/hurd/syncfs.c: New file.
1877
cfde9b46
SP
18782012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1879
1880 [BZ #14719]
1881 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1882 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1883 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1884 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1885 (_nss_dns_gethostbyname4_r): Likewise.
1886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1887 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1888
f6da27e5
PH
18892012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1890
1891 [BZ #13763]
1892 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1893
6665d4a2
SM
18942012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1895
1f51ee92
SM
1896 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1897 * elf/cache.c (print_entry): Print ",AArch64" for
1898 FLAG_AARCH64_LIB64
1899
6665d4a2
SM
1900 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1901 * elf/cache.c (print_entry): Print ",hard-float" for
1902 FLAG_ARM_LIBHF.
1903
05b227bd
DM
19042012-11-18 David S. Miller <davem@davemloft.net>
1905
1906 With help from Joseph Myers.
1907 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1908 cutoff to 2**-13.
1909 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1910 cutoff to 2**-25.
1911 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1912 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1913 small.
1914 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1915 * math/libm-test.inc (y0_test): New tests.
1916 (y1_test): New tests.
1917 * sysdeps/i386/fpu/libm-test-ulps: Update.
1918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1920
786b0b67
AS
19212012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1922
1923 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1924 64-bit targets.
1925 * configure: Regenerated.
1926
8e18b86d
DM
19272012-11-17 David S. Miller <davem@davemloft.net>
1928
1929 [BZ #14811]
1930 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1931 nonzero exponents with absolute value below 0x1p-128 to +/-
1932 0x1p-128.
1933
531f1ae0
JM
19342012-11-17 Joseph Myers <joseph@codesourcery.com>
1935
12df29e2
JM
1936 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1937
150dc1a0
JM
1938 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1939
531f1ae0
JM
1940 * posix/getconf-speclist.c: New file.
1941 * posix/posix-envs.def: Likewise.
1942 * posix/confstr.c (START_ENV_GROUP): New macro.
1943 (END_ENV_GROUP): Likewise.
1944 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1945 (KNOWN_PRESENT_ENV_STRING): Likewise.
1946 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1947 (UNKNOWN_ENVIRONMENT): Likewise.
1948 (confstr): Include posix-envs.def instead of handling
1949 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1950 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1951 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1952 (END_ENV_GROUP): Likewise.
1953 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1954 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1955 (UNKNOWN_ENVIRONMENT): Likewise.
1956 (__sysconf): Include posix-envs.def instead of handling associated
1957 cases directly here.
1958 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1959 preprocessing getconf-speclist.c rather than running getconf or
1960 generating empty file.
1961
a93f9cbc
PT
19622012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1963
1964 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1965
d64d9f87
AL
19662012-11-16 Andrej Lajovic <natrij@gmail.com>
1967
1968 [BZ #14672]
1969 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1970
447885eb
DM
19712012-11-16 David S. Miller <davem@davemloft.net>
1972
1973 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1974 smaller than LDBL_EPSILON/2.0L, just return xm1.
1975
bcbf9830
L
19762012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1977
1978 * elf/tst-array1.c (init): Set constructor priority to 1000.
1979 (fini): Set destructor priority to 1000.
1980 * elf/tst-array2dep.c: Likewise.
1981
2b766585
SP
19822012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1983
1984 [BZ #11741]
1985 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1986 (_IO_new_file_xsputn): Also return EOF if none of the input
1987 data was written when overflow failed.
1988 * libio/iopadn.c (_IO_padn): Likewise.
1989 * libio/iowpadn.c (_IO_wpadn): Likewise.
1990 * stdio-common/tst-put-error.c: Add copyright notice.
1991 (do_test): Add case for printing padded string.
1992 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1993 _IO_padn returned error.
1994 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1995 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1996 return EOF.
1997
b1848fde
SP
19982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1999
2000 * libio/libioP.h: Add comment note that the references to C++
2001 bits are now obsolete.
2002
2fd89785
MS
20032012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2004
2005 * math/libm-test.inc (check_complex): Use asprintf.
2006
e3ea5409
JM
20072012-11-14 Joseph Myers <joseph@codesourcery.com>
2008
2009 * debug/pcprofiledump.c (print_version): Update copyright year.
2010 * malloc/memusagestat.c (print_version): Likewise.
2011
2e64d265
L
20122012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2013
2014 [BZ #14831]
2015 * elf/Makefile (tests): Add tst-audit8.
2016 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2017 ($(objpfx)tst-audit8.out): New target.
2018 (tst-audit8-ENV): New variable.
2019 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2020 audit if l_reloc_result is NULL.
2021 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2022 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2023 * elf/tst-audit8.c: New file.
2024
c485e4d2
MS
20252012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2026
2027 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2028 * misc/Makefile (CFLAGS-select.c): Define.
2029 * posix/Makefile (CFLAGS-pause.c): Define.
2030
3a0d900a
DM
20312012-11-13 David S. Miller <davem@davemloft.net>
2032
2033 * crypt/Makefile: Move test targets after toplevel Rules
2034 inclusion. Grab any necessary sysdep routines when linking.
2035 * crypt/md5.c (md5_process_block): Remove define, we will always
2036 name it __md5_process_block.
2037 (md5_finish_ctx): Update md5_process_block call.
2038 (md5_stream): Likewise.
2039 (md5_process_bytes): Likewise.
2040 (md5_process_block): Rename to __md5_process_block and move to ...
2041 * crypt/md5-block.c: ... here.
2042 * crypt/sha256.c (sha256_process_block): Move to ...
2043 * crypt/sha256-block.c: ... here.
2044 * crypt/sha512.c (sha512_process_block): Move to ...
2045 * crypt/sha512-block.c: ... here.
2046 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2047 path.
2048 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2049 * sysdeps/sparc/sparc64/multiarch/Makefile
2050 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2051 crypt subdir.
2052 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2053 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2054 multiarch changes.
2055 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2056 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2057 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2058 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2059 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2060 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2061 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2062 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2063 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2064 file.
2065 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2066 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2067 file.
2068 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2069
8ca89318
JM
20702012-11-13 Joseph Myers <joseph@codesourcery.com>
2071
e27d476a
JM
2072 * timezone/tzselect.ksh: Update from tzcode git revision
2073 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2074 * timezone/zdump.c: Likewise.
2075 * timezone/zic.c: Likewise.
2076 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2077 in TZVERSION setting, not $(PKGVERSION).
2078 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2079 REPORT_BUGS_TO settings.
2080
8ca89318
JM
2081 [BZ #14838]
2082 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2083 macro.
2084
47594329
MS
20852012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2086
2087 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2088 detection to immediately after _FP_ROUND().
2089 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2090 bits are 0.
2091
640ac3f1
DM
20922012-11-11 David S. Miller <davem@davemloft.net>
2093
2094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2095 inttypes.h
2096 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2097 __close rather than their public counterparts.
2098
3d2577bb
JM
20992012-11-10 Joseph Myers <joseph@codesourcery.com>
2100
2101 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2102 file.
2103 [UNIX98] (sem_timedwait): Do not expect.
2104 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2105 [XPG4 || UNIX98] (sockatmark): Do not expect.
2106 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2107 (clock_getcpuclockid): Do not expect.
2108 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2109 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2110 Do not expect.
2111 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2112 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2113 [UNIX98] (vwscanf): Likewise.
2114 [UNIX98] (vswscanf): Likewise.
2115
fb1ae1ee
JM
21162012-11-09 Joseph Myers <joseph@codesourcery.com>
2117
9ec6f8bd
JM
2118 * timezone/version.h: Remove file.
2119 * timezone/README: Do not refer to version.h.
2120 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2121 $(objpfx)version.h.
2122 ($(objpfx)zdump.o): Likewise.
c3f81911 2123 ($(objpfx)version.h): New target.
9ec6f8bd 2124
0aa8f8a1
JM
2125 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2126 2012i.
2127 * timezone/README: Don't mention modification to tzselect.ksh.
2128 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2129 work on unmodified tzselect.ksh. Substitute version numbers in
2130 tzselect.ksh.
2131
4e87147f
JM
2132 * Makefile (format-me): Remove.
2133 (INSTALL): Adjust indentation. Use commands directly instead of
2134 using $(format-me).
2135
8b748aed
JM
2136 * aclocal.m4 (ACX_PKGVERSION): New macro.
2137 (ACX_BUGURL): Likewise.
2138 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2139 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2140 (REPORT_BUGS_TO): Likewise.
2141 * configure: Regenerated.
2142 * config.h.in (PKGVERSION): New macro.
2143 (REPORT_BUGS_TO): Likewise.
2144 * config.make.in (PKGVERSION): New variable.
2145 (PKGVERSION_TEXI): Likewise.
2146 (REPORT_BUGS_TO): Likewise.
2147 (REPORT_BUGS_TEXI): Likewise.
2148 * Makefile (format-me): Use -I$(common-objpfx)manual.
2149 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2150 ($(common-objpfx)manual/%): New target.
2151 (manual/%): Remove target.
2152 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2153 (print_version): Use PKGVERSION.
2154 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2155 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2156 and REPORT_BUGS_TO.
2157 ($(objpfx)xtrace): Likewise.
2158 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2159 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2160 (print_version): Use PKGVERSION.
2161 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2162 (do_version): Use PKGVERSION.
2163 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2164 REPORT_BUGS_TO.
2165 (common-ldd-rewrite): Likewise.
2166 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2167 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2168 (print_version): Use PKGVERSION.
2169 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2170 * elf/pldd.c (argp_program_bug_address): Remove variable.
2171 (more_help): New function.
2172 (argp): Use more_help.
2173 (print_version): Use PKGVERSION.
2174 * elf/sln.c (main): Use PKGVERSION.
2175 (usage): Use REPORT_BUGS_TO.
2176 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2177 (top level): Use PKGVERSION.
2178 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2179 (print_version): Use PKGVERSION.
2180 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2181 (print_version): Use PKGVERSION.
2182 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2183 (print_version): Use PKGVERSION.
2184 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2185 (print_version): Use PKGVERSION.
2186 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2187 (print_version): Use PKGVERSION.
2188 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2189 (print_version): Use PKGVERSION.
2190 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2191 and BUGURL.
2192 ($(objpfx)memusage): Likewise.
2193 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2194 (do_version): Use PKGVERSION.
2195 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2196 (print_version): Use PKGVERSION.
2197 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2198 ($PKGVERSION): New variable.
2199 ($REPORT_BUGS_TO): Likewise.
2200 (usage): Use $REPORT_BUGS_TO.
2201 (top level): Use $PKGVERSION.
2202 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2203 ($(objpfx)pkgvers.texi): New rule.
2204 ($(objpfx)stamp-pkgvers): Likewise.
2205 * manual/install.texi: Include pkgvers.texi.
2206 (--with-pkgversion): Document new configure option.
2207 (--with-bugurl): Likewise.
2208 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2209 than necessarily for this particular distribution. Use
2210 REPORT_BUGS_TO for where to report bugs.
2211 * INSTALL: Regenerated.
2212 * manual/libc.texinfo: Include pkgvers.texi.
2213 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2214 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2215 (print_version): Use PKGVERSION.
2216 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2217 (print_version): Use PKGVERSION.
2218 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2219 (print_version): Use PKGVERSION.
2220 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2221 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2222 macro.
2223 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2224 (print_version): Use PKGVERSION.
2225 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2226 (print_version): Use PKGVERSION.
2227 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2228 and PKGVERSION.
2229
92e4b6a9
JM
2230 * timezone/checktab.awk: Update from tzcode 2012i.
2231 * timezone/ialloc.c: Likewise.
2232 * timezone/private.h: Likewise.
2233 * timezone/scheck.c: Likewise.
2234 * timezone/tzfile.h: Likewise.
2235 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2236 (TZVERSION): Hardcode tzcode version number.
2237 * timezone/zdump.c: Update from tzcode 2012i.
2238 * timezone/zic.c: Likewise.
2239 * timezone/version.h: New file.
2240 * timezone/README: Describe version.h. Update upstream location.
2241
9bde902c
JM
2242 [BZ #14824]
2243 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2244 (mktemp): Enable declaration.
2245 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2247 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2248 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2249 Likewise.
2250 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2251 Likewise.
2252 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2253 Likewise.
2254 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2255 Likewise.
2256 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2257 Likewise.
2258 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2259 Likewise.
2260
fb1ae1ee
JM
2261 [BZ #14821]
2262 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2263 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2264 for copies of such integer values.
2265 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2266 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2267
2c1adbcb
AJ
22682012-11-09 Andreas Jaeger <aj@suse.de>
2269
2270 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2271 definitions and declarations that are provided by
2272 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2273
d0f8457e
AK
22742012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2275
3a235abb 2276 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2277 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2278 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2279 definition.
2280
57241e26
MS
22812012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2282
2283 * elf/elf.h: Update comment before AArch64 relocations.
2284
60e8270d
DM
22852012-11-07 David S. Miller <davem@davemloft.net>
2286
2287 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2288 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2289 (__start_context): Declare.
2290 (__makecontext_ret): Delete.
2291 (__makecontext): Hook up __start_context instead of
2292 __makecontext_ret.
2293 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2294 (sysdep_routines): Add __start_context when in stdlib.
2295
0fbb0fbc
JM
22962012-11-07 Joseph Myers <joseph@codesourcery.com>
2297
2298 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2299 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2300 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2301 hardcoded "nm".
2302 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2303 (READELF): New variable. Use it instead of hardcoded "readelf".
2304
eb48db7e
L
23052012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2306
2307 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2308 * sysdeps/x86/Makefile: Here.
2309 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2310 * sysdeps/x86/tst-xmmymm.sh: This.
2311
05bcf62a
JM
23122012-11-07 Joseph Myers <joseph@codesourcery.com>
2313
c4b6cf53
JM
2314 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2315 expectations.
2316 [UNIX98] (pthread_barrier_t): Do not expect.
2317 [UNIX98] (pthread_barrierattr_t): Likewise.
2318 [UNIX98] (pthread_spinlock_t): Likewise.
2319 [UNIX98] (pthread_barrier_destroy): Likewise.
2320 [UNIX98] (pthread_barrier_init): Likewise.
2321 [UNIX98] (pthread_barrier_wait): Likewise.
2322 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2323 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2324 [UNIX98] (pthread_barrierattr_init): Likewise.
2325 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2326 [UNIX98] (pthread_getcpuclockid): Likewise.
2327 [UNIX98] (pthread_mutex_timedlock): Likewise.
2328 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2329 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2330 [UNIX98] (pthread_sigmask): Likewise.
2331 [UNIX98] (pthread_spin_destroy): Likewise.
2332 [UNIX98] (pthread_spin_init): Likewise.
2333 [UNIX98] (pthread_spin_lock): Likewise.
2334 [UNIX98] (pthread_spin_trylock): Likewise.
2335 [UNIX98] (pthread_spin_unlock): Likewise.
2336 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2337 Do not expect.
2338 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2339 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2340 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2341 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2342 [XPG3 || XPG4] (pthread_key_t): Likewise.
2343 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2344 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2345 [XPG3 || XPG4] (pthread_once_t): Likewise.
2346 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2347 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2348 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2349 [XPG3 || XPG4] (pthread_t): Likewise.
2350
cbe6e120
JM
2351 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2352 not expect.
2353 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2354
1b126443
JM
2355 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2356 Change function return type to int.
2357
b961a573
JM
2358 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2359 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2360 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2361 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2362 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2363 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2364 [!POSIX] (posix_madvise): Likewise.
2365 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2366 && !UNIX98].
2367 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2368 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2369 (mode_t): Likewise.
2370 (posix_mem_offset): Likewise.
2371 (posix_typed_mem_get_info): Likewise.
2372 (posix_typed_mem_open): Likewise.
2373
9e188909
JM
2374 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2375 Change condition to [XOPEN2K8].
2376
05bcf62a
JM
2377 * conform/conformtest.pl: Preprocess allow-header data with -x c
2378 instead of from stdin.
2379 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2380 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2381 [C99-based standards] (cerfc): Likewise.
2382 [C99-based standards] (cexp2): Likewise.
2383 [C99-based standards] (cexpm1): Likewise.
2384 [C99-based standards] (clog10): Likewise.
2385 [C99-based standards] (clog1p): Likewise.
2386 [C99-based standards] (clog2): Likewise.
2387 [C99-based standards] (clgamma): Likewise.
2388 [C99-based standards] (ctgamma): Likewise.
2389 [C99-based standards] (cerff): Likewise.
2390 [C99-based standards] (cerfcf): Likewise.
2391 [C99-based standards] (cexp2f): Likewise.
2392 [C99-based standards] (cexpm1f): Likewise.
2393 [C99-based standards] (clog10f): Likewise.
2394 [C99-based standards] (clog1pf): Likewise.
2395 [C99-based standards] (clog2f): Likewise.
2396 [C99-based standards] (clgammaf): Likewise.
2397 [C99-based standards] (ctgammaf): Likewise.
2398 [C99-based standards] (cerfl): Likewise.
2399 [C99-based standards] (cerfcl): Likewise.
2400 [C99-based standards] (cexp2l): Likewise.
2401 [C99-based standards] (cexpm1l): Likewise.
2402 [C99-based standards] (clog10l): Likewise.
2403 [C99-based standards] (clog1pl): Likewise.
2404 [C99-based standards] (clog2l): Likewise.
2405 [C99-based standards] (clgammal): Likewise.
2406 [C99-based standards] (ctgammal): Likewise.
2407 * conform/data/inttypes.h-data [C99-based standards]: Include
2408 stdint.h-data. Remove all expectations for stdint.h contents.
2409 [C99-based standards] (PRI*): Do not allow.
2410 [C99-based standards] (SCN*): Likewise.
2411 [C99-based standards] (*_t): Likewise.
2412 [C99-based-standards] (PRId8): Expect macro.
2413 [C99-based-standards] (PRIi8): Likewise.
2414 [C99-based-standards] (PRIo8): Likewise.
2415 [C99-based-standards] (PRIu8): Likewise.
2416 [C99-based-standards] (PRIx8): Likewise.
2417 [C99-based-standards] (PRIX8): Likewise.
2418 [C99-based-standards] (SCNd8): Likewise.
2419 [C99-based-standards] (SCNi8): Likewise.
2420 [C99-based-standards] (SCNo8): Likewise.
2421 [C99-based-standards] (SCNu8): Likewise.
2422 [C99-based-standards] (SCNx8): Likewise.
2423 [C99-based-standards] (PRIdLEAST8): Likewise.
2424 [C99-based-standards] (PRIiLEAST8): Likewise.
2425 [C99-based-standards] (PRIoLEAST8): Likewise.
2426 [C99-based-standards] (PRIuLEAST8): Likewise.
2427 [C99-based-standards] (PRIxLEAST8): Likewise.
2428 [C99-based-standards] (PRIXLEAST8): Likewise.
2429 [C99-based-standards] (SCNdLEAST8): Likewise.
2430 [C99-based-standards] (SCNiLEAST8): Likewise.
2431 [C99-based-standards] (SCNoLEAST8): Likewise.
2432 [C99-based-standards] (SCNuLEAST8): Likewise.
2433 [C99-based-standards] (SCNxLEAST8): Likewise.
2434 [C99-based-standards] (PRIdFAST8): Likewise.
2435 [C99-based-standards] (PRIiFAST8): Likewise.
2436 [C99-based-standards] (PRIoFAST8): Likewise.
2437 [C99-based-standards] (PRIuFAST8): Likewise.
2438 [C99-based-standards] (PRIxFAST8): Likewise.
2439 [C99-based-standards] (PRIXFAST8): Likewise.
2440 [C99-based-standards] (SCNdFAST8): Likewise.
2441 [C99-based-standards] (SCNiFAST8): Likewise.
2442 [C99-based-standards] (SCNoFAST8): Likewise.
2443 [C99-based-standards] (SCNuFAST8): Likewise.
2444 [C99-based-standards] (SCNxFAST8): Likewise.
2445 [C99-based-standards] (PRId16): Likewise.
2446 [C99-based-standards] (PRIi16): Likewise.
2447 [C99-based-standards] (PRIo16): Likewise.
2448 [C99-based-standards] (PRIu16): Likewise.
2449 [C99-based-standards] (PRIx16): Likewise.
2450 [C99-based-standards] (PRIX16): Likewise.
2451 [C99-based-standards] (SCNd16): Likewise.
2452 [C99-based-standards] (SCNi16): Likewise.
2453 [C99-based-standards] (SCNo16): Likewise.
2454 [C99-based-standards] (SCNu16): Likewise.
2455 [C99-based-standards] (SCNx16): Likewise.
2456 [C99-based-standards] (PRIdLEAST16): Likewise.
2457 [C99-based-standards] (PRIiLEAST16): Likewise.
2458 [C99-based-standards] (PRIoLEAST16): Likewise.
2459 [C99-based-standards] (PRIuLEAST16): Likewise.
2460 [C99-based-standards] (PRIxLEAST16): Likewise.
2461 [C99-based-standards] (PRIXLEAST16): Likewise.
2462 [C99-based-standards] (SCNdLEAST16): Likewise.
2463 [C99-based-standards] (SCNiLEAST16): Likewise.
2464 [C99-based-standards] (SCNoLEAST16): Likewise.
2465 [C99-based-standards] (SCNuLEAST16): Likewise.
2466 [C99-based-standards] (SCNxLEAST16): Likewise.
2467 [C99-based-standards] (PRIdFAST16): Likewise.
2468 [C99-based-standards] (PRIiFAST16): Likewise.
2469 [C99-based-standards] (PRIoFAST16): Likewise.
2470 [C99-based-standards] (PRIuFAST16): Likewise.
2471 [C99-based-standards] (PRIxFAST16): Likewise.
2472 [C99-based-standards] (PRIXFAST16): Likewise.
2473 [C99-based-standards] (SCNdFAST16): Likewise.
2474 [C99-based-standards] (SCNiFAST16): Likewise.
2475 [C99-based-standards] (SCNoFAST16): Likewise.
2476 [C99-based-standards] (SCNuFAST16): Likewise.
2477 [C99-based-standards] (SCNxFAST16): Likewise.
2478 [C99-based-standards] (PRId32): Likewise.
2479 [C99-based-standards] (PRIi32): Likewise.
2480 [C99-based-standards] (PRIo32): Likewise.
2481 [C99-based-standards] (PRIu32): Likewise.
2482 [C99-based-standards] (PRIx32): Likewise.
2483 [C99-based-standards] (PRIX32): Likewise.
2484 [C99-based-standards] (SCNd32): Likewise.
2485 [C99-based-standards] (SCNi32): Likewise.
2486 [C99-based-standards] (SCNo32): Likewise.
2487 [C99-based-standards] (SCNu32): Likewise.
2488 [C99-based-standards] (SCNx32): Likewise.
2489 [C99-based-standards] (PRIdLEAST32): Likewise.
2490 [C99-based-standards] (PRIiLEAST32): Likewise.
2491 [C99-based-standards] (PRIoLEAST32): Likewise.
2492 [C99-based-standards] (PRIuLEAST32): Likewise.
2493 [C99-based-standards] (PRIxLEAST32): Likewise.
2494 [C99-based-standards] (PRIXLEAST32): Likewise.
2495 [C99-based-standards] (SCNdLEAST32): Likewise.
2496 [C99-based-standards] (SCNiLEAST32): Likewise.
2497 [C99-based-standards] (SCNoLEAST32): Likewise.
2498 [C99-based-standards] (SCNuLEAST32): Likewise.
2499 [C99-based-standards] (SCNxLEAST32): Likewise.
2500 [C99-based-standards] (PRIdFAST32): Likewise.
2501 [C99-based-standards] (PRIiFAST32): Likewise.
2502 [C99-based-standards] (PRIoFAST32): Likewise.
2503 [C99-based-standards] (PRIuFAST32): Likewise.
2504 [C99-based-standards] (PRIxFAST32): Likewise.
2505 [C99-based-standards] (PRIXFAST32): Likewise.
2506 [C99-based-standards] (SCNdFAST32): Likewise.
2507 [C99-based-standards] (SCNiFAST32): Likewise.
2508 [C99-based-standards] (SCNoFAST32): Likewise.
2509 [C99-based-standards] (SCNuFAST32): Likewise.
2510 [C99-based-standards] (SCNxFAST32): Likewise.
2511 [C99-based-standards] (PRId64): Likewise.
2512 [C99-based-standards] (PRIi64): Likewise.
2513 [C99-based-standards] (PRIo64): Likewise.
2514 [C99-based-standards] (PRIu64): Likewise.
2515 [C99-based-standards] (PRIx64): Likewise.
2516 [C99-based-standards] (PRIX64): Likewise.
2517 [C99-based-standards] (SCNd64): Likewise.
2518 [C99-based-standards] (SCNi64): Likewise.
2519 [C99-based-standards] (SCNo64): Likewise.
2520 [C99-based-standards] (SCNu64): Likewise.
2521 [C99-based-standards] (SCNx64): Likewise.
2522 [C99-based-standards] (PRIdLEAST64): Likewise.
2523 [C99-based-standards] (PRIiLEAST64): Likewise.
2524 [C99-based-standards] (PRIoLEAST64): Likewise.
2525 [C99-based-standards] (PRIuLEAST64): Likewise.
2526 [C99-based-standards] (PRIxLEAST64): Likewise.
2527 [C99-based-standards] (PRIXLEAST64): Likewise.
2528 [C99-based-standards] (SCNdLEAST64): Likewise.
2529 [C99-based-standards] (SCNiLEAST64): Likewise.
2530 [C99-based-standards] (SCNoLEAST64): Likewise.
2531 [C99-based-standards] (SCNuLEAST64): Likewise.
2532 [C99-based-standards] (SCNxLEAST64): Likewise.
2533 [C99-based-standards] (PRIdFAST64): Likewise.
2534 [C99-based-standards] (PRIiFAST64): Likewise.
2535 [C99-based-standards] (PRIoFAST64): Likewise.
2536 [C99-based-standards] (PRIuFAST64): Likewise.
2537 [C99-based-standards] (PRIxFAST64): Likewise.
2538 [C99-based-standards] (PRIXFAST64): Likewise.
2539 [C99-based-standards] (SCNdFAST64): Likewise.
2540 [C99-based-standards] (SCNiFAST64): Likewise.
2541 [C99-based-standards] (SCNoFAST64): Likewise.
2542 [C99-based-standards] (SCNuFAST64): Likewise.
2543 [C99-based-standards] (SCNxFAST64): Likewise.
2544 [C99-based-standards] (PRIdMAX): Likewise.
2545 [C99-based-standards] (PRIiMAX): Likewise.
2546 [C99-based-standards] (PRIoMAX): Likewise.
2547 [C99-based-standards] (PRIuMAX): Likewise.
2548 [C99-based-standards] (PRIxMAX): Likewise.
2549 [C99-based-standards] (PRIXMAX): Likewise.
2550 [C99-based-standards] (SCNdMAX): Likewise.
2551 [C99-based-standards] (SCNiMAX): Likewise.
2552 [C99-based-standards] (SCNoMAX): Likewise.
2553 [C99-based-standards] (SCNuMAX): Likewise.
2554 [C99-based-standards] (SCNxMAX): Likewise.
2555 [C99-based-standards] (PRIdPTR): Likewise.
2556 [C99-based-standards] (PRIiPTR): Likewise.
2557 [C99-based-standards] (PRIoPTR): Likewise.
2558 [C99-based-standards] (PRIuPTR): Likewise.
2559 [C99-based-standards] (PRIxPTR): Likewise.
2560 [C99-based-standards] (PRIXPTR): Likewise.
2561 [C99-based-standards] (SCNdPTR): Likewise.
2562 [C99-based-standards] (SCNiPTR): Likewise.
2563 [C99-based-standards] (SCNoPTR): Likewise.
2564 [C99-based-standards] (SCNuPTR): Likewise.
2565 [C99-based-standards] (SCNxPTR): Likewise.
2566 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2567 allow.
2568 * conform/data/stdint.h-data: Update comments to clarify
2569 requirements.
2570 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2571 type.
2572 [C99-based standards] (INT8_MAX): Likewise.
2573 [C99-based standards] (INT16_MIN): Likewise.
2574 [C99-based standards] (INT16_MAX): Likewise.
2575 [C99-based standards] (INT32_MIN): Likewise.
2576 [C99-based standards] (INT32_MAX): Likewise.
2577 [C99-based standards] (INT64_MIN): Likewise.
2578 [C99-based standards] (INT64_MAX): Likewise.
2579 [C99-based standards] (UINT8_MAX): Likewise.
2580 [C99-based standards] (UINT16_MAX): Likewise.
2581 [C99-based standards] (UINT32_MAX): Likewise.
2582 [C99-based standards] (UINT64_MAX): Likewise.
2583 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2584 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2585 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2586 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2587 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2588 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2589 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2590 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2591 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2592 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2593 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2594 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2595 [C99-based standards] (INT_FAST8_MIN): Likewise.
2596 [C99-based standards] (INT_FAST8_MAX): Likewise.
2597 [C99-based standards] (INT_FAST16_MIN): Likewise.
2598 [C99-based standards] (INT_FAST16_MAX): Likewise.
2599 [C99-based standards] (INT_FAST32_MIN): Likewise.
2600 [C99-based standards] (INT_FAST32_MAX): Likewise.
2601 [C99-based standards] (INT_FAST64_MIN): Likewise.
2602 [C99-based standards] (INT_FAST64_MAX): Likewise.
2603 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2604 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2605 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2606 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2607 [C99-based standards] (INTPTR_MIN): Likewise.
2608 [C99-based standards] (INTPTR_MAX): Likewise.
2609 [C99-based standards] (UINTPTR_MAX): Likewise.
2610 [C99-based standards] (INTMAX_MIN): Likewise.
2611 [C99-based standards] (INTMAX_MAX): Likewise.
2612 [C99-based standards] (UINTMAX_MAX): Likewise.
2613 [C99-based standards] (PTRDIFF_MIN): Likewise.
2614 [C99-based standards] (PTRDIFF_MAX): Likewise.
2615 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2616 [C99-based standards] (SIZE_MAX): Likewise.
2617 [C99-based standards] (WCHAR_MAX): Likewise.
2618 [C99-based standards] (WINT_MAX): Likewise.
2619 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2620 constraint on value.
2621 [C99-based standards] (WCHAR_MIN): Likewise.
2622 [C99-based standards] (WINT_MIN): Likewise.
2623 [C99-based standards] (*_t): Allow.
2624 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2625 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2626 Include math.h-data and complex.h-data. Remove all expectations
2627 of math.h and complex.h contents.
2628 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2629 at end of line.
2630 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2631 (struct tm): Expect tag.
2632 [C99-based-standards] (wcstof): Expect function.
2633 [C99-based-standards] (wcstold): Likewise.
2634 [C99-based-standards] (wcstoll): Likewise.
2635 [C99-based-standards] (wcstoull): Likewise.
2636 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2637 macro-int-constant. Specify type.
2638 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2639 constraint on value.
2640 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2641 Specify type.
2642 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2643 Specify value.
2644 [ISO C standards]: Do not allow headers.
2645 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2646 wcs[abcdefghijklmnopqrstuvwxyz]*.
2647 [ISO C standards] (*_t): Do not allow.
2648 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2649 Expect function.
2650 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2651 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2652 Specify type.
2653 [ISO C standards]: Do not allow headers.
2654 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2655 is[abcdefghijklmnopqrstuvwxyz]*.
2656 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2657 to[abcdefghijklmnopqrstuvwxyz]*.
2658 [ISO C standards] (*_t): Do not allow.
2659 * conform/data/stdalign.h-data: New file.
2660 * conform/data/stdbool.h-data: Likewise.
2661 * conform/data/stdnoreturn.h-data: Likewise.
2662
7514feb8
RM
26632012-11-07 Roland McGrath <roland@hack.frob.com>
2664
2665 [BZ #14815]
2666 * manual/filesys.texi (Directory Entries): Typo fix.
2667 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2668
19b2ecfc
MS
26692012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2670
2671 * elf/elf.h (EM_AARCH64): New macro.
2672 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2673 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2674 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2675 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2676 (R_AARCH64_TLSDESC): Likewise.
2677 (NT_ARM_TLS): Likewise.
2678 (NT_ARM_HW_BREAK): Likewise.
2679 (NT_ARM_HW_WATCH): Likewise.
2680
60e235ee
JM
26812012-11-07 Joseph Myers <joseph@codesourcery.com>
2682
2683 [BZ #14811]
2684 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2685 (__ieee754_powl): Saturate nonzero exponents with absolute value
2686 below 0x1p-79 to +/- 0x1p-79.
2687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2688 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2689 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2690 nonzero exponents with absolute value below 0x1p-32 to +/-
2691 0x1p-32.
2692 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2693 (__ieee754_powl): Saturate nonzero exponents with absolute value
2694 below 0x1p-79 to +/- 0x1p-79.
2695 * math/libm-test.inc (pow_test): Add more tests.
2696
0ab234b7
AK
26972012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2698
2699 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2700 _dl_s390_cap_flags with kernel. Increase string length.
2701 (_dl_s390_platforms): Add z196 and zEC12.
2702
45832f74
JM
27032012-11-07 Joseph Myers <joseph@codesourcery.com>
2704
2705 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2706 Change XOPEN21K to XOPEN2K.
2707
19218757
MK
27082012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2709
2710 * string/memmove.c: Use memcpy when possible.
2711
c5f45721
AJ
27122012-11-06 Andreas Jaeger <aj@suse.de>
2713
2714 * po/eo.po: Update from translation team.
2715
82477c28
JM
27162012-11-06 Joseph Myers <joseph@codesourcery.com>
2717
2718 [BZ #14793]
2719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2720 exponent and small x and y exponents, scale x or y up. Increase
2721 by 2 the exponent used in scaling up.
2722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2724 * math/libm-test.inc (fma_test): Add more tests.
2725 (fma_test_towardzero): Likewise.
2726 (fma_test_downward): Likewise.
2727 (fma_test_upward): Likewise.
2728
99252c8c
JM
27292012-11-05 Joseph Myers <joseph@codesourcery.com>
2730
acfa885f
JM
2731 [BZ #14805]
2732 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2733 fenv_t *.
2734
99252c8c
JM
2735 [BZ #14801]
2736 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2737 namespace for names of struct fields.
2738 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2739 fenv_t fields.
2740 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2741 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2742
d6d98dea
ST
27432012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2744
2745 [BZ #3665]
2746 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2747
e10bb107
TS
27482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2749
2750 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2751 PTR_DEMANGLE.
2752
2753 [BZ #5246]
2754 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2755 PTR_DEMANGLE.
2756
a0c2940d
JM
27572012-11-04 Joseph Myers <joseph@codesourcery.com>
2758
2759 [BZ #14797]
2760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2761 definitely overflow as x * y not x * y + z.
2762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2763 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2764 * math/libm-test.inc (fma_test): Add more tests.
2765 (fma_test_towardzero): Likewise.
2766 (fma_test_downward): Likewise.
2767 (fma_test_upward): Likewise.
2768
b830319d
TS
27692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2770
2771 [BZ #157]
2772
2773 * include/stub-tag.h: Remove file.
2774 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2775 '#include' of it.
2776 * manual/maint.texi (Porting): Don't reference it.
2777 * Makerules ($(objpfx)stubs): Likewise.
2778 * dirent/closedir.c: Don't include <stub-tag.h>.
2779 * dirent/dirfd.c: Likewise.
2780 * dirent/fdopendir.c: Likewise.
2781 * dirent/getdents.c: Likewise.
2782 * dirent/getdents64.c: Likewise.
2783 * dirent/opendir.c: Likewise.
2784 * dirent/readdir.c: Likewise.
2785 * dirent/readdir64.c: Likewise.
2786 * dirent/readdir64_r.c: Likewise.
2787 * dirent/readdir_r.c: Likewise.
2788 * dirent/rewinddir.c: Likewise.
2789 * dirent/seekdir.c: Likewise.
2790 * dirent/telldir.c: Likewise.
2791 * gmon/profil.c: Likewise.
2792 * grp/setgroups.c: Likewise.
2793 * inet/if_index.c: Likewise.
2794 * io/access.c: Likewise.
2795 * io/chdir.c: Likewise.
2796 * io/chmod.c: Likewise.
2797 * io/chown.c: Likewise.
2798 * io/close.c: Likewise.
2799 * io/dup.c: Likewise.
2800 * io/dup2.c: Likewise.
2801 * io/dup3.c: Likewise.
2802 * io/euidaccess.c: Likewise.
2803 * io/faccessat.c: Likewise.
2804 * io/fchdir.c: Likewise.
2805 * io/fchmod.c: Likewise.
2806 * io/fchmodat.c: Likewise.
2807 * io/fchown.c: Likewise.
2808 * io/fchownat.c: Likewise.
2809 * io/fcntl.c: Likewise.
2810 * io/flock.c: Likewise.
2811 * io/fstatfs.c: Likewise.
2812 * io/fstatfs64.c: Likewise.
2813 * io/fstatvfs.c: Likewise.
2814 * io/fstatvfs64.c: Likewise.
2815 * io/futimens.c: Likewise.
2816 * io/fxstat.c: Likewise.
2817 * io/fxstat64.c: Likewise.
2818 * io/fxstatat.c: Likewise.
2819 * io/fxstatat64.c: Likewise.
2820 * io/getcwd.c: Likewise.
2821 * io/isatty.c: Likewise.
2822 * io/lchmod.c: Likewise.
2823 * io/lchown.c: Likewise.
2824 * io/link.c: Likewise.
2825 * io/linkat.c: Likewise.
2826 * io/lseek.c: Likewise.
2827 * io/lseek64.c: Likewise.
2828 * io/lxstat64.c: Likewise.
2829 * io/mkdir.c: Likewise.
2830 * io/mkdirat.c: Likewise.
2831 * io/mkfifo.c: Likewise.
2832 * io/mkfifoat.c: Likewise.
2833 * io/open.c: Likewise.
2834 * io/open64.c: Likewise.
2835 * io/openat.c: Likewise.
2836 * io/openat64.c: Likewise.
2837 * io/pipe.c: Likewise.
2838 * io/pipe2.c: Likewise.
2839 * io/poll.c: Likewise.
2840 * io/posix_fadvise.c: Likewise.
2841 * io/posix_fadvise64.c: Likewise.
2842 * io/posix_fallocate.c: Likewise.
2843 * io/posix_fallocate64.c: Likewise.
2844 * io/read.c: Likewise.
2845 * io/readlink.c: Likewise.
2846 * io/readlinkat.c: Likewise.
2847 * io/rmdir.c: Likewise.
2848 * io/sendfile.c: Likewise.
2849 * io/sendfile64.c: Likewise.
2850 * io/statfs.c: Likewise.
2851 * io/statfs64.c: Likewise.
2852 * io/statvfs.c: Likewise.
2853 * io/statvfs64.c: Likewise.
2854 * io/symlink.c: Likewise.
2855 * io/symlinkat.c: Likewise.
2856 * io/ttyname.c: Likewise.
2857 * io/ttyname_r.c: Likewise.
2858 * io/umask.c: Likewise.
2859 * io/unlink.c: Likewise.
2860 * io/unlinkat.c: Likewise.
2861 * io/utime.c: Likewise.
2862 * io/utimensat.c: Likewise.
2863 * io/write.c: Likewise.
2864 * io/xmknod.c: Likewise.
2865 * io/xmknodat.c: Likewise.
2866 * io/xstat.c: Likewise.
2867 * io/xstat64.c: Likewise.
2868 * login/getpt.c: Likewise.
2869 * login/grantpt.c: Likewise.
2870 * login/unlockpt.c: Likewise.
2871 * math/e_acoshl.c: Likewise.
2872 * math/e_acosl.c: Likewise.
2873 * math/e_asinl.c: Likewise.
2874 * math/e_atan2l.c: Likewise.
2875 * math/e_atanhl.c: Likewise.
2876 * math/e_coshl.c: Likewise.
2877 * math/e_expl.c: Likewise.
2878 * math/e_fmodl.c: Likewise.
2879 * math/e_gammal_r.c: Likewise.
2880 * math/e_hypotl.c: Likewise.
2881 * math/e_j0l.c: Likewise.
2882 * math/e_j1l.c: Likewise.
2883 * math/e_jnl.c: Likewise.
2884 * math/e_lgammal_r.c: Likewise.
2885 * math/e_log10l.c: Likewise.
2886 * math/e_log2l.c: Likewise.
2887 * math/e_logl.c: Likewise.
2888 * math/e_powl.c: Likewise.
2889 * math/e_rem_pio2l.c: Likewise.
2890 * math/e_sinhl.c: Likewise.
2891 * math/e_sqrtl.c: Likewise.
2892 * math/fclrexcpt.c: Likewise.
2893 * math/fedisblxcpt.c: Likewise.
2894 * math/feenablxcpt.c: Likewise.
2895 * math/fegetenv.c: Likewise.
2896 * math/fegetexcept.c: Likewise.
2897 * math/fegetround.c: Likewise.
2898 * math/feholdexcpt.c: Likewise.
2899 * math/fesetenv.c: Likewise.
2900 * math/fesetround.c: Likewise.
2901 * math/feupdateenv.c: Likewise.
2902 * math/fgetexcptflg.c: Likewise.
2903 * math/fraiseexcpt.c: Likewise.
2904 * math/fsetexcptflg.c: Likewise.
2905 * math/ftestexcept.c: Likewise.
2906 * math/k_cosl.c: Likewise.
2907 * math/k_rem_pio2l.c: Likewise.
2908 * math/k_sinl.c: Likewise.
2909 * math/k_tanl.c: Likewise.
2910 * math/s_asinhl.c: Likewise.
2911 * math/s_atanl.c: Likewise.
2912 * math/s_cbrtl.c: Likewise.
2913 * math/s_erfl.c: Likewise.
2914 * math/s_expm1l.c: Likewise.
2915 * math/s_log1pl.c: Likewise.
2916 * math/s_tanhl.c: Likewise.
2917 * misc/acct.c: Likewise.
2918 * misc/brk.c: Likewise.
2919 * misc/chflags.c: Likewise.
2920 * misc/chroot.c: Likewise.
2921 * misc/fchflags.c: Likewise.
2922 * misc/fgetxattr.c: Likewise.
2923 * misc/flistxattr.c: Likewise.
2924 * misc/fremovexattr.c: Likewise.
2925 * misc/fsetxattr.c: Likewise.
2926 * misc/fsync.c: Likewise.
2927 * misc/ftruncate.c: Likewise.
2928 * misc/futimes.c: Likewise.
2929 * misc/futimesat.c: Likewise.
2930 * misc/getdomain.c: Likewise.
2931 * misc/getdtsz.c: Likewise.
2932 * misc/gethostid.c: Likewise.
2933 * misc/gethostname.c: Likewise.
2934 * misc/getloadavg.c: Likewise.
2935 * misc/getpagesize.c: Likewise.
2936 * misc/getsysstats.c: Likewise.
2937 * misc/getxattr.c: Likewise.
2938 * misc/gtty.c: Likewise.
2939 * misc/ioctl.c: Likewise.
2940 * misc/lgetxattr.c: Likewise.
2941 * misc/listxattr.c: Likewise.
2942 * misc/llistxattr.c: Likewise.
2943 * misc/lremovexattr.c: Likewise.
2944 * misc/lsetxattr.c: Likewise.
2945 * misc/lutimes.c: Likewise.
2946 * misc/madvise.c: Likewise.
2947 * misc/mincore.c: Likewise.
2948 * misc/mlock.c: Likewise.
2949 * misc/mlockall.c: Likewise.
2950 * misc/mmap.c: Likewise.
2951 * misc/mprotect.c: Likewise.
2952 * misc/msync.c: Likewise.
2953 * misc/munlock.c: Likewise.
2954 * misc/munlockall.c: Likewise.
2955 * misc/munmap.c: Likewise.
2956 * misc/preadv.c: Likewise.
2957 * misc/preadv64.c: Likewise.
2958 * misc/ptrace.c: Likewise.
2959 * misc/pwritev.c: Likewise.
2960 * misc/pwritev64.c: Likewise.
2961 * misc/readv.c: Likewise.
2962 * misc/reboot.c: Likewise.
2963 * misc/remap_file_pages.c: Likewise.
2964 * misc/removexattr.c: Likewise.
2965 * misc/revoke.c: Likewise.
2966 * misc/select.c: Likewise.
2967 * misc/setdomain.c: Likewise.
2968 * misc/setegid.c: Likewise.
2969 * misc/seteuid.c: Likewise.
2970 * misc/sethostid.c: Likewise.
2971 * misc/sethostname.c: Likewise.
2972 * misc/setregid.c: Likewise.
2973 * misc/setreuid.c: Likewise.
2974 * misc/setxattr.c: Likewise.
2975 * misc/sstk.c: Likewise.
2976 * misc/stty.c: Likewise.
2977 * misc/swapoff.c: Likewise.
2978 * misc/swapon.c: Likewise.
2979 * misc/sync.c: Likewise.
2980 * misc/syncfs.c: Likewise.
2981 * misc/syscall.c: Likewise.
2982 * misc/truncate.c: Likewise.
2983 * misc/ualarm.c: Likewise.
2984 * misc/usleep.c: Likewise.
2985 * misc/ustat.c: Likewise.
2986 * misc/utimes.c: Likewise.
2987 * misc/vhangup.c: Likewise.
2988 * misc/writev.c: Likewise.
2989 * posix/_exit.c: Likewise.
2990 * posix/alarm.c: Likewise.
2991 * posix/execve.c: Likewise.
2992 * posix/fexecve.c: Likewise.
2993 * posix/fork.c: Likewise.
2994 * posix/fpathconf.c: Likewise.
2995 * posix/getaddrinfo.c: Likewise.
2996 * posix/getegid.c: Likewise.
2997 * posix/geteuid.c: Likewise.
2998 * posix/getgid.c: Likewise.
2999 * posix/getgroups.c: Likewise.
3000 * posix/getlogin.c: Likewise.
3001 * posix/getlogin_r.c: Likewise.
3002 * posix/getpgid.c: Likewise.
3003 * posix/getpid.c: Likewise.
3004 * posix/getppid.c: Likewise.
3005 * posix/getresgid.c: Likewise.
3006 * posix/getresuid.c: Likewise.
3007 * posix/getsid.c: Likewise.
3008 * posix/getuid.c: Likewise.
3009 * posix/glob64.c: Likewise.
3010 * posix/nanosleep.c: Likewise.
3011 * posix/pathconf.c: Likewise.
3012 * posix/pause.c: Likewise.
3013 * posix/posix_madvise.c: Likewise.
3014 * posix/pread.c: Likewise.
3015 * posix/pread64.c: Likewise.
3016 * posix/pwrite.c: Likewise.
3017 * posix/pwrite64.c: Likewise.
3018 * posix/sched_getaffinity.c: Likewise.
3019 * posix/sched_getp.c: Likewise.
3020 * posix/sched_gets.c: Likewise.
3021 * posix/sched_primax.c: Likewise.
3022 * posix/sched_primin.c: Likewise.
3023 * posix/sched_rr_gi.c: Likewise.
3024 * posix/sched_setaffinity.c: Likewise.
3025 * posix/sched_setp.c: Likewise.
3026 * posix/sched_sets.c: Likewise.
3027 * posix/sched_yield.c: Likewise.
3028 * posix/setgid.c: Likewise.
3029 * posix/setlogin.c: Likewise.
3030 * posix/setpgid.c: Likewise.
3031 * posix/setresgid.c: Likewise.
3032 * posix/setresuid.c: Likewise.
3033 * posix/setsid.c: Likewise.
3034 * posix/setuid.c: Likewise.
3035 * posix/sleep.c: Likewise.
3036 * posix/spawni.c: Likewise.
3037 * posix/sysconf.c: Likewise.
3038 * posix/times.c: Likewise.
3039 * posix/wait.c: Likewise.
3040 * posix/wait3.c: Likewise.
3041 * posix/wait4.c: Likewise.
3042 * posix/waitpid.c: Likewise.
3043 * resolv/gai_sigqueue.c: Likewise.
3044 * resource/getpriority.c: Likewise.
3045 * resource/getrlimit.c: Likewise.
3046 * resource/getrusage.c: Likewise.
3047 * resource/nice.c: Likewise.
3048 * resource/setpriority.c: Likewise.
3049 * resource/setrlimit.c: Likewise.
3050 * resource/ulimit.c: Likewise.
3051 * rt/aio_cancel.c: Likewise.
3052 * rt/aio_fsync.c: Likewise.
3053 * rt/aio_read.c: Likewise.
3054 * rt/aio_sigqueue.c: Likewise.
3055 * rt/aio_suspend.c: Likewise.
3056 * rt/aio_write.c: Likewise.
3057 * rt/clock_getres.c: Likewise.
3058 * rt/clock_gettime.c: Likewise.
3059 * rt/clock_nanosleep.c: Likewise.
3060 * rt/clock_settime.c: Likewise.
3061 * rt/lio_listio.c: Likewise.
3062 * rt/mq_close.c: Likewise.
3063 * rt/mq_getattr.c: Likewise.
3064 * rt/mq_notify.c: Likewise.
3065 * rt/mq_open.c: Likewise.
3066 * rt/mq_receive.c: Likewise.
3067 * rt/mq_send.c: Likewise.
3068 * rt/mq_setattr.c: Likewise.
3069 * rt/mq_timedreceive.c: Likewise.
3070 * rt/mq_timedsend.c: Likewise.
3071 * rt/mq_unlink.c: Likewise.
3072 * rt/shm_open.c: Likewise.
3073 * rt/shm_unlink.c: Likewise.
3074 * rt/timer_create.c: Likewise.
3075 * rt/timer_delete.c: Likewise.
3076 * rt/timer_getoverr.c: Likewise.
3077 * rt/timer_gettime.c: Likewise.
3078 * rt/timer_settime.c: Likewise.
3079 * setjmp/__longjmp.c: Likewise.
3080 * setjmp/setjmp.c: Likewise.
3081 * signal/kill.c: Likewise.
3082 * signal/killpg.c: Likewise.
3083 * signal/raise.c: Likewise.
3084 * signal/sigaction.c: Likewise.
3085 * signal/sigaltstack.c: Likewise.
3086 * signal/sigblock.c: Likewise.
3087 * signal/sigignore.c: Likewise.
3088 * signal/sigintr.c: Likewise.
3089 * signal/signal.c: Likewise.
3090 * signal/sigpause.c: Likewise.
3091 * signal/sigpending.c: Likewise.
3092 * signal/sigqueue.c: Likewise.
3093 * signal/sigreturn.c: Likewise.
3094 * signal/sigset.c: Likewise.
3095 * signal/sigsetmask.c: Likewise.
3096 * signal/sigstack.c: Likewise.
3097 * signal/sigsuspend.c: Likewise.
3098 * signal/sigtimedwait.c: Likewise.
3099 * signal/sigvec.c: Likewise.
3100 * signal/sigwait.c: Likewise.
3101 * signal/sigwaitinfo.c: Likewise.
3102 * signal/sysv_signal.c: Likewise.
3103 * socket/accept.c: Likewise.
3104 * socket/accept4.c: Likewise.
3105 * socket/bind.c: Likewise.
3106 * socket/connect.c: Likewise.
3107 * socket/getpeername.c: Likewise.
3108 * socket/getsockname.c: Likewise.
3109 * socket/getsockopt.c: Likewise.
3110 * socket/isfdtype.c: Likewise.
3111 * socket/listen.c: Likewise.
3112 * socket/recv.c: Likewise.
3113 * socket/recvfrom.c: Likewise.
3114 * socket/recvmsg.c: Likewise.
3115 * socket/send.c: Likewise.
3116 * socket/sendmsg.c: Likewise.
3117 * socket/sendto.c: Likewise.
3118 * socket/setsockopt.c: Likewise.
3119 * socket/shutdown.c: Likewise.
3120 * socket/sockatmark.c: Likewise.
3121 * socket/socket.c: Likewise.
3122 * socket/socketpair.c: Likewise.
3123 * stdio-common/ctermid.c: Likewise.
3124 * stdio-common/cuserid.c: Likewise.
3125 * stdio-common/remove.c: Likewise.
3126 * stdio-common/rename.c: Likewise.
3127 * stdio-common/renameat.c: Likewise.
3128 * stdio-common/tempname.c: Likewise.
3129 * stdlib/getcontext.c: Likewise.
3130 * stdlib/makecontext.c: Likewise.
3131 * stdlib/setcontext.c: Likewise.
3132 * stdlib/swapcontext.c: Likewise.
3133 * stdlib/system.c: Likewise.
3134 * streams/fattach.c: Likewise.
3135 * streams/fdetach.c: Likewise.
3136 * streams/getmsg.c: Likewise.
3137 * streams/getpmsg.c: Likewise.
3138 * streams/putmsg.c: Likewise.
3139 * streams/putpmsg.c: Likewise.
3140 * sysdeps/unix/bsd/getpt.c: Likewise.
3141 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3142 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3143 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3145 Likewise.
3146 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3147 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3148 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3149 * sysvipc/msgctl.c: Likewise.
3150 * sysvipc/msgget.c: Likewise.
3151 * sysvipc/msgrcv.c: Likewise.
3152 * sysvipc/msgsnd.c: Likewise.
3153 * sysvipc/semctl.c: Likewise.
3154 * sysvipc/semget.c: Likewise.
3155 * sysvipc/semop.c: Likewise.
3156 * sysvipc/semtimedop.c: Likewise.
3157 * sysvipc/shmat.c: Likewise.
3158 * sysvipc/shmctl.c: Likewise.
3159 * sysvipc/shmdt.c: Likewise.
3160 * sysvipc/shmget.c: Likewise.
3161 * termios/tcdrain.c: Likewise.
3162 * termios/tcflow.c: Likewise.
3163 * termios/tcflush.c: Likewise.
3164 * termios/tcgetattr.c: Likewise.
3165 * termios/tcgetpgrp.c: Likewise.
3166 * termios/tcsendbrk.c: Likewise.
3167 * termios/tcsetattr.c: Likewise.
3168 * termios/tcsetpgrp.c: Likewise.
3169 * time/adjtime.c: Likewise.
3170 * time/clock.c: Likewise.
3171 * time/getitimer.c: Likewise.
3172 * time/gettimeofday.c: Likewise.
3173 * time/setitimer.c: Likewise.
3174 * time/settimeofday.c: Likewise.
3175 * time/stime.c: Likewise.
3176 * time/time.c: Likewise.
3177
31782012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3179
a20492cf
PT
3180 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3181 /usr/old/bin.
3182
72e182e3
PT
3183 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3184 instead of spaces.
3185 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3186
fbeafede
JM
31872012-11-03 Joseph Myers <joseph@codesourcery.com>
3188
5b5b04d6
JM
3189 [BZ #14796]
3190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3191 FE_TONEAREST before applying Dekker multiplication and Knuth
3192 addition. Clear inexact exceptions and check for exact zero
3193 results afterwards.
3194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3195 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3196 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3197 * math/libm-test.inc (fma_test): Add more tests.
3198 (fma_test_towardzero): Likewise.
3199 (fma_test_downward): Likewise.
3200 (fma_test_upward): Likewise.
3201 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3202 function.
3203 (libc_fesetround): New macro.
3204 (libc_fesetroundf): Likewise.
3205 (libc_fesetroundl): Likewise.
3206 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3207 function.
3208 (libc_fesetround_387): Likewise.
3209 (libc_fesetroundf): New macro.
3210 (libc_fesetround): Likewise.
3211 (libc_fesetroundl): Likewise.
3212 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3213 function.
3214 (libc_fesetroundf): New macro.
3215 (libc_fesetround): Likewise.
3216 (libc_fesetroundl): Likewise.
3217 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3218 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3219 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3220 libm_hidden_ver.
3221 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3222 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3223 libm_hidden_def.
3224 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3225 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3226 libm_hidden_ver.
3227 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3228 libm_hidden_def.
3229
fbeafede
JM
3230 [BZ #3439]
3231 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3232 integer constant usable in #if and use that to give value to enum
3233 constant.
3234 (FE_DIVBYZERO): Likewise.
3235 (FE_UNDERFLOW): Likewise.
3236 (FE_OVERFLOW): Likewise.
3237 (FE_INVALID): Likewise.
3238 (FE_INVALID_SNAN): Likewise.
3239 (FE_INVALID_ISI): Likewise.
3240 (FE_INVALID_IDI): Likewise.
3241 (FE_INVALID_ZDZ): Likewise.
3242 (FE_INVALID_IMZ): Likewise.
3243 (FE_INVALID_COMPARE): Likewise.
3244 (FE_INVALID_SOFTWARE): Likewise.
3245 (FE_INVALID_SQRT): Likewise.
3246 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3247 (FE_TONEAREST): Likewise.
3248 (FE_TOWARDZERO): Likewise.
3249 (FE_UPWARD): Likewise.
3250 (FE_DOWNWARD): Likewise.
3251 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3252 (FE_DIVBYZERO): Likewise.
3253 (FE_OVERFLOW): Likewise.
3254 (FE_UNDERFLOW): Likewise.
3255 (FE_INEXACT): Likewise.
3256 (FE_TONEAREST): Likewise.
3257 (FE_DOWNWARD): Likewise.
3258 (FE_UPWARD): Likewise.
3259 (FE_TOWARDZERO): Likewise.
3260 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3261 (FE_UNDERFLOW): Likewise.
3262 (FE_OVERFLOW): Likewise.
3263 (FE_DIVBYZERO): Likewise.
3264 (FE_INVALID): Likewise.
3265 (FE_TONEAREST): Likewise.
3266 (FE_TOWARDZERO): Likewise.
3267 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3268 (FE_OVERFLOW): Likewise.
3269 (FE_UNDERFLOW): Likewise.
3270 (FE_DIVBYZERO): Likewise.
3271 (FE_INEXACT): Likewise.
3272 (FE_TONEAREST): Likewise.
3273 (FE_TOWARDZERO): Likewise.
3274 (FE_UPWARD): Likewise.
3275 (FE_DOWNWARD): Likewise.
3276 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3277 (FE_DIVBYZERO): Likewise.
3278 (FE_OVERFLOW): Likewise.
3279 (FE_UNDERFLOW): Likewise.
3280 (FE_INEXACT): Likewise.
3281 (FE_TONEAREST): Likewise.
3282 (FE_DOWNWARD): Likewise.
3283 (FE_UPWARD): Likewise.
3284 (FE_TOWARDZERO): Likewise.
3285
105ca950
CM
32862012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3287
3288 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3289
a542b389
AS
32902012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3291
3292 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3293 commands. Quote $PWD.
3294 (blacklist_exports): Don't use remove_newlines. Replace "declare
3295 -x" by "export".
3296 (remove_newlines): Remove.
3297
f62c8abc
L
32982012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3299
3300 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3301 * stdlib/stdlib.h (atof): Moved to ...
3302 * include/bits/stdlib-float.h: Here. New file.
3303 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3304 * stdlib/bits/stdlib-float.h: New file.
3305 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3306 -mno-sse -mno-mmx.
3307 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3308 <xmmintrin.h>.
3309
0155d5b2
JM
33102012-11-02 Joseph Myers <joseph@codesourcery.com>
3311
a68d0680
JM
3312 * conform/conformtest.pl (@headers): Add fenv.h.
3313 * conform/data/fenv.h-data: New file.
3314 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3315 include of <math/fenv.h>.
3316
caf7f573
JM
3317 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3318 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3319 && !UNIX98]. Enables tests for XOPEN2K8.
3320 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3321 POSIX2008]: Likewise.
3322
6c073ad6
JM
3323 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3324 (struct rusage): Do not expect type or its members.
3325
0155d5b2
JM
3326 [BZ #3439]
3327 * math/math.h (FP_NAN): Define macro to integer constant usable in
3328 #if and use that to give value to enum constant.
3329 (FP_INFINITE): Likewise.
3330 (FP_ZERO): Likewise.
3331 (FP_SUBNORMAL): Likewise.
3332 (FP_NORMAL): Likewise.
3333
b5dcacb4
AS
33342012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3335
3336 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3337 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3338 arguments.
3339
f7934be8
RM
33402012-11-02 Roland McGrath <roland@hack.frob.com>
3341
3342 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3343 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3344 autoconf-time if not.
3345 * configure.in: Remove AC_PREREQ.
3346
d7d08bde
TMQMF
33472012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3348
3349 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3350 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3351 of the internal implementation.
3352
dcdae19a
JM
33532012-11-02 Joseph Myers <joseph@codesourcery.com>
3354
3355 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3356 except include of <misc/sys/syslog.h>.
3357
d6cffd3e
AS
33582012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3359
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3361 function returns with a NULL context exit with zero.
3362
b3563932
TMQMF
33632012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3364
3365 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3366
b288a93d
L
33672012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3368
3369 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3370 (run_program_cmd): This.
3371 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3372 (tst_langinfo): New variable. Use it.
3373
a2421a68
SAS
33742012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3375
3376 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3377 floating point opcodes.
3378
6f796e1b
TS
33792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3380
7402596b
TS
3381 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3382 variable.
3383
d0d4f868
TS
3384 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3385
6f796e1b
TS
3386 * sysdeps/mach/hurd/powerpc: Remove directory.
3387 * sysdeps/mach/powerpc: Likewise.
3388
4da224a2
AS
33892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3390
3391 * scripts/check-local-headers.sh: Ignore c++ headers.
3392
341dd673
TS
33932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3394
3395 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3396 __libc_cleanup_region_start argument.
3397
473611b2
JM
33982012-11-01 Joseph Myers <joseph@codesourcery.com>
3399
3400 [BZ #14784]
3401 [BZ #14785]
3402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3403 x * y using scaling, not as x * y + z.
3404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3406 * math/libm-test.inc (fma_test): Add more tests.
3407 (fma_test_towardzero): Likewise.
3408 (fma_test_downward): Likewise.
3409 (fma_test_upward): Likewise.
3410
4078da3d
TS
34112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3412
3413 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3414
903252aa
JM
34152012-10-31 Joseph Myers <joseph@codesourcery.com>
3416
3417 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3418 New variable.
3419
cbc818d0
TS
34202012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3421
3422 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3423
5a03cb1e
AS
34242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3425
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3427 Fix sort order.
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3429 Likewise.
3430
90aff2ff
TMQMF
34312012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3432
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3434 Fix the order of the list for glibc 2.17.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3436 Likewise.
3437
1818fcb7
AS
34382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3439
3440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3441
ef82f4da
JM
34422012-10-31 Joseph Myers <joseph@codesourcery.com>
3443
16a0e2ec
JM
3444 [BZ #14610]
3445 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3446 for low part of x being zero before using __atanl (y).
3447 * math/libm-test.inc (atan2_test): Add another test.
3448
0eb69512
JM
3449 * manual/install.texi (Configuring and compiling): Document
3450 general use of test-wrapper and test-wrapper-env.
3451 * INSTALL: Regenerated.
3452
ef82f4da
JM
3453 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3454 (__fma): Do not extract and scale down low bits on after-rounding
3455 systems when result rounded to normal precision would have normal
3456 exponent.
3457 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3458 (__fmal): Do not extract and scale down low bits on after-rounding
3459 systems when result rounded to normal precision would have normal
3460 exponent.
3461 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3462 (__fmal): Do not extract and scale down low bits on after-rounding
3463 systems when result rounded to normal precision would have normal
3464 exponent.
3465 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3466 macro.
3467 (fma_test): Add more tests.
3468 (fma_test_towardzero): Likewise.
3469 (fma_test_downward): Likewise.
3470 (fma_test_upward): Likewise.
3471
954ef0d9
L
34722012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3473
3474 * sysdeps/i386/tininess.h: Renamed to ...
3475 * sysdeps/x86/tininess.h: This.
3476 * sysdeps/x86_64/tininess.h: Removed.
3477
df61ffb2
JM
34782012-10-30 Joseph Myers <joseph@codesourcery.com>
3479
3480 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3481 input. Use $(build-program-cmd).
3482 ($(objpfx)tst-array1-static.out): Likewise.
3483 ($(objpfx)tst-array2.out): Likewise.
3484 ($(objpfx)tst-array3.out): Likewise.
3485 ($(objpfx)tst-array4.out): Likewise.
3486 ($(objpfx)tst-array5.out): Likewise.
3487 ($(objpfx)tst-array5-static.out): Likewise.
3488
01767843
CM
34892012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3490
47cc1490
CM
3491 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3492 if defined.
3493
01767843
CM
3494 * nss/nsswitch.h (nss_interface_function): Provide new
3495 macro for use with NSS functions.
3496 * grp/initgroups.c: Use new macro.
3497 * nss/getXXbyYY.c: Likewise.
3498 * nss/getXXbyYY_r.c: Likewise.
3499 * nss/getXXent.c: Likewise.
3500 * nss/getXXent_r.c: Likewise.
3501 * sysdeps/posix/getaddrinfo.c: Likewise.
3502
8321aa97
AJ
35032012-10-30 Andreas Jaeger <aj@suse.de>
3504
3505 * po/ru.po: Update Russion translation from translation project.
3506
2a27fd6d
JM
35072012-10-30 Joseph Myers <joseph@codesourcery.com>
3508
8627a232
JM
3509 [BZ #14152]
3510 [BZ #14783]
3511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3512 result and shift together with sticky bit instead of replicating
3513 round-to-nearest rounding.
3514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3516 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3517 missing underflow exceptions.
3518 (fma_test_towardzero): Add more tests.
3519 (fma_test_downward): Likewise.
3520 (fma_test_upward): Likewise.
3521
2a27fd6d
JM
3522 [BZ #14047]
3523 * sysdeps/generic/tininess.h: New file.
3524 * sysdeps/i386/tininess.h: Likewise.
3525 * sysdeps/sh/tininess.h: Likewise.
3526 * sysdeps/x86_64/tininess.h: Likewise.
3527 * stdlib/tst-strtod-underflow.c: Likewise.
3528 * stdlib/tst-tininess.c: Likewise.
3529 * stdlib/strtod_l.c: Include <tininess.h>.
3530 (round_and_return): Do not set errno for exact underflow cases.
3531 Force an underflow exception when setting errno for underflow.
3532 Determine underflow based on rounding to normal precision if
3533 TININESS_AFTER_ROUNDING.
3534 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3535 ERANGE for exact underflow cases.
3536 * stdlib/Makefile (tests): Add tst-tininess and
3537 tst-strtod-underflow.
3538 ($(objpfx)tst-tininess): Use $(link-libm).
3539 ($(objpfx)tst-strtod-underflow): Likewise.
3540
e7170363
AJ
35412012-10-30 Andreas Jaeger <aj@suse.de>
3542
e5088dc6
AJ
3543 [BZ#14767]
3544 * elf/Makefile (tests): Remove conditional for have-initfini-array
3545 since this is now always required and the variable does not exist
3546 anymore.
3547 (tests-static): Likewise.
3548 (modules-names): Likewise.
3549
e7170363 3550 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3551
3552 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3553 merged with constructor/destructor.
3554 (init_array): Likewise.
3555 * elf/tst-array2dep.c (fini_array): Likewise.
3556 (init_array): Likewise.
3557
60457d8a
MF
35582012-10-29 Mike Frysinger <vapier@gentoo.org>
3559
3560 * manual/message.texi: Delete @cartouche tags.
3561
8bece752
PT
35622012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3563
94ce799f
PT
3564 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3565 EOPNOTSUPP.
3566 * sysdeps/mach/hurd/fsync.c: Likewise.
3567
8bece752
PT
3568 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3569 [_POSIX_REALTIME_SIGNALS]: Change condition to
3570 [_POSIX_REALTIME_SIGNALS > 0].
3571
86ebe6b1
AJ
35722012-10-27 Andreas Jaeger <aj@suse.de>
3573
3574 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3575 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3577 [__WORDSIZE != 64]: Likewise.
3578
54399c08
L
35792012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3580
3581 * iconvdata/tst-table.sh: Remove ${SHELL}.
3582 * iconvdata/tst-tables.sh: Likewise.
3583
e2211bed
DM
35842012-10-25 David S. Miller <davem@davemloft.net>
3585
3586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3587 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3588 of strtoull.
3589
f303f97c
DM
3590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3591 ifunc-impl-list.c
3592 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3593 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3594 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3595 file.
3596
1e9d84cd
RM
35972012-10-25 Roland McGrath <roland@hack.frob.com>
3598
3599 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3600 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3601 __getdirentries.
3602
df381762
JM
36032012-10-25 Joseph Myers <joseph@codesourcery.com>
3604 Jim Blandy <jimb@codesourcery.com>
3605
3606 * scripts/cross-test-ssh.sh: New file.
3607 * manual/install.texi (Configuring and compiling): Document use of
3608 cross-test-ssh.sh.
3609 * INSTALL: Regenerated.
3610
bff64913
PT
36112012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3612
3613 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3614 EOPNOTSUPP.
3615
25fe8932
JM
36162012-10-25 Joseph Myers <joseph@codesourcery.com>
3617
3618 * Makeconfig (run-program-prefix): Fix comment.
3619
cc1290d0
JM
36202012-10-24 Joseph Myers <joseph@codesourcery.com>
3621 Jim Blandy <jimb@codesourcery.com>
3622
3623 * Makeconfig (test-wrapper): New variable,
3624 (test-wrapper-env): Likewise.
3625 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3626 (run-built-tests): Define to yes.
3627 (run-program-prefix): Use $(test-wrapper).
3628 (built-program-cmd): Likewise.
3629 * Rules (make-test-out): Use $(test-wrapper-env) and
3630 $(host-built-program-cmd).
3631 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3632 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3633 tst-pathopt.sh.
3634 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3635 $(test-wrapper-env) to tst-rtld-load-self.sh.
3636 ($(objpfx)order2.out): Use $(test-wrapper).
3637 ($(objpfx)tst-initorder.out): Likewise.
3638 ($(objpfx)tst-initorder2.out): Likewise.
3639 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3640 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3641 (test_wrapper_env): New variable. Use it to run ld.so.
3642 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3643 Use it to run ld.so.
3644 (test_wrapper_env): Likewise.
3645 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3646 $(test-wrapper) to run-iconv-test.sh.
3647 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3648 (ICONV): Use $test_wrapper.
3649 * posix/Makefile ($(objpfx)globtest.out): Pass
3650 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3651 globtest.sh, not $(run-program-prefix).
3652 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3653 (test_wrapper): Likewise.
3654 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3655 set together with run_via_rtld_prefix.
3656 (run_program_prefix): Define in terms of test_wrapper and
3657 run_via_rtld_prefix.
3658
6e6249d0
RM
36592012-10-24 Roland McGrath <roland@hack.frob.com>
3660
3661 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3662 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3663 Targets removed.
3664
3665 [BZ #14743]
3666 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3667 Declare __clock_getres, __clock_gettime, __clock_settime,
3668 __clock_nanosleep, and __clock_getcpuclockid.
3669 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3670 Remove librt_hidden_def (clock_gettime).
3671 * sysdeps/unix/clock_gettime.c: Likewise.
3672 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3673 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3674 * rt/clock_getres.c: Define __clock_getres as an alias.
3675 * sysdeps/posix/clock_getres.c: Likewise.
3676 * rt/clock_settime.c: Define __clock_settime as an alias.
3677 * sysdeps/unix/clock_settime.c: Likewise.
3678 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3679 * sysdeps/unix/clock_nanosleep.c: Likewise.
3680 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3681 * rt/clock-compat.c: New file.
3682 * rt/Makefile (librt-routines): Add clock-compat and move
3683 $(clock-routines) to ...
3684 (routines): ... here, new variable.
3685 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3686 Don't add get_clockfreq here.
3687 * rt/Versions (libc: GLIBC_2.17): New version set.
3688 Add clock_* symbols here.
3689 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3690 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3691 (GLIBC_2.17): Add clock_* symbols.
3692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3696 Likewise.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3698 Likewise.
3699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3703 * NEWS: Mention the move.
3704
3705 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3706 Use __open, __read, __close rather than their public counterparts.
3707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3708 (__get_clockfreq_via_cpuinfo): Likewise.
3709 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3710 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3711
3712 * config.h.in (HAVE_IFUNC): New #undef.
3713 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3714 was successful.
3715 * configure: Regenerated.
3716
0cae3f4b
MF
37172012-10-24 Mike Frysinger <vapier@gentoo.org>
3718
3719 * configure.in: Move READELF check to start of file.
3720 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3721 libc_cv_asm_gnu_indirect_function in the process.
3722 * configure: Regenerated.
3723
8175a253
MF
37242012-10-24 Mike Frysinger <vapier@gentoo.org>
3725
3726 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3727 send the output to /dev/null.
3728 (libc_cv_cc_with_libunwind): Likewise.
3729 (libc_cv_as_noexecstack): Likewise.
3730 * configure: Regenerate.
3731
0708a7d1
JM
37322012-10-24 Joseph Myers <joseph@codesourcery.com>
3733
10b40d85
JM
3734 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3735
0708a7d1
JM
3736 * posix/globtest.sh (TMPDIR): Do not set.
3737 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3738 (testout): Likewise.
3739
9fddec1a
AJ
37402012-10-24 Andreas Jaeger <aj@suse.de>
3741
3a8db22f
AJ
3742 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3743 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3744 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3745 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3746 posix_fadvise64, posix_fallocate64.
3747
9fddec1a
AJ
3748 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3749 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3750 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3751 Likewise.
3752 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3753 Likewise.
3754 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3755
3756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3757 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3758 <bits/fcntl-linux.h>.
3759 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3760
3761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3762 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3763 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3764 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3765 [__WORDSIZE != 64]: Likewise.
3766
ebfd1bbd
JM
37672012-10-23 Joseph Myers <joseph@codesourcery.com>
3768
03ac099f
JM
3769 * Makeconfig (run-built-tests): New variable.
3770 * Rules [$(cross-compiling) = yes]: Change condition to
3771 [$(run-built-tests) = no].
3772 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3773 to [$(run-built-tests) = yes].
3774 * elf/Makefile [$(cross-compiling) = no]: Likewise
3775 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3776 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3777 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3778 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3779 * io/Makefile [$(cross-compiling) = no]: Likewise.
3780 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3781 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3782 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3783 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3784 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3785 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3786 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3787 * string/Makefile [$(cross-compiling) = no]: Likewise.
3788
ebfd1bbd
JM
3789 * posix/Makefile ($(objpfx)globtest.out): Pass
3790 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3791 $(rtld-installed-name).
3792 * posix/globtest.sh (elf_objpfx): Remove variable.
3793 (rtld_installed_name): Likewise.
3794 (library_path): Likewise.
3795 (run_program_prefix): New variable. Use for running globtest
3796 binary.
3797
166bca24
JB
37982012-10-23 Jim Blandy <jimb@codesourcery.com>
3799 Joseph Myers <joseph@codesourcery.com>
3800
3801 * Makeconfig (host-built-program-cmd): New variable.
3802 * elf/Makefile (tst-stackguard1-ARGS): Use
3803 $(host-built-program-cmd).
3804 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3805 (tst-spawn-ARGS): Likewise.
3806 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3807
88866099
JM
38082012-10-23 Joseph Myers <joseph@codesourcery.com>
3809 Jim Blandy <jimb@codesourcery.com>
3810
3811 * Makeconfig (run-via-rtld-prefix): New variable.
3812 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3813 (built-program-cmd): Likewise.
3814
b4b4c296
AJ
38152012-10-22 Andreas Jaeger <aj@suse.de>
3816
3817 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3818 __O_RSYNC if it exists, otherwise to O_SYNC.
3819
6fb54a22
JB
38202012-10-22 Jim Blandy <jimb@codesourcery.com>
3821 Joseph Myers <joseph@codesourcery.com>
3822
3823 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3824 /dev/null.
3825 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3826 from /dev/null
3827 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3828 /dev/null.
3829
481b90b9
AJ
38302012-10-22 Andreas Jaeger <aj@suse.de>
3831
2a0e2669
AJ
3832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3833 Define always.
3834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3835
76e38f9a
AJ
3836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3837 bits/fcntl-linux.h.
3838
7cd37b43
AJ
3839 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3840 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3841
481b90b9
AJ
3842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3843 to __O_LARGEFILE.
3844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3845 to __O_LARGEFILE.
3846
aba75984
JB
38472012-10-21 Jim Blandy <jimb@codesourcery.com>
3848 Joseph Myers <joseph@codesourcery.com>
3849
3850 * config.make.in (NM): New variable.
3851
88d4247f
AJ
38522012-10-21 Andreas Jaeger <aj@suse.de>
3853
3854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3855 definitions and declarations that are provided by
3856 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3857
f2eed205
L
38582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3859
3860 [BZ #14683]
3861 * elf/Makefile (tests-static): Add tst-leaks1-static.
3862 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3863 ($(objpfx)tst-leaks1-static): New rule.
3864 ($(objpfx)tst-leaks1-static-mem): Likewise.
3865 (tst-leaks1-static-ENV): New macro.
3866 * elf/dl-open.c (dl_open_worker): Check the main application
3867 only if SHARED is defined.
3868 * elf/tst-leaks1-static.c: New file.
3869
335e6931
AJ
38702012-10-20 Andreas Jaeger <aj@suse.de>
3871
3872 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3873 generic values for Linux.
3874 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3875 and declarations that are provided by <bits/fcntl-linux.h> and
3876 include <bits/fcntl-linux.h>.
3877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3878 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3879
ac5c94d3
RM
38802012-10-20 Roland McGrath <roland@hack.frob.com>
3881
3882 * io/fcntl.h: Move include of <bits/types.h> to the top and
3883 include it unconditionally.
3884
de54b33a
L
38852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3886
228cfb01
L
3887 * wcsmbs/Makefile (tests-ifunc): New variable.
3888 (tests): Add $(tests-ifunc).
3889 * wcsmbs/test-wcschr-ifunc.c: New file.
3890 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3891 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3892 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3893 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3894 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3895
69f07e5f
L
3896 * string/Makefile (tests-ifunc): New variable.
3897 (tests): Add $(tests-ifunc).
3898 * string/test-memccpy.c (TEST_NAME): New macro.
3899 * string/test-memchr.c (TEST_NAME): Likewise.
3900 * string/test-memcmp.c (TEST_NAME): Likewise.
3901 * string/test-memcpy.c (TEST_NAME): Likewise.
3902 * string/test-memmem.c (TEST_NAME): Likewise.
3903 * string/test-memmove.c (TEST_NAME): Likewise.
3904 * string/test-memset.c (TEST_NAME): Likewise.
3905 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3906 * string/test-stpcpy.c (TEST_NAME): Likewise.
3907 * string/test-stpncpy.c (TEST_NAME): Likewise.
3908 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3909 * string/test-strcasestr.c (TEST_NAME): Likewise.
3910 * string/test-strcat.c (TEST_NAME): Likewise.
3911 * string/test-strchr.c (TEST_NAME): Likewise.
3912 * string/test-strcmp.c(TEST_NAME): Likewise.
3913 * string/test-strcpy.c (TEST_NAME): Likewise.
3914 * string/test-strcspn.c (TEST_NAME): Likewise.
3915 * string/test-strlen.c (TEST_NAME): Likewise.
3916 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3917 * string/test-strncmp.c (TEST_NAME): Likewise.
3918 * string/test-strncpy.c (TEST_NAME): Likewise.
3919 * string/test-strnlen.c (TEST_NAME): Likewise.
3920 * string/test-strpbrk.c (TEST_NAME): Likewise.
3921 * string/test-strrchr.c (TEST_NAME): Likewise.
3922 * string/test-strspn.c (TEST_NAME): Likewise.
3923 * string/test-strstr.c (TEST_NAME): Likewise.
3924 * string/test-bcopy-ifunc.c: New file.
3925 * string/test-bzero-ifunc.c: Likewise.
3926 * string/test-memccpy-ifunc.c: Likewise.
3927 * string/test-memchr-ifunc.c: Likewise.
3928 * string/test-memcmp-ifunc.c: Likewise.
3929 * string/test-memcpy-ifunc.c: Likewise.
3930 * string/test-memmem-ifunc.c: Likewise.
3931 * string/test-memmove-ifunc.c: Likewise.
3932 * string/test-mempcpy-ifunc.c: Likewise.
3933 * string/test-memset-ifunc.c: Likewise.
3934 * string/test-rawmemchr-ifunc.c: Likewise.
3935 * string/test-stpcpy-ifunc.c: Likewise.
3936 * string/test-stpncpy-ifunc.c: Likewise.
3937 * string/test-strcasecmp-ifunc.c: Likewise.
3938 * string/test-strcasestr-ifunc.c: Likewise.
3939 * string/test-strcat-ifunc.c: Likewise.
3940 * string/test-strchr-ifunc.c: Likewise.
3941 * string/test-strchrnul-ifunc.c: Likewise.
3942 * string/test-strcmp-ifunc.c: Likewise.
3943 * string/test-strcpy-ifunc.c: Likewise.
3944 * string/test-strcspn-ifunc.c: Likewise.
3945 * string/test-strlen-ifunc.c: Likewise.
3946 * string/test-strncasecmp-ifunc.c: Likewise.
3947 * string/test-strncat-ifunc.c: Likewise.
3948 * string/test-strncmp-ifunc.c: Likewise.
3949 * string/test-strncpy-ifunc.c: Likewise.
3950 * string/test-strnlen-ifunc.c: Likewise.
3951 * string/test-strpbrk-ifunc.c: Likewise.
3952 * string/test-strrchr-ifunc.c: Likewise.
3953 * string/test-strspn-ifunc.c: Likewise.
3954 * string/test-strstr-ifunc.c: Likewise.
3955
de54b33a
L
3956 * debug/Makefile (tests-ifunc): New variable.
3957 (tests): Add $(tests-ifunc).
3958 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3959 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3960 * debug/test-stpcpy_chk-ifunc.c: New file.
3961 * debug/test-strcpy_chk-ifunc.c: Likewise.
3962
88481c16
SP
39632012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3964
3965 [BZ #13601]
3966 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3967 header is not read in.
3968
135948bd
JM
39692012-10-19 Joseph Myers <joseph@codesourcery.com>
3970
89f1c388
JM
3971 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3972 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3973 directly. Pass built executable to script as
3974 $(built-program-cmd).
3975 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3976 $testprogram without using LD_LIBRARY_PATH and $ldso.
3977
e40a0d21
JM
3978 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3979 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3980 $(rtld-installed-name).
3981 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3982 (rtld_installed_name): Likewise.
3983 (library_path): Likewise.
3984 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3985 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3986 $(run-program-prefix) to tst-tables.sh.
3987 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3988 it to run tst-table-from and tst-table-to.
3989 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3990 Pass it to tst-table.sh.
3991 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3992 $(run-program-prefix) to tst-gettext.sh.
3993 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3994 tst-translit.sh.
3995 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3996 tst-gettext2.sh.
3997 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3998 to run tst-gettext.
3999 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4000 to run tst-gettext2.
4001 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4002 to run tst-translit.
4003 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4004 $(run-program-prefix) to tst-mtrace.sh.
4005 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4006 to run tst-mtrace.
4007 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4008 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4009 $(rtld-installed-name).
4010 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4011 (rtld_installed_name): Likewise.
4012 (run_program_prefix): New variable. Use it to run wordexp-test.
4013
728e272a
JM
4014 * Makeconfig (ARCH): Remove all definitions.
4015 (machine): Likewise.
4016 [ARCH]: Remove conditional code.
4017 [!objdir]: Give error.
4018 [!objdir] (objpfx): Remove.
4019 [!objdir] (common-objpfx): Likewise.
4020 [!objdir] (common-objdir): Likewise.
4021 * configure.in (config_makefile): Remove. Hardcode Makefile in
4022 AC_CONFIG_FILES call.
4023 * configure: Regenerated.
4024
d528cdcf
JM
4025 [BZ #13888]
4026 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4027 or TMPDIR.
4028 (testout): Likewise.
4029
135948bd
JM
4030 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4031 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4032 $(rtld-installed-name).
4033 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4034 (rtld_installed_name): Likwise.
4035 (runit): Remove function.
4036 (run_getconf): New variable, Use it for running getconf binary.
4037
38c78296
L
40382012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4039
4040 [BZ #14716]
4041 * string/test-memmem.c (check_result): New function.
4042 (do_one_test): Use it.
4043 (check1): New function.
4044 (test_main): Use it.
4045
d077f65f
MT
40462012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4047
4048 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4049
ced52c71
JM
40502012-10-18 Joseph Myers <joseph@codesourcery.com>
4051
4052 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4053 (_G_LSEEK64): Likewise.
4054 (_G_MMAP64): Likewise.
4055 (_G_FSTAT64): Likewise.
4056 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4057 (_G_LSEEK64): Likewise.
4058 (_G_MMAP64): Likewise.
4059 (_G_FSTAT64): Likewise.
4060 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4061 unconditional. Call __mmap64 directly.
4062 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4063 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4064 __lseek64 directly.
4065 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4066 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4067 __mmap64 directly.
4068 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4069 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4070 __lseek64 directly.
4071 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4072 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4073 __lseek64 directly.
4074 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4075 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4076 __lseek64 directly.
4077 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4078 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4079 __fxstat64 directly.
4080 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4081 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4082 unconditional.
4083 (freopen64) [!_G_OPEN64]: Remove conditional code.
4084 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4085 unconditional.
4086 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4087 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4088 unconditional.
4089 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4090 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4091 unconditional.
4092 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4093 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4094 unconditional.
4095 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4096 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4097 unconditional.
4098 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4099 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4100 unconditional.
4101 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4102 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4103 unconditional.
4104 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4105
b741de23
SP
41062012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4107
4108 [BZ #12140]
4109 * manual/memory.texi (Malloc Tunable Parameters): Add note
4110 about free list pointers overwriting some perturb bytes.
4111 Wording suggested by Roland McGrath.
4112
f9b9d9c9
JM
41132012-10-17 Joseph Myers <joseph@codesourcery.com>
4114
4115 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4116 (lgamma_test): Likewise.
4117 (tgamma_test): Likewise.
4118
172a631a
FW
41192012-10-16 Florian Weimer <fweimer@redhat.com>
4120
4121 [BZ #14700]
4122 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4123 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4124
e9f37252
MK
41252012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4126
4127 * NEWS: Mention BZ #14716.
4128 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4129 when removing AVAILABLE1_USES_J macro.
4130
d394eb74
L
41312012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4132
4133 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4134 (__bswap_64): __uint64_t for unsigned 64-bit int.
4135
ca38dc17
AS
41362012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4137
4138 * include/string.h (memmem): Declare libc hidden alias.
4139 * string/memmem.c (memmem): Define libc hidden alias.
4140 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4141 __read, __close instead of open, read, close.
4142
9a387d1f
L
41432012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4144
ac49ecaf
L
4145 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4146 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4147 global and hidden.
4148 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4149 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4150 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4151 Likewise.
4152 (__rawmemchr_sse2): Likewise.
4153 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4154 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4155 (__strchr_sse2): Likewise.
4156 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4157 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4158 (__strcasecmp_sse2): Likewise.
4159 (__strncasecmp_sse2): Likewise.
4160 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4161 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4162 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4163 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4164 (__strrchr_sse2): Likewise.
4165 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4166 ifunc-impl-list.c.
4167 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4168 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4169 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4170 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4171 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4172 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4173 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4174 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4175 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4176 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4177 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4178 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4179 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4180 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4181 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4182 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4183 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4184 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4185 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4186 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4187 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4188 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4189 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4190 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4191 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4192 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4193 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4194 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4195 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4196 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4197
b090e8ea
L
4198 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4199 global and hidden.
4200 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4201 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4202 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4203 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4204 Likewise.
4205 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4206 Likewise.
4207 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4208 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4209 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4210 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4211 ifunc-impl-list.c.
4212 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4213 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4214 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4215 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4216 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4217 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4218 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4219 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4220 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4221 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4222 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4223 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4224 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4225 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4226 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4227 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4228 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4229 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4230 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4231 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4232 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4233 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4234 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4235 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4236 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4237 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4238 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4239 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4240 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4241 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4242 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4243 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4244 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4245 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4246 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4247 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4248 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4249 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4250 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4251 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4252 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4253
11dd4af6
L
4254 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4255 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4256 * include/ifunc-impl-list.h: New file.
4257 * misc/ifunc-impl-list.c: Likewise.
4258 * misc/Makefile (routines): Add ifunc-impl-list.
4259 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4260 * string/test-string.h: Include <ifunc-impl-list.h>.
4261 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4262 impl_array): New variables.
4263 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4264 are defined.
4265 (test_init): Call __libc_ifunc_impl_list to initialize
4266 func_list if TEST_IFUNC and TEST_NAME are defined.
4267
9a387d1f
L
4268 * string/Makefile (strop-tests): Add bcopy and bzero.
4269 * string/test-bcopy.c: New file.
4270 * string/test-bzero.c: Likewise.
4271 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4272 defined.
4273 * string/test-memset.c: Support bzero test if TEST_BZERO is
4274 defined.
4275 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4276 __libc_memmove.
4277 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4278 __libc_memset.
4279 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4280 of memset.
4281
472371b9
JM
42822012-10-10 Joseph Myers <joseph@codesourcery.com>
4283
1e4a9536
JM
4284 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4285 * configure: Regenerated.
4286
d173d12e
JM
4287 * Makeconfig (+link-static-before-libc): Don't include
4288 $(link-static-libc).
4289
472371b9
JM
4290 * libio/libio.h (_IO_pos_t): Remove.
4291
89a3ad0b
AO
42922012-10-10 Alexandre Oliva <aoliva@redhat.com>
4293
4294 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4295 McGrath.
4296
e7451425
AO
42972012-10-10 Alexandre Oliva <aoliva@redhat.com>
4298
4299 * crypt/crypt-entry.c: Include fips-private.h.
4300 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4301 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4302 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4303 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4304
4ba74a35
AO
43052012-10-10 Alexandre Oliva <aoliva@redhat.com>
4306
4307 * crypt/crypt-private.h: Include stdbool.h.
4308 (_ufc_setup_salt_r): Return bool.
4309 * crypt/crypt-entry.c: Include errno.h.
4310 (__crypt_r): Return NULL with EINVAL for bad salt.
4311 * crypt/crypt_util.c (bad_for_salt): New.
4312 (_ufc_setup_salt_r): Check that salt is long enough and within
4313 the specified alphabet.
4314 * crypt/badsalttest.c: New file.
4315 * crypt/Makefile (tests): Add it.
4316 ($(objpfx)badsalttest): New.
4317
f96f1242
MK
43182012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4319
4320 * NEWS: Add entry for BZ #14602.
4321
0e8e0c1c
JM
43222012-10-09 Joseph Myers <joseph@codesourcery.com>
4323
4324 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4325 type-generic.
4326 * math/libm-test.inc: Update comment listing what functions and
4327 macros are tested.
4328 (isgreater_test): New function.
4329 (isgreaterequal_test): Likewise.
4330 (isless_test): Likewise.
4331 (islessequal_test): Likewise.
4332 (islessgreater_test): Likewise.
4333 (isunordered_test): Likewise.
4334 (main): Call the new functions.
4335
273edc5e
RM
43362012-10-09 Roland McGrath <roland@hack.frob.com>
4337
b8493de0
RM
4338 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4339 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4340 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4341 * sysdeps/i386/configure: Regenerated.
4342 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4343 * sysdeps/mach/configure: Regenerated.
4344 * sysdeps/mach/hurd/configure: Regenerated.
4345 * sysdeps/powerpc/configure: Regenerated.
4346 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4347 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4348 * sysdeps/s390/s390-32/configure: Regenerated.
4349 * sysdeps/s390/s390-64/configure: Regenerated.
4350 * sysdeps/sh/configure: Regenerated.
4351 * sysdeps/sparc/configure: Regenerated.
4352 * sysdeps/unix/sysv/linux/configure: Regenerated.
4353 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4354 * sysdeps/x86_64/configure: Regenerated.
4355
273edc5e
RM
4356 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4357 defined. Don't check if MAP is NULL.
4358
c8450f70
JM
43592012-10-09 Joseph Myers <joseph@codesourcery.com>
4360
4361 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4362 (_G_stat64): Likewise.
4363 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4364 (_G_stat64): Likewise.
4365 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4366 instead of struct _G_stat64.
4367 * libio/fileops.c (mmap_remap_check): Likewise.
4368 (decide_maybe_mmap): Likewise.
4369 (_IO_new_file_seekoff): Likewise.
4370 (_IO_file_stat): Likewise.
4371 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4372 _G_off64_t.
4373 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4374 instead of struct _G_stat64.
4375 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4376
57e605ba
MK
43772012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4378
4379 [BZ #14602]
4380 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4381 Replace with ...
4382 (CHECK_EOL): New macro.
4383 (two_way_short_needle): Check beginning of haystack for EOL. Use
4384 CHECK_EOL.
4385 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4386 Replace with CHECK_EOL.
4387 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4388 Replace with CHECK_EOL.
4389
ef1bb361
JM
43902012-10-08 Joseph Myers <joseph@codesourcery.com>
4391
4392 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4393 type-generic.
4394 * math/libm-test.inc: Update comment listing what functions and
4395 macros are tested.
4396 (finite_test): New function.
4397 (isinf_test): Likewise.
4398 (isnan_test): Likewise.
4399 (fpclassify_test): Test subnormal input.
4400 (isfinite_test): Likewise.
4401 (isnormal_test): Likewise.
4402 (main): Call the new functions.
4403
55f11534
JN
44042012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4405
4406 [BZ #14660]
4407 * Makerules (%.dynsym): Force C locale when running
4408 $(OBJDUMP) --dynamic-syms.
4409
1ab29350
AS
44102012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4411
4412 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4413 <stdint.h>.
4414
f1ecb7ef
DM
44152012-10-06 David S. Miller <davem@davemloft.net>
4416
4417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4418 upper 32-bits of the length value in %o2 since we use branch-on-register
4419 tests which consider the entire 64-bit register.
4420
5d41d91a
L
44212012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4422
4423 * string/test-strstr.c (check2): Add a test for page boundary.
4424
3baddb72
DM
44252012-10-05 David S. Miller <davem@davemloft.net>
4426
4427 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4428 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4429 file.
4430 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4431 sysdep_routines.
4432 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4433 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4434 and bzero when HWCAP_SPARC_CRYPTO is present.
4435
9cee5585
L
44362012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4437
d7e0dab9
L
4438 [BZ #14602]
4439 * string/test-strstr.c (check2): New function.
4440 (test_main): Call check2.
4441
03759f47
L
4442 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4443 and bug-strchr1.
4444 * string/bug-strcasestr1.c (do_test): Moved to ...
4445 * string/test-strcasestr.c (check1): Here. New function.
4446 (do_one_test): Break out result checking code into ...
4447 (check_result): This. New function.
4448 (do_one_test): Call check_result.
4449 (test_main): Call check1.
4450 * string/bug-strchr1.c (do_test): Moved to ...
4451 * string/test-strchr.c (check1): Here. New function.
4452 (do_one_test): Break out result checking code into ...
4453 (check_result): This. New function.
4454 (do_one_test): Call check_result.
4455 (test_main): Call check1.
4456 * string/bug-strstr1.c (main): Moved to ...
4457 * string/test-strchr.c (check1): Here. New function.
4458 (do_one_test): Break out result checking code into ...
4459 (check_result): This. New function.
4460 (do_one_test): Call check_result.
4461 (test_main): Call check1.
4462 * string/bug-strcasestr1.c: Removed.
4463 * string/bug-strchr1.c: Likewise.
4464 * string/bug-strstr1.c: Likewise.
4465
53cea63e
L
4466 * elf/Makefile (dl-routines): Add hwcaps.
4467 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4468 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4469 (_dl_important_hwcaps): Moved to ...
4470 * elf/dl-hwcaps.c: Here. New file.
4471 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4472
9cee5585 4473 [BZ #14557]
bb859b06
L
4474 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4475 if IS_IN_rtld isn't defined.
4476
9cee5585
L
4477 * elf/dl-support.c (_dl_sysinfo_map): New.
4478 Include "get-dynamic-info.h" and "setup-vdso.h".
4479 (_dl_non_dynamic_init): Call setup_vdso.
4480 * elf/dynamic-link.h: Don't include <assert.h>.
4481 (elf_get_dynamic_info): Moved to ...
4482 * elf/get-dynamic-info.h: Here. New file.
4483 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4484 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4485 * elf/setup-vdso.h: Here. New file.
4486 * elf/rtld.c: Include "setup-vdso.h".
4487 (dl_main): Call setup_vdso.
4488
23c31b76
JM
44892012-10-05 Joseph Myers <joseph@codesourcery.com>
4490
28234b07
JM
4491 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4492 creal in comment listing functions tested. List finite, isinf,
4493 isnan, isless, islessequal, isgreater, isgreaterequal,
4494 islessgreater, isunordered, lgamma_r and pow10 as functions and
4495 macros not tested. Mention which functions not tested are aliases
4496 for other functions. Fix typo. Note that signs of NaNs are not
4497 tested.
4498
23c31b76
JM
4499 * scripts/config.guess: Update from config.git.
4500 * scripts/config.sub: Likewise.
4501
9043e228
RM
45022012-10-04 Roland McGrath <roland@hack.frob.com>
4503
4504 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4505 * misc/madvise.c (madvise): Renamed to __madvise.
4506 Make madvise a weak alias.
4507 * include/sys/mman.h: Declare __madvise.
4508 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4509 * sysdeps/unix/syscalls.list
4510 (madvise): Make __madvise the strong name, and madvise a weak alias.
4511 * sysdeps/unix/sysv/linux/syscalls.list
4512 (madvise, mmap): Remove redundant entries.
4513 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4514 * malloc/malloc.c (mtrim): Likewise.
4515 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4516
f57f8055
RM
45172012-10-03 Roland McGrath <roland@hack.frob.com>
4518
4519 * sysdeps/mach/hurd/dl-cache.c: File removed.
4520 * config.h.in (USE_LDCONFIG): New #undef.
4521 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4522 * configure: Regenerated.
4523 * elf/Makefile (dl-routines): Add dl-cache only under
4524 [$(use-ldconfig) = yes].
4525 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4526 cache on [USE_LDCONFIG].
4527 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4528 [USE_LDCONFIG].
4529 * elf/rtld.c (dl_main): Likewise.
4530
5bb0c10a
PT
45312012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4532
4533 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4534 _SC_LEVEL4_CACHE_LINESIZE.
4535
010188c6
RM
45362012-10-03 Roland McGrath <roland@hack.frob.com>
4537
4538 * sysdeps/unix/bsd/confstr.h: File removed.
4539
b6c5ec07
AO
45402012-10-02 Alexandre Oliva <aoliva@redhat.com>
4541
4542 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4543 sys/sdt-config.h.
4544
408223d4
RM
45452012-10-02 Roland McGrath <roland@hack.frob.com>
4546
4547 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4548 Make 'mapoff' field ElfW(Off) rather than off_t.
4549
bb9510dc
DL
45502012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4551
fc997c6e
DL
4552 * nscd/Makefile: Remove nscd-cflags and all its users.
4553 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4554 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4555
bb9510dc
DL
4556 [BZ #10631]
4557 * malloc.c (malloc_printerr): Clarify error message.
4558
05699367
L
45592012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4560
4561 [BZ #14648]
4562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4563 Set bit_FMA_Usable if FMA is supported.
4564 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4565 macro.
4566 (bit_FMA4_Usable): Updated.
4567 (index_FMA_Usable): New macro.
4568 (CPUID_FMA): Likewise
4569 (HAS_FMA): Defined with bit_FMA_Usable.
4570
51367701
RM
45712012-10-01 Roland McGrath <roland@hack.frob.com>
4572
4573 * bits/types.h (__swblk_t): Type removed.
4574 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4575 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4577 (__SWBLK_T_TYPE): Likewise.
4578 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4579 (__SWBLK_T_TYPE): Likewise.
4580 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4581 (__SWBLK_T_TYPE): Likewise.
4582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4583 (__SWBLK_T_TYPE): Likewise.
4584
4d57bf63 45852012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4586 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4587
4588 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4589 (xdr_mapname): Use YPMAXMAP as maxsize.
4590 (xdr_peername): Use YPMAXPEER as maxsize.
4591 (xdr_keydat): Use YPAXRECORD as maxsize.
4592 (xdr_valdat): Use YPMAXRECORD as maxsize.
4593
93c65d43
RM
45942012-10-01 Roland McGrath <roland@hack.frob.com>
4595
497a03d6
RM
4596 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4597
93c65d43
RM
4598 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4599 * csu/init-first.c: ... here.
4600 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4601 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4602 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4603 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4604 * sysdeps/i386/init-first.c: File removed.
4605 * sysdeps/sh/init-first.c: File removed.
4606
bec749fd
JM
46072012-10-01 Joseph Myers <joseph@codesourcery.com>
4608
4609 [BZ #14645]
4610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4611 if x * y might underflow to zero and z is zero.
4612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4614 * math/libm-test.inc (min_subnorm_value): New variable.
4615 (fma_test): Add more tests.
4616 (fma_test_towardzero): Likewise.
4617 (fma_test_downward): Likewise
4618 (fma_test_upward): Likewise.
4619 (initialize): Set min_subnorm_value.
4620
8ec5b013
JM
46212012-09-29 Joseph Myers <joseph@codesourcery.com>
4622
4623 [BZ #14638]
4624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4625 0 + 0.
4626 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4627 mode for addition resulting in exact zero.
4628 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4630 exact 0 + 0.
4631 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4633 * math/libm-test.inc (fma_test): Add more tests.
4634 (fma_test_towardzero): New function.
4635 (fma_test_downward): Likewise.
4636 (fma_test_upward): Likewise.
4637 (main): Call the new functions.
4638
b1fa802e
DM
46392012-09-28 David S. Miller <davem@davemloft.net>
4640
4641 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4642
d3b9fd9e
RM
46432012-09-28 Roland McGrath <roland@hack.frob.com>
4644
ea4d37b3
RM
4645 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4646 instead of SIGALRM.
4647
ac51c949
RM
4648 * sysdeps/gnu/_G_config.h: Moved to ...
4649 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4650 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4651 * sysdeps/generic/_G_config.h: ... here.
4652
28c195f7
RM
4653 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4654
848917f9
RM
4655 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4656
6bacf05b
RM
4657 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4658 Conditionalize target on [libnss_test1.so-version].
4659
91363dbb
RM
4660 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4661
cc87f7d8
RM
4662 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4663 (elfobjdir): Move out of conditionals.
4664
b1c608fe
RM
4665 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4666 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4667 (__nss_lookup_function): Conditionalize label remove_from_tree on
4668 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4669
1d9a6d96
DM
46702012-09-28 David S. Miller <davem@davemloft.net>
4671
4672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4673 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4674 file.
4675 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4676 sysdep_routines.
4677 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4679 when HWCAP_SPARC_CRYPTO is present.
4680
72581615
PT
46812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4682
4683 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4684
715a900c
JL
46852012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4686
4687 [BZ #6530]
4688 * stdio-common/vfprintf.c (process_string_arg): Revert
4689 2000-07-22 change.
4690
46912011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4692
4693 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4694 for testcase.
4695 * stdio-common/tst-sprintf.c: Include <locale.h>
4696 (main): Test sprintf's handling of incomplete multibyte
4697 characters.
4698
9bac1d86
L
46992012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4700
4701 * elf/dl-runtime.c (VERSYMIDX): Removed.
4702 * elf/dl-version.c (VERSYMIDX): Likewise.
4703 * elf/do-rel.h (VERSYMIDX): Likewise.
4704 (VALIDX): Likewise.
4705 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4706 * elf/rtld.c (VALIDX): Likewise.
4707 (ADDRIDX): Likewise.
9bac1d86
L
4708 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4709 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4710 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4711 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4712 (VALIDX): Likewise.
4713 (ADDRIDX): Likewise.
9bac1d86 4714
b31606c0
PT
47152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4716
4717 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4718
11541177
JL
47192012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4720
4721 [BZ #11438]
4722 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4723 to global scope.
4724 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4725 addresses are in the same scope as 192.0.2/24.
4726 * posix/gai.conf: Document new scope table defaults.
4727
adb26fae
SP
47282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4729
4730 [BZ #5298]
4731 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4732 for ftell. Compute offsets from write pointers instead.
4733 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4734
4573c6b0
SP
47352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4736
4737 [BZ #14543]
4738 * libio/Makefile (tests): New test case tst-fseek.
4739 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4740 combination works in wide mode.
4741 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4742 state when the external buffer state changes.
4743
aa9bbfe6
DM
47442012-09-27 David S. Miller <davem@davemloft.net>
4745
4746 [BZ #14376]
4747 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4748 pass reloc->r_addend in as the 'high' argument to
4749 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4750
784421e7
DM
4751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4752
c39bc8b8
PT
47532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4754
4755 * rt/tst-aio2.c: Include <pthread.h>.
4756 * rt/tst-aio3.c: Likewise.
4757
1ccc2399
SE
47582012-09-27 Steve Ellcey <sellcey@mips.com>
4759
4760 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4761
31ed4153
L
47622012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4763
25f5f885
L
4764 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4765 contents on [SHARED].
31ed4153 4766
b7bfe116
MP
47672012-09-26 Marek Polacek <polacek@redhat.com>
4768
4769 [BZ #14530]
4770 [BZ #13741]
4771 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4772 for C++ and GCC <4.3 as well as for non GCC compilers.
4773
43c4edba
MT
47742012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4775
4776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4777
6a1bf82f
RM
47782012-09-25 Roland McGrath <roland@hack.frob.com>
4779
4780 * Makefile.in (all, install): Declare with .PHONY.
4781 Reported by Michael Hope <michael.hope@linaro.org>.
4782
8ad11b9a
TMQMF
47832012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4784
4785 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4786 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4787 system header.
4788 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4789 Likewise.
4790 (sydep_routines): Add the new and the internal functions.
4791 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4792 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4794 (GLIBC_2.17): Add the new function.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4796 (GLIBC_2.17): Likewise.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4798 (GLIBC_2.17): Likewise.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4800 (GLIBC_2.17): Likewise.
4801 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4802
7e2fca8d
AM
48032012-09-25 Alan Modra <amodra@gmail.com>
4804
4805 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4806 Add release barrier before setting once_control to say
4807 initialisation is done. Add hints on lwarx. Use macro in
4808 place of isync.
4809 (clear_once_control): Add release barrier.
4810
b87c4b24
JM
48112012-09-25 Joseph Myers <joseph@codesourcery.com>
4812
d032e0d2
JM
4813 [BZ #13629]
4814 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4815 specially.
4816 * math/s_clog10.c (__clog10): Likewise.
4817 * math/s_clog10f.c (__clog10f): Likewise.
4818 * math/s_clog10l.c (__clog10l): Likewise.
4819 * math/s_clogf.c (__clogf): Likewise.
4820 * math/s_clogl.c (__clogl): Likewise.
4821 * math/Makefile (libm-calls): Add x2y2m1.
4822 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4823 (__x2y2m1): Likewise.
4824 (__x2y2m1l): Likewise.
4825 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4826 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4829 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4830 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4831 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4832 * sysdeps/i386/fpu/libm-test-ulps: Update.
4833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4834
b87c4b24
JM
4835 [BZ #14621]
4836 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4837 int as type of variable DEPTH.
4838 (glob): Use size_t instead of int as type of variables NEWCOUNT
4839 and OLD_PATHC.
4840
6d3bf199
LD
48412012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4842
22bf5c17
LD
4843 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4844 Add s_sincosf-sse2.
4845 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4846 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4847 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4848 macros for using routine as __sincosf_ia32.
4849 Use macro for function declaration and weak_alias.
4850 * sysdeps/i386/fpu/libm-test-ulps: Update.
4851
4852 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4854
4855 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4856 subnormal argument.
4857 * math/s_cexpf.c (__cexpf): Likewise.
4858 * math/s_csinf.c (__csinf): Likewise.
4859 * math/s_csinhf.c (__csinhf): Likewise.
4860 * math/s_ctanf.c (__ctanf): Likewise.
4861 * math/s_ctanhf.c (__ctanhf): Likewise.
4862 * math/s_ccosh.c (__ccoshf): Likewise.
4863 * math/s_cexp.c (__cexpl): Likewise.
4864 * math/s_csin.c (__csin): Likewise.
4865 * math/s_csinh.c (__csinh): Likewise.
4866 * math/s_ctan.c (__ctan): Likewise.
4867 * math/s_ctanh.c (ctanh): Likewise.
4868 * math/s_ccoshl.c (__ccoshl): Likewise.
4869 * math/s_cexpl.c (__cexpl): Likewise.
4870 * math/s_csinl.c (__csinl): Likewise.
4871 * math/s_csinhl.c (__csinhl): Likewise.
4872 * math/s_ctanl.c (__ctanl): Likewise.
4873 * math/s_ctanhl.c (__ctanhl): Likewise.
4874
203e5603
JM
48752012-09-25 Joseph Myers <joseph@codesourcery.com>
4876
4877 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4878 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4879 (_IO_off_t): Define to __off_t, not _G_off_t.
4880 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4881 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4882 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4883 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4884 type of __dummy and __dummy2 fields.
4885 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4886 (_G_ssize_t): Likewise.
4887 (_G_off_t): Likewise.
4888 (_G_pid_t): Likewise.
4889 (_G_uid_t): Likewise.
4890 (_G_wchar_t): Likewise.
4891 (_G_wint_t): Likewise.
4892 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4893 (_G_ssize_t): Likewise.
4894 (_G_off_t): Likewise.
4895 (_G_pid_t): Likewise.
4896 (_G_uid_t): Likewise.
4897 (_G_wchar_t): Likewise.
4898 (_G_wint_t): Likewise.
4899 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4900 (_G_ssize_t): Likewise.
4901 (_G_off_t): Likewise.
4902 (_G_pid_t): Likewise.
4903 (_G_uid_t): Likewise.
4904 (_G_wchar_t): Likewise.
4905 (_G_wint_t): Likewise.
4906
9fab36eb
SP
49072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4908
4909 * malloc/arena.c: Include malloc-sysdep.h.
4910 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4911 is sufficient to shrink the heap or an unmap is needed.
4912 * sysdeps/generic/malloc-sysdep.h: New file. Define
4913 new function check_may_shrink_heap.
4914 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4915 new function check_may_shrink_heap.
4916
2b4f00d1
SP
49172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4918
4919 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4920 comments.
4921
9a9028b1
DL
49222012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4923
57c69bef
DL
4924 * catgets/test-gencat.sh: Add "set -e".
4925 * elf/tst-pathopt.sh: Likewise.
4926 * grp/tst_fgetgrent.sh: Likewise.
4927 * iconvdata/run-iconv-test.sh: Likewise.
4928 * intl/tst-gettext.sh: Likewise.
4929 * intl/tst-gettext2.sh: Likewise.
4930 * intl/tst-gettext4.sh: Likewise.
4931 * intl/tst-gettext6.sh: Likewise.
4932 * intl/tst-translit.sh: Likewise.
4933 * io/ftwtest-sh: Likewise.
4934 * libio/test-freopen.sh: Likewise.
4935 * malloc/tst-mtrace.sh: Likewise.
4936 * posix/globtest.sh: Likewise.
4937 * posix/tst-getconf.sh: Likewise.
4938 * posix/wordexp-tst.sh: Likewise.
4939 * stdio-common/tst-printf.sh: Likewise.
4940 * stdio-common/tst-unbputc.sh: Likewise.
4941 * stdlib/tst-fmtmsg.sh: Likewise.
4942 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4943 * catgets/Makefile: Do not specify -e option when running
4944 testsuite shell scripts.
4945 * elf/Makefile: Likewise.
4946 * grp/Makefile: Likewise.
4947 * iconvdata/Makefile: Likewise.
4948 * intl/Makefile: Likewise.
4949 * io/Makefile: Likewise.
4950 * libio/Makefile: Likewise.
4951 * malloc/Makefile: Likewise.
4952 * posix/Makefile: Likewise.
4953 * stdio-common/Makefile: Likewise.
4954 * stdlib/Makefile: Likewise.
4955 * sysdeps/x86_64/Makefile: Likewise.
4956
9a9028b1
DL
4957 * io/ftwtest-sh: Add copyright header.
4958 * posix/globtest.sh: Likewise.
4959 * posix/tst-getconf.sh: Likewise.
4960 * posix/wordexp-tst.sh: Likewise.
4961 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4962
ced6f16e
L
49632012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4964
94b32c39
L
4965 [BZ #13679]
4966 * Makeconfig (+link): Defined as $(+link-static) if
4967 $(build-shared) isn't yes.
4968 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4969 isn't yes.
4970 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4971
189e935b
L
4972 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4973
ced6f16e
L
4974 [BZ #14562]
4975 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4976 new chunk size with MALLOC_ALIGN_MASK.
4977
a9f8e53a
JM
49782012-09-24 Joseph Myers <joseph@codesourcery.com>
4979
4980 [BZ #5044]
4981 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4982 <rounding-mode.h>.
4983 (__printf_fphex): Determine rounding using get_rounding_mode and
4984 round_away.
4985 * stdio-common/tst-printf-round.c (struct hex_test): New
4986 structure.
4987 (hex_tests): New variable.
4988 (test_hex_in_one_mode): New function.
4989 (do_test): Also run tests for hex float output.
4990
43153109
JM
49912012-09-21 Joseph Myers <joseph@codesourcery.com>
4992
4993 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4994 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4995 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4996 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4997 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4998 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4999 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5000 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5001
8a26625d
JM
50022012-09-20 Joseph Myers <joseph@codesourcery.com>
5003
5004 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5005 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5006 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5007 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5008
f3fd569c
DL
50092012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5010
5011 [BZ #14579]
5012 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5013 mode only.
5014 * elf/tst-rtld-load-self.sh: New test.
5015 * elf/Makefile: Run it.
5016
63bbedd4
JM
50172012-09-18 Joseph Myers <joseph@codesourcery.com>
5018
5019 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5020 (tst-writev-ENV): Remove.
5021 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5022
626f8b6a
CM
50232012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5024
5025 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5026
b7aaa4d6
JM
50272012-09-17 Joseph Myers <joseph@codesourcery.com>
5028
5029 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5030 unconditional.
5031 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5032 Likewise.
5033 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5034 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5035 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5036 Likewise.
5037
65513990
L
50382012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5039
5040 [BZ #14587]
5041 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5042 * config.make.in (have-cpp-asm-debuginfo): Removed.
5043 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5044 * configure: Regenerated.
5045
784761be
JM
50462012-09-14 Joseph Myers <joseph@codesourcery.com>
5047
5048 [BZ #5044]
5049 * stdio-common/printf_fp.c: Include <stdbool.h> and
5050 <rounding-mode.h>.
5051 (___printf_fp): Determine rounding using get_rounding_mode and
5052 round_away.
5053 * stdio-common/tst-printf-round.c: New file.
5054 * stdio-common/Makefile (tests): Add tst-printf-round.
5055 (link-libm): New variable.
5056 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5057
9503345f
L
50582012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5059
5060 [BZ #14576]
5061 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5062 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5063 Likewise.
5064 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5065 Likewise.
5066
ad35fc00
JM
50672012-09-13 Joseph Myers <joseph@codesourcery.com>
5068
5069 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5070 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5071 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5072 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5073
6c9b0f68
JM
50742012-09-12 Joseph Myers <joseph@codesourcery.com>
5075
5076 [BZ #14518]
5077 * include/rounding-mode.h: New file.
5078 * sysdeps/generic/get-rounding-mode.h: Likewise.
5079 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5080 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5081 (MAX_VALUE): New macro.
5082 (MIN_VALUE): Likewise.
5083 (overflow_value): New function.
5084 (underflow_value): Likewise.
5085 (round_and_return): Use overflow_value and underflow_value to
5086 determine return values in overflow and underflow cases. Use
5087 round_away to determine rounding depending on rounding mode.
5088 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5089 determine return values in overflow and underflow cases.
5090 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5091 (struct test_results): New structure.
5092 (struct test): Use struct test_results to store expected results
5093 for all rounding modes.
5094 (TEST): Include expected results for all rounding modes.
5095 (test_in_one_mode): New function.
5096 (do_test): Use test_in_one_mode to compute and check results.
5097 Check results for all rounding modes.
5098 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5099 $(link-libm).
5100
19fcedd5
AM
51012012-12-09 Allan McRae <allan@archlinux.org>
5102
1e9d84cd 5103 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5104
8bbfd2f1
JM
51052012-09-11 Joseph Myers <joseph@codesourcery.com>
5106
5107 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5108 (_G_int32_t): Likewise.
5109 (_G_uint16_t): Likewise.
5110 (_G_uint32_t): Likewise.
5111 (_G_HAVE_BOOL): Likewise.
5112 (_G_HAVE_ATEXIT): Likewise.
5113 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5114 (_G_HAVE_IO_FILE_OPEN): Likewise.
5115 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5116 (_G_int32_t): Likewise.
5117 (_G_uint16_t): Likewise.
5118 (_G_uint32_t): Likewise.
5119 (_G_HAVE_BOOL): Likewise.
5120 (_G_HAVE_ATEXIT): Likewise.
5121 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5122 (_G_HAVE_IO_FILE_OPEN): Likewise.
5123 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5124 (_G_int32_t): Likewise.
5125 (_G_uint16_t): Likewise.
5126 (_G_uint32_t): Likewise.
5127 (_G_HAVE_BOOL): Likewise.
5128 (_G_HAVE_ATEXIT): Likewise.
5129 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5130 (_G_HAVE_IO_FILE_OPEN): Likewise.
5131
b1dc5912
L
51322012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5133
5134 * csu/libc-tls.c: Update copyright years.
5135
0e886ef9
JM
51362012-09-10 Joseph Myers <joseph@codesourcery.com>
5137
28361c5e
JM
5138 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5139 [!_G_USING_THUNKS]: Remove conditional code.
5140 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5141 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5142
0e886ef9
JM
5143 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5144 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5145 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5146 (_G_VTABLE_LABEL_PREFIX): Likewise.
5147 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5148 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5149 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5150 (_G_VTABLE_LABEL_PREFIX): Likewise.
5151 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5152 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5153 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5154 (_G_VTABLE_LABEL_PREFIX): Likewise.
5155 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5156
bcba7aa2
L
51572012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5158
5159 * libio/Makefile: Include ../Makeconfig before tests.
5160 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5161 only if $(build-shared) is yes.
5162
06585ee8
L
5163 * iconv/gconv_db.c: Update copyright years.
5164
80ccd52c
LD
51652012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5166
5167 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5168 unwind info if defined PIC. Fix special cases description.
5169 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5170
5171 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5172 DP_HI_MASK entry.
5173 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5174
691bc9c1
L
51752012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5176
3d9b46b3
L
5177 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5178
de2139a9
L
5179 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5180 is NULL.
5181
5ca78dd0
L
5182 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5183 (LDLIBS-tst-chk4): This.
5184 (LDFLAGS-tst-chk5): Renamed to ...
5185 (LDLIBS-tst-chk5): This.
5186 (LDFLAGS-tst-chk6): Renamed to ...
5187 (LDLIBS-tst-chk6): This.
5188 (LDFLAGS-tst-lfschk4): Renamed to ...
5189 (LDLIBS-tst-lfschk4): This.
5190 (LDFLAGS-tst-lfschk5): Renamed to ...
5191 (LDLIBS-tst-lfschk5): This.
5192 (LDFLAGS-tst-lfschk6): Renamed to ...
5193 (LDLIBS-tst-lfschk6): This.
5194
691bc9c1
L
5195 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5196 on $(common-objpfx)soversions.mk.
5197
65cafb1c
JM
51982012-09-07 Joseph Myers <joseph@codesourcery.com>
5199
5200 [BZ #10014]
5201 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5202 example host name.
5203
c78ab094
SP
52042012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5205
5206 * malloc/arena.c (arena_get_retry): New function that gets
5207 another arena for the caller to try its request on.
5208 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5209 current arena cannot fulfill the request.
5210 (__libc_memalign): Likewise.
5211 (__libc_memalign): Likewise.
5212 (__libc_pvalloc): Likewise.
5213 (__libc_calloc): Likewise.
5214
01f49f59
JT
52152012-09-05 John Tobey <john.tobey@gmail.com>
5216
5217 [BZ #13542]
5218 * manual/arith.texi (Operations on Complex): Fix description
5219 of carg branch cut.
5220
4c23fed5
JM
52212012-09-06 Joseph Myers <joseph@codesourcery.com>
5222
1d3c8572
JM
5223 [BZ #10014]
5224 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5225 host name.
5226
4c23fed5
JM
5227 [BZ #10038]
5228 * manual/memory.texi (Memory): Make order of menu items match
5229 order of sections.
5230
04570aaa
L
52312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5232
5233 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5234 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5235 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5236
b80af2f4
L
52372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5238
5239 * csu/libc-tls.c (static_dtv): Renamed to ...
5240 (_dl_static_dtv): This. Make it global.
5241 (_dl_initial_dtv): Removed.
5242 (__libc_setup_tls): Updated.
5243 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5244 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5245 DL_INITIAL_DTV.
5246
2abe9f15
PM
52472012-09-06 Petr Machata <pmachata@redhat.com>
5248
5249 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5250 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5251 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5252 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5253
0948c3af
L
52542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5255
5256 [BZ #14545]
5257 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5258 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5259 freeing dtv[-1].
5260
a5055ad1
L
52612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5262
5263 [BZ #14544]
5264 * Makeconfig (link-static-before-libc): Replace $(+prector)
5265 with $(+prectorT).
5266 (link-static-after-libc): Replace $(+postctor) with
5267 $(+postctorT).
5268 (link-bounded): Replace $(+prector)/$(+postctor) with
5269 $(+prectorT)/$(+postctorT).
5270 (+prectorT): New macro.
5271 (+postctorT): Likewise.
5272
ed8c2ecd
JM
52732012-09-06 Joseph Myers <joseph@codesourcery.com>
5274
5275 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5276 (round_str): Handle values above the maximum for IBM long double
5277 as inexact.
5278 * stdlib/tst-strtod-round.c (tests): Regenerated.
5279
14c996c8
AK
52802012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5281
5282 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5283 assembler flag.
5284 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5285 zarch_nohighgprs around the zarch optimized routines.
5286 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5287 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5289 for zarch.
5290
430d6ce6
DM
52912012-09-05 David S. Miller <davem@davemloft.net>
5292
5293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5294
ff04dda4
DM
5295 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5296 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5297 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5298 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5299 entries.
5300
24d4e01b
AO
53012012-09-05 Alexandre Oliva <aoliva@redhat.com>
5302
5303 * malloc/arena.c: Fold copyright years.
5304 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5305
61d58174
AO
53062012-09-05 Alexandre Oliva <aoliva@redhat.com>
5307
5308 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5309
20196a5e
AO
53102012-09-05 Alexandre Oliva <aoliva@redhat.com>
5311
5312 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5313
5c447383
AO
53142012-09-05 Alexandre Oliva <aoliva@redhat.com>
5315
5316 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5317 change internal state upon failure.
5318
fad64255
AO
53192012-09-05 Alexandre Oliva <aoliva@redhat.com>
5320
5321 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5322 * malloc/memusage.c (mmap): Likewise.
5323 (mmap64, mremap): Likewise. Adjust name in comment.
5324
1ffb8c90
SP
53252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5326
5327 * libio/fileops.c: Fix typos in comments.
5328 * libio/oldfileops.c: Likewise.
5329 * libio/wfileops.c: Likewise.
5330
6ef9cc37
SP
53312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5332
5333 [BZ #1349]
5334 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5335 (tst-malloc-usable-ENV): Set environment for test case.
5336 * malloc/hooks.c (malloc_check_get_size): New function to get
5337 requested size.
5338 * malloc/malloc.c (musable): Use malloc_check_get_size.
5339 * malloc/tst-malloc-usable.c: New test case.
5340
4d038ae3
AS
53412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5342
5343 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5344
c4e85184
AM
53452012-09-05 Allan McRae <allan@archlinux.org>
5346
b9dafc56 5347 [BZ #13966]
c4e85184
AM
5348 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5349 determine header location.
5350 * configure: Regenerated.
5351
e1343020
AS
53522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5353
5354 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5355 float format.
5356 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5357 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5358 format.
e1343020
AS
5359 (test): Regenerate.
5360
0a9f1987
DM
53612012-09-04 David S. Miller <davem@davemloft.net>
5362
5363 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5364 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5365 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5366
29237804
FW
53672012-09-04 Florian Weimer <fweimer@redhat.com>
5368
5369 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5370 failures.
5371
edb3cb88
FW
5372 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5373
60160d83
JM
53742012-09-04 Joseph Myers <joseph@codesourcery.com>
5375
5376 [BZ #9914]
5377 * libio/iogetdelim.c: Include <limits.h>.
5378 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5379 + len + 1 would overflow.
5380
bcd6c8dc
AJ
53812012-09-03 Andreas Jaeger <aj@suse.de>
5382
5383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5384 * sysdeps/i386/fpu/libm-test-ulps: Update.
5385
4ffffbd2
LD
53862012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5387
5388 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5389 Add s_sinf-sse2, s_conf-sse2.
5390
5391 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5392 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5393 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5394 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5395
5396 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5397 for using routine as __sinf_ia32.
5398 Use macro for function declaration and weak_alias.
5399 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5400 for using routine as __cosf_ia32.
5401 Use macro for function declaration and weak_alias.
5402
5403 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5404 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5405
5406 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5407 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5409
5410 * math/libm-test.inc (cos_test): Add more test cases.
5411 (sin_test): Likewise.
5412 (sincos_test): Likewise.
5413
511fa286
AK
54142012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5415
5416 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5417 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5418 hidden.
5419 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5420
5f30cfec
L
54212012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5422
5423 [BZ #14538]
5424 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5425 first element of the GOT.
5426 (elf_machine_load_address): Return the difference between
5427 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5428
0786794f
AM
54292012-09-01 Allan McRae <allan@archlinux.org>
5430
5f30cfec
L
5431 [BZ #13412]
5432 * configure.in (AWK): Require gawk version 3.0 or later.
5433 * configure: Regenerated.
0786794f 5434
26889eac
JM
54352012-09-01 Joseph Myers <joseph@codesourcery.com>
5436
5437 * sysdeps/unix/sysv/linux/kernel-features.h
5438 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5439 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5440 [__NR_clock_getres]: Make code unconditional.
5441 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5442 (clock_getcpuclockid): Remove code left unreachable by removal of
5443 conditionals.
5444 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5445 code unconditional.
5446 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5447 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5448 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5449 Make code unconditional.
5450 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5451 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5452 * sysdeps/unix/sysv/linux/clock_settime.c
5453 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5454 conditional code.
5455 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5456 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5457
d22e28b0
L
54582012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5459
5460 [BZ #14476]
5461 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5462 scripts/test-installation.pl.
5463
5464 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5465 and $ld_so_version if it is set.
5466
050af9c4
SP
54672012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5468
5469 [BZ #14516]
5470 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5471 failure if reading from procfs failed.
5472 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5473
ad845c0b
JM
54742012-08-27 Joseph Myers <joseph@codesourcery.com>
5475
5476 * sysdeps/unix/sysv/linux/kernel-features.h
5477 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5478 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5479 Remove conditional code.
5480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5481 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5482 Remove conditional code.
5483 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5484 * sysdeps/unix/sysv/linux/i386/fxstat.c
5485 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5486 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5487 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5488 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5489 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5490 * sysdeps/unix/sysv/linux/i386/lxstat.c
5491 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5492 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5493 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5494 Remove conditional code.
5495 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5496 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5497 Remove conditional code.
5498 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5499 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5500 <kernel-features.h>.
5501 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5502 Remove.
5503 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5504 Remove conditional code.
5505 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5506 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5507 Remove conditional.
5508
5dbf56af
MF
55092012-08-27 Mike Frysinger <vapier@gentoo.org>
5510
5511 [BZ #5400]
5512 * NEWS: Add fixed bug number.
5513
d6e70f43
JM
55142012-08-27 Joseph Myers <joseph@codesourcery.com>
5515
7efb4737
JM
5516 [BZ #14519]
5517 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5518 underflowing exponent in case of negative sign.
5519 * stdlib/tst-strtod-round-data: Add more tests.
5520 * stdlib/tst-strtod-round.c (tests): Regenerated.
5521
af92131a
JM
5522 [BZ #3479]
5523 * stdlib/strtod_l.c (NDIG): Remove.
5524 (HEXNDIG): Likewise.
5525 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5526 smallest representable value.
5527 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5528 lie within an exact representation of 1/2 ulp of the result.
5529 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5530 unconditionally.
5531 (TENS_P9_IDX): Define unconditionally.
5532 (TENS_P9_SIZE): Likewise.
5533 (TENS_P10_IDX): Likewise.
5534 (TENS_P10_SIZE): Likewise.
5535 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5536 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5537 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5538 entries for 10^2^13 and 10^2^14.
5539 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5540 (TENS_P13_IDX): Define.
5541 (TENS_P13_SIZE): Likewise.
5542 (TENS_P14_IDX): Likewise.
5543 (TENS_P14_SIZE): Likewise.
5544 (_fpioconst_pow10): Change array size to
5545 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5546 unconditional.
5547 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5548 1024]: Add entries for 10^2^13 and 10^2^14.
5549 [LAST_POW10 > _LAST_POW10]: Remove #error.
5550 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5551 (_fpioconst_pow10): Change array size to
5552 FPIOCONST_POW10_ARRAY_SIZE.
5553 * stdlib/gen-fpioconst.c: New file.
5554 * stdlib/gen-tst-strtod-round.c: Likewise.
5555 * stdlib/tst-strtod-round-data: Likewise.
5556 * stdlib/tst-strtod-round.c: Likewise.
5557 * stdlib/Makefile (tests): Add tst-strtod-round.
5558
d6e70f43
JM
5559 [BZ #14459]
5560 * stdlib/strtod_l.c: Include <stdint.h>.
5561 (NDEBUG): Do not define.
5562 (round_and_return): Change EXPONENT parameter to type intmax_t.
5563 Rearrange calculations to avoid internal overflow possibilities.
5564 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5565 Rearrange calculations to avoid internal overflow possibilities.
5566 Assert that number fits inside MPNSIZE limbs.
5567 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5568 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5569 calculations and add assertions to avoid internal overflow
5570 possibilities. Add casts to avoid signed/unsigned operations.
5571 * stdlib/tst-strtod-overflow.c: New file.
5572 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5573
1f529f7d
MP
55742012-08-25 Marek Polacek <polacek@redhat.com>
5575
5576 * time/time.h: Fix some typos in comments.
5577
59a629f1
RM
55782012-08-23 Roland McGrath <roland@hack.frob.com>
5579
5580 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5581 * posix/tst-rfc3484-2.c: Likewise.
5582 * posix/tst-rfc3484-3.c: Likewise.
5583
d3bafbc9
SM
55842012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5585
5586 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5587 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5588
4efcc022
JM
55892012-08-23 Joseph Myers <joseph@codesourcery.com>
5590
5591 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5592 #include of fxstatat64.c.
5593
3cc3ef96
RM
55942012-08-22 Roland McGrath <roland@hack.frob.com>
5595
f04e2132
RM
5596 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5597 * shadow/getspent_r.c: Likewise.
5598 * shadow/getspnam.c: Likewise.
5599 * shadow/getspnam_r.c: Likewise.
5600 * gshadow/getsgent.c: Likewise.
5601 * gshadow/getsgent_r.c: Likewise.
5602 * gshadow/getsgnam.c: Likewise.
5603 * gshadow/getsgnam_r.c: Likewise.
5604 * inet/getnetbyad.c: Likewise.
5605 * inet/getnetbyad_r.c: Likewise.
5606 * inet/getnetbynm.c: Likewise.
5607 * inet/getnetbynm_r.c: Likewise.
5608 * inet/getnetent.c: Likewise.
5609 * inet/getnetent_r.c: Likewise.
5610 * inet/getproto.c: Likewise.
5611 * inet/getproto_r.c: Likewise.
5612 * inet/getprtent.c: Likewise.
5613 * inet/getprtent_r.c: Likewise.
5614 * inet/getprtname.c: Likewise.
5615 * inet/getprtname_r.c: Likewise.
5616 * inet/getrpcbyname.c: Likewise.
5617 * inet/getrpcbyname_r.c: Likewise.
5618 * inet/getrpcbynumber.c: Likewise.
5619 * inet/getrpcbynumber_r.c: Likewise.
5620 * inet/getrpcent.c: Likewise.
5621 * inet/getrpcent_r.c: Likewise.
5622 * inet/getaliasent.c: Likewise.
5623 * inet/getaliasent_r.c: Likewise.
5624 * inet/getaliasname.c: Likewise.
5625 * inet/getaliasname_r.c: Likewise.
5626 * nscd/getgrgid_r.c: Likewise.
5627 * nscd/getgrnam_r.c: Likewise.
5628 * nscd/gethstbyad_r.c: Likewise.
5629 * nscd/gethstbynm3_r.c: Likewise.
5630 * nscd/getpwnam_r.c: Likewise.
5631 * nscd/getpwuid_r.c: Likewise.
5632 * nscd/getsrvbynm_r.c: Likewise.
5633 * nscd/getsrvbypt_r.c: Likewise.
5634 * nscd/gai.c: Likewise.
5635
c53d909c
RM
5636 * configure.in (build_nscd): New substituted variable, set
5637 by --disable-build-nscd and defaults to $use_nscd.
5638 * configure: Regenerated.
5639 * config.make.in (build-nscd): New substituted variable.
5640 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5641 Change conditional to require [$(build-nscd) = yes] as well.
5642 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5643
3cc3ef96
RM
5644 [BZ# 13696]
5645 * configure.in (use_nscd): New substituted variable, set by
5646 --disable-nscd. If enabled, define USE_NSCD.
5647 * configure: Regenerated.
5648 * config.h.in: Add USE_NSCD.
5649 * config.make.in (use-nscd): New substituted variable.
5650 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5651 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5652 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5653 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5654 (CFLAGS-getgrnam_r.c): Likewise.
5655 (CFLAGS-initgroups.c): Likewise.
5656 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5657 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5658 Variables removed.
5659 * inet/getnetgrent_r.c
5660 (nscd_setnetgrent): New function, broken out of ...
5661 (setnetgrent): ... here. Call it.
5662 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5663 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5664 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5665 * nscd/Makefile (routines, aux): Move definitions after include of
5666 Makeconfig. Conditionalize on [$(use-nscd) != no].
5667 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5668 Conditionalize on [USE_NSCD].
5669 (is_nscd, nscd_init_cb): Likewise.
5670 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5671 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5672 * nss/nss_db/db-init.c: Likewise.
5673 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5674 [USE_NSCD].
5675 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5676 (make_request): Use it.
5677 (cache_valid_p): New function.
5678 (__check_pf): Use it.
5679 * NEWS: Add item for --disable-nscd.
5680
07e51550
DL
56812012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5682
5683 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5684 to support sed >= 4.2.1-20-ga9bf076.
5685 * configure: Regenerated.
5686
35a5b08b
RM
56872012-08-22 Roland McGrath <roland@hack.frob.com>
5688
5689 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5690 Conditionalize whole body on [IREL].
5691
8479f23a
JL
56922012-08-22 Jeff Law <law@redhat.com>
5693
5694 [BZ #14505]
5695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5696 if the family is PF_UNSPEC.
5697
48da0b21
MF
56982012-08-22 Mike Frysinger <vapier@gentoo.org>
5699
5700 * Makerules (lib-version): Rename from V.
5701 (install-lib-nosubdir): Change V to lib-version.
5702
15d0da8c
WS
57032012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5704
5705 [BZ #14252]
5706 * powerpc32/power6/wcschr.c: New file.
5707 * powerpc32/power6/wcscpy.c: New file.
5708 * powerpc32/power6/wcsrchr.c: New file.
5709 * powerpc64/power6/wcschr.c: New file.
5710 * powerpc64/power6/wcscpy.c: New file.
5711 * powerpc64/power6/wcsrchr.c: New file.
5712
bcca0895
MK
57132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5714
5715 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5716 (two_way_short_needle): Use it.
5a4aaa33
RM
5717 * string/strstr.c (AVAILABLE1_USES_J): Define.
5718 * string/strcasestr.c: Likewise.
99677e57
MK
5719
5720 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5721 array references.
5722 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5723
400726de
MK
5724 [BZ #11607]
5725 * NEWS: Add an entry.
5726 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5727 define their defaults.
5728 (two_way_short_needle): Detect end-of-string on-the-fly.
5729 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5730 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5731 * string/bug-strcasestr1.c: New test.
5732 * string/Makefile: Run it.
5733
20a71f2c
MK
57342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5735
5736 [BZ #11607]
5737 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5738 the first character.
5739
21ad0558
RM
57402012-08-21 Roland McGrath <roland@hack.frob.com>
5741
5742 * csu/elf-init.c (__libc_csu_irel): Function removed.
5743 * csu/libc-start.c (apply_irel): New function.
5744 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5745
0e1d9911
JM
57462012-08-21 Joseph Myers <joseph@codesourcery.com>
5747
5748 * sysdeps/unix/sysv/linux/kernel-features.h
5749 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5750 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5751 <kernel-features.h>.
5752 [__NR_fadvise64_64]: Make code unconditional.
5753 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5754 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5755 !__NR_fadvise64_64)]: Likewise.
5756 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5757 !__NR_fadvise64_64))]: Likewise.
5758 [__NR_fadvise64]: Make code unconditional.
5759 [!__NR_fadvise64]: Remove conditional code.
5760 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5761 <kernel-features.h>.
5762 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5763 unconditional.
5764 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5765 conditional code.
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5767 not include <kernel-features.h>.
5768 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5769 unconditional.
5770 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5771 conditional code.
5772 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5773 include <kernel-features.h>.
5774 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5775 unconditional.
5776 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5777 conditional code.
5778
14a50c9d
WS
57792012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5780
5781 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5782 slight instruction rearrangements per scrollpipe analysis.
5783 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5784
c0f4faf0
RM
57852012-08-20 Roland McGrath <roland@hack.frob.com>
5786
696da859
RM
5787 * manual/syslog.texi (syslog; vsyslog, closelog):
5788 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5789 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5790
c0f4faf0
RM
5791 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5792 DSOCAPS to match condition on defining it.
5793
348363b2
JM
57942012-08-20 Joseph Myers <joseph@codesourcery.com>
5795
a35cbf28
JM
5796 * sysdeps/unix/sysv/linux/kernel-features.h
5797 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5799 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5800 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5802 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5803 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5805 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5806 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5807
445f7ecd
JM
5808 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5809 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5810
348363b2
JM
5811 * sysdeps/unix/sysv/linux/kernel-features.h
5812 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5813 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5814 unconditional.
5815 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5816 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5817 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5818 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5819 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5820 Make code unconditional.
5821 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5822 (__mmap64) [!__NR_mmap2]: Likewise.
5823 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5824 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5825 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5826 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5827 [__NR_mmap2]: Make code unconditional.
5828 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5829 (__mmap64) [!__NR_mmap2]: Likewise.
5830
bc5bc0e5
AK
58312012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5832
5833 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5834
88d506de
AJ
58352012-08-18 Andreas Jaeger <aj@suse.de>
5836
5837 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5838
493387d2
MF
58392012-08-18 Mike Frysinger <vapier@gentoo.org>
5840
5841 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5842 * include/unistd.h (__have_sock_cloexec): Likewise.
5843 (__have_pipe2): Likewise.
5844 (__have_dup3): Likewise.
5845
a277af22
MF
58462012-08-18 Mike Frysinger <vapier@gentoo.org>
5847
5848 [BZ #9685]
5849 * include/unistd.h (__have_pipe2): Change define into an extern int.
5850 (__have_dup3): Likewise.
5851 * socket/have_sock_cloexec.c: Include fcntl.h.
5852 (__have_pipe2): New variable.
5853 (__have_dup3): Likewise.
5854
fdab8fd3
MF
58552012-08-17 Mike Frysinger <vapier@gentoo.org>
5856
5857 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5858
31035e80
MP
58592012-08-17 Marek Polacek <polacek@redhat.com>
5860
5861 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5862 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5863
3bd9e993
RM
58642012-08-17 Roland McGrath <roland@hack.frob.com>
5865
c91c505f
RM
5866 * configure.in: Add AC_SUBST for sysheaders.
5867 * configure: Regenerated.
5868 * config.make.in (sysheaders): New substituted variable.
5869
7c6f9d53
RM
5870 * sysdeps/unix/mkfifo.c: Moved ...
5871 * sysdeps/posix/mkfifo.c: ... here.
5872 * sysdeps/unix/mkfifoat.c: Moved ...
5873 * sysdeps/posix/mkfifoat.c: ... here.
5874
5875 * sysdeps/unix/utime.c: Moved ...
5876 * sysdeps/posix/utime.c: ... here.
5877
5878 * sysdeps/unix/time.c: Moved ...
5879 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5880 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5881 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5882
5883 * sysdeps/unix/nice.c: Moved ...
5884 * sysdeps/posix/nice.c: ... here.
5885
5886 * sysdeps/unix/alarm.c: Moved ...
5887 * sysdeps/posix/alarm.c: ... here.
5888
3bd9e993
RM
5889 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5890
d1f09384
JL
58912012-08-17 Jeff Law <law@redhat.com>
5892
5893 * intl/Makefile (codeset_mo): New variable.
5894 ($(codeset_mo)): New target.
5895 (tst-codeset.out): Depend on that. Remove explicit rule.
5896 (tst-gettext3.out, tst-gettext5.out): Likewise.
5897 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5898 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5899 * intl/tst-codeset.sh: Remove.
5900 * intl/tst-gettext3.sh: Likewise.
5901 * intl/tst-gettext5.sh: Likewise.
5902
2ae1ae5c
RM
59032012-08-17 Roland McGrath <roland@hack.frob.com>
5904
c31fdb83
RM
5905 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5906 * sysdeps/unix/syscalls.list: ... here.
5907
a0844057
RM
5908 * sysdeps/posix/getaddrinfo.c
5909 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5910 (gaiconf_init, gaiconf_reload): Use them.
5911 [!_STATBUF_ST_NSEC]
5912 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5913 Define using time_t rather than struct timespec.
5914
750c1f2a
RM
5915 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5916 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5917 Macros removed.
5918 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5919 [!NO_THREADS].
5920 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5921 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5922 Likewise.
5923
2ae1ae5c
RM
5924 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5925 __libc_cleanup_push argument.
5926
e66a42f5
RM
5927 * bits/param.h: New file.
5928 * misc/sys/param.h: New file.
5929 * include/sys/param.h: New file.
5930 * misc/Makefile (headers): Add bits/param.h.
5931 * sysdeps/generic/sys/param.h: File removed.
5932 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5933 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5934 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5935 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5936
b7c08a66
RM
5937 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5938 last change.
5939
b2e1c562
RM
5940 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5941 [_IO_MTSAFE_IO].
5942 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5943 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5944 New macros.
5945
c75ccd4c
RM
5946 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5947 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5948 rather than -D_IO_MTSAFE_IO conditionally.
5949 * stdio-common/Makefile (CPPFLAGS): Likewise.
5950 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5951 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5952 Use $(libio-mtsafe).
5953 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5954 of -D_IO_MTSAFE_IO.
5955 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5956 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5957 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5958 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5959 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5960 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5961 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5962 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5963 (CFLAGS-fread_u_chk.c): Likewise.
5964 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5965 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5966 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5967 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5968 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5969 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5970 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5971 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5972 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5973
5974 * libio/Makefile: Test [$(libc-reentrant) = yes]
5975 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5976
5977 * Makeconfig
5978 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5979 * sysdeps/pthread/configure: File removed.
5980 * sysdeps/pthread/Makeconfig: New file.
5981 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5982 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5983
d9195db8
GB
59842012-08-16 Gary Benson <gbenson@redhat.com>
5985
5986 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5987 unmapping the first object in a namespace.
5988
86466cd9
RM
59892012-08-16 Roland McGrath <roland@hack.frob.com>
5990
5991 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5992 (__internal_setnetgrent): ... this. Add internal_function to
5993 definition. Add libc_hidden_def.
5994 (setnetgrent): Update caller.
5995 (internal_endnetgrent): Renamed to ...
5996 (__internal_endnetgrent): ... this. Add internal_function to
5997 definition. Add libc_hidden_def.
5998 (endnetgrent): Update caller.
5999 (internal_getnetgrent_r): Renamed to ...
6000 (__internal_getnetgrent_r): ... this. Add internal_function to
6001 definition. Add libc_hidden_def.
6002 (__getnetgrent_r): Update caller.
6003 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6004
c3c8283c
JM
60052012-08-16 Joseph Myers <joseph@codesourcery.com>
6006
6007 * stdlib/longlong.h: Update from GCC.
6008
db1ee0a8
RM
60092012-08-16 Roland McGrath <roland@hack.frob.com>
6010
6011 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6012 on _QL, which is set by umul_ppmm but never used.
6013 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6014 variables, which are set by GMP macros but never used.
6015 * stdio-common/_itowa.c (_itowa): Likewise.
6016 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6017 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6018
30f69637
CD
60192012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6020
6021 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6022 struct La_sh_regs is not constant.
6023 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6024 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6025 and struct La_sparc64_regs are not constant.
6026
93a78ac4
JM
60272012-08-16 Joseph Myers <joseph@codesourcery.com>
6028
6029 * sysdeps/unix/sysv/linux/kernel-features.h
6030 (__ASSUME_POSIX_TIMERS): Remove.
6031 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6032 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6033 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6034 Make code unconditional.
6035 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6036 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6037 Make code unconditional.
6038 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6039 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6040 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6041 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6042 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6043 Make code unconditional.
6044 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6045 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6046 (__libc_missing_posix_timers): Remove.
6047
dd924cd7
RM
60482012-08-15 Roland McGrath <roland@hack.frob.com>
6049
4b4f2771
RM
6050 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6051 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6052
601c888b
RM
6053 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6054
176790a7
RM
6055 * elf/dl-sym.c: Include <stdlib.h>.
6056
329bc018
RM
6057 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6058 constants, which avoids warnings in 32-bit builds.
6059
e04e272d
RM
6060 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6061 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6062
952bf94a
RM
6063 * misc/lseek.c: File moved to ...
6064 * io/lseek.c: ... here.
6065
7c99b50a
RM
6066 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6067
dd924cd7
RM
6068 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6069 shifting LEN more than 31 bits at once.
6070
b3f479a8
LD
60712012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6072
6073 [BZ #14195]
8c4ae0d4
RM
6074 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6075 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6076 * string/test-strncasecmp.c (check1): Renamed to...
6077 (bz12205): ...this.
6078 (bz14195): Add new testcase for two empty input strings and N > 0.
6079 (test_main): Call new testcase, adapt for renamed function.
6080
9c55864e
AJ
60812012-08-15 Andreas Jaeger <aj@suse.de>
6082
6083 [BZ #14090]
6084 * crypt/md5test2.c: New test, based on test supplied by Serge
6085 Belyshev <belyshev@depni.sinp.msu.ru>.
6086 * crypt/Makefile (xtests): Add md5test-giant..
6087 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6088
02dcb6c5
PE
60892012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6090
6091 [BZ #14090]
6092 * crypt/md5.c (md5_process_block): Don't assume the buffer
6093 length is less than 2**32.
6094 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6095 length is less than 2**64.
6096
a3f95dcc
RM
60972012-08-15 Roland McGrath <roland@hack.frob.com>
6098
be75d758
RM
6099 * string/str-two-way.h: Include <sys/param.h>.
6100 (MAX): Macro removed.
6101
7312ca90
RM
6102 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6103 Move #define and #undef of memmove to just before and after
6104 including <string.h>.
6105
9a0a5486
RM
6106 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6107 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6108 and after including <string.h>. Move declarations of
6109 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6110 to before #include "string/memmove.c".
6111
67cc348d
RM
6112 * include/dirent.h: Declare __getdirentries.
6113
a3f95dcc
RM
6114 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6115 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6116
ca98e171
MF
61172012-08-14 Mike Frysinger <vapier@gentoo.org>
6118
6119 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6120 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6121 * sysdeps/i386/configure: Regenerated.
6122 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6123 STABS_CURRENT_FILE, and STABS_FUN.
6124 (END): Remove call to STABS_FUN_END.
6125 (STABS_CURRENT_FILE1): Delete.
6126 (STABS_CURRENT_FILE): Likewise.
6127 (STABS_FUN): Likewise.
6128 (STABS_FUN_END): Likewise.
6129 (STABS_FUN2): Likewise.
6130 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6131 * sysdeps/x86_64/configure: Regenerated.
6132
5908bf46
RM
61332012-08-14 Roland McGrath <roland@hack.frob.com>
6134
6135 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6136 * elf/dl-lookup.c: Likewise.
5908bf46 6137
f2c05b9e
JM
61382012-08-14 Joseph Myers <joseph@codesourcery.com>
6139
6140 * sysdeps/unix/sysv/linux/kernel-features.h
6141 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6142 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6143 unconditionally.
6144 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6145 unconditionally.
6146 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6147 condition on __ASSUME_CLONE_THREAD_FLAGS.
6148
e11f5155
AJ
61492012-08-14 Andreas Jaeger <aj@suse.de>
6150
6151 * sysdeps/i386/fpu/libm-test-ulps: Update.
6152
51a9ba86
MK
61532012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6154
2fdd4f78
AJ
6155 * include/atomic.h (atomic_exchange_and_add): Split into ...
6156 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6157 New atomic macros.
51a9ba86 6158
ba6cba9e
MT
61592012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6160
6161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6162
42443a47
JL
61632012-08-13 Jeff Law <law@redhat.com>
6164
6165 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6166 null byte in the output string.
6167
121dce05
JM
61682012-08-10 Joseph Myers <joseph@codesourcery.com>
6169
6170 * sysdeps/unix/sysv/linux/kernel-features.h
6171 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6172 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6173 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6175 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6176 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6177 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6178
bf51f568
JL
61792012-08-09 Jeff Law <law@redhat.com>
6180
6181 [BZ #13939]
6182 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6183 When avoid_arena is set, don't retry in the that arena. Pick the
6184 next one, whatever it might be.
6185 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6186 (arena_lock): Pass in new parameter to arena_get2.
6187 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6188 arena_get2.
6189 (__libc_malloc): Unify retrying after main arena failure with
6190 __libc_memalign version.
6191 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6192
f85fa270
L
61932012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6194
6195 [BZ #14166]
6196 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6197 to __redirect_strstr.
6198 (__strstr_sse42): Use typeof __redirect_strstr.
6199 (__strstr_ia32): Likewise.
6200 (__libc_strstr): New prototype.
6201 (strstr): Renamed to ...
6202 (__libc_strstr): This.
6203 (strstr): New strong alias of __libc_strstr.
6204 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6205 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6206 __redirect_time.
6207 Include <time.h>.
6208 (__libc_time): New prototype.
6209 (time_ifunc): Replace time with __libc_time.
6210 (time): New strong alias and hidden definition of __libc_time.
6211 (__GI_time): Remove strong alias.
6212 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6213 Include <stddef.h>.
6214 (memmove): Redefined to __redirect_memmove.
6215 (__memmove_sse2): Use typeof __redirect_memmove.
6216 (__memmove_ssse3): Likewise.
6217 (__memmove_ssse3_back): Likewise.
6218 (__libc_memmove): New prototype.
6219 (memmove): Renamed to ...
6220 (__libc_memmove): This.
6221 (memmove): New strong alias of __libc_memmove.
6222
33b4a91e
MS
62232012-08-08 Mark Salter <msalter@redhat.com>
6224
6225 * elf/elf.h
6226 (R_MN10300_TLS_GD): Define.
6227 (R_MN10300_TLS_LD): Likewise.
6228 (R_MN10300_TLS_LDO): Likewise.
6229 (R_MN10300_TLS_GOTIE): Likewise.
6230 (R_MN10300_TLS_IE): Likewise.
6231 (R_MN10300_TLS_LE): Likewise.
6232 (R_MN10300_TLS_DTPMOD): Likewise.
6233 (R_MN10300_TLS_DTPOFF): Likewise.
6234 (R_MN10300_TLS_TPOFF): Likewise.
6235 (R_MN10300_SYM_DIFF): Likewise.
6236 (R_MN10300_ALIGN): Likewise.
6237 (R_MN10300_NUM): Update.
6238
b36137f1
JM
62392012-08-08 Joseph Myers <joseph@codesourcery.com>
6240
6241 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6242 Remove.
6243
cdd915fd
RM
62442012-08-08 Roland McGrath <roland@hack.frob.com>
6245
a2433aac
RM
6246 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6247
cdd915fd
RM
6248 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6249 sysdeps/unix -> sysdeps/posix move.
6250 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6251
bf9b740a
AM
62522012-08-07 Allan McRae <allan@archlinux.org>
6253
6254 [BZ #14303]
6255 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6256 (SUNOS_CPP): Likewise.
6257 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6258 not found.
6259 (open_input): Call CPP using execvp.
6260
93df14ee
JM
62612012-08-07 Joseph Myers <joseph@codesourcery.com>
6262
6263 * sysdeps/unix/sysv/linux/kernel-features.h
6264 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6265 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6266 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6267 (__ASSUME_WAITID_SYSCALL): Likewise.
6268 * sysdeps/unix/sysv/linux/dl-execstack.c
6269 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6270 code unconditional.
6271 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6272 conditional code.
6273 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6274 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6275 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6276 code.
6277 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6278 unconditional.
6279 [__ASSUME_WAITID_SYSCALL]: Likewise.
6280 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6281
d34689de
RM
62822012-08-07 Roland McGrath <roland@hack.frob.com>
6283
a281decc
RM
6284 * sysdeps/unix/closedir.c: Renamed to ...
6285 * sysdeps/posix/closedir.c: ... here.
6286 * sysdeps/unix/dirfd.c: Renamed to ...
6287 * sysdeps/posix/dirfd.c: ... here.
6288 * sysdeps/unix/dirstream.h: Renamed to ...
6289 * sysdeps/posix/dirstream.h: ... here.
6290 * sysdeps/unix/fdopendir.c: Renamed to ...
6291 * sysdeps/posix/fdopendir.c: ... here.
6292 * sysdeps/unix/opendir.c: Renamed to ...
6293 * sysdeps/posix/opendir.c: ... here.
6294 * sysdeps/unix/readdir.c: Renamed to ...
6295 * sysdeps/posix/readdir.c: ... here.
6296 * sysdeps/unix/readdir_r.c: Renamed to ...
6297 * sysdeps/posix/readdir_r.c: ... here.
6298 * sysdeps/unix/rewinddir.c: Renamed to ...
6299 * sysdeps/posix/rewinddir.c: ... here.
6300 * sysdeps/unix/seekdir.c: Renamed to ...
6301 * sysdeps/posix/seekdir.c: ... here.
6302 * sysdeps/unix/telldir.c: Renamed to ...
6303 * sysdeps/posix/telldir.c: ... here.
6304 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6305 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6306 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6307 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6308
22895b47
RM
6309 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6310 * bits/fcntl.h: ... here.
6311
707a53b6
RM
6312 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6313 not 0.
6314 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6315 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6316 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6317 (struct flock): Move l_start, l_len to the beginning.
6318 Use __pid_t for l_pid.
6319 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6320 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6321 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6322 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6323 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6324 [__USE_LARGEFILE64] (struct flock64): New type.
6325 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6326
f0bd3e25
RM
6327 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6328 * bits/dirent.h: ... here.
6329
d34689de
RM
6330 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6331 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6332
6dad2c06
JM
63332012-08-07 Joseph Myers <joseph@codesourcery.com>
6334
6335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6336 Change from 2.6.0 to 2.6.16.
6337 * sysdeps/unix/sysv/linux/configure: Regenerated.
6338 * sysdeps/unix/sysv/linux/kernel-features.h
6339 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6340 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6341 version.
6342 (__ASSUME_UTIMES): Likewise.
6343 (__ASSUME_CLONE_STOPPED): Remove.
6344 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6345 architectures, not kernel version.
6346 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6347 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6348 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6349 (__ASSUME_WAITID_SYSCALL): Likewise.
6350 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6351 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6352 * README: State 2.6.16 as minimum Linux kernel version. Do not
6353 refer to older versions.
6354
03af9520
RM
63552012-08-06 Roland McGrath <roland@hack.frob.com>
6356
8e49df1d
RM
6357 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6358 Define alphasort64 as an alias.
6359 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6360 Define versionsort64 as an alias.
6361 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6362 Define scandir64 as an alias.
6363 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6364 Define scandirat64 as an alias.
6365 * dirent/alphasort64.c (alphasort64):
6366 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6367 * dirent/versionsort64.c: Likewise.
6368 * dirent/scandir64.c: Likewise.
6369 * dirent/scandirat64.c: Likewise.
6370 * sysdeps/wordsize-64/alphasort.c: File removed.
6371 * sysdeps/wordsize-64/alphasort64.c: File removed.
6372 * sysdeps/wordsize-64/scandir.c: File removed.
6373 * sysdeps/wordsize-64/scandir64.c: File removed.
6374 * sysdeps/wordsize-64/scandirat.c: File removed.
6375 * sysdeps/wordsize-64/scandirat64.c: File removed.
6376 * sysdeps/wordsize-64/versionsort.c: File removed.
6377 * sysdeps/wordsize-64/versionsort64.c: File removed.
6378 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6379 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6380 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6382 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6384 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6385 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6386
6387 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6389 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6391 [defined __arch64__ || defined __sparcv9]
6392 (__INO_T_MATCHES_INO64_T): New macro.
6393 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6394 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6395 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6396 * sysdeps/unix/sysv/linux/bits/dirent.h
6397 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6398 (_DIRENT_MATCHES_DIRENT64): New macro.
6399
03af9520
RM
6400 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6401 Define lockf64 as an alias.
6402 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6403 Define fseeko64 as an alias.
6404 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6405 Define ftello64 as an alias.
6406 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6407 Define _IO_fgetpos64 and fgetpos64 as aliases.
6408 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6409 Define _IO_fsetpos64 and fsetpos64 as aliases.
6410 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6411 Conditionalize body on this.
6412 * libio/fseeko64.c: Likewise.
6413 * libio/ftello64.c: Likewise.
6414 * libio/iofgetpos64.c: Likewise.
6415 * libio/iofsetpos64.c: Likewise.
6416 * sysdeps/wordsize-64/lockf.c: File removed.
6417 * sysdeps/wordsize-64/lockf64.c: File removed.
6418 * sysdeps/wordsize-64/fseeko.c: File removed.
6419 * sysdeps/wordsize-64/fseeko64.c: File removed.
6420 * sysdeps/wordsize-64/ftello.c: File removed.
6421 * sysdeps/wordsize-64/ftello64.c: File removed.
6422 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6423 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6424 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6425 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6426 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6427 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6428 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6429 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6430 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6431 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6432 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6433 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6434 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6435 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6436
6437 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6439 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6441 [defined __arch64__ || defined __sparcv9]
6442 (__OFF_T_MATCHES_OFF64_T): New macro.
6443 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6444 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6445 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6446 (__OFF_T_MATCHES_OFF64_T): New macro.
6447
c5757acd
L
64482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6449
6450 * stdlib/secure-getenv.c (__secure_getenv): Replace
6451 GLIBC_2_16 with GLIBC_2_17.
6452
3a31811e
L
64532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6454
6455 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6456 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6457
faa2bccb
DM
64582012-08-03 David S. Miller <davem@davemloft.net>
6459
6460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6461
85fe1997
JM
64622012-08-03 Joseph Myers <joseph@codesourcery.com>
6463
6464 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6465 Remove.
6466 (__ASSUME_CORRECT_SI_PID): Likewise.
6467 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6468 (__ASSUME_TMPFS_NAME): Likewise.
6469 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6470 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6471 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6472 (HAVE_AUX_SECURE): Make definition unconditional.
6473 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6474 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6475
4f75b7a0
RM
64762012-08-03 Roland McGrath <roland@hack.frob.com>
6477
6478 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6479 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6480 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6481 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6482 __eloop_threshold instead of SYMLOOP_MAX.
6483
6484 * sysdeps/generic/eloop-threshold.h: New file.
6485 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6486 of MAXSYMLINKS.
6487 * elf/chroot_canon.c (chroot_canon): Likewise.
6488
7aab07e4
JM
64892012-08-03 Joseph Myers <joseph@codesourcery.com>
6490
6491 [BZ #13717]
6492 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6493 Change to 2.6.0 everywhere.
6494 * sysdeps/unix/sysv/linux/configure: Regenerated.
6495 * sysdeps/unix/sysv/linux/kernel-features.h
6496 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6497 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6498 kernel versions.
6499 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6500 (__ASSUME_FUTEX_REQUEUE): Remove.
6501 (__ASSUME_STATFS64): Define unconditionally.
6502 (__ASSUME_AT_SECURE): Likewise.
6503 (__ASSUME_CORRECT_SI_PID): Likewise.
6504 (__ASSUME_TGKILL): Define without depending on kernel version for
6505 i386.
6506 (__ASSUME_UTIMES): Likewise.
6507 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6508 kernel version.
6509 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6510 (__ASSUME_TMPFS_NAME): Likewise.
6511 * README: Update reference to Linux kernel versions.
6512
b67e9372
MP
65132012-08-02 Marek Polacek <polacek@redhat.com>
6514
1f529f7d 6515 [BZ# 14150]
b67e9372
MP
6516 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6517 libc_cv_asm_type_prefix with %.
6518 * configure: Regenerated.
d2441631
RM
6519 * include/libc-symbols.h: Remove comment about
6520 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6521 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6522 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6523 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6524 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6525 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6526 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6527 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6528 * elf/tst-unique2mod1.c: Likewise.
6529 * elf/tst-unique1mod2.c: Likewise.
6530 * elf/tst-unique1mod1.c: Likewise.
6531 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6532 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6533 Replace ASM_TYPE_DIRECTIVE with .type.
6534 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6535 * sysdeps/i386/sysdep.h: Likewise.
6536 * sysdeps/x86_64/sysdep.h: Likewise.
6537 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6539 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6540 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6541 * sysdeps/powerpc/powerpc32/sysdep.h:
6542 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6543 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6544 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6545 * sysdeps/i386/fpu/e_powf.S: Likewise.
6546 * sysdeps/i386/fpu/e_expl.S: Likewise.
6547 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6548 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6549 * sysdeps/i386/fpu/e_pow.S: Likewise.
6550 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6551 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6552 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6553 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6554 * sysdeps/i386/fpu/e_log2.S: Likewise.
6555 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6556 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6557 * sysdeps/i386/fpu/e_powl.S: Likewise.
6558 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6559 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6560 * sysdeps/i386/fpu/e_logl.S: Likewise.
6561 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6562 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6563 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6564 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6565 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6566 * sysdeps/i386/fpu/e_log.S: Likewise.
6567 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6568 * sysdeps/i386/fpu/e_logf.S: Likewise.
6569 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6570 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6571 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6572 * sysdeps/i386/fpu/e_log10.S: Likewise.
6573 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6574 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6575 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6576 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6577 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6578 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6579 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6580 * sysdeps/i386/i686/strtok.S: Likewise.
6581 * sysdeps/i386/i386-mcount.S: Likewise.
6582 * sysdeps/i386/strtok.S: Likewise.
6583 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6584 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6585 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6586 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6587 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6588 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6589 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6590 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6591 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6592 * sysdeps/x86_64/_mcount.S: Likewise.
6593 * sysdeps/x86_64/strtok.S: Likewise.
6594 * sysdeps/sh/_mcount.S: Likewise.
6595
2747bf9a
RM
65962012-08-01 Roland McGrath <roland@hack.frob.com>
6597
6598 * libio/iofopen.c: Include <fcntl.h>.
6599 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6600 (_IO_fopen64, fopen64): Define as aliases.
6601 * libio/iofopen64.c: Include <fcntl.h>.
6602 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6603 Conditionalize body on this.
6604 * sysdeps/wordsize-64/iofopen.c: File removed.
6605 * sysdeps/wordsize-64/iofopen64.c: File removed.
6606
3fb791b8
MP
66072012-08-01 Marek Polacek <polacek@redhat.com>
6608
6609 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6610 Use dlfcn directly instead of a variable.
6611 (binfmt-subdir): Do not define.
6612 (dlfcn): Likewise.
6613
a9f1039f
JM
66142012-08-01 Joseph Myers <joseph@codesourcery.com>
6615
23bddc06
JM
6616 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6617 Remove all definitions.
6618 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6619 <kernel-features.h>.
6620 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6621 (miss_F_GETOWN_EX): Remove all definitions.
6622 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6623 macro definition.
6624 [!__ASSUME_FCNTL64]: Remove conditional code.
6625 [__ASSUME_FCNTL64]: Make code unconditional.
6626 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6627 <kernel-features.h>.
6628 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6629 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6630 (lockf64) [__NR_fcntl64]: Make code unconditional.
6631 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6632
a9f1039f
JM
6633 * sysdeps/unix/sysv/linux/kernel-features.h
6634 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6635 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6636 Make code unconditional.
6637 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6638 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6640 [__NR_vfork]: Make code unconditional.
6641 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6642 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6644 [__NR_vfork]: Make code unconditional.
6645 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6646 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6647
09c0ee5f
RM
66482012-08-01 Roland McGrath <roland@hack.frob.com>
6649
48aec5b9
RM
6650 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6651 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6652
cd97c966
RM
6653 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6654 Define mkstemp64 as an alias.
3f55550c
RM
6655 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6656 Define mkstemps64 as an alias.
cd97c966
RM
6657 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6658 Define mkostemp64 as an alias.
b8625cfc
RM
6659 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6660 Define mkostemps64 as an alias.
cd97c966
RM
6661 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6662 Conditionalize body on this.
6663 * misc/mkostemp64.c: Likewise.
b8625cfc 6664 * misc/mkostemps64.c: Likewise.
3f55550c 6665 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6666 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6667 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6668 * sysdeps/wordsize-64/mkostemp.c: File removed.
6669 * sysdeps/wordsize-64/mkstemp.c: File removed.
6670 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6671 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6672 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6673 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6674
09c0ee5f
RM
6675 [BZ #14138]
6676 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6677 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6678 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6679 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6680
6681 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6682 compat_symbol macros from <shlib-compat.h> rather than the underlying
6683 default_symbol_version and symbol_version macros, so that DEFAULT
6684 lines in shlib-versions are respected.
6685 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6686
7e66ee51
FW
66872012-08-01 Florian Weimer <fweimer@redhat.com>
6688
6689 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6690 Declare with warn_unused_result.
6691 (setgid, setregid, setegid, setresgid): Likewise.
6692 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6693 Likewise.
6694 * WUR-REPORT: Remove set*id functions.
6695
d2a54255
PT
66962012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6697
6698 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6699
7ecdb005
RM
67002012-07-31 Roland McGrath <roland@hack.frob.com>
6701
789bd351
RM
6702 * include/sys/socket.h (__libc_accept, __libc_accept4):
6703 Add attribute_hidden.
6704 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6705
40ce302d
RM
6706 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6707 use of PTR_MANGLE.
6708 * inet/getnetgrent_r.c (setup): Likewise.
6709
7ecdb005
RM
6710 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6711
e2eabb2c
DM
67122012-07-31 David S. Miller <davem@davemloft.net>
6713
6714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6715
d0419dbf
JM
67162012-07-31 Joseph Myers <joseph@codesourcery.com>
6717
6718 [BZ #13629]
6719 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6720 value between 1.0 and 2.0 and smaller part has absolute value less
6721 than 1.0.
6722 * math/s_clog10.c (__clog10): Likewise.
6723 * math/s_clog10f.c (__clog10f): Likewise.
6724 * math/s_clog10l.c (__clog10l): Likewise.
6725 * math/s_clogf.c (__clogf): Likewise.
6726 * math/s_clogl.c (__clogl): Likewise.
6727 * math/libm-test.inc (clog_test): Add more tests.
6728 (clog10_test): Likewise.
6729 * sysdeps/i386/fpu/libm-test-ulps: Update.
6730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6731
2bc13872
FW
67322012-07-31 Florian Weimer <fweimer@redhat.com>
6733
6734 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6735 Exit with zero in case no suitable GID is found, and write a
6736 message to standard error.
6737
bea9b193
RM
67382012-07-30 Roland McGrath <roland@hack.frob.com>
6739
6740 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6741 rather than to 1.
6742 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6743 (MAXPATHLEN): Removed.
6744 (NOGROUP, NODEV): New macros.
6745 (setbit, clrbit, isset, isclr): New macros.
6746 (howmany, roundup, powerof2): New macros.
6747 (DEV_BSIZE): New macro.
6748
6749 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6750 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6751
6752 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6753 definition on [!__NO_LONG_DOUBLE_MATH].
6754
6755 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6756 PTR_MANGLE and PTR_DEMANGLE.
6757
6758 * socket/accept4.c (accept4): Rename to __libc_accept4.
6759 Define accept4 as a weak alias.
6760
6761 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6762 on [_DIRENT_HAVE_D_TYPE].
6763 * io/ftw.c (ftw_dir): Likewise.
6764
6765 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6766
6767 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6768
6769 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6770 Use the BSD numbers rather than the arbitrary ones we had.
6771 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6772 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6773 (SIGXCPU, SIGXFSZ): New macros.
6774 (_NSIG): Now 32.
6775
6776 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6777 initializer on [_LIBC_REENTRANT].
6778
6779 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6780 definitions inside [_POSIX_MAPPED_FILES].
6781
6782 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6783
6784 * dirent/opendir.c: Include <fcntl.h>.
6785
6786 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6787 (__libc_getspecific): Likewise.
6788 (__libc_key_create): Likewise.
6789
6790 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6791 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6792 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6793 (tmpfile64): Define as alias.
6794 * sysdeps/wordsize-64/tmpfile.c: File removed.
6795 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6796 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6797 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6798
6799 * stdio-common/vfscanf.c: Include <stdbool.h>.
6800 * nss/makedb.c: Likewise.
6801 * stdio-common/_i18n_number.h: Likewise.
6802 * argp/argp-help.c: Likewise.
6803 * posix/wordexp.c: Likewise.
6804 * sysdeps/posix/spawni.c: Likewise.
6805 * nss/nss_files/files-initgroups.c: Likewise.
6806 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6807 * nss/nss_files/files-initgroups.c: Likewise.
6808 * nss/nss_db/db-netgrp.c: Likewise.
6809 * nss/nss_db/db-initgroups.c: Likewise.
6810 * io/fchmodat.c: Include <sys/stat.h>.
6811
6812 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6813 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6814
6815 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6816 [HAVE_MMAP].
6817
6818 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6819 Add multiple inclusion protection.
6820
e5abc686
DM
68212012-07-27 David S. Miller <davem@davemloft.net>
6822
6823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6824
815e6fa3
GB
68252012-07-27 Gary Benson <gbenson@redhat.com>
6826
6827 [BZ #14298]
6828 * elf/rtld.c: Include <stap-probe.h>.
6829 (dl_main): Added static probes "init_start" and "init_complete".
6830 * elf/dl-load.c: Include <stap-probe.h>.
6831 (lose): Take new parameter "nsid".
6832 Added static probe "map_failed".
6833 (_dl_map_object_from_fd): Pass namespace id to lose.
6834 Added static probe "map_start".
6835 (open_verify): Pass namespace id to lose.
6836 * elf/dl-open.c: Include <stap-probe.h>.
6837 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6838 and "reloc_complete".
6839 * elf/dl-close.c: Include <stap-probe.h>.
6840 (_dl_close_worker): Added static probes "unmap_start" and
6841 "unmap_complete".
6842 * elf/rtld-debugger-interface.txt: New file documenting the above.
6843
9f98c16c
RM
68442012-07-26 Roland McGrath <roland@hack.frob.com>
6845
6846 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6847 rather than a string variable.
6848 * sunrpc/rpc_main.c (h_output): Likewise.
6849 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6850
f3c22df3
PT
68512012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6852
6853 * inet/check_native.c: New file.
6854
3129cfc6
JM
68552012-07-26 Joseph Myers <joseph@codesourcery.com>
6856
da865e95
JM
6857 [BZ #13629]
6858 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6859 if larger part has absolute value 1.0.
6860 * math/s_clog10.c (__clog10): Likewise.
6861 * math/s_clog10f.c (__clog10f): Likewise.
6862 * math/s_clog10l.c (__clog10l): Likewise.
6863 * math/s_clogf.c (__clogf): Likewise.
6864 * math/s_clogl.c (__clogl): Likewise.
6865 * math/libm-test.inc (clog_test): Add more tests.
6866 (clog10_test): Likewise.
6867 * sysdeps/i386/fpu/libm-test-ulps: Update.
6868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6869
3129cfc6
JM
6870 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6871 (pltexit): Likewise.
6872 (La_regs): Likewise.
6873 (La_retval): Likewise.
6874 (int_retval): Likewise.
6875 Update #error for removed macros to refer only to definitions in
6876 tst-audit.h.
6877 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6878 macro.
6879 (pltexit): Likewise.
6880 (La_regs): Likewise.
6881 (La_retval): Likewise.
6882 (int_retval): Likewise.
6883 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6884 macro.
6885 (pltexit): Likewise.
6886 (La_regs): Likewise.
6887 (La_retval): Likewise.
6888 (int_retval): Likewise.
6889 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6890 macro.
6891 (pltexit): Likewise.
6892 (La_regs): Likewise.
6893 (La_retval): Likewise.
6894 (int_retval): Likewise.
6895 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6896 macro.
6897 (pltexit): Likewise.
6898 (La_regs): Likewise.
6899 (La_retval): Likewise.
6900 (int_retval): Likewise.
6901 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6902 macro.
6903 (pltexit): Likewise.
6904 (La_regs): Likewise.
6905 (La_retval): Likewise.
6906 (int_retval): Likewise.
6907 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6908 macro.
6909 (pltexit): Likewise.
6910 (La_regs): Likewise.
6911 (La_retval): Likewise.
6912 (int_retval): Likewise.
6913 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6914 macro definitions in tst-audit.h.
6915 * sysdeps/i386/tst-audit.h: New file.
6916 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6917 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6918 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6919 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6920 * sysdeps/sh/tst-audit.h: Likewise.
6921 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6922 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6923 * sysdeps/x86_64/tst-audit.h: Likewise.
6924
bfc07087
AJ
69252012-07-26 Andreas Jaeger <aj@suse.de>
6926
b1b2aaf8
AJ
6927 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6928 ptrace.
6929
6930 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6931 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6932 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6933 PTRACE_O_MASK.
6934 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6935 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6936 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6937
bfc07087
AJ
6938 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6939 value.
6940
6941 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6942 _sigsys.
6943 (si_call_addr, si_syscall, si_arch): Define new macro.
6944 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6945 _sigsys.
6946 (si_call_addr, si_syscall, si_arch): Define new marcro.
6947 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6948 _sigsys.
6949 (si_call_addr, si_syscall, si_arch): Define new macro.
6950 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6951 _sigsys.
6952 (si_call_addr, si_syscall, si_arch): Define new macro.
6953
89b4b02f
JM
69542012-07-25 Joseph Myers <joseph@codesourcery.com>
6955
6956 [BZ #13717]
6957 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6958 Change to 2.4.21 where previously 2.4.1.
6959 * sysdeps/unix/sysv/linux/configure: Regenerated.
6960 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6961 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6962 Linux kernel version.
6963 (__ASSUME_STD_AUXV): Remove.
6964 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6965 kernel version.
6966 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6967 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6968 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6969 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6970 (__ASSUME_NETLINK_SUPPORT): Likewise.
6971 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6972 (__no_netlink_support): Remove conditional definition.
6973 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6974 Remove.
6975 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6976 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6977 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6978 (if_nameindex_ioctl): Remove.
6979 (if_nameindex_netlink): Do not handle __no_netlink_support.
6980 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6981 code.
6982 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6983 Remove conditional code.
6984 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6985 code.
6986 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6987 unconditional.
6988 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6989 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6990 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6991 Remove.
6992 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6993 [!__ASSUME_STD_AUXV]: Remove conditional code.
6994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6995 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6996 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6998 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6999 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7000 code.
7001 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7003 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7004 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7005 conditional code.
7006 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7008 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7009 code.
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7011 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7012 conditional code.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7014 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7015 code unconditional.
7016 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7017 conditional code.
7018 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7019 unconditional.
7020 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7021 conditional code.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7023 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7024 unconditional.
7025 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7026 conditional code.
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7028 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7029 code unconditional.
7030 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7031 conditional code.
7032 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7033 unconditional.
7034 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7035 conditional code.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7037 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7038 code unconditional.
7039 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7040 conditional code.
7041 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7042 unconditional.
7043 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7044 conditional code.
7045
842a39cd
AS
70462012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7047
7048 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7049 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7050 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7051 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7052 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7053 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7054 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7055 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7056 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7057 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7058 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7059 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7060 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7061 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7062 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7063 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7064 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7065 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7066 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7068 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7069 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7070 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7071
84b3fd84
FW
70722012-07-25 Florian Weimer <fweimer@redhat.com>
7073
7074 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7075 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7076 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7077 Introduce __libc_secure_getenv.
0c7936d5
FW
7078 * stdlib/Versions (2.17): Add secure_getenv
7079 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7080 * stdlib/secure-getenv.c: Rename __secure_getenv to
7081 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7082 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7083 * stdlib/tst-secure-getenv.c: New.
7084 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7085 * manual/startup.texi (Environment Access): Document
7086 secure_getenv.
84b3fd84
FW
7087 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7088 __libc_secure_getenv.
7089 * inet/ruserpass.c (ruserpass): Likewise.
7090 * malloc/mtrace.c (mtrace): Likewise.
7091 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7092 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7093 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7094 * sysdeps/posix/tempname.c: Likewise. Evaluate
7095 HAVE_SECURE_GETENV.
7096 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7097 __secure_getenv to __libc_secure_getenv.
84b3fd84 7098 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7100 Likewise.
7101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7102 Likewise.
7103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7105 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7110
56e49b71
JM
71112012-07-25 Joseph Myers <joseph@codesourcery.com>
7112
7113 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7114 (struct La_i86_retval): Likewise.
7115 (struct La_x86_64_regs): Likewise.
7116 (struct La_x86_64_retval): Likewise.
7117 (struct La_x32_regs): Likewise.
7118 (struct La_x32_retval): Likewise.
7119 (struct La_ppc32_regs): Likewise.
7120 (struct La_ppc32_retval): Likewise.
7121 (struct La_ppc64_regs): Likewise.
7122 (struct La_ppc64_retval): Likewise.
7123 (struct La_sh_regs): Likewise.
7124 (struct La_sh_retval): Likewise.
7125 (struct La_s390_32_regs): Likewise.
7126 (struct La_s390_32_retval): Likewise.
7127 (struct La_s390_64_regs): Likewise.
7128 (struct La_s390_64_retval): Likewise.
7129 (struct La_sparc32_regs): Likewise.
7130 (struct La_sparc32_retval): Likewise.
7131 (struct La_sparc64_regs): Likewise.
7132 (struct La_sparc64_retval): Likewise.
7133 (struct audit_ifaces): Remove architecture-specific pltenter and
7134 pltexit members.
7135 * sysdeps/i386/ldsodefs.h: New file.
7136 * sysdeps/powerpc/ldsodefs.h: Likewise.
7137 * sysdeps/s390/ldsodefs.h: Likewise.
7138 * sysdeps/sh/ldsodefs.h: Likewise.
7139 * sysdeps/sparc/ldsodefs.h: Likewise.
7140 * sysdeps/x86_64/ldsodefs.h: Likewise.
7141
354691b7
MP
71422012-07-25 Marek Polacek <polacek@redhat.com>
7143
7144 [BZ #6808]
7145 * math/libm-test.inc (yn_test): Add another test.
7146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7147 to ERANGE when the result is +-Inf.
7148 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7149 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7150 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7151 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7152
bf9e2071
JM
71532012-07-24 Joseph Myers <joseph@codesourcery.com>
7154
7155 * conform/data/time.h-data (NULL): Use macro-constant. Require
7156 equal to 0.
7157 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7158 clock_t.
7159 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7160
57633811
TS
71612012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7162
7163 * configure.in <sysdeps resolving>: Correct printing
7164 Implies_before.
7165 * configure: Regenerate.
7166
c23c33b0
TS
71672012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7168
7169 * math/w_ilogb.c: Include <limits.h>.
7170 * math/w_ilogbl.c: Likewise.
7171
b5982523
JM
71722012-07-20 Joseph Myers <joseph@codesourcery.com>
7173
7174 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7175 va_copy. Document allowing for unavailable va_copy only as
7176 pre-C99 compatibility.
7177 * manual/string.texi (Copying and Concatenation): Use va_copy
7178 instead of __va_copy in concat example.
7179
ac4ea442
PT
71802012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7181
7182 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7183 (__sendto): Use create_address_port. Initialize APORT and deallocate
7184 it if not null.
7185
f98eafbd
PT
7186 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7187 with O_NOLINK passed to __file_name_lookup.
7188
898c7aab
PT
7189 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7190 with O_NOLINK passed to __file_name_lookup.
7191
0ced335a
PT
7192 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7193 negative N or less than NGIDS.
7194
b3404dbd
PT
7195 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7196 type to string_t. Set ERANGE as errno and return it if NAME is not big
7197 enough. Use memcpy instead of strncpy.
7198
0f48659e
JM
71992012-07-20 Joseph Myers <joseph@codesourcery.com>
7200
7201 * elf/Makefile (check-data): Remove.
7202 (localplt.data): New vpath directive.
7203 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7204 instead of $(check-data).
7205 * scripts/data/localplt-generic.data: Move to ...
7206 * sysdeps/generic/localplt.data: ... here.
7207 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7208 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7209 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7211 ... here.
7212 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7214 ... here.
7215 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7217 ... here.
7218 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7220 ... here.
7221 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7223 ... here.
7224 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7226 ... here.
7227
d37cbdaa
AZ
72282012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7229
7230 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7231 PPC32 and PPC64 files.
7232 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7233 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7234
46f85fc2
AK
72352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7236
7237 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7238 __makecontext_ret to ...
7239 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7240 ... here and call exit if uc_link is NULL. New file.
7241 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7242 __makecontext_ret.S.
7243 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7244 __makecontext_ret to ...
7245 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7246 ... here and call exit if uc_link is NULL. New file.
7247 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7248 __makecontext_ret.S.
7249
08f43f9b
AK
72502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7251
7252 * elf/elf.h (R_390_IRELATIVE): New definition.
7253 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7254 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7255 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7256 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7257 (elf_machine_lazy_rel): Likewise.
7258 * sysdeps/s390/dl-irel.h: New file.
7259 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7260 * sysdeps/s390/s390-64/memset.S: New asm code.
7261 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7262 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7263 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7264 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7265 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7266 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7268 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7269 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7270 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7271 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7272 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7273 * sysdeps/s390/s390-32/memset.S: New asm code.
7274 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7275
3b05db33
MP
72762012-07-17 Marek Polacek <polacek@redhat.com>
7277
7278 [BZ #14349]
7279 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7280 * sysdeps/s390/s390-64/configure.in: Likewise.
7281 * sysdeps/sparc/configure.in: Likewise.
7282 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7283 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7284 * sysdeps/i386/configure.in: Likewise.
7285 * sysdeps/x86_64/configure.in: Likewise.
7286 * sysdeps/sh/configure.in: Likewise.
7287 * sysdeps/s390/s390-32/configure: Regenerated.
7288 * sysdeps/s390/s390-64/configure: Likewise.
7289 * sysdeps/x86_64/configure: Likewise.
7290 * sysdeps/sh/configure: Likewise.
7291 * sysdeps/powerpc/powerpc64/configure: Likewise.
7292 * sysdeps/powerpc/powerpc32/configure: Likewise.
7293 * sysdeps/sparc/configure: Likwise.
7294 * sysdeps/i386/configure: Likewise.
7295
a66877c6
MP
7296 * elf/dl-open.c: Comment fixes.
7297
cfc82fd8
JM
72982012-07-17 Joseph Myers <joseph@codesourcery.com>
7299
bd29910a
JM
7300 * Makefile [CXX] (check-data): Remove.
7301 [CXX] (c++-types.data): New vpath directive.
7302 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7303 vpath. Do not allow for C++ type data being missing.
7304 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7305 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7306 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7307 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7308 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7309 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7310 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7312 ... here.
7313 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7315 ... here.
7316 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7318 ... here.
7319 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7321 ... here.
7322 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7324 ... here.
7325 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7327 ... here.
7328 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7330 ... here.
7331 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7333
cfc82fd8
JM
7334 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7335 definitions to architecture-specific files.
7336 (TLS_IE): Likewise.
7337 (TLS_LD): Likewise.
7338 (TLS_GD): Likewise.
7339 * sysdeps/i386/tls-macros.h: New file.
7340 * sysdeps/powerpc/tls-macros.h: Likewise.
7341 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7342 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7343 * sysdeps/sh/tls-macros.h: Likewise.
7344 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7345 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7346 * sysdeps/x86_64/tls-macros.h: Likewise.
7347
f7db3170
TS
73482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7349
07cbfc23
TS
7350 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7351 zero value for regular exit case.
7352
f7db3170
TS
7353 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7354 (__start_context): Preserve zero value for regular exit case.
7355
dc97c227
TS
73562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7357 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7358
7359 * manual/setjmp.texi (setcontext): Clarify normal process
7360 termination when uc_link is the null pointer.
7361 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7362 exit call.
7363
d0cd7d02
AS
73642012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7365
7366 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7367 preprocessor. Test for each exception mask separately.
7368
dd318934
AJ
73692012-07-16 Andreas Jaeger <aj@suse.de>
7370
7371 * po/ru.po: Update from translation team.
7372
8048311a
JM
73732012-07-15 Joseph Myers <joseph@codesourcery.com>
7374
7375 * conform/data/string.h-data (NULL): Use macro-constant. Require
7376 equal to 0.
7377 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7378 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7379 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7380 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7382
b637d46e
AJ
73832012-07-13 Andreas Jaeger <aj@suse.de>
7384
7385 * po/fr.po: Update from translation team.
7386
541428fe
MP
73872012-07-12 Marek Polacek <polacek@redhat.com>
7388
7389 [BZ #14173]
7390 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7391 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7392 loop condition.
7393
ec332e94
JM
73942012-07-12 Joseph Myers <joseph@codesourcery.com>
7395
7396 [BZ #13717]
7397 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7398 Change to 2.4.1 where previously 2.4.0.
7399 * sysdeps/unix/sysv/linux/configure: Regenerated.
7400 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7401 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7402 version.
7403 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7404 (__ASSUME_AT_CLKTCK): Remove.
7405 (__ASSUME_AT_PAGESIZE): Likewise.
7406 (__ASSUME_AT_XID): Likewise.
7407 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7408 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7409 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7410 unconditionally.
7411 (HAVE_AUX_PAGESIZE): Likewise.
7412 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7413 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7414 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7415
7b6e99be
JB
74162012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7417
7418 [BZ #14307]
7419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7420 the temporary buffer used to invoke __gethostbyname2_r,
7421 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7422 host_data / struct gaih_addrtuple.
7423 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7424 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7425 header file nss/nsswitch.h.
7426 * nss/nsswitch.h (global scope): Add definition of implementation
7427 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7428 resolv/nss_dns/dns-host.c).
7429
608404eb
AJ
74302012-07-11 Andreas Jaeger <aj@suse.de>
7431
7432 * po/fr.po: Update from translation team.
7433
71220aca
AJ
7434 * po/sv.po: Update from translation team
7435 * po/fr.po: Another update from translation team.
7436
28cfe843
AZ
74372012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7438
7439 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7440 for subnormals or multiply small sinh result by itself.
7441 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7443
6b90f981
DM
74442012-07-11 David S. Miller <davem@davemloft.net>
7445
7446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7447
c6825772
AS
74482012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7449
7450 [BZ #14347]
7451 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7452 (INTERNAL_MARK): Shift it here.
7453
7b8e0d49
MP
74542012-07-10 Marek Polacek <polacek@redhat.com>
7455
7456 [BZ #14151]
7457 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7458 libc_cv_asm_global_directive with .globl.
7459 * configure: Regenerated.
7460 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7461 with .globl.
7462 * sysdeps/i386/configure: Regenerated.
7463 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7464 with .globl.
7465 * sysdeps/x86_64/configure: Regenerated.
7466 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7467 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7468 * elf/tst-unique2mod2.c: Likewise.
7469 * elf/tst-unique2mod1.c: Likewise.
7470 * elf/tst-unique1mod2.c: Likewise.
7471 * elf/tst-unique1mod1.c: Likewise.
7472 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7473 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7474 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7475 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7476 * sysdeps/mach/sysdep.h: Likewise.
7477 * sysdeps/i386/sysdep.h: Likewise.
7478 * sysdeps/i386/i386-mcount.S: Likewise.
7479 * sysdeps/x86_64/_mcount.S: Likewise.
7480 * sysdeps/x86_64/sysdep.h: Likewise.
7481 * sysdeps/sh/_mcount.S: Likewise.
7482 * sysdeps/sh/sysdep.h: Likewise.
7483 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7484 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7485 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7486 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7487 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7488 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7489 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7490 * locale/localeinfo.h: Likewise.
7491 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7492 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7493
6c55cda3
RM
74942012-07-09 Roland McGrath <roland@hack.frob.com>
7495
7496 [BZ #14336]
7497 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7498 system".
7499 * manual/message.texi (The Uniforum approach): Likewise.
7500 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7501 (glibc iconv Implementation): Likewise.
7502
638a572e
JM
75032012-07-09 Joseph Myers <joseph@codesourcery.com>
7504
7505 [BZ #14337]
7506 * math/s_clog.c (__clog): Avoid scaling a value down where that
7507 could result in underflow.
7508 * math/s_clog10.c (__clog10): Likewise.
7509 * math/s_clog10f.c (__clog10f): Likewise.
7510 * math/s_clog10l.c (__clog10l): Likewise.
7511 * math/s_clogf.c (__clogf): Likewise.
7512 * math/s_clogl.c (__clogl): Likewise.
7513 * math/libm-test.inc (clog_test): Add more tests.
7514 (clog10_test): Likewise.
7515 * sysdeps/i386/fpu/libm-test-ulps: Update.
7516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517
261f4859
AS
75182012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7519
0abaf3e4
AS
7520 [BZ #14283]
7521 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7522 by 7 not 8 to examine high bit of fractional part.
7523
261f4859
AS
7524 [BZ #14042]
7525 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7526 for call to __mcount_internal.
7527 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7528 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7529 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7530
f17ac40d
JM
75312012-07-06 Joseph Myers <joseph@codesourcery.com>
7532
9ad63c23
JM
7533 [BZ #14154]
7534 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7535 approximation for values within 0x1p-13f of an odd multiple of
7536 pi/4.
7537 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7538 exception. Add more tests.
7539 * sysdeps/i386/fpu/libm-test-ulps: Update.
7540
f17ac40d
JM
7541 [BZ #6778]
7542 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7543 inputs and return -1 for them. Do not check for +Inf in case not
7544 reachable for +Inf.
7545 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7546 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7547 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7548 and return -1 for them. Do not check for +Inf in case not
7549 reachable for +Inf.
7550 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7551 define.
7552 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7553 and return -1 for them. Do not check for +Inf in case not
7554 reachable for +Inf.
7555 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7556 spurious underflow.
7557 * sysdeps/i386/fpu/libm-test-ulps: Update.
7558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7559
fb21f89b
MF
75602012-07-06 Mike Frysinger <vapier@gentoo.org>
7561
7562 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7563
cdfe2c5e
JM
75642012-07-05 Joseph Myers <joseph@codesourcery.com>
7565
7566 [BZ #14157]
7567 [BZ #14331]
7568 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7569 could result in spurious underflow. Scale down values above
7570 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7571 * math/s_csqrtf.c (__csqrtf): Likewise.
7572 * math/s_csqrtl.c (__csqrtl): Likewise.
7573 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7574 spurious underflow.
7575 * sysdeps/i386/fpu/libm-test-ulps: Update.
7576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7577
70d35b67
AS
75782012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7579
704bc459
AS
7580 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7581 xopen-msg.sed.
7582 * catgets/xopen-msg.awk: New file.
7583 * catgets/xopen-msg.sed: Removed.
7584
70d35b67
AS
7585 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7586 po2text.sed.
7587 * intl/po2test.awk: New file.
7588 * intl/po2test.sed: Removed.
7589
ca61cf32
JM
75902012-07-04 Joseph Myers <joseph@codesourcery.com>
7591
7592 [BZ #14328]
7593 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7594 or multiply small sinh result by itself.
7595 * math/s_ctanf.c (__ctanf): Likewise.
7596 * math/s_ctanh.c (__ctanh): Likewise.
7597 * math/s_ctanhf.c (__ctanhf): Likewise.
7598 * math/s_ctanhl.c (__ctanhl): Likewise.
7599 * math/s_ctanl.c (__ctanl): Likewise.
7600 * math/libm-test.inc (ctan_test_tonearest): New function.
7601 (ctan_test_towardzero): Likewise.
7602 (ctan_test_downward): Likewise.
7603 (ctan_test_upward): Likewise.
7604 (ctanh_test_tonearest): Likewise.
7605 (ctanh_test_towardzero): Likewise.
7606 (ctanh_test_downward): Likewise.
7607 (ctanh_test_upward): Likewise.
7608 (main): Call these new functions.
7609 * sysdeps/i386/fpu/libm-test-ulps: Update.
7610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7611
ca48a46a
MF
76122012-07-03 Mike Frysinger <vapier@gentoo.org>
7613
7614 * .gitignore: Delete /ports entry.
7615
9d63d37d
AJ
76162012-07-03 Andreas Jaeger <aj@suse.de>
7617
7618 * po/bg.po: Update from translation team.
7619 * po/cs.po: Likewise.
7620 * po/de.po: Likewise.
7621 * po/hr.po: Likewise.
7622 * po/nl.pl: Likewise.
7623 * po/pl.po: Likewise.
7624 * po/vi.po: Likewise.
7625
370ca3d2
JM
76262012-07-03 Joseph Myers <joseph@codesourcery.com>
7627
95f5a9a8
JM
7628 * Makeconfig [!+link] (+link-before-libc): New variable.
7629 [!+link] (+link-after-libc): Likewise.
7630 [!+link] (+link-tests): Likewise.
7631 [!+link] (+link): Define in terms of $(+link-before-libc) and
7632 $(+link-after-libc).
7633 [!+link-static] (+link-static-before-libc): New variable.
7634 [!+link-static] (+link-static-after-libc): Likewise.
7635 [!+link-static] (+link-static-tests): Likewise.
7636 [!+link-static] (+link-static): Define in terms of
7637 $(+link-static-before-libc) and $(+link-static-after-libc).
7638 [build-shared] (link-libc-before-gnulib): New variable.
7639 [build-shared] (link-libc-tests): Likewise.
7640 [build-shared] (link-libc): Define in terms of
7641 $(link-libc-before-gnulib).
7642 [!build-shared] (link-libc-tests): New variable.
7643 (link-libc-static-tests): New variable.
7644 [!gnulib] (gnulib-arch): New variable.
7645 [!gnulib] (gnulib-tests): Likewise.
7646 [!gnulib] (static-gnulib-arch): Likewise.
7647 [!gnulib] (static-gnulib-tests): Likewise.
7648 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7649 Define with "=" instead of ":=".
7650 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7651 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7652 * Rules (binaries-all-notests): New variable.
7653 (binaries-all-tests): Likewise.
7654 (binaries-static-notests): Likewise.
7655 (binaries-static-tests): Likewise.
7656 (binaries-all): Define using $(binaries-all-notests) and
7657 $(binaries-all-tests).
7658 (binaries-static): Define using $(binaries-static-notests) and
7659 $(binaries-static-tests).
7660 (binaries-shared-tests): New variable.
7661 (binaries-shared-notests): Likewise.
7662 (binaries-shared): Remove variable.
7663 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7664 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7665 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7666 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7667 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7668 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7669 * elf/Makefile (sln-modules): New variable.
7670 (extra-objs): Add $(sln-modules:=.o).
7671 (ldconfig-modules): Add static-stubs.
7672 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7673 * elf/static-stubs.c: New file.
7674
7a845b2c
JM
7675 [BZ #14283]
7676 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7677 by 7 not 8 to examine high bit of fractional part. Use volatile
7678 variables when splitting into final array of floats if
7679 __FLT_EVAL_METHOD__ != 0.
7680 * math/libm-test.inc (cos_test): Add another test.
7681 (sin_test): Likewise.
7682 * sysdeps/i386/fpu/libm-test-ulps: Update.
7683
e2283f38
JM
7684 [BZ #14273]
7685 * math/libm-test.inc (cosh_test): Add more tests.
7686
370ca3d2
JM
7687 * version.h (RELEASE): Set to "development".
7688 (VERSION): Set to "2.16.90".
7689
ee9247c3
CD
76902012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7691
7692 * NEWS: Update copyright. Remove last-updated date.
7693 Mention math library bug fixes and timezone data changes.
7694 * README: Mention GNU/Hurd, x32, and HPPA support status.
7695
4648c381
TS
76962012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7697
7698 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7699
aac78a43
AJ
77002012-06-27 Andreas Jaeger <aj@suse.de>
7701
7702 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7703
ed3dbfad
AJ
77042012-06-25 Andreas Jaeger <aj@suse.de>
7705
7706 * sysdeps/s390/fpu/libm-test-ulps: Update.
7707
4d0ee855
AS
77082012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7709 Thomas Schwinge <thomas@codesourcery.com>
7710
7711 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7712 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7714 fanotify_mark.
7715
af1bce34
TS
77162012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7717
a9fa33ba
TS
7718 * sysdeps/mach/start.c: Remove file.
7719 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7720 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7721 * sysdeps/sh/init-first.c: Likewise.
7722
58f902b8
TS
7723 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7724 registers for frame unwinding purposes, add CFI directives.
7725 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7726 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7727 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7728 Likewise.
7729
1518f58b
TS
7730 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7731 __fortify_fail returning.
7732 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7733
db9b5059
TS
7734 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7735 sysdeps/sh/____longjmp_chk.S.
7736 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7737 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7738 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7739 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7740
967705fe
TS
7741 * sysdeps/sh/abort-instr.h: New file.
7742 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7743 process in case exit returns.
7744
a9def8c4
TS
7745 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7746 initialize the GOT register before use.
7747
2a649725
TS
7748 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7749 calculation of ARGC > 4.
7750
af1bce34
TS
7751 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7752 meaningful names to some local labels.
7753
d230f50a
KK
77542012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7755 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7756
7757 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7758 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7759 (__arch_compare_and_exchange_val_16_acq): Likewise.
7760 (__arch_compare_and_exchange_val_32_acq): Likewise.
7761 (atomic_exchange_and_add): Fix gUSA sequence.
7762 (atomic_add): Likewise.
7763 (atomic_add_negative): Likewise.
7764 (atomic_add_zero): Likewise.
7765 (atomic_bit_test_set): Likewise.
7766
0479b305
AS
77672012-06-22 Andreas Schwab <schwab@redhat.com>
7768
7769 [BZ #13579]
7770 * include/link.h (struct link_map): Add l_free_initfini.
7771 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7772 l_initfini.
7773 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7774 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7775 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7776 set.
7777
0e3933b9
CD
77782012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7779
7780 * configure.in: Use AC_LANG_SOURCE.
7781 * configure: Regenerate.
7782
4248b1b1
RM
77832012-06-22 Roland McGrath <roland@hack.frob.com>
7784
7785 * configure.in (libc_cv_localstatedir): New substituted variable.
7786 * configure: Regenerated.
7787 * config.make.in (localstatedir): New variable, substituted from
7788 libc_cv_localstatedir.
7789 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7790 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7791 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7792 * sysdeps/gnu/configure: Regenerated.
7793
006dd861
JL
77942012-06-21 Jeff Law <law@redhat.com>
7795
7796 [BZ #14277]
7797 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7798 free. Simplify list management for _LIBC case.
7799
79662d42
JM
78002012-06-21 Joseph Myers <joseph@codesourcery.com>
7801
b7abb4bf
JM
7802 [BZ #14273]
7803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7804 Clear sign bit of 64-bit integer value before comparing against
7805 overflow value.
7806
79662d42
JM
7807 * sysdeps/mach/configure: Regenerated.
7808
1f150908
L
78092012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7810
7811 [BZ #14278]
7812 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7813
28363bbf
JL
78142012-06-21 Jeff Law <law@redhat.com>
7815
7816 [BZ #13882]
7817 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7818 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7819 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7820 * elf/dl-open.c (dl_open_worker): Likewise.
7821
09615db4
CD
78222012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7823
7824 * scripts/list-sources.sh: Scan PORTS for translations.
7825 * po/libc.pot: Regenerated.
7826
2174c6dd
AJ
78272012-06-21 Andreas Jaeger <aj@suse.de>
7828
7829 [BZ #12194]
7830 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7831 warning.
7832 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7833 * bits/byteswap-16.h (__bswap_16): Likewise.
7834 * bits/byteswap.h (__bswap_constant_16): Likewise.
7835
3ee947b1
L
78362012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7837
7838 [BZ #14117]
a2f34833
L
7839 * sysdeps/i386/fpu_control.h: Removed.
7840 * sysdeps/x86_64/fpu_control.h: Moved to ...
7841 * sysdeps/x86/fpu_control.h: Here.
7842
3ee947b1
L
7843 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7844 (_FPU_SETCW): Likewise.
7845
ed1825f8
L
78462012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7847
25f1282a
L
7848 [BZ #14117]
7849 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7850 * sysdeps/x86/fpu/bits/mathinline.h: This.
7851 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7852
ed1825f8
L
7853 [BZ #14050]
7854 [BZ #14117]
7855 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7856 functions if __x86_64__ is defined.
7857
36d54b74
CLT
78582012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7859
7860 * string/endian.h: Add !__ASSEMBLER__ condition for including
7861 conversion interfaces.
7862
10285c21
JM
78632012-06-15 Joseph Myers <joseph@codesourcery.com>
7864
7865 [BZ #14241]
7866 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7867 of ABS(x) in calculating zero to negative powers other than odd
7868 integers.
7869 * math/libm-test.inc (pow_test): Add more tests.
7870
06c5abbd
AJ
78712012-06-15 Andreas Jaeger <aj@suse.de>
7872
7873 * manual/contrib.texi (Contributors): Update entry of Liubov
7874 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7875 Machado Filho.
7876
a3aeac40
CH
78772012-06-15 Cyril Hrubis <metan@ucw.cz>
7878
7879 * string/string.h: Add __wur to GNU version of strerror_r.
7880
49bdf4c1
L
78812012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7882
7883 [BZ #14229]
7884 * string/Makefile (tests): Add tst-strtok_r.
7885 * string/tst-strtok_r.c: New file.
7886 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7887 RAX_LP/RDX_LP on SAVE_PTR.
7888
834f9b8d
RM
78892012-06-14 Roland McGrath <roland@hack.frob.com>
7890
7891 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7892
75fa1921
JM
78932012-06-14 Joseph Myers <joseph@codesourcery.com>
7894
7895 * libm_test.inc (csqrt_test): Allow more spurious underflow
7896 exceptions.
7897 (j0_test): Likewise.
7898 (j1_test): Likewise.
7899 (y0_test): Likewise.
7900 (y1_test): Likewise.
7901
771766df
CD
79022012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7903
7904 * po/Makefile (libc.pot): Use UTF-8 charset.
7905
ceb9e56b
PP
79062012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7907
7908 [BZ #14210]
7909 Suppress sign-conversion warning from FD_SET.
7910 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7911 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7912 not unsigned long int.
7913 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7914
ddb28975
L
79152012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 [BZ #14050]
7918 [BZ #14117]
7919 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7920 __extern_always_inline instead of __extern_inline.
7921 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7922 (__signbit): Likewise.
7923 (__signbitl): Support C++ namespace.
7924 (lrintf): New inline function.
7925 (lrint): Likewise.
7926 (llrintf): Likewise.
7927 (llrint): Likewise.
7928 (fmaxf): Likewise.
7929 (fmax): Likewise.
7930 (fminf): Likewise.
7931 (fmin): Likewise.
7932 (rint): Likewise.
7933 (rintf): Likewise.
7934 (ceil): Likewise.
7935 (ceilf): Likewise.
7936 (floor): Likewise.
7937 (floorf): Likewise.
7938 (nearbyint): Likewise.
7939 (nearbyintf): Likewise.
7940
d7b4fb26
TS
79412012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7942
7943 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7944 non-default versions.
7945
eb55f5c2
RM
79462012-06-11 Roland McGrath <roland@hack.frob.com>
7947
7948 [BZ #14218]
7949 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7950
366af02c
TS
79512012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7952
99ff6e5c
TS
7953 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7954 (FE_UPWARD, FE_DOWNWARD): Don't define.
7955 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7956 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7957
366af02c
TS
7958 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7959 reading it.
7960 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7961 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7962
793ea851
KK
79632012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7964
7965 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7966 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7967 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7968 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7969
a728a38f
L
79702012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7971
7972 [BZ #14117]
c08010c7
L
7973 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7974 * sysdeps/i386/fpu/Implies: New file.
7975 * sysdeps/x86_64/fpu/Implies: Likewise.
7976 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7977 * sysdeps/x86/fpu/bits/fenv.h: This.
7978
a728a38f
L
7979 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7980 __SSE_MATH__.
7981
6e230d11
SP
79822012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7983
7984 [BZ #14134]
7985 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7986 character 0xffff that matches the last element of the
7987 conversion table.
7988
1b671feb
AZ
79892012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7990
7991 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7992 fmodl commit.
7993
6043738b
AZ
79942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7995
7996 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7997 values higher than 25.6283.
7998
34ae0b32
AZ
79992012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8000
8001 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8002 subnormal exponent extraction and add some __builtin_expect.
8003 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8004 Fix for subnormal mantissa calculation.
8005
1214ec8f
MF
80062012-06-04 Mike Frysinger <vapier@gentoo.org>
8007
8008 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8009 cpu2 is -1 and errno is not ENOSYS.
8010
f3d1f93c
L
80112012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8012
8013 [BZ #14117]
0e4a3cd7
L
8014 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8015 * sysdeps/x86/bits/string.h: This.
8016 * sysdeps/x86_64/bits/string.h: Removed.
8017
6704c645
L
8018 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8019 if not compiling for x86-64, but compiling for >= i486.
8020
48495318
L
8021 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8022 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8023
14adcbfc
L
8024 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8025 New macro from Linux kernel 3.4.0.
8026 (FP_XSTATE_MAGIC2): Likewise.
8027 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8028 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8029 (struct _fpx_sw_bytes): New struct.
8030 (struct _xsave_hdr): Likewise.
8031 (struct _ymmh_state): Likewise.
8032 (struct _xstate): Likewise.
8033
68e408ab
L
8034 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8035 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8036 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8037 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8038 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8039 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8040
f3d1f93c
L
8041 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8042 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8043 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8044 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8045 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8046 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8047
d9dc34cd
TMQMF
80482012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8049
8050 [BZ #13743]
8051 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8052 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8053 (sysdep_headers): Include sys/platform/ppc.h.
8054 * sysdeps/powerpc/test-gettimebase.c: Test for
8055 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8056 * manual/Makefile (appendices): Include platform.texi.
8057 * manual/contrib.texi (Contributors): Update @node pointers.
8058 * manual/maint.texi (Maintenance): Likewise.
8059 (Platform): New node.
8060 * manual/platform.texi: New file. Document the new features.
8061
4af3879c
SP
80622012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8063 Jakub Jelinek <jakub@redhat.com>
8064
8065 [BZ #14188]
8066 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8067 where __builtin_expect is unavailable.
8068
2fd6ff13
DM
80692012-06-03 David S. Miller <davem@davemloft.net>
8070
8071 * stdlib/longlong.h: Updated from GCC.
8072
173f7220
AS
80732012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8074
8075 [BZ #14042]
8076 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8077 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8078 __mcount_internal.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8080 (GLIBC_2.16): Likewise.
8081
f34a1c6f
L
80822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8083
8084 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8085
88a4576f
JM
80862012-06-01 Joseph Myers <joseph@codesourcery.com>
8087
ea32bcdd
JM
8088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8089 (default-abi): New variable.
8090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8091 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8092 variable.
8093 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8094 Likewise.
8095 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8096 Likewise.
8097 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8098 Likewise.
8099
88a4576f
JM
8100 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8101 definition. Document in comment.
8102
402fe938
DM
81032012-06-01 David S. Miller <davem@davemloft.net>
8104
8105 * stdlib/longlong.h: Updated from GCC.
8106
3553723f
L
81072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8108
8109 [BZ #14117]
3bd872c4
L
8110 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8111 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8112 sys/debugreg.h sys/io.h here.
8113 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8114 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8115 sys/io.h.
8116 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8117 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8118 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8119 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8120 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8121 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8122
3553723f
L
8123 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8124 Define only if __x86_64__ is defined.
8125
4842e4fe
JM
81262012-06-01 Joseph Myers <joseph@codesourcery.com>
8127
c5bfe3d5
JM
8128 [BZ #14048]
8129 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8130 Use int64_t for variable i.
8131 * math/libm-test.inc (fmod_test): Add more tests.
8132
4842e4fe
JM
8133 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8134 z computation is not scheduled after fetestexcept.
8135 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8136 Use math_force_eval instead of asm to ensure calculation scheduled
8137 before exception test.
8138 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8139 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8140
efb73488
AJ
81412012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8142
8143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8144 computation is not scheduled after fetestexcept.
8145
29bcce7c
L
81462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8147
8148 [BZ #14117]
8149 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8150 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8151
73a68f94
AZ
81522012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8153
8154 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8155 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8156
67b6df78
L
81572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8158
edf2933a 8159 [BZ #14117]
ebc64a18
L
8160 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8161 <bits/wordsize.h>.
8162 (__WCHAR_MIN): Support __WORDSIZE == 64.
8163 (__WCHAR_MAX): Likewise.
8164
edf2933a
L
8165 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8166 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8167
57c6cf40
L
8168 [BZ #14183]
8169 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8170 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8171
67b6df78 8172 [BZ #14117]
8eb6281e
L
8173 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8174 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8175
aac639f4
L
8176 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8177 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8178
67b6df78
L
8179 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8180 Defined to 1 if __x86_64__ isn't defined.
8181 (_STAT_VER_LINUX_OLD): New.
8182 (st_atime): Remove duplicate.
8183 (st_mtime): Likewise.
8184 (st_ctime): Likewise.
8185
1c2cfe81
DM
81862012-05-31 David S. Miller <davem@davemloft.net>
8187
8188 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8189 entries.
8190
5be8418c
AS
81912012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8192
e7725326
AS
8193 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8194 gen-libm-test.pl.
8195
5be8418c
AS
8196 [BZ #14132]
8197 * elf/dl-reloc.c: Include <_itoa.h>.
8198 (_dl_reloc_bad_type): Remove use of INTUSE.
8199 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8200 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8201 * stdio-common/psiginfo.c (psiginfo): Likewise.
8202 * stdio-common/psignal.c (psignal): Likewise.
8203 * string/strsignal.c (strsignal): Likewise.
8204 * include/signal.h (_sys_siglist): Declare hidden proto.
8205 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8206 INTVARDEF with libc_hidden_data_def.
8207 * stdio-common/itoa-udigits.c: Likewise.
8208 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8209 (_itoa_lower_digits_internal): Remove declaration.
8210 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8211 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8212 (_sys_sigabbrev_internal): Remove aliases.
8213 (_sys_siglist): Define hidden alias.
8214
507352f1
MT
82152012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8216
8217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8218 bits/sysctl.h.
8219
42bbb1c3
L
82202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8221
8222 [BZ #14117]
6bd784b6
L
8223 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8224 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8225
8bca20f0
L
8226 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8227 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8228 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8229 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8230 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8231 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8232
f9e890a9
L
8233 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8234 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8235 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8236
471101a1
L
8237 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8238 with __addr.
8239 (insw): Likewise.
8240 (insl): Likewise.
8241 (outsb): Likewise.
8242 (outsw): Likewise.
8243 (outsl): Likewise.
8244
6451c862
L
8245 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8246 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8247 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8248
a254b8c9
L
8249 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8250 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8251 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8252 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8253 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8254 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8255
b8dfdd92
L
8256 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8257 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8258
578cd270
L
8259 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8260 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8261
de662f5f
L
8262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8264 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8265
25653439
L
8266 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8267 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8268 to ...
8269 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8270
6bad24a0
L
8271 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8272 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8273 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8274
42bbb1c3
L
8275 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8276 for x86-64.
8277 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8278
2d10d547
JM
82792012-05-31 Joseph Myers <joseph@codesourcery.com>
8280
8281 * math/math.h (M_El): Use two more decimal places.
8282 (M_LOG2El): Likewise.
8283 (M_LOG10El): Likewise.
8284 (M_LN2l): Likewise.
8285 (M_LN10l): Likewise.
8286 (M_PIl): Likewise.
8287 (M_PI_2l): Likewise.
8288 (M_PI_4l): Likewise.
8289 (M_1_PIl): Likewise.
8290 (M_2_PIl): Likewise.
8291 (M_2_SQRTPIl): Likewise.
8292 (M_SQRT2l): Likewise.
8293 (M_SQRT1_2l): Likewise.
8294
f230c29b
DM
82952012-05-31 David S. Miller <davem@davemloft.net>
8296
8297 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8298 values between float registers.
8299 * sysdeps/sparc/sparc64/memset.S: Likewise.
8300 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8301
fed806c3
MF
83022012-05-31 Mike Frysinger <vapier@gentoo.org>
8303
8304 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8305 -D_FORTIFY_SOURCE=1.
8306 (CPPFLAGS-tst-longjmp_chk.c): Define.
8307 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8308 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8309 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8310 CFLAGS-tst-wchar-h.c.
8311
30917259
MP
83122012-05-31 Marek Polacek <polacek@redhat.com>
8313
8314 [BZ #14132]
8315 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8316 __endmntent_internal): Remove declaration.
8317 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8318 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8319 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8320
1c58d5dc
DM
83212012-05-30 David S. Miller <davem@davemloft.net>
8322
8323 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8324 (___Q_simulate_exceptions): Use real FP ops rather than writing
8325 into the %fsr.
8326 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8327 Likewise.
8328
7dc00e0d
L
83292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8330
8331 [BZ #14117]
0bd53985
L
8332 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8333 * sysdeps/x86/bits/xtitypes.h: This.
8334
3a257e66
L
8335 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8336 * sysdeps/x86/bits/wordsize.h: This.
8337
62f62904
L
8338 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8339 * sysdeps/x86/bits/huge_vall.h: This.
8340
404fe9d9
L
8341 * sysdeps/i386/bits/select.h: Removed.
8342 * sysdeps/x86_64/bits/select.h: Renamed to ...
8343 * sysdeps/x86/bits/select.h: This.
8344
d48d0446
L
8345 * sysdeps/i386/bits/setjmp.h: Removed.
8346 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8347 * sysdeps/x86/bits/setjmp.h: This.
8348
7dc00e0d
L
8349 * sysdeps/i386/bits/mathdef.h: Removed.
8350 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8351 * sysdeps/x86/bits/mathdef.h: This.
8352
03277f8f
AS
83532012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8354
8355 [BZ #14132]
8356 * include/sys/socket.h (__connect_internal)
8357 (__libc_sa_len_internal): Remove declaration.
8358 (__connect, __libc_sa_len): Declare hidden_proto.
8359 (SA_LEN): Remove use of INTUSE.
8360 * socket/connect.c: Add libc_hidden_def.
8361 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8362 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8363 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8364 alias.
8365 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8366 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8367 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8368 of adding _internal alias.
8369
13764867
L
83702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8371
8372 [BZ #14117]
6bd97696
L
8373 * sysdeps/i386/bits/link.h: Removed.
8374 * sysdeps/i386/bits/linkmap.h: Likewise.
8375 * sysdeps/x86_64/bits/link.h: Renamed to ...
8376 * sysdeps/x86/bits/link.h: This.
8377 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8378 * sysdeps/x86/bits/linkmap.h: This.
8379
f726f0bb
L
8380 * sysdeps/i386/bits/endian.h: Removed.
8381 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8382 * sysdeps/x86/bits/endian.h: This.
8383
13764867
L
8384 * sysdeps/i386/bits/byteswap.h: Removed.
8385 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8386 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8387 * sysdeps/x86/bits/byteswap.h: This.
8388 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8389 * sysdeps/x86/bits/byteswap-16.h: This.
8390 * sysdeps/i386/Implies: Add x86.
8391 * sysdeps/x86_64/Implies: Likewise.
8392
ae251b0b
DM
83932012-05-30 David S. Miller <davem@davemloft.net>
8394
8395 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8396 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8397 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8398 (FP_TRAPPING_EXCEPTIONS): Define.
8399 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8400 (FP_TRAPPING_EXCEPTIONS): Define.
8401 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8402 subnormals only when inexact has been signalled or underflow
8403 exceptions are enabled.
8404 (_FP_PACK_CANONICAL): Likewise.
8405
d5c90867
L
84062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8407
8408 [BZ #14183]
8409 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8410 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8411
63f1549e
RH
84122012-05-30 Richard Henderson <rth@twiddle.net>
8413
8d8f2279
RH
8414 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8415 with #ifndef NOT_IN_libc.
8416
63f1549e
RH
8417 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8418 marked to avoid plt entry.
8419
0ab0291b
L
84202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8421
8422 [BZ #14112]
8423 * Makeconfig (default-abi): New macro.
8424 (abi-includes): Likewise.
8425 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8426 $(abi-$(default-abi)-lib-soname) for soname if defined.
8427 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8428 abi-variants.
8429 * Makefile (installed-stubs): Likewise.
8430 * include/stubs-biarch.h: Removed.
8431 * scripts/lib-names.awk: Only handle one library at a time.
8432 * scripts/soversions.awk: Remove WORDSIZE support.
8433 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8434 entries.
8435 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8436 Removed.
8437 (syscall-list-default-condition): Likewise.
8438 (syscall-list-default-condition): Likewise.
8439 (syscall-list-includes): Likewise.
8440 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8441 syscall-list-* with abi-*. Handle undefined abi-variants.
8442 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8443 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8444 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8445 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8446 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8447 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8448 Removed.
8449 (syscall-list-32-options): Likewise.
8450 (syscall-list-32-condition): Likewise.
8451 (syscall-list-64-options): Likewise.
8452 (syscall-list-64-condition): Likewise.
8453 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8454 macro.
8455 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8456 Renamed to ...
8457 (abi-*): This.
8458 (abi-64-ld-soname): New macro.
8459 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8460 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8461 Renamed to ...
8462 (abi-*): This.
8463 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8464 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8465
4da0431d
JM
84662012-05-30 Joseph Myers <joseph@codesourcery.com>
8467
3a85279c
JM
8468 * sysdeps/unix/sysv/linux/kernel-features.h
8469 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8470 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8471 include <kernel-features.h>.
8472 [!__NR_ftruncate64]: Remove conditional code.
8473 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8474 [__NR_ftruncate64]: Make code unconditional.
8475 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8476 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8477 include <kernel-features.h>.
8478 [!__NR_ftruncate64]: Remove conditional code.
8479 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8480 [__NR_ftruncate64]: Make code unconditional.
8481 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8483 include <kernel-features.h>.
8484 [!__NR_ftruncate64]: Remove conditional code.
8485 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8486 [__NR_ftruncate64]: Make code unconditional.
8487 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8489 include <kernel-features.h>.
8490 [!__NR_ftruncate64]: Remove conditional code.
8491 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8492 [__NR_ftruncate64]: Make code unconditional.
8493 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8494
4da0431d
JM
8495 * configure.in (libc_cv_fpie): Weaken to a compile test using
8496 LIBC_TRY_CC_OPTION.
8497 * configure: Regenerated.
8498
11ef492c
AK
84992012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8500
8501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8505 Refreshed.
8506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8512 Refreshed.
8513
d66ef399
DM
85142012-05-27 David S. Miller <davem@davemloft.net>
8515
8516 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8517 (___Q_zero): New.
8518 (__Q_simulate_exceptions): Return void. Change to simulate
8519 exceptions by writing into the %fsr.
8520 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8521 (__Qp_handle_exceptions): Likewise.
8522 (numbers): Delete.
8523 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8524 __Qp_handle_exceptions.
8525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8526 __Qp_handle_exceptions.
8527 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8528 as unused and give dummy FP_RND_NEAREST initializer.
8529 (FP_INHIBIT_RESULTS): Define.
8530 (___Q_simulate_exceptions): Update declaration.
8531 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8532 formatting.
8533 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8534 as unused and give dummy FP_RND_NEAREST initializer.
8535 (__Qp_handle_exceptions): Update declaration.
8536 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8537 formatting.
8538
04fb54b5
TS
85392012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8540
8541 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8542 the temporary FPU control word.
8543 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8544 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8545 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8546 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8547 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8548 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8549 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8550 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8551 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8552 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8553 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8554
3f99608f
KK
85552012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8556
8557 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8558 fields.
8559
65a4de4e
CLT
85602012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8561
8562 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8563 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8564 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8565 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8566 Likewise.
8567 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8568 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8569 Likewise.
8570
15749d40
UD
85712012-05-27 Ulrich Drepper <drepper@gmail.com>
8572
8573 * po/h.po: Update from translation team.
8574
25dbcb27
AS
85752012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8576
3d3f8e55
AS
8577 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8578
25dbcb27
AS
8579 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8580 handling of denormals.
8581 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8582 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8583 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8584 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8586 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8588 Likewise.
8589
7ad47a80 85902012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8591
8592 [BZ #14152]
8593 * math/libm-test.inc (fma_test): Don't always expect underflow
8594 exception.
8595
9c6ea9fa
SP
85962012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8597
8598 [BZ #12416]
8599 * elf/tst-execstack.c: Include stackinfo.h.
8600 (do_test): Adjust test case to ensure that pthread_getattr_np
8601 behaviour remains the same after marking stack executable.
8602
a8239222
JM
86032012-05-25 Joseph Myers <joseph@codesourcery.com>
8604
8605 * sysdeps/unix/sysv/linux/kernel-features.h
8606 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8607 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8608 kernel-features.h.
8609 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8610 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8611 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8612 kernel-features.h.
8613 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8614 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8615
918b5606
L
86162012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8617
8618 * configure.in: Define the default includes to being none.
8619 * configure: Regenerated.
8620
3a097cc7
RM
86212012-05-25 Roland McGrath <roland@hack.frob.com>
8622
8422c9a5
RM
8623 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8624 * sysdeps/x86_64/setjmp.S: Likewise.
8625 * sysdeps/i386/bsd-setjmp.S: Likewise.
8626 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8627 * sysdeps/i386/setjmp.S: Likewise.
8628 * sysdeps/i386/__longjmp.S: Likewise.
8629 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8631
3a097cc7
RM
8632 * include/stap-probe.h: New file.
8633 * configure.in: Handle --enable-systemtap.
8634 * configure: Regenerated.
8635 * config.h.in (USE_STAP_PROBE): New #undef.
8636 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8637 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8638 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8639
21708942
JM
86402012-05-25 Joseph Myers <joseph@codesourcery.com>
8641
8642 [BZ #13717]
8643 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8644 to 2.4.0 where earlier.
8645 * sysdeps/unix/sysv/linux/configure: Regenerated.
8646 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8647 <kernel-features.h>.
8648 [__ASSUME_32BITUIDS]: Make code unconditional.
8649 [!__ASSUME_32BITUIDS]: Remove conditional code.
8650 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8651 <kernel-features.h>.
8652 [__ASSUME_32BITUIDS]: Make code unconditional.
8653 [!__ASSUME_32BITUIDS]: Remove conditional code.
8654 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8655 [__ASSUME_32BITUIDS]: Make code unconditional.
8656 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8657 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8658 <kernel-features.h>.
8659 [__ASSUME_32BITUIDS]: Make code unconditional.
8660 [!__ASSUME_32BITUIDS]: Remove conditional code.
8661 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8662 <kernel-features.h>.
8663 [__ASSUME_32BITUIDS]: Make code unconditional.
8664 [!__ASSUME_32BITUIDS]: Remove conditional code.
8665 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8666 <kernel-features.h>.
8667 [__ASSUME_32BITUIDS]: Make code unconditional.
8668 [!__ASSUME_32BITUIDS]: Remove conditional code.
8669 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8670 <kernel-features.h>.
8671 [__ASSUME_32BITUIDS]: Make code unconditional.
8672 [!__ASSUME_32BITUIDS]: Remove conditional code.
8673 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8674 <kernel-features.h>.
8675 [__ASSUME_32BITUIDS]: Make code unconditional.
8676 [!__ASSUME_32BITUIDS]: Remove conditional code.
8677 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8678 <kernel-features.h>.
8679 [__ASSUME_32BITUIDS]: Make code unconditional.
8680 [!__ASSUME_32BITUIDS]: Remove conditional code.
8681 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8682 <kernel-features.h>.
8683 [__ASSUME_32BITUIDS]: Make code unconditional.
8684 [!__ASSUME_32BITUIDS]: Remove conditional code.
8685 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8686 <kernel-features.h>.
8687 [__ASSUME_32BITUIDS]: Make code unconditional.
8688 [!__ASSUME_32BITUIDS]: Remove conditional code.
8689 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8690 <kernel-features.h>.
8691 [__ASSUME_32BITUIDS]: Make code unconditional.
8692 [!__ASSUME_32BITUIDS]: Remove conditional code.
8693 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
8698 <kernel-features.h>.
8699 [__NR_setresgid] (__setresgid): Do not declare.
8700 [__ASSUME_32BITUIDS]: Make code unconditional.
8701 [!__ASSUME_32BITUIDS]: Remove conditional code.
8702 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8703 <kernel-features.h>.
8704 [__NR_setresuid] (__setresuid): Do not declare.
8705 [__ASSUME_32BITUIDS]: Make code unconditional.
8706 [!__ASSUME_32BITUIDS]: Remove conditional code.
8707 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8708 <kernel-features.h>.
8709 [__ASSUME_32BITUIDS]: Make code unconditional.
8710 [!__ASSUME_32BITUIDS]: Remove conditional code.
8711 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8712 <kernel-features.h>.
8713 [__ASSUME_32BITUIDS]: Make code unconditional.
8714 [!__ASSUME_32BITUIDS]: Remove conditional code.
8715 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8716 <kernel-features.h>.
8717 [__ASSUME_32BITUIDS]: Make code unconditional.
8718 [!__ASSUME_32BITUIDS]: Remove conditional code.
8719 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8720 <kernel-features.h>.
8721 [__ASSUME_32BITUIDS]: Make code unconditional.
8722 [!__ASSUME_32BITUIDS]: Remove conditional code.
8723 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8724 <kernel-features.h>.
8725 [__ASSUME_32BITUIDS]: Make code unconditional.
8726 [!__ASSUME_32BITUIDS]: Remove conditional code.
8727 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8728 <kernel-features.h>.
8729 [__ASSUME_32BITUIDS]: Make code unconditional.
8730 [!__ASSUME_32BITUIDS]: Remove conditional code.
8731 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8732 <kernel-features.h>.
8733 [__ASSUME_32BITUIDS]: Make code unconditional.
8734 [!__ASSUME_32BITUIDS]: Remove conditional code.
8735 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8736 <kernel-features.h>.
8737 [__ASSUME_32BITUIDS]: Make code unconditional.
8738 [!__ASSUME_32BITUIDS]: Remove conditional code.
8739 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8740 <kernel-features.h>.
8741 [__ASSUME_32BITUIDS]: Make code unconditional.
8742 [!__ASSUME_32BITUIDS]: Remove conditional code.
8743 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8744 <kernel-features.h>.
8745 [__ASSUME_32BITUIDS]: Make code unconditional.
8746 [!__ASSUME_32BITUIDS]: Remove conditional code.
8747 * sysdeps/unix/sysv/linux/kernel-features.h
8748 (__ASSUME_SETRESUID_SYSCALL): Remove.
8749 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8750 (__ASSUME_32BITUIDS): Likewise.
8751 (__ASSUME_LDT_WORKS): Likewise.
8752 (__ASSUME_O_DIRECTORY): Likewise.
8753 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8754 architecture but not kernel version.
8755 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8756 (__ASSUME_MMAP2_SYSCALL): Likewise.
8757 (__ASSUME_STAT64_SYSCALL): Likewise.
8758 (__ASSUME_IPC64): Likewise.
8759 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8760 <kernel-features.h>.
8761 [__ASSUME_32BITUIDS]: Make code unconditional.
8762 [!__ASSUME_32BITUIDS]: Remove conditional code.
8763 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8764 <kernel-features.h>.
8765 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8766 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8767 132096]: Remove conditional code.
8768 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8769 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8770 <kernel-features.h>.
8771 [__ASSUME_32BITUIDS]: Make code unconditional.
8772 [!__ASSUME_32BITUIDS]: Remove conditional code.
8773 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8774 <kernel-features.h>.
8775 [__ASSUME_32BITUIDS]: Make code unconditional.
8776 [!__ASSUME_32BITUIDS]: Remove conditional code.
8777 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8778 <kernel-features.h>.
8779 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8780 unconditional.
8781 (__setresgid): Do not declare.
8782 [__ASSUME_32BITUIDS]: Make code unconditional.
8783 [!__ASSUME_32BITUIDS]: Remove conditional code.
8784 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8785 <kernel-features.h>.
8786 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8787 unconditional.
8788 (__setresuid): Do not declare.
8789 [__ASSUME_32BITUIDS]: Make code unconditional.
8790 [!__ASSUME_32BITUIDS]: Remove conditional code.
8791 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8792 <kernel-features.h>.
8793 [__ASSUME_32BITUIDS]: Make code unconditional.
8794 [!__ASSUME_32BITUIDS]: Remove conditional code.
8795 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8796 <kernel-features.h>.
8797 [__ASSUME_32BITUIDS]: Make code unconditional.
8798 [!__ASSUME_32BITUIDS]: Remove conditional code.
8799
a386f1cc
RH
88002012-05-25 Richard Henderson <rth@twiddle.net>
8801
8802 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8803 dl_hwcap to ifunc resolver.
8804 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8805 elf_ifunc_invoke.
8806 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8807 dl_hwcap to ifunc resolver.
8808 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8809
b6550497
JM
88102012-05-24 Joseph Myers <joseph@codesourcery.com>
8811
8812 [BZ #14153]
8813 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8814 for |x| <= 2**-26, not 2**-57.
8815 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8816 exception.
8817
b0bc23a1
JL
88182012-05-24 Jeff Law <law@redhat.com>
8819
8820 * stdio-common/Makefile (tests): Add bug25.
8821 * stdio-common/bug25.c: New test.
8822
347c92e9
L
88232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8824
8825 [BZ #13576]
8826 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8827 multiple of MALLOC_ALIGNMENT in size.
8828 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8829
6bcc8b3f
JM
88302012-05-24 Joseph Myers <joseph@codesourcery.com>
8831
8832 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8833 Require >= 256.
8834 (FILENAME_MAX): Use macro-int-constant.
8835 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8836 (_IOFBF): Use macro-int-constant.
8837 (_IOLBF): Likewise.
8838 (_IONBF): Likewise.
8839 (SEEK_CUR): Likewise.
8840 (SEEK_END): Likewise.
8841 (SEEK_SET): Likewise.
8842 (TMP_MAX): Likewise.
8843 (EOF): Use macro-int-constant. Require < 0.
8844 (NULL): Use macro-constant. Require == 0.
8845 (stdin): Require type to be FILE *.
8846 (stdout): Likewise.
8847 (stderr): Likewise.
8848 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8849 macro-int-constant.
8850 (EXIT_SUCCESS): Likewise.
8851 (NULL): Use macro-constant. Require == 0.
8852 (RAND_MAX): Use macro-int-constant.
8853 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8854 [C99-based standards] (strtof): Require function.
8855 [C99-based standards] (strtold): Likewise.
8856 [C99-based standards] (strtoll): Likewise.
8857 [C99-based standards] (strtoull): Likewise.
8858 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8859 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8860 [ISO || ISO99 || ISO11] (math.h): Likewise.
8861 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8862 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8864
d18ea0c5
AS
88652012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8866
8867 [BZ #14132]
56d25bb8
AS
8868 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8869 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8870 * intl/dgettext.c (DCGETTEXT): Likewise.
8871 * intl/gettext.c (DCGETTEXT): Likewise.
8872 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8873 * posix/regex_internal.h (gettext): Likewise.
8874 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8875 Remove declaration.
8876 * include/argz.h (__argz_count_internal)
8877 (__argz_stringify_internal): Remove declaration.
8878 (__argz_count, __argz_stringify): Declare hidden proto.
8879 * intl/dcgettext.c: Remove use of INTDEF.
8880 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8881 * string/argz-stringify.c: Likewise.
8882 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8883 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8884 Declare hidden proto.
d18ea0c5
AS
8885 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8886 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8887 Declare hidden proto.
8888 * include/stdio.h (__asprintf_internal): Don't declare.
8889 (__asprintf): Don't define as macro. Declare hidden proto.
8890 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8891 (__fsetlocking): Declare hidden proto.
8892 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8893 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8894 hidden proto.
8895 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8896 (_IO_setlinebuf): Remove use of INTUSE.
8897 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8898 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8899 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8900 Remove declaration.
8901 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8902 (_IO_do_flush): Remove use of INTUSE.
8903 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8904 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8905 (_IO_adjust_column, _IO_least_wmarker)
8906 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8907 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8908 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8909 (_IO_default_doallocate, _IO_wdefault_doallocate)
8910 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8911 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8912 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8913 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8914 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8915 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8916 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8917 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8918 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8919 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8920 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8921 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8922 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8923 proto.
8924 (_IO_flush_all_internal, _IO_adjust_column_internal)
8925 (_IO_default_uflow_internal, _IO_default_finish_internal)
8926 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8927 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8928 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8929 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8930 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8931 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8932 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8933 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8934 (_IO_file_close_internal, _IO_file_close_it_internal)
8935 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8936 (_IO_file_init_internal, _IO_file_attach_internal)
8937 (_IO_file_fopen_internal, _IO_file_read_internal)
8938 (_IO_file_sync_internal, _IO_file_seek_internal)
8939 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8940 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8941 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8942 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8943 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8944 (_IO_list_all_internal, _IO_link_in_internal)
8945 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8946 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8947 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8948 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8949 (_IO_do_write_internal, _IO_padn_internal)
8950 (_IO_getline_info_internal, _IO_getline_internal)
8951 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8952 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8953 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8954 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8955 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8956 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8957 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8958 with libc_hidden_ver, remove use of INTUSE.
8959 * libio/genops.c: Likewise.
8960 * libio/freopen.c: Likewise.
8961 * libio/freopen64.c: Likewise.
8962 * libio/iofclose.c: Likewise.
8963 * libio/iofdopen.c: Likewise.
8964 * libio/iofflush.c: Likewise.
8965 * libio/iofflush_u.c: Likewise.
8966 * libio/iofgets.c: Likewise.
8967 * libio/iofgets_u.c: Likewise.
8968 * libio/iofopen.c: Likewise.
8969 * libio/iofopncook.c: Likewise.
8970 * libio/iofread.c: Likewise.
8971 * libio/iofread_u.c: Likewise.
8972 * libio/ioftell.c: Likewise.
8973 * libio/iofwrite.c: Likewise.
8974 * libio/iogetline.c: Likewise.
8975 * libio/iogets.c: Likewise.
8976 * libio/iogetwline.c: Likewise.
8977 * libio/iopadn.c: Likewise.
8978 * libio/iopopen.c: Likewise.
8979 * libio/ioseekoff.c: Likewise.
8980 * libio/ioseekpos.c: Likewise.
8981 * libio/iosetbuffer.c: Likewise.
8982 * libio/iosetvbuf.c: Likewise.
8983 * libio/ioungetc.c: Likewise.
8984 * libio/ioungetwc.c: Likewise.
8985 * libio/iovdprintf.c: Likewise.
8986 * libio/iovsprintf.c: Likewise.
8987 * libio/iovsscanf.c: Likewise.
8988 * libio/memstream.c: Likewise.
8989 * libio/obprintf.c: Likewise.
8990 * libio/oldfileops.c: Likewise.
8991 * libio/oldiofclose.c: Likewise.
8992 * libio/oldiofdopen.c: Likewise.
8993 * libio/oldiofopen.c: Likewise.
8994 * libio/oldiopopen.c: Likewise.
8995 * libio/oldstdfiles.c: Likewise.
8996 * libio/putc.c: Likewise.
8997 * libio/setbuf.c: Likewise.
8998 * libio/setlinebuf.c: Likewise.
8999 * libio/stdfiles.c: Likewise.
9000 * libio/strops.c: Likewise.
9001 * libio/vasprintf.c: Likewise.
9002 * libio/vscanf.c: Likewise.
9003 * libio/vsnprintf.c: Likewise.
9004 * libio/vswprintf.c: Likewise.
9005 * libio/wfiledoalloc.c: Likewise.
9006 * libio/wfileops.c: Likewise.
9007 * libio/wgenops.c: Likewise.
9008 * libio/wmemstream.c: Likewise.
9009 * libio/wstrops.c: Likewise.
9010 * libio/__fpurge.c: Likewise.
9011 * libio/__fsetlocking.c: Likewise.
9012 * assert/assert.c: Likewise.
9013 * debug/fgets_chk.c: Likewise.
9014 * debug/fgets_u_chk.c: Likewise.
9015 * debug/fread_chk.c: Likewise.
9016 * debug/fread_u_chk.c: Likewise.
9017 * debug/gets_chk.c: Likewise.
9018 * debug/obprintf_chk.c: Likewise.
9019 * debug/vasprintf_chk.c: Likewise.
9020 * debug/vdprintf_chk.c: Likewise.
9021 * debug/vsnprintf_chk.c: Likewise.
9022 * debug/vsprintf_chk.c: Likewise.
9023 * malloc/mtrace.c: Likewise.
9024 * misc/error.c: Likewise.
9025 * misc/syslog.c: Likewise.
9026 * stdio-common/asprintf.c: Likewise.
9027 * stdio-common/fxprintf.c: Likewise.
9028 * stdio-common/getw.c: Likewise.
9029 * stdio-common/isoc99_fscanf.c: Likewise.
9030 * stdio-common/isoc99_scanf.c: Likewise.
9031 * stdio-common/isoc99_vfscanf.c: Likewise.
9032 * stdio-common/isoc99_vscanf.c: Likewise.
9033 * stdio-common/isoc99_vsscanf.c: Likewise.
9034 * stdio-common/printf-prs.c: Likewise.
9035 * stdio-common/printf_fp.c: Likewise.
9036 * stdio-common/printf_fphex.c: Likewise.
9037 * stdio-common/printf_size.c: Likewise.
9038 * stdio-common/putw.c: Likewise.
9039 * stdio-common/scanf.c: Likewise.
9040 * stdio-common/sprintf.c: Likewise.
9041 * stdio-common/tmpfile.c: Likewise.
9042 * stdio-common/vfprintf.c: Likewise.
9043 * stdio-common/vfscanf.c: Likewise.
9044 * stdlib/strfmon_l.c: Likewise.
9045 * sunrpc/openchild.c: Likewise.
9046 * sunrpc/xdr_stdio.c: Likewise.
9047 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9048 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9049
d6c33fda
RM
90502012-05-24 Roland McGrath <roland@hack.frob.com>
9051
c1487492
RM
9052 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9053
9054 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9055 in the third column, to generate for the shared library an IFUNC
9056 that uses _dl_vdso_vsym.
9057 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9058 * Makeconfig (object-suffixes-noshared): New variable.
9059
9060 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9061 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9062 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9063 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9064
d6c33fda
RM
9065 [BZ #14132]
9066 * include/sys/time.h (__gettimeofday): Remove macro.
9067 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9068 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9069 Remove INTDEF.
9070 (__gettimeofday): Add libc_hidden_def.
9071 (gettimeofday): Add libc_hidden_weak.
9072 * sysdeps/mach/gettimeofday.c: Likewise.
9073 * sysdeps/posix/gettimeofday.c: Likewise.
9074 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9075 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9077 (__gettimeofday_internal): Remove strong_alias.
9078 (__gettimeofday): Add libc_hidden_def.
9079 (gettimeofday): Add libc_hidden_weak.
9080 * sysdeps/unix/syscalls.list (gettimeofday):
9081 Remove __gettimeofday_internal alias.
9082
b5a2bbe6
L
90832012-05-24 Daniel Jacobowitz <drow@false.org>
9084 H.J. Lu <hongjiu.lu@intel.com>
9085
9086 [BZ #12495]
9087 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9088 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9089 (largebin_index_32_big): New.
9090 (largebin_index): Use it for 16-byte alignment.
9091 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9092 correction with front_misalign.
9093
cfba4fda
L
90942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9095
7f907421
L
9096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9098 Likewise.
9099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9100 Likewise.
9101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9102 Likewise.
9103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9104 Likewise.
9105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9106 Likewise.
9107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9108 Likewise.
9109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9110 Likewise.
9111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9112 Likewise.
9113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9114 Likewise.
9115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9116 Likewise.
9117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9118 Likewise.
9119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9120 Likewise.
9121
cfba4fda
L
9122 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9123 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9124
80bad0cc
JM
91252012-05-24 Joseph Myers <joseph@codesourcery.com>
9126
7a25eb06
JM
9127 [BZ #10846]
9128 [BZ #14036]
9129 * math/libm-test.inc (exp_test): Add test from bug 14036.
9130 (pow_test): Add test from bug 10846.
9131
795405f9
JM
9132 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9133 and other flags.
9134 (special_function): Do not include flags in test name.
9135 (parse_args): Likewise.
9136 * sysdeps/i386/fpu/libm-test-ulps: Update.
9137 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9138 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9139 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9141
80bad0cc
JM
9142 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9143 exceptions.
9144 * math/libm-test.inc ("Philosophy"): Update comment about
9145 exception testing.
9146 (UNDERFLOW_EXCEPTION): New macro.
9147 (UNDERFLOW_EXCEPTION_OK): Likewise.
9148 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9149 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9150 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9151 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9152 (INVALID_EXCEPTION_OK): Update value.
9153 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9154 (OVERFLOW_EXCEPTION_OK): Likewise.
9155 (IGNORE_ZERO_INF_SIGN): Likewise.
9156 (test_exceptions): Handle underflow exceptions.
9157 (acos_test): Update for underflow exception expectations.
9158 (cexp_test): Likewise.
9159 (clog_test): Likewise.
9160 (clog10_test): Likewise.
9161 (csqrt_test): Likewise.
9162 (ctan_test): Likewise.
9163 (ctanh_test): Likewise.
9164 (exp_test): Likewise.
9165 (exp10_test): Likewise.
9166 (exp2_test): Likewise.
9167 (expm1_test): Likewise.
9168 (fma_test): Likewise.
9169 (j0_test): Likewise.
9170 (jn_test): Likewise.
9171 (nexttoward_test): Likewise.
9172 (pow_test): Likewise.
9173 (scalbn_test): Likewise.
9174 (scalbln_test): Likewise.
9175 (tan_test): Likewise.
9176 (y1_test): Likewise.
9177 * sysdeps/i386/fpu/libm-test-ulps: Update.
9178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9179
9e0e3d0b
DM
91802012-05-23 David S. Miller <davem@davemloft.net>
9181
9182 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9183 (__libc_sigaction): Remove unused local variables.
9184
ccd0a08f
L
91852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9186
9187 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9188
62bdf9a6
PE
91892012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9190
f8591f80
PE
9191 mktime: avoid signed integer overflow
9192 * time/mktime.c (__mktime_internal): Do not mishandle the case
9193 where diff == INT_MIN.
9194
94c7d826
PE
9195 mktime: simplify computation of average
9196 * time/mktime.c (ranged_convert): Use new time_t_avg function
9197 instead of rolling our own (probably-slower) code.
9198
ce73d683
PE
9199 mktime: do not assume signed right shift propagates sign bit
9200 * time/mktime.c (isdst_differ): New static function.
9201 (__mktime_internal): No need to normalize tm_isdst now.
9202 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9203 tm_isdst values.
9204
72a22e59
PE
9205 mktime: merge another wrapv change from gnulib
9206 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9207 from some compilers.
9208
68605433
PE
9209 mktime: remove incorrect attempt at unusual arithmetics
9210 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9211 The code didn't really work on such machines anyway.
9212 (TYPE_MINIMUM): Assume two's complement.
9213 (twos_complement_arithmetic): Verify that long_int and time_t
9214 are two's complement (or unsigned, in the latter case).
9215
03cf7fe3
PE
9216 mktime: check signed shifts on long_int and time_t, too
9217 * time/mktime.c (SHR): Check that shifts work as desired
9218 on the types long_int and time_t too, as SHR is used on
9219 such types.
9220
f04dfbc2
PE
9221 mktime: do not assume 'long' is wide enough
9222 * time/mktime.c (verify): Move decl up.
9223 (long_int): New type.
9224 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9225 to remove assumption in the code that 'long' is wide enough to
9226 store year values. This assumption is not true on x32 and on
9227 some non-glibc platforms.
9228
62bdf9a6
PE
9229 mktime: merge wrapv change from gnulib
9230 * time/mktime.c (WRAPV): New macro.
9231 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9232 (guess_time_tm, __mktime_internal): Do not assume that signed
9233 integer overflow wraps around; modern compilers generate code
9234 where this assumption is no longer valid.
9235
5e292e4f
L
92362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9237
9238 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9239 Replace "jmp L(pseudo_end)" with "ret".
9240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9241 Likewise.
9242
8caf8c87
AJ
92432012-05-23 Andreas Jaeger <aj@suse.de>
9244
9245 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9246 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9247
1a09dc56
AJ
92482012-05-23 Andreas Jaeger <aj@suse.de>
9249 Maximilian Attems <max@stro.at>
9250
9251 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9252 New macros.
9253
1c87aba0
L
92542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9255
9256 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9257 code so that pseudo_end is just ret and the stack pointer is
9258 correct also for static library in error case.
9259
40e45bd5
JM
92602012-05-23 Joseph Myers <joseph@codesourcery.com>
9261
c2670533
JM
9262 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9263 move to syscalls.list.
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9268
40e45bd5
JM
9269 * manual/install.texi (Running make install): Do not mention Linux
9270 kernel version for which pt_chown is not needed.
9271 (Linux): Do not mention problems with nscd with 2.0 kernels.
9272 * INSTALL: Regenerated.
9273
be08eda5
AJ
92742012-05-23 Andreas Jaeger <aj@suse.de>
9275
9276 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9277 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9278 macro.
9279 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9280 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9281 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9282 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9283 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9284 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9285 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9286 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9287 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9288 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9289 * sysdeps/unix/sysv/linux/bits/in.h
9290 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9291
a6a056bb
RM
92922012-05-22 Roland McGrath <roland@hack.frob.com>
9293
9294 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9295 (PREPARE_VERSION): Just use assert instead, it will be elided
9296 under [NDEBUG] anyway.
9297
c9009328
L
92982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9299
9300 * sysdeps/unix/sysv/linux/Makefile: Include
9301 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9302 (sysdep_routines): Remove sysctl.
c9009328
L
9303 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9304 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9305 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9306 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9307 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9308
73338355
AJ
93092012-05-22 Andreas Jaeger <aj@suse.de>
9310
9311 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9312 that pseudo_end is just ret and the stack pointer is correct also
9313 for static library in error case.
9314
d44638b0
PP
93152012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9316
9317 [BZ #14122]
9318 * nss/nsswitch.c (defconfig_entries): New variable.
9319 (__nss_database_lookup): Don't leak defconfig entries.
9320 (nss_parse_service_list): Don't leak on error paths.
9321 (free_database_entries): New function.
9322 (free_defconfig): New function.
9323 (free_mem): Move common code to free_database_entries.
9324
31a39bd8
L
93252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9326
da0331a8
L
9327 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9328 Add arch_prctl.
9329 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9330
31a39bd8
L
9331 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9332 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9334 New macro.
9335 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9336 (INTERNAL_SYSCALL_TYPES): Likewise.
9337 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9338 (LOAD_REGS_TYPES_[1-6]): Likewise.
9339 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9340 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9341
45470df3
AZ
93422012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9343
9344 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9345 copysignl for GLIBC_2_0.
9346 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9347 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9349 logbl for GLIBC_2_0.
9350 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9351 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9352
98a61bcb
L
93532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9354
a4f6e481
L
9355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9356 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9357
f63d5db6
L
9358 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9359 Use "neg %eax".
9360
98a61bcb
L
9361 * time/mktime.c: Update copyright years.
9362
95770f14
PE
93632012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9364
6226efbd
PE
9365 mktime: merge comment-quoting-style change from gnulib
9366 * time/mktime.c: Quote 'like this' in comments.
9367 The GNU coding standards suggest that we no longer quote `like this',
9368 as "`" and "'" are typically rendered asymmetrically nowadays.
9369 The typical gnulib style is to quote 'like this' when quoting
9370 code, and "like this" when quoting English.
9371
b99e4f78
PE
9372 * time/mktime.c (compile-command): Add "-I.".
9373
643e01e6
PE
9374 mktime: merge mktime-internal.h change from gnulib
9375 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9376
2554247d
PE
9377 mktime: merge time_r change from gnulib
9378 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9379
826dd0ab
PE
9380 mktime: merge DEBUG change from gnulib
9381 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9382 case system <time.h> has a #define.
9383
bd83aabe
PE
9384 mktime: merge <sys/types.h> change from gnulib
9385 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9386 since <time.t> is now guaranteed to define time_t.
9387
95770f14
PE
9388 mktime: merge HAVE_CONFIG_H change from gnulib
9389 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9390
5e1a27a9
L
93912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9392
0e44a77e
L
9393 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9394 Use "neg %eax".
9395
5e1a27a9
L
9396 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9397 __rlim_t cast.
9398 (struct rusage): Use anonymous union to pad each field to
9399 __syscall_slong_t.
9400
46259bec
DM
94012012-05-21 David S. Miller <davem@davemloft.net>
9402
9403 * Makefules (o-iterator): Remove .s cases.
9404 (compile-command.s): Delete.
9405 (COMPILE.s): Delete.
9406 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9407
59f0c22e
JM
94082012-05-21 Joseph Myers <joseph@codesourcery.com>
9409
9410 * configure.in (libc_cv_predef_stack_protector): Only consider
9411 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9412 * configure: Regenerated.
9413
20c07380
L
94142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9415
bbb3154b
L
9416 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9417 New macro. Use R*LP on int and pointer.
9418 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9419 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9420 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9421 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9422
20c07380
L
9423 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9424 [__WORDSIZE_TIME64_COMPAT32] instead of
9425 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9426 (struct utmp): Likewise.
9427 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9428 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9429 Renamed to ...
9430 (__WORDSIZE_TIME64_COMPAT32): This.
9431 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9432 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9433 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9434 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9435 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9436 (__WORDSIZE_TIME64_COMPAT32): New macro.
9437
d8d1017e
AJ
94382012-05-21 Andreas Jaeger <aj@suse.de>
9439
9440 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9441 only if [SHARED]. Add prototype for __wcschr_ia32.
9442
6c7fb145
RM
94432012-05-21 Roland McGrath <roland@hack.frob.com>
9444
9445 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9446 of %rbp unmolested in the jmp_buf while mangling the low bits.
9447 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9448 unmolested high bits of %rbp while demangling the low bits.
9449 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9450
66274218
AJ
94512012-05-21 Andreas Jaeger <aj@suse.de>
9452
07c58f8f
AJ
9453 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9454 * sunrpc/svc_simple.c: Use it for registerrpc.
9455 * sunrpc/xcrypt.c: Use it for passwd2des.
9456
66274218
AJ
9457 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9458
61f65140
L
94592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9460
9461 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9462 Don't define if [__SYSCALL_WORDSIZE != 32].
9463 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9464 New macro.
9465
5fefb436
AJ
94662012-05-21 Bruno Haible <bruno@clisp.org>
9467 Andreas Jaeger <aj@suse.de>
9468
9469 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9470 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9471 inptr and inend for must_buffer_ch.
9472 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9473 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9474 * stdio-common/Makefile (tests): Remove bug15.
9475 (bug15-ENV): Remove macro.
9476 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9477 anymore.
9478
d8e272ab
AJ
94792012-05-19 Andreas Jaeger <aj@suse.de>
9480 Roland McGrath <roland@hack.frob.com>
9481
9482 * manual/contrib.texi: Completely rewritten. It contains now an
9483 alphabetical list of contributors and their contributions.
9484
4a56a162
RH
94852012-05-21 Richard Henderson <rth@twiddle.net>
9486
9487 * misc/getauxval.c (__getauxval): Use unsigned long int.
9488 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9489 (getauxval): Use unsigned long int.
9490
d024d23c
L
94912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9492
9493 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9494
cbc00a03
RM
94952012-05-21 Roland McGrath <roland@hack.frob.com>
9496
9497 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9498 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9499 __alignof__ (long double).
9500
478143fa
AZ
95012012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9502
9503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9504
c7683a6d
RH
95052012-05-20 Richard Henderson <rth@twiddle.net>
9506
9507 * misc/getauxval.c: New file.
9508 * misc/sys/auxv.h: New file.
9509 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9510 (routines): Add getauxval.
9511 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9512 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9513 * elf/dl-sysdep.c (_dl_auxv): Remove.
9514 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9515 * elf/dl-support.c (_dl_auxv): New variable.
9516 (_dl_aux_init): Initialize it.
9517 * manual/startup.texi (Auxiliary Vector): New node.
9518 * sysdeps/generic/bits/hwcap.h: New file.
9519 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9520 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9521 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9522 * sysdeps/sparc/sysdep.h: ... here. Include it.
9523 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9524 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9526 Update.
c7683a6d
RH
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9535
a6f1845d
AZ
95362012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9537
9538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9539
cbcbe830
DM
95402012-05-19 David S. Miller <davem@davemloft.net>
9541
9542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9543
e0b16cc2
JM
95442012-05-19 Joseph Myers <joseph@codesourcery.com>
9545
9546 [BZ #14123]
9547 * math/s_ccosh.c: Include <float.h>
9548 (__ccosh): Avoid internal overflow calculating sinh and cosh
9549 values before multiplying by sin and cos values.
9550 * math/s_ccoshf.c: Likewise.
9551 * math/s_ccoshl.c: Likewise.
9552 * math/s_csin.c: Likewise.
9553 * math/s_csinf.c: Likewise.
9554 * math/s_csinl.c: Likewise.
9555 * math/s_csinh.c: Likewise.
9556 * math/s_csinhf.c: Likewise.
9557 * math/s_csinhl.c: Likewise.
9558 * math/libm-test.inc (ccos_test): Add more tests.
9559 (ccosh_test): Likewise.
9560 (csin_test): Likewise.
9561 (csinh_test): Likewise.
9562 * sysdeps/i386/fpu/libm-test-ulps: Update.
9563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9564
6ad13e08
L
95652012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9566
f66f0ce8
L
9567 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9568 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9569
6ad13e08
L
9570 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9571
b1d072a7
JM
95722012-05-19 Joseph Myers <joseph@codesourcery.com>
9573
9574 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9575 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9576 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9577 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9578 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9579 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9580 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9581 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9582 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9583 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9584 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9585 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9586 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9587 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9588 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9589 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9590 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9591 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9592 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9593 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9594 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9595 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9596 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9597 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9598 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9599 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9600 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9601 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9602 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9603 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9604 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9605
9eae47cb
AJ
96062012-05-18 Andreas Jaeger <aj@suse.de>
9607
9608 * csu/.gitignore: Delete.
9609
bb07f69f
L
96102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9611
9612 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9613 (timex): Use __syscall_slong_t.
9614
e6bdb741
AJ
96152012-05-18 Andreas Jaeger <aj@suse.de>
9616 Carlos O'Donell <carlos_odonell@mentor.com>
9617
9618 * manual/install.texi (Configuring and compiling): Update
9619 description about files modified in the source directory.
d6c33fda 9620 * INSTALL: Regenerated.
e6bdb741 9621
1b74487e
L
96222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9623
9624 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9625 value. Use "or" to set return value to -1.
9626 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9627 negate return value.
9628
a88b64b9
TMQMF
96292012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9630
9631 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9632 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9633 failure if the compiler has Graphite support disabled.
9634 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9635 Likewise.
9636 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9637 CFLAGS-memmove.c): Likewise.
9638 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9639 Likewise.
9640
3707636e
L
96412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9642
610b8622
L
9643 * sysdeps/x86_64/x32/_itoa.h: New file.
9644
7cd195df
L
9645 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9646 getdents system call only if kernel and user dirents have the
9647 same d_ino and d_off.
9648
94b07d20
L
9649 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9650 LLONG_MAX != LONG_MAX.
9651 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9652 (_fitoa_word): Likewise.
9653
18298070
L
9654 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9655 years.
9656 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9657 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9658 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9659
553c7ea4
L
9660 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9661 include <bits/wordsize.h>. Check __x86_64__ instead of
9662 __WORDSIZE.
9663 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9664 if __x86_64__ is defined. Use anonymous union on fpstate.
9665
3707636e
L
9666 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9667 anonymous union.
9668
b53ef01a
AS
96692012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9670
37fb1dc0
AS
9671 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9672 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9673 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9674 Refer to _rtld_local_ro instead of _rtld_global_ro.
9675 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9676 Likewise.
9677 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9678 Likewise.
9679 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9680 Likewise.
9681 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9682 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9683 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9684
b53ef01a
AS
9685 * sysdeps/powerpc/powerpc32/dl-machine.c
9686 (__elf_machine_runtime_setup) [PROF]: Don't reference
9687 _dl_prof_resolve.
9688
7a185db2
AJ
96892012-05-18 Andreas Jaeger <aj@suse.de>
9690
9691 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9692 function only available for GCCs before 3.4 since GCC 3.4
9693 introduced a builtin.
9694 (lrint): Likewise.
9695 (llrintf): Likewise.
9696 (llrint): Likewise.
9697 (fmaxf): Likewise.
9698 (fmax): Likewise.
9699 (fminf): Likewise.
9700 (fmin): Likewise.
9701 (rint): Likewise.
9702 (rintf): Likewise.
9703 (nearbyint): Likewise.
9704 (nearbyintf): Likewise.
9705 (ceil): Likewise.
9706 (ceilf): Likewise.
9707 (floor): Likewise.
9708 (floorf): Likewise.
9709
3e5aef87
L
97102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9711
428bd707
L
9712 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9713 on both fields and cast pointer to __syscall_ulong_t.
9714
3e5aef87
L
9715 * bits/types.h (__fsword_t): New type.
9716 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9717 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9718 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9719 (__FSWORD_T_TYPE): Likewise.
9720 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9721 (__FSWORD_T_TYPE): Likewise.
9722 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9723 (__FSWORD_T_TYPE): Likewise.
9724 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9725 (__FSWORD_T_TYPE): Likewise.
9726 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9727 __SWORD_TYPE with __fsword_t.
9728 (statfs64): Likewise.
9729
1ba7c3dc
DM
97302012-05-17 David S. Miller <davem@davemloft.net>
9731
9732 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9733
59910343
AJ
97342012-05-17 Andreas Jaeger <aj@suse.de>
9735
9736 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9737 warning.
9738
2e4c1e9e
L
97392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9740
9741 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9742
de7f5ce7
AJ
97432012-05-17 Andreas Jaeger <aj@suse.de>
9744
9745 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9746 when it is used.
9747
286abc3d
CM
97482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9749
9750 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9751
477cc68e
L
97522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9753
9754 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9755 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9756
1a0994f5
CD
97572012-05-17 Andreas Jaeger <aj@suse.de>
9758 Carlos O'Donell <carlos_odonell@mentor.com>
9759
9760 [BZ #14059]
9761 * sysdeps/x86_64/multiarch/init-arch.h
9762 (bit_YMM_Usable): Rename to...
9763 (bit_AVX_Usable): ... this.
9764 (bit_FMA4_Usable): New macro.
9765 (bit_XMM_state): New macro.
9766 (bit_YMM_state): New macro.
9767 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9768 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9769 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9770 (CPUID_OSXSAVE): New macro.
9771 (CPUID_AVX): New macro.
9772 (CPUID_FMA4): New macro.
9773 (index_YMM_Usable): Rename to...
9774 (index_AVX_Usable): ... this.
9775 (HAS_AVX): Use HAS_ARCH_FEATURE.
9776 (HAS_FMA4): Likewise.
9777 (HAS_YMM_USABLE): Remove.
9778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9779 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9780 are present.
9781 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9782 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9783 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9784 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9785 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9786
0af797de
CM
97872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9788
9789 * math/libm-test.c: Support platforms without multiple rounding modes.
9790 * math/bug-nextafter.c: Support platforms without FP exceptions.
9791 * math/bug-nexttoward.c: Likewise.
9792 * math/test-fenv.c: Likewise.
9793 * math/test-misc.c: Likewise.
9794 * stdlib/bug-getcontext.c: Likewise.
9795
e39745ff
AJ
97962012-05-17 Andreas Jaeger <aj@suse.de>
9797
9798 * manual/examples/search.c (critter_cmp): Change signature to
9799 avoid warnings.
9800 * manual/string.texi (Collation Functions): Likewise.
9801
48970aba
L
98022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9803
9804 * bits/types.h: Fold copyright years.
9805 * bits/typesizes.h: Likewise.
9806 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9810 * time/time.h: Likewise.
9811
bedee953
PP
98122012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9813
9814 [BZ #208]
9815 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9816 in instead of returning them. Return void.
9817 (__libc_mallinfo): Accumulate over all arenas.
9818 (__malloc_stats): Adjust for change in int_mallinfo interface.
9819
61653dfb
RM
98202012-05-16 Roland McGrath <roland@hack.frob.com>
9821
30b99d79
RM
9822 [BZ #10375]
9823 * configure.in (NM): Add AC_CHECK_TOOL for it.
9824 (libc_extra_cflags): New substituted variable.
9825 Check for -fstack-protector being used implicitly.
9826 * configure: Regenerated.
9827 * config.make.in (config-extra-cflags): New variable,
9828 gets @libc_extra_cflags@.
9829 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9830
61653dfb
RM
9831 [BZ #10375]
9832 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9833 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9834 * configure: Regenerated.
9835 * config.make.in (CPPUNDEFS): New substituted variable.
9836 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9837 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9838 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9839
661768bb
L
98402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9841
9842 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9843 (mq_attr): Use __syscall_slong_t.
9844
d4261567
L
98452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9846
9847 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9848 Check __x86_64__ instead of __WORDSIZE.
9849 (_STAT_VER_LINUX): Likewise.
9850 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9851 __syscall_ulong_t and __syscall_slong_t.
9852 (stat64): Likewise.
9853
cf3ff365
L
98542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9855
9856 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9857
76cf3e4d
L
98582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9859
9860 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9861
a637753a
L
98622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9863
9864 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9865 __syscall_ulong_t.
9866
d5e05119
L
9867 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9868 include <bits/wordsize.h>. Check __x86_64__ instead of
9869 __WORDSIZE.
9870 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9871 defined.
9872 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9873
f62ee380
L
9874 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9875 include <bits/wordsize.h>. Check __x86_64__ instead of
9876 __WORDSIZE.
9877 (user_regs_struct): Use "__extension__ unsigned long long"
9878 instead of "unsigned long" if __x86_64__ is defined.
9879 (user): Likewise. Pad after pointer field if __ILP32__ is
9880 defined.
9881
4e124ced
JM
98822012-05-16 Joseph Myers <joseph@codesourcery.com>
9883
6a3951a0
JM
9884 * configure.in (makeinfo): Require version 4.5 or later. Allow
9885 versions 5 to 9.
9886 * configure: Regenerated.
9887 * manual/install.texi (texinfo): Increase version requirement to
9888 4.5 or later.
9889 * INSTALL: Regenerated.
9890
4e124ced
JM
9891 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9892
953ca31a
L
98932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9894
9895 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9896
617aca05
L
9897 * sysdeps/x86_64/x32/ffs.c: New file.
9898
5762f7ae
L
9899 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9900 __syscall_ulong_t.
9901 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9902 defined. Use __syscall_ulong_t.
9903 (shminfo): Use __syscall_ulong_t.
9904 (shm_info): Likewise.
9905
a26b6856
L
9906 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9907 __syscall_ulong_t.
9908
cb2b9ef7
L
9909 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9910 <bits/wordsize.h>.
9911 (msgqnum_t): Use __syscall_ulong_t.
9912 (msglen_t): Likewise.
9913 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9914 __syscall_ulong_t.
9915
34683bb0
L
9916 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9917 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9918
84a68786
L
9919 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9920
48baa5f1
L
9921 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9922 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9923
180be88b
L
9924 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9925 __syscall_slong_t.
9926
5e90c8ad
L
9927 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9928 include <bits/wordsize.h>. Check __x86_64__ instead of
9929 __WORDSIZE.
9930
23dfb58b
L
9931 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9932 "unsigned long long int" if __x86_64__ is defined.
9933 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9934
ce5d54b0
L
9935 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9936 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9937 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9938
13dc9eac
L
9939 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9940 <stdint.h>.
9941 (GET_PC): Cast to uintptr_t first.
9942 (GET_FRAME): Likewise.
9943 (GET_STACK): Likewise.
9944
a7895d15
L
9945 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9946 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9947 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9948 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9949 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9950 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9951 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9952 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9953 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9954 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9955 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9956 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9957 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9958 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9959 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9960 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9961 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9962 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9963 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9964 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9965 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9966 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9967 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9968 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9969 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9970 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9971 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9972 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9973 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9974
656416c9
AS
99752012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9976
5bd66283
AS
9977 * Makerules (+depfiles): Also collect depfiles from .oS in
9978 $(extra-objs).
9979 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9980 .oS, $(libnldbl-routines)).
9981
656416c9
AS
9982 * Makerules (native-compile-mkdep-flags): Define.
9983 * sunrpc/Makefile (extra-objs): Add $(addprefix
9984 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9985 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9986 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9987 calling $(make-target-directory).
9988
a46f2169
L
99892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9990
9991 * bits/types.h (__snseconds_t): Removed.
9992 * time/time.h (struct timespec): Replace __snseconds_t with
9993 __syscall_slong_t.
9994 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9995 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9996 Likewise.
9997 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9998 (__SNSECONDS_T_TYPE): Likewise.
9999 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10000 (__SNSECONDS_T_TYPE): Likewise.
10001 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10002 (__SNSECONDS_T_TYPE): Likewise.
10003
6af6528b
L
100042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10005
10006 * sysdeps/mach/hurd/bits/typesizes.h
10007 (__SYSCALL_SLONG_TYPE): New macro.
10008 (__SYSCALL_ULONG_TYPE): Likewise.
10009
de986b56
L
100102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10011
10012 * bits/types.h (__syscall_slong_t): New type.
10013 (__syscall_ulong_t): Likewise.
10014
10015 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10016 (__SYSCALL_ULONG_TYPE): Likewise.
10017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10018 (__SYSCALL_SLONG_TYPE): Likewise.
10019 (__SYSCALL_ULONG_TYPE): Likewise.
10020 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10021 (__SYSCALL_SLONG_TYPE): Likewise.
10022 (__SYSCALL_ULONG_TYPE): Likewise.
10023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10024 (__SYSCALL_SLONG_TYPE): Likewise.
10025 (__SYSCALL_ULONG_TYPE): Likewise.
10026
85736dc7
L
100272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10028
10029 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10030 Add sigaltstack-offsets.sym.
10031 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10032 <sigaltstack-offsets.h>.
10033 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10034 longjmp_msg pointer.
10035 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10036 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10037 signal stack.
10038 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10039
cc03b296
JM
100402012-05-15 Joseph Myers <joseph@codesourcery.com>
10041
a9538892
JM
10042 * elf/stackguard-macros.h: Remove file.
10043 * sysdeps/generic/stackguard-macros.h: New file.
10044 * sysdeps/i386/stackguard-macros.h: Likewise.
10045 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10046 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10047 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10048 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10049 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10050 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10051 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10052 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10053 <elf/stackguard-macros.h>.
10054
cc03b296
JM
10055 [BZ #14109]
10056 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10057 __aligned__ in attribute.
10058 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10059 (gregset_t): Likewise.
10060
93171016
L
100612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10062
10063 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10064 * sysdeps/x86_64/64/Implies-after: Here. New file.
10065 * sysdeps/x86_64/x32/Implies-after: New file.
10066
d86813a0
L
100672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10068
10069 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10070 and access return value for _dl_profile_fixup. Use R10_LP to
10071 load frame size.
10072
2953ec75
L
100732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10074
10075 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10076
3b550e9e
L
100772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10078
10079 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10080 * sysdeps/x86_64/x32/sysdep.h: New file.
10081
eda41706
L
100822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10083
10084 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10085 * sysdeps/x86_64/setjmp.S: Likewise.
10086
9ea01d93
AZ
100872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10088
10089 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10090 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10091 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10092 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10093 remove unused global constant.
10094
02a91938
CM
100952012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10096
10097 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10098 include of <not-cancel.h>.
10099
6540185f
RM
101002012-05-15 Roland McGrath <roland@hack.frob.com>
10101
10102 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10103
509072a0
AJ
101042012-05-15 Jeff Law <law@redhat.com>
10105 Andreas Jaeger <aj@suse.de>
10106
10107 [BZ #13594]
10108 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10109 out from...
10110 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10111 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10112 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10113 code changing __hst_map_handle.map.
10114
ba75122d
RM
101152012-05-15 Roland McGrath <roland@hack.frob.com>
10116
10117 * configure.in (sysnames): Look for Implies-before and Implies-after
10118 files.
10119 * configure: Regenerated.
10120
890d8bd8
L
101212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10122
10123 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10124 8-byte data alignment with LP_SIZE alignment.
10125
f6ee6623
L
101262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10127
10128 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10129 into R10_LP.
10130
ea2626f6
L
101312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10132
10133 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10134
085f715e
L
101352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10136
10137 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10138 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10139 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10140 Likewise.
10141 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10142
be8498fc
L
101432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10144
10145 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10146 (stackinfo_sub_sp): Likewise.
10147
70bc83b9
L
101482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10149
10150 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10151 RAX_LP.
10152
9bc0b730
L
101532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10154
10155 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10156 into R*_LP.
10157
6d2850e7
L
101582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10159
10160 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10161 sizes into R*_LP.
10162
3cb84561
L
101632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10164
10165 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10166
54e2ed81
L
101672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10168
10169 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10170 into R11_LP and load __x86_64_shared_cache_size_half into
10171 R8_LP.
10172
8a17f349
L
101732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10174
10175 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10176 R8_LP.
10177
777b1eea
AZ
101782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10179
10180 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10181 logb for POWER7.
10182 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10183 logbf for POWER7.
10184 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10185 logbl for POWER7.
10186 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10187 powerpc32/power7/fpu/s_logb.c via #include.
10188 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10189 powerpc32/power7/fpu/s_logbf.c via #include.
10190 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10191 powerpc32/power7/fpu/s_logbl.c via #include.
10192
d20d4ac2
JM
101932012-05-15 Joseph Myers <joseph@codesourcery.com>
10194
10195 * README.libm: Remove file.
10196
6cdef1ab
L
101972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10198
10199 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10200 count for x32. Use R*_LP and omit operand-size suffix.
10201
0b254d8f
L
102022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10203
10204 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10205 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10206 * sysdeps/x86_64/x32/shlib-versions: New file.
10207
ceb809dc
RM
102082012-05-14 Roland McGrath <roland@hack.frob.com>
10209
10210 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10211 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10212 Use _dl_fatal_printf instead.
10213
37f1abd4
JM
102142012-05-14 Joseph Myers <joseph@codesourcery.com>
10215
10216 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10217 set if not set by the user. Do not allow for being unset.
10218 * sysdeps/unix/sysv/linux/configure: Regenerated.
10219
11de3a33
L
102202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10223 the `q' suffix from lea and replace .quad with ASM_ADDR.
10224
e02f153a
L
102252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10226
10227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10228 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10229 instead of $17.
10230 (PTR_DEMANGLE): Likewise.
10231
520ae0fd
L
102322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10233
10234 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10235 (LP_OP): Likewise.
10236 (ASM_ADDR): Likewise.
10237 (RAX_LP): Likewise.
10238 (RBP_LP): Likewise.
10239 (RBX_LP): Likewise.
10240 (RCX_LP): Likewise.
10241 (RDI_LP): Likewise.
10242 (RSI_LP): Likewise.
10243 (RSP_LP): Likewise.
10244 (R8_LP): Likewise.
10245 (R9_LP): Likewise.
10246 (R10_LP): Likewise.
10247 (R10_LP): Likewise.
10248 (R11_LP): Likewise.
10249 (R12_LP): Likewise.
10250 (R13_LP): Likewise.
10251 (R14_LP): Likewise.
10252 (R15_LP): Likewise.
10253
b985be81
L
102542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10255
10256 * sysdeps/x86_64/x32/dl-machine.h: New file.
10257
6a4888ff
AJ
102582012-05-14 Andreas Jaeger <aj@suse.de>
10259
10260 * manual/Makefile (subdir): Remove export of subdir.
10261 (all): Remove target.
10262 (.PHONY): Remove all from list.
10263 (mkinstalldirs): Remove.
10264 (.PHONY): Remove installdirs from list.
10265 ($(inst_infodir)/libc.info): Use make-target-directory.
10266 (installdirs): Remove.
10267 (subdir_%): Remove.
10268 (glibc-targets): Remove.
10269 (lib): Remove.
10270 (stubs): Remove.
10271 ($(objpfx)stubs ../po/manual.pot): Remove.
10272 ($(objpfx)stamp%): Remove.
10273 (make-target-directory): Remove.
10274 (subdir_install): Remove.
10275 (routines): Remove.
10276 (aux): Remove.
10277 (sources): Remove.
10278 (objects): Remove.
10279 (headers): Remove.
10280
10281 [BZ #13750]
10282 * manual/.gitignore: Remove, it's not needed anymore.
10283 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10284 all files in it.
10285 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10286 directory.
10287 (texis): Renamed to $(objpfx)texis.
10288 (texis-path): New, contains path to generated files.
10289 (chapters.%): Use texis-path for complete path, add extra argument
10290 libc-texinfo.sh.
10291 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10292 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10293 (summary,texi, stamp-summary): Use complete path of
10294 files. Generate files in build dir.
10295 (dir-add.texi): Build in build dir.
10296 (libm-err.texi,stamp-libm-err): Likewise.
10297 (version.texi, stamp-version): Likewise.
10298 (.%c.texi): Likewise.
10299 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10300 (mostlyclean): Remove target.
10301 (realclean): Remove target.
10302 (generated): Add new variable with contents from mostlyclean and
10303 realclean, remove entries duplicated in common-mostlyclean, add
10304 stamp-libm-err and stamp-version.
10305 (generated-dirs): Add libc directory.
10306 ($(inst_infodir)/libc.info): Install files from build dir.
10307
10308 * manual/install.texi (Configuring and compiling): Adjust since
10309 the info files are not part of the tar ball anymore.
10310
7ac77294
AJ
103112012-05-14 Andreas Jaeger <aj@suse.de>
10312
10313 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10314 variable.
10315
ffb7875d
JM
103162012-05-14 Joseph Myers <joseph@codesourcery.com>
10317
10318 [BZ #13717]
10319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10320 to 2.2.0 where earlier.
10321 * sysdeps/unix/sysv/linux/configure: Regenerated.
10322 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10323 Remove conditional code.
10324 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10325 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10326 Remove conditional code.
10327 [!__NR_lchown]: Likewise.
10328 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10329 [__NR_lchown]: Likewise.
10330 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10331 comment referencing __ASSUME_LCHOWN_SYSCALL.
10332 * sysdeps/unix/sysv/linux/i386/sigaction.c
10333 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10334 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10335 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10336 Remove conditional code.
10337 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10338 (__protocol_available): Remove #if 0 code.
10339 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10340 conditional code.
10341 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10342 * sysdeps/unix/sysv/linux/kernel-features.h
10343 (__ASSUME_GETCWD_SYSCALL): Don't define.
10344 (__ASSUME_REALTIME_SIGNALS): Likewise.
10345 (__ASSUME_PREAD_SYSCALL): Likewise.
10346 (__ASSUME_PWRITE_SYSCALL): Likewise.
10347 (__ASSUME_POLL_SYSCALL): Likewise.
10348 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10349 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10350 non-SPARC.
10351 (__ASSUME_SIOCGIFNAME): Don't define.
10352 (__ASSUME_MSG_NOSIGNAL): Likewise.
10353 (__ASSUME_SENDFILE): Define unconditionally.
10354 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10355 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10356 conditional code.
10357 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10358 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10359 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10360 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10361 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10362 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10363 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10365 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10368 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10369 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10371 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10374 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10377 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10380 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10383 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10388 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10389 Remove conditional code.
10390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10391 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10392 Remove conditional code.
10393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10394 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10395 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10396 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10397 Remove conditional code.
10398 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10399 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10400 Remove conditional code.
10401 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10402 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10403 Remove conditional code.
10404 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10405 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10406 Remove conditional code.
10407 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10408 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10409 Remove conditional code.
10410 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10411 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10412 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10414 * sysdeps/unix/sysv/linux/sigaction.c
10415 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10416 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10417 * sysdeps/unix/sysv/linux/sigpending.c
10418 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10419 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10420 * sysdeps/unix/sysv/linux/sigprocmask.c
10421 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10422 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10423 * sysdeps/unix/sysv/linux/sigsuspend.c
10424 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10425 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10426 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10427 (__libc_missing_rt_sigs): Remove.
10428 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10429 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10430 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10431 Remove conditional code.
10432 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10433 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10434 return 1.
10435 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10436 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10437 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10438 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10439
1bfb7291
AJ
104402012-05-14 Andreas Jaeger <aj@suse.de>
10441
caae5a81
AJ
10442 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10443 it's not used in glibc.
10444 (__coshm1): Likewise.
10445 (__acosh1p): Likewise.
10446 (__sgn): Likewise.
10447
1bfb7291
AJ
10448 * manual/string.texi (Copying and Concatenation): Add missing
10449 variable in concat example.
10450 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10451
c044d724
L
104522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10453
144c5467 10454 [BZ #14103]
c044d724
L
10455 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10456 __builtin_clzl with __builtin_clzll.
10457
2523c62b
L
104582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10459
10460 [BZ #14104]
10461 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10462 libc_freeres_ptr.
10463
d7bb4c42
LD
104642012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10465
10466 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10467 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10468 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10469 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10470
9dc4e1fb
MF
104712012-05-14 Mike Frysinger <vapier@gentoo.org>
10472
10473 * NEWS: Update ia64 info.
10474
c7df0112
AS
104752012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10476
10477 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10478 used as bcopy.
10479
dc70356c
TS
104802012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10481
10482 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10483 * sysdeps/unix/syscalls.list (dup3): Likewise.
10484 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10485 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10486
9fb1a21f
L
104872012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10488
10489 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10490 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10491
4822a2a5
L
104922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10493
10494 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10495 thread pointer.
10496 (TLS_IE): Use mov/add instead of movq/addq to load thread
10497 pointer.
10498 (TLS_GD_PREFIX): New.
10499 (TLS_GD): Use it.
10500
842b81d6
DM
105012012-05-11 David S. Miller <davem@davemloft.net>
10502
10503 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10504 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10505 (_FPU_SETCW): Likewise.
10506
1cf463cd
L
105072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10508
10509 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10510 is 32-byte aligned.
10511
60cc4a18
AS
105122012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10513
10514 [BZ #11837]
10515 * iconvdata/gb18030.c: Update tables.
10516 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10517 characters specially.
10518 (BODY for TO_LOOP): Add encoding of missing ranges.
10519
febb44a4
TS
105202012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10521
10522 [BZ #13673]
10523 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10524 * sysdeps/mach/hurd/dup3.c: Likewise.
10525 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10526 * sysdeps/powerpc/memmove.c:: Likewise.
10527
0a10fb9e
L
105282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10529
10530 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10531 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10532
df8a552f
L
105332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10534
10535 * elf/elf.h (R_X86_64_RELATIVE64): New.
10536 (R_X86_64_NUM): Updated.
10537 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10538 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10539 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10540 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10541 tst-quad1pie tst-quad2pie
10542 (modules-names): Add tst-quadmod1 tst-quadmod2.
10543 ($(objpfx)tst-quad1): New dependency.
10544 ($(objpfx)tst-quad2): Likewise.
10545 ($(objpfx)tst-quad1pie): Likewise.
10546 ($(objpfx)tst-quad2pie): Likewise.
10547 * sysdeps/x86_64/tst-quad1.c: New file.
10548 * sysdeps/x86_64/tst-quad1pie.c: New file.
10549 * sysdeps/x86_64/tst-quad2.c: Likewise.
10550 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10551 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10552 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10553 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10554 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10555
f34d6f84
ST
105562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10557
f42d41d1
ST
10558 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10559 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10560 * streams/stropts.h (t_scalar_t): Define type.
10561
3c3571fc
ST
10562 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10563 (_PATH_PRESERVE): Set to "/var/lib".
10564 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10565
61f06bd3
ST
10566 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10567 instead of int.
10568
918d4d71
ST
10569 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10570 if __dir_mkfile succeeded.
10571
f34d6f84
ST
10572 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10573 checking for _hurd_dtablesize. Unlock it right after having
10574 finished _hurd_dtable allocation.
10575
10589b4a
TS
105762012-05-10 Thomas Schwinge <thomas@schwinge.name>
10577
674cdbc7
TS
10578 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10579 * sysdeps/mach/hurd/configure: Regenerated.
10580 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10581 special-casing to...
10582 * sysdeps/gnu/configure.in: ... this new file.
10583 * sysdeps/unix/sysv/linux/configure: Regenerated.
10584 * sysdeps/gnu/configure: New generated file.
10585
8e41b99f
TS
10586 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10587 for Linux: use nsec instead of usec, as well as:
10588 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10589 members of type struct timespec.
10590 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10591 New macros.
10592 (struct stat64): Likewise.
10593 (_STATBUF_ST_NSEC): New macro.
10594 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10595
10589b4a
TS
10596 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10597 __strtoul_internal rather than strtoul.
10598
63643c85
PT
105992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10600
10601 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10602 and reject them.
10603
3faebe6a
ST
106042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10605
10606 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10607 which preserves existing values.
10608 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10609
c6474b07
PT
106102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10611
10612 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10613 TIMEOUT values. Return EINVAL for NFDS values either negative or
10614 greater than FD_SETSIZE.
10615
1043890b
ST
106162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10617
10618 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10619 allocated, call __vm_protect to finish enabling the existing space, and
10620 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10621 allocate the remainder.
10622
37ed8b9b
PT
106232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10624
10625 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10626 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10627
db653660
ST
106282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10629
37ed8b9b
PT
10630 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10631 sysdeps/mach/hurd/readlink.c.
b29d4053 10632
db653660
ST
10633 * posix/tst-sysconf.c (posix_options): Only use
10634 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10635 _POSIX_SYNCHRONIZED_IO when they are defined
10636 * sysdeps/mach/hurd/bits/posix_opt.h:
10637 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10638 (_XOPEN_REALTIME): Undefine macro.
10639 (_XOPEN_REALTIME_THREADS): Undefine macro.
10640 (_XOPEN_SHM): Undefine macro.
10641 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10642 macro to -1.
10643 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10644 macro to -1.
10645 (_POSIX_ASYNC_IO): Undefine macro.
10646 (_POSIX_PRIORITIZED_IO): Undefine macro.
10647 (_POSIX_SPIN_LOCKS): Define macro to -1.
10648
ee16e894
ST
10649 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10650 SA_NODEFER, SA_RESETHAND.
10651 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10652 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10653 F_DUPFD_CLOEXEC.
10654
6103ae3b
TS
106552012-05-10 Thomas Schwinge <thomas@schwinge.name>
10656
10657 * elf/Makefile (pldd-modules): Define unconditionally.
10658
80b4e5f3
TS
106592012-05-10 Thomas Schwinge <thomas@schwinge.name>
10660
10661 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10662
edadcbd6
ST
106632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10664
10665 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10666 Return ENOENT when name is empty.
10667 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10668
80694780
TS
106692012-05-10 Thomas Schwinge <thomas@schwinge.name>
10670
1792c087
TS
10671 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10672
80694780
TS
10673 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10674
6b645f0d
ST
106752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10676
80694780
TS
10677 Fix mlock in all cases except non-readable pages.
10678 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10679 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10680
6b645f0d
ST
10681 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10682 (__mkdir): When path is `/', just fail with EEXIST.
10683 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10684
e468f8a3
TS
106852012-05-10 Thomas Schwinge <thomas@schwinge.name>
10686
10687 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10688 <sys/uio.h> (for writev).
10689 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10690 and <sys/param.h> (for MIN).
10691
a4186cff
PT
106922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10693
10694 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10695 REQUESTED_TIME. Properly set the remaining time and return EINTR
10696 if interrupted.
10697
510bbf14
TS
106982012-05-10 Thomas Schwinge <thomas@schwinge.name>
10699
10700 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10701 Depend on against $(link-rpcuserlibs).
10702
5d5722e8
ST
107032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10704
a4186cff
PT
10705 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10706 (__libc_stack_end): Do not use attribute_relro.
10707 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10708 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10709 to libthread-provided value.
a4186cff
PT
10710 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10711 attribute_relro.
5d5722e8 10712
37233df9
TS
107132012-05-10 Thomas Schwinge <thomas@schwinge.name>
10714
be971a2b
TS
10715 [BZ #3748]
10716 * bits/libc-lock.h (__libc_once_get): New macro.
10717 * sysdeps/mach/bits/libc-lock.h: Likewise.
10718 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10719 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10720 instead of using implementation details.
10721
37233df9
TS
10722 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10723 * libio/freopen.c: Likewise.
10724 * libio/freopen64.c: Likewise.
10725 * misc/syslog.c: Likewise.
10726 * nscd/connections.c: Likewise.
10727 * nscd/netgroupcache.c: Likewise.
10728 * sysdeps/posix/getcwd.c: Likewise.
10729
38de94a5
RM
107302012-05-10 Roland McGrath <roland@hack.frob.com>
10731
10732 * math/w_ilogbf.c: Add #include <limits.h>.
10733
67530489
ST
107342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10735
a4186cff 10736 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10737 path instead of returning without unlocking.
10738
67530489
ST
10739 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10740 immediate-write ioctls.
10741 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10742
5aa3a74a
TS
107432012-05-10 Thomas Schwinge <thomas@schwinge.name>
10744
18bad2ae
TS
10745 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10746 __builtin_frame_address instead of making assumptions about the
10747 location of the return address relative to DATA. Force early load of
10748 the return address.
10749 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10750 __builtin_frame_address.
10751
5aa3a74a
TS
10752 dup3 for GNU Hurd.
10753 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10754 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10755 implement dup3 and do some further code clean-ups.
10756 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10757 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10758
ecd0de9a
ST
107592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10760
cd9fa985
ST
10761 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10762
a4186cff
PT
10763 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10764 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10765 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10766 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10767 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10768 d->port.lock.
802ca5a5 10769
a4186cff
PT
10770 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10771 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10772 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10773
bcf55240
TS
107742012-05-10 Thomas Schwinge <thomas@schwinge.name>
10775
6960eb42
TS
10776 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10777 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10778 definitions.
10779
eb43375f
TS
10780 accept4 for GNU Hurd.
10781 * include/sys/socket.h (__libc_accept4): New prototype.
10782 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10783 to implement __libc_accept4.
10784 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10785 __libc_accept4.
10786 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10787
bcf55240
TS
10788 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10789 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10790 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10791 signal-defines.sym.
10792
6178c55b
ST
107932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10794
a4186cff 10795 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10796
6f080c2f
TS
107972012-05-10 Thomas Schwinge <thomas@schwinge.name>
10798
10799 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10800 assertion on O_CLOEXEC flag.
10801 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10802 * hurd/intern-fd.c: Likewise.
10803 * hurd/port2fd.c: Likewise.
10804
bcfe3a54
ST
108052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10806
10807 [BZ #3906]
10808 * bits/in.h (IPV6_PKTINFO): Define new macro.
10809 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10810
89c9aa49
AZ
108112012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10812
10813 [BZ #13954]
10814 [BZ #13955]
10815 [BZ #13956]
10816 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10817 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10818 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10819 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10821 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10822 * math/libm-test.inc (logb_test) : Additional logb tests.
10823
021db4be
AJ
108242012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10825 Andreas Jaeger <aj@suse.de>
10826
10827 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10828 * configure: Regenerated.
10829 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10830 * config.make.in (link-obsolete-rpc): New substituted variable.
10831 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10832 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10833 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10834 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10835 so that libc.a contains the symbols.
10836 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10837 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10838 * sunrpc/auth_none.c: Likewise.
10839 * sunrpc/auth_unix.c: Likewise.
10840 * sunrpc/authdes_prot.c: Likewise.
10841 * sunrpc/authuxprot.c: Likewise.
10842 * sunrpc/clnt_gen.c: Likewise.
10843 * sunrpc/clnt_perr.c: Likewise.
10844 * sunrpc/clnt_raw.c: Likewise.
10845 * sunrpc/clnt_simp.c: Likewise.
10846 * sunrpc/clnt_tcp.c: Likewise.
10847 * sunrpc/clnt_udp.c: Likewise.
10848 * sunrpc/clnt_unix.c: Likewise.
10849 * sunrpc/des_crypt.c: Likewise.
10850 * sunrpc/des_soft.c: Likewise.
10851 * sunrpc/get_myaddr.c: Likewise.
10852 * sunrpc/key_call.c: Likewise.
10853 * sunrpc/key_prot.c: Likewise.
10854 * sunrpc/netname.c: Likewise.
10855 * sunrpc/pm_getmaps.c: Likewise.
10856 * sunrpc/pm_getport.c: Likewise.
10857 * sunrpc/pmap_clnt.c: Likewise.
10858 * sunrpc/pmap_prot.c: Likewise.
10859 * sunrpc/pmap_prot2.c: Likewise.
10860 * sunrpc/pmap_rmt.c: Likewise.
10861 * sunrpc/publickey.c: Likewise.
10862 * sunrpc/rpc_cmsg.c: Likewise.
10863 * sunrpc/rpc_common.c: Likewise.
10864 * sunrpc/rpc_dtable.c: Likewise.
10865 * sunrpc/rpc_prot.c: Likewise.
10866 * sunrpc/rpc_thread.c: Likewise.
10867 * sunrpc/rtime.c: Likewise.
10868 * sunrpc/svc.c: Likewise.
10869 * sunrpc/svc_auth.c: Likewise.
10870 * sunrpc/svc_raw.c: Likewise.
10871 * sunrpc/svc_run.c: Likewise.
10872 * sunrpc/svc_tcp.c: Likewise.
10873 * sunrpc/svc_udp.c: Likewise.
10874 * sunrpc/svc_unix.c: Likewise.
10875 * sunrpc/svcauth_des.c: Likewise.
10876 * sunrpc/xcrypt.c: Likewise.
10877 * sunrpc/xdr.c: Likewise.
10878 * sunrpc/xdr_array.c: Likewise.
10879 * sunrpc/xdr_float.c: Likewise.
10880 * sunrpc/xdr_intXX_t.c: Likewise.
10881 * sunrpc/xdr_mem.c: Likewise.
10882 * sunrpc/xdr_rec.c: Likewise.
10883 * sunrpc/xdr_ref.c: Likewise.
10884 * sunrpc/xdr_sizeof.c: Likewise.
10885 * sunrpc/xdr_stdio.c: Likewise.
10886
b5c086a2
RM
108872012-05-10 Roland McGrath <roland@hack.frob.com>
10888
10889 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10890 change. Update copyright years.
10891
6d74dd09
JM
108922012-05-10 Joseph Myers <joseph@codesourcery.com>
10893
10894 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10895
28e72501
MK
108962012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10897 Joseph Myers <joseph@codesourcery.com>
10898 Paul Pluzhnikov <ppluzhnikov@google.com>
10899
10900 [BZ #14012]
10901 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10902 requiring rpcgen.
10903 [cross-compiling] (extra-libs): Likewise.
10904 [cross-compiling] (extra-libs-others): Likewise.
10905 [cross-compiling] (librpcsvc-routines): Likewise.
10906 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10907 [cross-compiling] (omit-deps): Likewise.
10908 (sunrpc-CPPFLAGS): New variable.
10909 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10910 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10911 (cross-rpcgen-objs): New variable.
10912 (extra-objs): Append $(cross-rpcgen-objs).
10913 ($(cross-rpcgen-objs)): New rule.
10914 ($(objpfx)cross-rpcgen): Likewise.
10915 (rpcgen-cmd): Define to use $(built-program-file). Expand
10916 comment.
10917 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10918 ($(objpfx)x%.stmp): Likewise.
10919 * sunrpc/proto.h [IS_IN_build] (_): Define.
10920 [IS_IN_build] (_libc_intl_domainname): Likewise.
10921
c8c59454
L
109222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10923
10924 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10925 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10926 and R_X86_64_TPOFF64.
10927
6f27cd16
JM
109282012-05-10 Joseph Myers <joseph@codesourcery.com>
10929
10930 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10931 sysdeps/unix/sysv/syscalls.list.
10932 (stime): Likewise.
10933 (utime): Likewise.
10934 * sysdeps/unix/sysv/syscalls.list: Remove file.
10935
02467e1c
PE
109362012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10937
10938 [BZ #3440]
10939 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10940 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10941 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10942 (__LC_IDENTIFICATION): Make these macros useful in #if
10943 expressions, as required by C99.
10944
da392631
AS
109452012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10946
10947 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10948 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10949 after this.
10950
8115f29b
L
109512012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10952
10953 * stdlib/longlong.h: Updated from GCC.
10954
bdd74070
AJ
109552012-05-09 Andreas Jaeger <aj@suse.de>
10956
edfe0dbe
AJ
10957 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10958 default is first entry.
10959 (run_mode): Set type.
10960 (main): Remove informal message about syslog.
10961 (options): Fix typo.
10962
bcfe3a54
ST
10963 [BZ #14053]
10964 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10965 to asm.
bcfe3a54
ST
10966 (lrint): Likewise.
10967 (llrintf): Likewise.
10968 (llrint): Likewise.
10969 (rint): Likewise.
10970 (rintf): Likewise.
10971 (nearbyint): Likewise.
10972 (nearbyintf): Likewise.
bdd74070 10973
91d8d69e
AJ
109742012-05-09 Andreas Jaeger <aj@suse.de>
10975 Pedro Alves <palves@redhat.com>
10976
10977 * nscd/nscd.c (run_mode): Use enum.
10978 (main): Cleanup coding style issue.
10979
bb90b80b
AJ
109802012-05-09 Alexandre Oliva <aoliva@redhat.com>
10981 Andreas Jaeger <aj@suse.de>
10982
bcfe3a54
ST
10983 * nscd/nscd.c (go_background): Replaced with...
10984 (run_mode): ... this.
bb90b80b 10985 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10986 (options): Add -F --foreground.
10987 (main): Implement it.
10988 (parse_opt): Parse it.
bb90b80b 10989
1a4b75a1
AJ
109902012-05-09 Andreas Jaeger <aj@suse.de>
10991
10992 [BZ #14083]
10993 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10994 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10995 -Wconversion warning.
10996 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10997 Likewise.
10998
b1cc2472
JM
109992012-05-09 Joseph Myers <joseph@codesourcery.com>
11000
11001 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11002 == 0.
11003 (LC_ALL): Use macro-int-constant.
11004 (LC_COLLATE): Likewise.
11005 (LC_CTYPE): Likewise.
11006 (LC_MESSAGES): Likewise.
11007 (LC_MONETARY): Likewise.
11008 (LC_NUMERIC): Likewise.
11009 (LC_TIME): Likewise.
11010 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11011 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11013 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11014 Specify type.
11015 [C99-based standards] (float_t): Expect type.
11016 [C99-based standards] (double_t): Expect type.
11017 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11018 type.
11019 [C99-based standards] (HUGE_VALL): Likewise.
11020 [C99-based standards] (INFINITY): Likewise.
11021 [C99-based standards] (NAN): Likewise.
11022 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11023 [C99-based standards] (FP_NAN): Likewise.
11024 [C99-based standards] (FP_NORMAL): Likewise.
11025 [C99-based standards] (FP_SUBNORMAL): Likewise.
11026 [C99-based standards] (FP_ZERO): Likewise.
11027 [C99-based standards] (FP_FAST_FMA): Use
11028 optional-macro-int-constant. Specify type. Require == 1.
11029 [C99-based standards] (FP_FAST_FMAF): Likewise.
11030 [C99-based standards] (FP_FAST_FMAL): Likewise.
11031 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11032 [C99-based standards] (FP_ILOGBNAN): Likewise.
11033 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11034 Specify type.
11035 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11036 [C99-based standards] (math_errhandling): Specify type.
11037 [ISO99 || ISO11] (signgam): Do not allow.
11038 [non-C99-based standards] (copysignf): Do not allow.
11039 [non-C99-based standards] (exp2f): Likewise.
11040 [non-C99-based standards] (log2f): Likewise.
11041 [non-C99-based standards] (modff): Allow.
11042 [non-C99-based standards] (erff): Do not allow.
11043 [non-C99-based standards] (erfcf): Likewise.
11044 [non-C99-based standards] (gammaf): Likewise.
11045 [non-C99-based standards] (hypotf): Likewise.
11046 [non-C99-based standards] (j0f): Likewise.
11047 [non-C99-based standards] (j1f): Likewise.
11048 [non-C99-based standards] (jnf): Likewise.
11049 [non-C99-based standards] (lgammaf): Likewise.
11050 [non-C99-based standards] (tgammaf): Likewise.
11051 [non-C99-based standards] (y0f): Likewise.
11052 [non-C99-based standards] (y1f): Likewise.
11053 [non-C99-based standards] (ynf): Likewise.
11054 [non-C99-based standards] (isnanf): Likewise.
11055 [non-C99-based standards] (acoshf): Likewise.
11056 [non-C99-based standards] (asinhf): Likewise.
11057 [non-C99-based standards] (atanhf): Likewise.
11058 [non-C99-based standards] (cbrtf): Likewise.
11059 [non-C99-based standards] (expm1f): Likewise.
11060 [non-C99-based standards] (ilogbf): Likewise.
11061 [non-C99-based standards] (log1pf): Likewise.
11062 [non-C99-based standards] (logbf): Likewise.
11063 [non-C99-based standards] (nextafterf): Likewise.
11064 [non-C99-based standards] (remainderf): Likewise.
11065 [non-C99-based standards] (rintf): Likewise.
11066 [non-C99-based standards] (scalbf): Likewise.
11067 [non-C99-based standards] (copysignl): Likewise.
11068 [non-C99-based standards] (exp2l): Likewise.
11069 [non-C99-based standards] (log2l): Likewise.
11070 [non-C99-based standards] (modfl): Allow.
11071 [non-C99-based standards] (erfl): Do not allow.
11072 [non-C99-based standards] (erfcl): Likewise.
11073 [non-C99-based standards] (gammal): Likewise.
11074 [non-C99-based standards] (hypotl): Likewise.
11075 [non-C99-based standards] (j0l): Likewise.
11076 [non-C99-based standards] (j1l): Likewise.
11077 [non-C99-based standards] (jnl): Likewise.
11078 [non-C99-based standards] (lgammal): Likewise.
11079 [non-C99-based standards] (tgammal): Likewise.
11080 [non-C99-based standards] (y0l): Likewise.
11081 [non-C99-based standards] (y1l): Likewise.
11082 [non-C99-based standards] (ynl): Likewise.
11083 [non-C99-based standards] (isnanl): Likewise.
11084 [non-C99-based standards] (acoshl): Likewise.
11085 [non-C99-based standards] (asinhl): Likewise.
11086 [non-C99-based standards] (atanhl): Likewise.
11087 [non-C99-based standards] (cbrtl): Likewise.
11088 [non-C99-based standards] (expm1l): Likewise.
11089 [non-C99-based standards] (ilogbl): Likewise.
11090 [non-C99-based standards] (log1pl): Likewise.
11091 [non-C99-based standards] (logbl): Likewise.
11092 [non-C99-based standards] (nextafterl): Likewise.
11093 [non-C99-based standards] (remainderl): Likewise.
11094 [non-C99-based standards] (rintl): Likewise.
11095 [non-C99-based standards] (scalbl): Likewise.
11096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11097 [non-C99-based standards] (FP_*): Do not allow.
11098 [C99-based standards] (FP_*): Change to
11099 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11100 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11101 allow.
11102 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11103 (SIG_ERR): Likewise.
11104 [X/Open-based standards] (SIG_HOLD): Likewise.
11105 (SIG_IGN): Likewise.
11106 (SIGABRT): Use macro-int-constant. Specify type. Require
11107 positive value.
11108 (SIGFPE): Likewise.
11109 (SIGILL): Likewise.
11110 (SIGINT): Likewise.
11111 (SIGSEGV): Likewise.
11112 (SIGTER): Likewise.
11113 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11114 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11115 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11116 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11117 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11118 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11119 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11120 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11121 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11122 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11123 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11124 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11125 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11126 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11127 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11128 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11129 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11130 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11131 [X/Open-based standards] (SIGTRAP): Likewise.
11132 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11133 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11134 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11135 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11136 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11137 allow.
11138
b9f1922d
IW
111392012-05-08 Ian Wienand <ianw@vmware.com>
11140
11141 [BZ #14080]
11142 * time/tzset.c (__tzset_parse_tz): Update default rules for
11143 daylight time changes in the Energy Policy Act of 2005.
11144
1db86e88
AJ
111452012-05-09 Andreas Jaeger <aj@suse.de>
11146
11147 [BZ #13983]
11148 * elf/ldconfig.c (parse_conf): Change string to make clear that
11149 ldconfig only issued a warning if ld.so.conf does not exist.
11150
dee4a4e3
DM
111512012-05-08 David S. Miller <davem@davemloft.net>
11152
ee0db190
DM
11153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11154 movxtod instead of popping the value on the stack.
11155
dee4a4e3
DM
11156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11157
6a43ec98
CD
111582012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11159
11160 * config.h.in: Add HAVE_ARM_PCS_VFP.
11161
05c2c961
RMG
111622012-05-08 Roland Mc Grath <roland@hack.frob.com>
11163
bcfe3a54
ST
11164 [BZ #13979]
11165 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11166 checking but the checks are disabled for any reason.
05c2c961 11167
4b30f61a
L
111682012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11169
11170 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11171 and ELF64_R_TYPE with ELFW(R_TYPE).
11172
eee2bc67
JM
111732012-05-08 Joseph Myers <joseph@codesourcery.com>
11174
7ea5391a
JM
11175 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11176 (ulimit): Likewise.
11177
eee2bc67
JM
11178 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11179 (settimeofday): Likewise.
11180
abb66a67
MF
111812012-05-08 Mike Frysinger <vapier@gentoo.org>
11182
11183 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11184 a struct th_u2 inside the union, and move tu_block/tu_code into
11185 a new th_u3 union of tu_block/tu_code inside of that. Move
11186 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11187 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11188 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11189 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11190 (th_stuff): Change to th_u1.tu_stuff.
11191 (th_data): Define.
11192 (th_msg): Change to th_u1.th_u2.tu_data.
11193
7f18b530
DM
111942012-05-07 David S. Miller <davem@davemloft.net>
11195
05760585
DM
11196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11197
7f18b530
DM
11198 [BZ #14074]
11199 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11200 (SETUP_PIC_REG): Use it.
11201 (SETUP_PIC_REG_LEAF): Use it.
11202
495fd99f
JM
112032012-05-07 Joseph Myers <joseph@codesourcery.com>
11204
11205 [BZ #13885]
11206 [BZ #13923]
11207 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11208 USE_AS_EXPM1L.
11209 (EXPL_FINITE): Likewise.
11210 (FLDLOG): Likewise.
11211 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11212 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11213 e_expl.S.
11214 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11215 USE_AS_EXPM1L.
11216 (EXPL_FINITE): Likewise.
11217 (FLDLOG): Likewise.
11218 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11219 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11220 e_expl.S.
11221 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11222 test of -max_value argument for long double.
11223 * sysdeps/i386/fpu/libm-test-ulps: Update.
11224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11225
6693d694
DM
112262012-05-06 David S. Miller <davem@davemloft.net>
11227
11228 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11229 quad soft-float symbols whose references which are compiler
11230 generated.
11231 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11232
6c23e11c
JM
112332012-05-06 Joseph Myers <joseph@codesourcery.com>
11234
d8b82cad
JM
11235 [BZ #13884]
11236 [BZ #13914]
11237 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11238 USE_AS_EXP10L.
11239 (EXPL_FINITE): Likewise.
11240 (FLDLOG): Likewise.
11241 (c0): Likewise.
11242 (c1): Likewise.
11243 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11244 Adjust comments for base varying.
11245 (__expl_finite): Change alias to EXPL_FINITE.
11246 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11247 e_expl.S.
11248 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11249 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11251 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11252 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11253 USE_AS_EXP10L.
11254 (EXPL_FINITE): Likewise.
11255 (FLDLOG): Likewise.
11256 (c0): Likewise.
11257 (c1): Likewise.
11258 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11259 Adjust comments for base varying.
11260 (__expl_finite): Change alias to EXPL_FINITE.
11261 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11262 tests for bugs.
11263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11264
6c23e11c
JM
11265 [BZ #14064]
11266 * math/libm-test.inc (check_float_internal): Correct ulp
11267 calculation for subnormal expected results.
11268
29ba805c
AJ
112692012-05-06 Andreas Jaeger <aj@suse.de>
11270
11271 * Makeconfig (+math-flags): New, set to -frounding-math.
11272 (+cflags): Add +math-flags so that all of glibc gets compiled with
11273 it.
11274
11275 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11276
7b17aeda
JM
112772012-05-05 Joseph Myers <joseph@codesourcery.com>
11278
5779f134
JM
11279 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11280 Disable one test.
11281
41498f4d
JM
11282 [BZ #13787]
11283 [BZ #13922]
11284 [BZ #14036]
11285 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11286 (__ieee754_expl): Allow for and saturate large arguments.
11287 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11288 (u_threshold): Likewise.
11289 (__exp): Call __ieee754_exp before checking for overflow and
11290 underflow.
11291 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11292 (u_threshold): Likewise.
11293 (__expf): Call __ieee754_expf before checking for overflow and
11294 underflow.
11295 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11296 (u_threshold): Likewise.
11297 (__expl): Call __ieee754_expl before checking for overflow and
11298 underflow.
11299 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11300 (__ieee754_expl): Allow for and saturate large arguments.
11301 * math/libm-test.inc (exp_test): Add another test. Do not allow
11302 missing overflow exception on overflow.
11303 (expm1_test): Do not allow missing overflow exception on overflow.
11304
6698b8bf
JM
11305 * sysdeps/i386/fpu/e_expl.c: Move to ...
11306 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11307 rather than using inline asm.
11308 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11309 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11310 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11311
7b17aeda
JM
11312 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11313 (nice): Likewise.
11314 (poll): Likewise.
11315 (signal): Likewise.
11316 (time): Likewise.
11317 (times): Likewise.
11318
f7c85819
JM
113192012-05-04 Joseph Myers <joseph@codesourcery.com>
11320
11321 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11322 sysdeps/unix/common/syscalls.list.
11323 (fchmod): Likewise.
11324 (fchown): Likewise.
11325 (ftruncate): Likewise.
11326 (getrusage): Likewise.
11327 (gettimeofday): Likewise.
11328 (setpgid): Likewise.
11329 (setregid): Likewise.
11330 (setreuid): Likewise.
11331 (sigaction): Likewise.
11332 (truncate): Likewise.
11333 (vhangup): Likewise.
11334 * sysdeps/unix/common/syscalls.list: Remove file.
11335 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11336 * sysdeps/unix/sysv/linux/Implies: Likewise.
11337
336270d0
L
113382012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11339
11340 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11342 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11343 Moved to ...
11344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11345 Here.
11346 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11347 to ...
11348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11349 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11350 to ...
11351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11352 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11353 to ...
11354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11355 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11356 to ...
11357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11358 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11359 to ...
11360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11361 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11362 to ...
11363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11364 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11365 to ...
11366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11367 Here.
11368 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11369 to ...
11370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11371 Here.
11372 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11373 to ...
11374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11375 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11376 Moved to ...
11377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11378 Here.
11379 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11380 to ...
11381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11382
d128e450
JM
113832012-05-04 Joseph Myers <joseph@codesourcery.com>
11384
fa8ee516
JM
11385 * sysdeps/unix/common/bits/dirent.h: Remove file.
11386 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11387
d128e450
JM
11388 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11389 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11390 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11391 * sysdeps/unix/bsd/isatty.c: Likewise.
11392 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11393 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11394 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11395
ff8faaf0 113962012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11397
62881be4 11398 [BZ #13563]
31dc8730
AZ
11399 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11400 long double comparison inaccuracies.
11401 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11403
6fef930c
AS
114042012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11405
11406 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11407 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11408
8f203e6c
JM
114092012-05-04 Joseph Myers <joseph@codesourcery.com>
11410
11411 [BZ #14049]
11412 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11413 nonzero digits before rounding a hex value.
11414 * stdlib/tst-strtod.c (tests): Add another test.
11415
5197d9c2
AK
114162012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11417
11418 * sysdeps/s390/fpu/libm-test-ulps: Update.
11419
f0c1dedf
AJ
114202012-05-03 Andreas Jaeger <aj@suse.de>
11421
11422 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11423 does not get optimized out.
11424 (malloc_opt_barrier): New.
11425
a65ef2ae 114262012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11427 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11428
2b942cb7 11429 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11430 intermediate file deletion.
2b942cb7 11431 (generated): Add .symlist files.
a65ef2ae 11432
54b71e02
JM
114332012-05-03 Joseph Myers <joseph@codesourcery.com>
11434
11435 [BZ #13775]
11436 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11437 Redirect under this condition.
11438 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11439 [__USE_GNU] (__dprintf_chk): Not under this condition.
11440 [__USE_GNU] (__vdprintf_chk): Likewise.
11441 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11442 under this condition.
11443 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11444 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11445 [__USE_XOPEN2K8] (vdprintf): Likewise.
11446 [__USE_GNU] (__dprintf_chk): Not under this condition.
11447 [__USE_GNU] (__vdprintf_chk): Likewise.
11448 [__USE_GNU] (dprintf): Likewise.
11449 [__USE_GNU] (vdprintf): Likewise.
11450
d3dfcc41
RM
114512012-05-03 Roland McGrath <roland@hack.frob.com>
11452
11453 * elf/Makefile (common-generated): Set this instead of generated for
11454 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11455 $(all-built-dso)-derived lists.
11456
7ac30cc5
AJ
114572012-05-03 Andreas Jaeger <aj@suse.de>
11458
0c51e550
AJ
11459 * sysdeps/i386/fpu/libm-test-ulps: Update.
11460
7ac30cc5
AJ
11461 * FAQ: Removed.
11462 * FAQ.in: Likewise.
11463 * scripts/gen-FAQ.pl: Likewise.
11464 * manual/install.texi (Installation): Point to online location of
11465 FAQ.
11466 * Makefile (files-for-dist): Remove FAQ.
11467 (FAQ): Remove.
11468
d4c2917f
AM
114692012-05-02 Allan McRae <allan@archlinux.org>
11470
11471 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11472 (LDFLAGS-reldepmod5.so): Likewise.
11473 (LDFLAGS-reldep6mod1.so): Likewise.
11474 (LDFLAGS-reldep6mod4.so): Likewise.
11475 (LDFLAGS-reldep8mod3.so): Likewise.
11476 (LDFLAGS-unload4mod1.so): Likewise.
11477 (LDFLAGS-unload4mod2.so): Likewise.
11478 (LDFLAGS-tst-initorder): Likewise.
11479 (LDFLAGS-tst-initordera2.so): Likewise.
11480 (LDFLAGS-tst-initordera3.so): Likewise.
11481 (LDFLAGS-tst-initordera4.so): Likewise.
11482 (LDFLAGS-tst-initorderb2.so): Likewise.
11483 (LDFLAGS-noload): Likewise.
11484 (LDFLAGS-next): Likewise.
11485 (LDFLAGS-order2mod1.so): Likewise.
11486 (LDFLAGS-order2mod2.so): Likewise.
11487 (LDFLAGS-tst-initorder2): Likewise.
11488 (LDFLAGS-tst-initorder2a.so): Likewise.
11489 (LDFLAGS-tst-initorder2b.so): Likewise.
11490 (LDFLAGS-tst-initorder2c.so): Likewise.
11491 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11492
d77f993f
DM
114932012-05-02 David S. Miller <davem@davemloft.net>
11494
11495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11496
171a70b4
PP
114972012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11498
11499 [BZ #14055]
11500 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11501
0be196ad
AJ
115022012-05-02 Andreas Jaeger <aj@suse.de>
11503
11504 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11505 since we manipulate rounding mode.
11506 (CPPFLAGS-test-idouble.c): Likewise.
11507 (CPPFLAGS-test-ifloat.c): Likewise.
11508 (CFLAGS-test-ldouble.c): Likewise.
11509 (CFLAGS-test-double.c): Likewise.
11510 (CFLAGS-test-float.c): Likewise.
11511 (CFLAGS-test-misc.c): Likewise.
11512 (CFLAGS-test-test-fenv.c): Likewise.
11513
4f9d04aa
AZ
115142012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11515
2b942cb7
RM
11516 [BZ #2550]
11517 [BZ #2570]
11518 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11519 comparisons to determine direction to adjust input.
4f9d04aa 11520
82a79e7d
RM
115212012-05-01 Roland McGrath <roland@hack.frob.com>
11522
f5a01ca9
RM
11523 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11524 output to the target.
11525
90fe4186
RM
11526 * scripts/localplt.awk: New file.
11527 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11528 (check-localplt-CFLAGS): Variable removed.
11529 ($(all-built-dso:=.jmprel)): New static pattern rule.
11530 (generated): Add those targets.
11531 (localplt-built-dso): New variable.
11532 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11533
11534 * elf/check-localplt.c: File removed.
11535
82397ed6
RM
11536 * scripts/check-execstack.awk: New file.
11537 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11538 (check-execstack-CFLAGS): Variable removed.
11539 ($(objpfx)check-execstack.h): Target removed.
11540 ($(objpfx)execstack-default): New target.
11541 (generated): Add that instead of check-execstack.h.
11542 ($(all-built-dso:=.phdr)): New static pattern rule.
11543 (generated): Add those targets.
11544 * elf/check-execstack.c: File removed.
11545
82a79e7d
RM
11546 * scripts/check-textrel.awk: New file.
11547 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11548 (check-textrel-CFLAGS): Variable removed.
11549 (all-built-dso): Use := to define.o
11550 ($(all-built-dso:=.dyn)): New static pattern rule.
11551 (generated): Add those targets.
11552 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11553 * config.make.in (READELF): New substituted variable.
11554 * elf/check-textrel.c: File removed.
11555
62fde54f 115562012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11557
615605c9
JM
11558 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11559 allow.
11560 * conform/data/ctype.h-data [C99-based standards] (isblank):
11561 Expect function.
11562 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11563 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11565 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11566 Specify type. Require positive value.
11567 (EILSEQ): Likewise.
11568 (ERANGE): Likewise.
11569 [ISO || POSIX] (EILSEQ): Do not expect.
11570 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11571 Specify type. Require positive value.
11572 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11573 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11574 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11575 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11576 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11577 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11578 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11579 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11580 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11581 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11582 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11583 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11584 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11585 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11586 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11587 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11588 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11589 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11590 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11591 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11592 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11593 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11594 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11595 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11596 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11597 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11598 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11599 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11600 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11601 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11602 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11603 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11604 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11605 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11606 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11607 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11608 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11609 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11610 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11611 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11612 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11613 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11614 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11615 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11616 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11617 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11618 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11619 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11620 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11621 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11622 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11623 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11624 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11625 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11626 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11627 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11628 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11629 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11630 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11631 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11632 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11633 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11634 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11635 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11636 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11637 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11638 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11639 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11640 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11641 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11642 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11643 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11644 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11645 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11646 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11647 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11648 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11649 Require >= 2.
11650 (FLT_ROUNDS): Expect as macro, not constant.
11651 (FLT_MANT_DIG): Use macro-int-constant.
11652 (DBL_MANT_DIG): Likewise.
11653 (LDBL_MANT_DIG): Likewise.
11654 (FLT_DIG): Likewise.
11655 (DBL_DIG): Likewise.
11656 (LDBL_DIG): Likewise.
11657 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11658 (DBL_MIN_EXP): Likewise.
11659 (LDBL_MIN_EXP): Likewise.
11660 (FLT_MAX_EXP): Use macro-int-constant.
11661 (DBL_MAX_EXP): Likewise.
11662 (LDBL_MAX_EXP): Likewise.
11663 (FLT_MAX_10_EXP): Likewise.
11664 (DBL_MAX_10_EXP): Likewise.
11665 (LDBL_MAX_10_EXP): Likewise.
11666 (FLT_MAX): Use macro-constant.
11667 (DBL_MAX): Likewise.
11668 (LDBL_MAX): Likewise.
11669 (FLT_EPSILON): Use macro-constant. Give upper bound.
11670 (DBL_EPSILON): Likewise.
11671 (LDBL_EPSILON): Likewise.
11672 (FLT_MIN): Likewise.
11673 (DBL_MIN): Likewise.
11674 (LDBL_MIN): Likewise.
11675 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11676 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11677 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11678 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11679 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11680 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11681 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11682 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11683 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11684 [ISO11] (FLT_TRUE_MIN): Likewise.
11685 [ISO11] (LDBL_TRUE_MIN): Likewise.
11686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11687 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11688 (SCHAR_MIN): Use macro-int-constant. Specify type.
11689 (SCHAR_MAX): Likewise.
11690 (UCHAR_MAX): Likewise.
11691 (CHAR_MIN): Likewise.
11692 (CHAR_MAX): Likewise.
11693 (MB_LEN_MAX): Use macro-int-constant.
11694 (SHRT_MIN): Use macro-int-constant. Specify type.
11695 (SHRT_MAX): Likewise.
11696 (USHRT_MAX): Likewise.
11697 (INT_MAX): Likewise.
11698 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11699 bound negative.
11700 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11701 bound with "U".
11702 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11703 bound with "L".
11704 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11705 bound negative. Suffix upper bound with "L".
11706 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11707 bound with "UL".
11708 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11709 Specify type.
11710 [C99-based standards] (LLONG_MAX): Likewise.
11711 [C99-based standards] (ULLONG_MAX): Likewise.
11712 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11713 == 0.
11714 [ISO11] (max_align_t): Require type.
11715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11716
c9140a62
JM
11717 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11718 from $CFLAGS, without defining away __attribute__ calls.
11719 (checknamespace): Use $CFLAGS_namespace.
11720
9af0bf29
JM
11721 * conform/conformtest.pl (@keywords): Only include C99 keywords
11722 for standards based on C99 or C11.
11723
343222a2
JM
11724 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11725 Disable tests.
11726 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11727 UNIX98]: Likewise.
11728
661f8cf0
JM
11729 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11730 usability of symbols in #if.
11731
ee74b9cb
JM
11732 * conform/conformtest.pl: If macro or constant types start
11733 "promoted:", expect the symbol to be of the following type
11734 promoted by the integer promotions.
62fde54f 11735
aafc49b3
JM
11736 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11737 in one place. Also handle "macro-constant".
11738
fefdf574
JM
11739 * conform/conformtest.pl: Only accept expected macro values with
11740 "==". Parse all "macro" lines in one place.
11741 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11742
f2d922fe
JM
11743 * conform/conformtest.pl: Handle braced types on "constant" lines
11744 instead of handling "typed-constant".
11745 * conform/data/signal.h-data: Use "constant" instead of
11746 "typed-constant".
11747
d22956c9
JM
11748 * conform/conformtest.pl: Handle "optional-" at start of lines in
11749 one place rather than duplicating several cases. Handle each
11750 format of "macro" line with initial "optional-".
11751
028e2e38
JM
11752 * conform/conformtest.pl: Only accept expected constant or
11753 optional-constant values with "==". Parse all "constant" lines in
11754 one place. Parse all "optional-constant" lines in one place.
11755 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11756 * conform/data/fmtmsg.h-data: Likewise.
11757 * conform/data/netinet/in.h-data: Likewise.
11758 * conform/data/tar.h-data: Likewise.
11759 * conform/data/limits.h-data: Use "==" form on "constant" and
11760 "optional-constant" lines.
11761
1b8f2850
JM
11762 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11763 Use -std=c99 for XOPEN2K.
11764 (@knownproblems): Remove.
11765 (newtoken): Don't check %isknown.
11766
a05a144b
JM
11767 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11768 Do not expect macro.
11769 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11770 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11771 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11772 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11773 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11774 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11775 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11776 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11777 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11778 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11779 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11780 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11781 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11782 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11783 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11784 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11785 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11786 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11787 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11788 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11789 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11790 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11791 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11792 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11793 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11794 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11795 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11796 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11797 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11798 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11799 [XPG3] (acosh): Likewise.
11800 [XPG3] (asinh): Likewise.
11801 [XPG3] (atanh): Likewise.
11802 [XPG3] (cbrt): Likewise.
11803 [XPG3] (expm1): Likewise.
11804 [XPG3] (ilogb): Likewise.
11805 [XPG3] (log1p): Likewise.
11806 [XPG3] (logb): Likewise.
11807 [XPG3] (nextafter): Likewise.
11808 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11809 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11810 [XPG3] (remainder): Likewise.
11811 [XPG3] (rint): Likewise.
11812 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11813 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11814 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11815 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11816 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11817 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11818 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11819 [UNIX98 || XOPEN2K] (scalb): Expect.
11820 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11821 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11822 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11823 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11824 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11825 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11826 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11827 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11828 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11829 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11830 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11831 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11832 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11833 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11834 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11835 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11836 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11837 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11838 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11839 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11840 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11841 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11842 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11843 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11844 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11845 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11846 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11847 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11848 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11849 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11850 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11851 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11852 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11853 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11854 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11855 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11856 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11857 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11858 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11859 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11860 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11861 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11862 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11863 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11864 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11865 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11866 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11867 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11868 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11869 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11870 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11871 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11872 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11873 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11874 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11875 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11876 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11877 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11878 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11879 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11880 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11881 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11882 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11883 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11884 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11885 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11886 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11887 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11888 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11889 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11890 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11891 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11892 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11893 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11894 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11895 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11896 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11897 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11898 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11899 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11900 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11901 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11902 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11903 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11904 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11905 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11906 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11907 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11908 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11909 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11910 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11911 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11912 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11913 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11914 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11915 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11916 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11917 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11918 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11919 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11920 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11921 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11922 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11923 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11924 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11925 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11926 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11927 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11928 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11929 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11930 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11931 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11932 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11933 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11934 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11935 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11936 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11937 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11938 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11939 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11940 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11941 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11942 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11943 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11944 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11945 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11946 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11947 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11948 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11949 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11950 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11951 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11952 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11953 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11954 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11955 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11956 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11957
73c5ebe3
JM
11958 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11959 _XOPEN_SOURCE_EXTENDED for XPG4.
11960
39c33b6c
JM
11961 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11962
62fde54f
JM
11963 * Makeconfig (localtime): Remove variable.
11964 (inst_localtime-file): Likewise.
11965
0741d64c
AS
119662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11967
11968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11969 Update.
11970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11971 Update.
11972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11973 Update.
11974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11975 Update.
11976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11977 Update.
11978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11979 Update.
11980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11981 Update.
11982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11983 Update.
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11985 Update.
11986
7cb029ee
JM
119872012-05-01 Joseph Myers <joseph@codesourcery.com>
11988
11989 [BZ #2550]
11990 [BZ #2570]
11991 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11992 comparisons to determine direction to adjust input.
11993 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11994 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11995 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11996 Likewise.
11997 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11998 Likewise.
11999 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12000 Likewise.
12001 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12002 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12003 Likewise.
12004 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12005 Likewise.
12006 * math/libm-test.inc (nexttoward_test): Add more tests.
12007
412bd966
AS
120082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12009
12010 [BZ #14040]
12011 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12012 in version GLIBC_2.1, not GLIBC_2.0.
12013 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12014 Likewise.
12015
9568c0c2
JM
120162012-04-30 Joseph Myers <joseph@codesourcery.com>
12017
adfbc8ac
JM
12018 [BZ #13942]
12019 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12020 (1 - x) * (1 + x).
12021 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12022 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12023 * math/libm-test.inc (acos_test): Add more tests.
12024 (asin_test): Likewise.
12025 * sysdeps/i386/fpu/libm-test-ulps: Update.
12026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12027
5ba3cc69
JM
12028 [BZ #14034]
12029 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12030 of square root.
12031 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12032 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12033 * math/libm-test.inc (acos_test_tonearest): New function.
12034 (acos_test_towardzero): Likewise.
12035 (acos_test_downward): Likewise.
12036 (acos_test_upward): Likewise.
12037 (asin_test_tonearest): Likewise.
12038 (asin_test_towardzero): Likewise.
12039 (asin_test_downward): Likewise.
12040 (asin_test_upward): Likewise.
12041 (main): Call the new functions.
12042 * sysdeps/i386/fpu/libm-test-ulps: Update.
12043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12044
9568c0c2
JM
12045 [BZ #13884]
12046 [BZ #13924]
12047 * math/e_exp10.c: Include <float.h>.
12048 (__ieee754_exp10): Handle underflow here rather than multiplying
12049 large negative argument by M_LN10.
12050 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12051 of __ieee754_expf.
12052 * math/e_exp10l.c: Include <float.h>.
12053 (__ieee754_exp10l): Handle underflow here rather than multiplying
12054 large negative argument by M_LN10l.
12055 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12056 spurious overflow exception on underflow.
12057
5ac3ea17
MP
120582012-04-29 Marek Polacek <polacek@redhat.com>
12059
12060 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12061 (__fortify_function): New macro.
12062 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12063 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12064 __extern_always_inline.
12065 * libio/bits/stdio2.h: Likewise.
12066 * libio/bits/stdio.h: Likewise.
12067 * string/string.h: Likewise.
12068 * string/bits/string3.h: Likewise.
12069 * include/stdio.h: Likewise.
12070 * stdlib/bits/stdlib.h: Likewise.
12071 * stdlib/stdlib.h: Likewise.
12072 * rt/bits/mqueue2.h: Likewise.
12073 * rt/mqueue.h: Likewise.
12074 * posix/bits/unistd.h: Likewise.
12075 * posix/unistd.h: Likewise.
12076 * io/bits/poll2.h: Likewise.
12077 * io/bits/fcntl2.h: Likewise.
12078 * io/fcntl.h: Likewise.
12079 * io/sys/poll.h: Likewise.
12080 * misc/bits/syslog.h: Likewise.
12081 * misc/bits/syslog-ldbl.h: Likewise.
12082 * misc/sys/syslog.h: Likewise.
12083 * socket/bits/socket2.h: Likewise.
12084 * socket/sys/socket.h: Likewise.
12085 * debug/tst-chk1.c: Likewise.
12086 * wcsmbs/bits/wchar2.h: Likewise.
12087 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12088 * wcsmbs/wchar.h: Likewise.
12089
ecf0ebfb
AJ
120902012-04-29 Andreas Jaeger <aj@suse.de>
12091
12092 * Makerules (tests): Remove enable-check-abi protection.
12093 (check-abi-warn): Remove.
12094 (check-abi-%): Remove check-abi-warn usage.
12095
12096 * configure.in: Remove check-abi configure option.
12097 * configure: Regenerated.
12098 * config.make.in (enable-check-abi): Remove.
12099
6d5c57fa
AS
121002012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12101
24c5d07e 12102 [BZ #14033]
ded5180a
AS
12103 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12104 double functions to double *_finite functions.
12105
7e0d315d
AS
12106 [BZ #13941]
12107 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12108 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12109 LDBL_MIN_EXP.
12110 * stdio-common/Makefile (tests): Add tst-sprintf3.
12111 * stdio-common/tst-sprintf3.c: New file.
12112
6d5c57fa
AS
12113 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12114 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12115
0749ff8b
JM
121162012-04-28 Joseph Myers <joseph@codesourcery.com>
12117
12118 * conform/conformtest.pl: Remove duplicate typed-constant
12119 handling.
12120
8dbd5d7b
DM
121212012-04-28 David S. Miller <davem@davemloft.net>
12122
12123 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12124 (check-abi-%): Remove AWK script prerequisite and explicit
12125 abilist directory.
12126 (check-abi): Rewrite to just diff the symlist with the abilist.
12127 (config-tls, config-abi-config): Delete, no longer used.
12128 (update-abi-%): Remove AWK script and explicit abilist directory.
12129 (update-abi): Rewrite to simply compare and conditionally copy the
12130 symlist and the sysdep abilist file. Remove update-abi-config
12131 checks.
12132 * abilist/ld.abilist: Remove.
12133 * abilist/libBrokenLocale.abilist: Remove.
12134 * abilist/libanl.abilist: Remove.
12135 * abilist/libcrypt.abilist: Remove.
12136 * abilist/libdl.abilist: Remove.
12137 * abilist/librt.abilist: Remove.
12138 * abilist/libthread_db.abilist: Remove.
12139 * abilist/libutil.abilist: Remove.
12140 * scripts/extract-abilist.awk: Remove.
12141 * scripts/merge-abilist.awk: Remove.
12142 * sysdeps/generic/libcidn.abilist: New file.
12143 * sysdeps/generic/libnss_compat.abilist: New file.
12144 * sysdeps/generic/libnss_db.abilist: New file.
12145 * sysdeps/generic/libnss_dns.abilist: New file.
12146 * sysdeps/generic/libnss_files.abilist: New file.
12147 * sysdeps/generic/libnss_hesiod.abilist: New file.
12148 * sysdeps/generic/libnss_nis.abilist: New file.
12149 * sysdeps/generic/libnss_nisplus.abilist: New file.
12150 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12151 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12152 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12153 file.
12154 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12155 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12156 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12157 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12158 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12159 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12160 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12161 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12162 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12163 file.
12164 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12165 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12166 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12167 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12168 file.
12169 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12170 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12171 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12172 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12173 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12174 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12175 file.
12176 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12177 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12178 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12179 file.
12180 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12182 New file.
12183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12184 New file.
12185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12186 New file.
12187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12188 New file.
12189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12190 New file.
12191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12192 New file.
12193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12194 New file.
12195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12196 New file.
12197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12198 New file.
12199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12200 New file.
12201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12202 New file.
12203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12204 New file.
12205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12206 New file.
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12208 file.
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12210 New file.
12211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12212 New file.
12213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12214 file.
12215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12216 New file.
12217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12218 New file.
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12220 file.
12221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12222 New file.
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12224 New file.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12226 New file.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12228 New file.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12230 New file.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12232 New file.
12233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12235 file.
12236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12237 New file.
12238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12239 file.
12240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12241 file.
12242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12243 file.
12244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12245 file.
12246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12247 file.
12248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12249 New file.
12250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12251 file.
12252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12253 file.
12254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12255 New file.
12256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12257 file.
12258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12260 file.
12261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12262 New file.
12263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12264 file.
12265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12266 file.
12267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12268 file.
12269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12270 file.
12271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12272 file.
12273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12274 New file.
12275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12276 file.
12277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12278 file.
12279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12280 New file.
12281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12282 file.
12283 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12284 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12285 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12286 file.
12287 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12288 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12289 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12290 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12291 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12292 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12293 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12294 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12295 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12296 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12299 file.
12300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12301 New file.
12302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12303 file.
12304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12305 file.
12306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12307 file.
12308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12309 file.
12310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12311 file.
12312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12313 New file.
12314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12315 New file.
12316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12317 file.
12318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12319 New file.
12320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12321 file.
12322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12324 file.
12325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12326 New file.
12327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12328 file.
12329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12330 file.
12331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12332 file.
12333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12334 file.
12335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12336 file.
12337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12338 New file.
12339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12340 New file.
12341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12342 file.
12343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12344 New file.
12345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12346 file.
12347
41d73a1b
JM
123482012-04-28 Joseph Myers <joseph@codesourcery.com>
12349
12350 * conform/conformtest.pl: Fix typo in handling typed-constant from
12351 allow-header.
12352
28aeeda4
JM
123532012-04-27 Joseph Myers <joseph@codesourcery.com>
12354
adae8f5e
JM
12355 * README: Cut down references to pre-2.6 Linux kernels and
12356 Linuxthreads. Update lists of configurations in libc and ports
12357 and sort alphabetically. Say "or newer" with Linux kernel version
12358 requirements.
12359
28aeeda4
JM
12360 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12361
a462cb63
RA
123622012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12363
12364 [BZ #887]
12365 * math/libm-test.inc (logb_test_downward): New test to expose
12366 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12367 rounding mode.
12368
6ad3493e
JM
123692012-04-27 Joseph Myers <joseph@codesourcery.com>
12370
12371 [BZ #14027]
12372 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12373 to be done.
12374 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12375 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12376
2ce4f015
JM
123772012-04-26 Joseph Myers <joseph@codesourcery.com>
12378
5aeb141a
JM
12379 * sysdeps/unix/i386/brk.S: Remove file.
12380 * sysdeps/unix/i386/dl-brk.S: Likewise.
12381 * sysdeps/unix/i386/pipe.S: Likewise.
12382 * sysdeps/unix/i386/sigreturn.S: Likewise.
12383 * sysdeps/unix/i386/syscall.S: Likewise.
12384 * sysdeps/unix/i386/vfork.S: Likewise.
12385 * sysdeps/unix/i386/wait.S: Likewise.
12386
7143acae
JM
12387 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12388 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12389
2ce4f015
JM
12390 * configure.in (arm*-none*): Do not allow without
12391 --enable-hacker-mode.
12392 (netbsd*): Remove case setting base_os.
12393 (386bsd*): Likewise.
12394 (freebsd*): Likewise.
12395 (bsdi*): Likewise.
12396 (osf*): Likewise.
12397 (sunos*): Likewise.
12398 (ultrix*): Likewise.
12399 (newsos*): Likewise.
12400 (dynix*): Likewise.
12401 (*bsd*): Likewise.
12402 (sysv*): Likewise.
12403 (isc*): Likewise.
12404 (esix*): Likewise.
12405 (sco*): Likewise.
12406 (minix*): Likewise.
12407 (irix4*): Likewise.
12408 (irix6*): Likewise.
12409 (solaris[2-9]*): Likewise.
12410 (none): Likewise.
12411 * configure: Regenerated.
12412
0ac229c8
AZ
124132012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12414
12415 [BZ #11521]
12416 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12417 overflow or cancellation in calculating denominator.
12418 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12419 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12420 down expression to avoid unexpected rounding in newer GCCs.
12421 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12422
33f244f4
DM
124232012-04-26 David S. Miller <davem@davemloft.net>
12424
12425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12426 long-double compat symbols.
12427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12440
cfa1f3e8
DM
124412012-04-25 David S. Miller <davem@davemloft.net>
12442
12443 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12444 HWCAP_* values only after the memory barriers have been defined.
12445 (atomic_full_barrier): Define.
12446 (atomic_read_barrier): Define.
12447 (atomic_write_barrier): Define.
12448
6e236b92
SP
124492012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12450
12451 * shlib-versions: Add libgcc_s version information.
12452 * sysdeps/generic/libgcc_s.h: Remove.
12453 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12454 libgcc_s.h.
12455 * sysdeps/gnu/unwind-resume.c: Likewise.
12456 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12457
aab39a09
DM
124582012-04-25 David S. Miller <davem@davemloft.net>
12459
12460 * sysdeps/unix/sparc/brk.S: Delete.
12461 * sysdeps/unix/sparc/dl-brk.S: Delete.
12462 * sysdeps/unix/sparc/pipe.S: Delete.
12463 * sysdeps/unix/sparc/sysdep.S: Delete.
12464 * sysdeps/unix/sparc/sysdep.h: Delete.
12465 * sysdeps/unix/sparc/vfork.S: Delete.
12466 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12467 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12468 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12469 ret_ERRVAL, r0, r1, MOVE): Define.
12470 (JUMPTARGET): Remove.
12471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12472 sysdeps/unix/sparc/sysdep.h
12473 (ENTRY, END): Remove.
12474 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12475
a3cc4f48
JM
124762012-04-25 Joseph Myers <joseph@codesourcery.com>
12477
2ed8cda2
JM
12478 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12479 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12480 -DIS_IN_build.
12481
35d76d59
JM
12482 * timezone/README: Update upstream location and email address for
12483 tzcode and tzdata.
12484 * timezone/zdump.c: Update from tzcode 2012b.
12485 * timezone/zic.c: Likewise.
12486
a3cc4f48
JM
12487 * configure.in (libc_cv_as_needed): Remove test.
12488 * configure: Regenerated.
12489 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12490 conditional definition.
12491 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12492 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12493 * config.make.in (have-as-needed): Remove variable.
12494
ceab42c3
SP
124952012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12496 Paul Pluzhnikov <ppluzhnikov@google.com>
12497
12498 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12499 strings correctly.
12500
3ce2865f
CLT
125012012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12502
12503 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12504 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12505 * sysdeps/sh/strlen.S: Likewise.
12506
f37e0d68
JM
125072012-04-24 Joseph Myers <joseph@codesourcery.com>
12508
ae186e9a
JM
12509 * sysdeps/unix/fork.S: Remove file.
12510 * sysdeps/unix/i386/fork.S: Likewise.
12511 * sysdeps/unix/sparc/fork.S: Likewise.
12512
b96914af
JM
12513 * sysdeps/unix/system.c: Remove file.
12514 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12515
f37e0d68
JM
12516 * sysdeps/unix/getegid.S: Remove file.
12517 * sysdeps/unix/geteuid.S: Likewise.
12518
87ef29ca
RM
125192012-04-24 Roland McGrath <roland@hack.frob.com>
12520
83bcd236
RM
12521 * scripts/check-localplt.awk: New file.
12522 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12523 of diff.
12524 * scripts/data/localplt-generic.data: Add a comment.
12525
87ef29ca
RM
12526 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12527 NODE when __dir_mkfile failed.
12528 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12529 Reported by Ludovic Courtès <ludo@gnu.org>.
12530
e5a6e567
AJ
125312012-04-24 Andreas Jaeger <aj@suse.de>
12532
12533 * Makerules (common-clean): Also remove gen-as-const-headers
12534 files.
12535
c1820385
JM
125362012-04-24 Joseph Myers <joseph@codesourcery.com>
12537
12538 * Makerules (native-compile): Do not change working directory for
12539 build. Use $(OUTPUT_OPTION) in command.
12540 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12541
94e02fc4
AZ
125422012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12543
12544 [BZ #13886]
12545 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12546 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12547 * math/libm-test.inc (floor_test): Add more tests.
12548 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12549
3a533ca3
JM
125502012-04-24 Joseph Myers <joseph@codesourcery.com>
12551
940ab4b3
JM
12552 * sysdeps/unix/getdents.c: Remove file.
12553 * sysdeps/unix/sysv/getdents.c: Likewise.
12554 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12555
90e037bd
JM
12556 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12557 sysdeps/unix/mman/syscalls.list.
12558 (mmap): Likewise.
12559 (mprotect): Likewise.
12560 (msync): Likewise.
12561 (munmap): Likewise.
12562 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12563 * sysdeps/unix/mman/syscalls.list: Remove.
12564 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12565
3a533ca3
JM
12566 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12567 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12568 * configure: Regenerated.
12569 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12570 $(libgcc_s_suffix).
12571 * config.make.in (libgcc_s_suffix): Remove variable.
12572
1ad743de
JM
125732012-04-23 Joseph Myers <joseph@codesourcery.com>
12574
4ad451e2
JM
12575 * sysdeps/unix/sysv/gethostname.c: Move to ...
12576 * sysdeps/posix/gethostname.c: ... here.
12577
5e37ce39
JM
12578 * sysdeps/unix/execve.S: Remove file.
12579
1ad743de
JM
12580 * sysdeps/unix/_exit.S: Remove file.
12581
4e681b5b
AJ
125822012-04-23 Andreas Jaeger <aj@suse.de>
12583
12584 [BZ #13739]
12585 * manual/Makefile: Remove make dist support, there's no
12586 need for a stand-alone documentation tar ball.
12587 (TEXI2DVI): Define always, it's not in Makeconfig.
12588 (dist): Removed.
12589 (tar-it): Removed.
12590 (edition): Removed.
12591 (glibc-doc-$(edition).tar): Removed
12592 (%.Z): Removed.
12593 (%.gz): Removed.
12594 (%.uu): Removed.
12595 (ETAGS): Remove, it's in Makeconfig.
12596 (move-if-change): Remove, it's in Makeconfig.
12597
38686a03 125982012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12599
12600 [BZ #13970]
12601 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12602 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12603 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12604 (strtod_l, strtof_l, strtold_l): Remove __wur.
12605 It is not necessarily an error to ignore strtol's return value.
12606 One can reliably look at the stored endptr to decide whether
12607 the number had valid syntax.
12608
7c0616fa
AJ
126092012-04-21 Andreas Jaeger <aj@suse.de>
12610
803cb6b7 12611 [BZ #13739]
7c0616fa
AJ
12612 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12613
b0fe253f
JM
126142012-04-21 Joseph Myers <joseph@codesourcery.com>
12615
12616 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12617 * sysdeps/unix/sysv/Versions: Remove file.
12618
8280f22d
MT
126192012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12620
12621 [BZ #13927]
12622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12623
75ce411f 126242012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12625
12626 [BZ #7064]
12627 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12628 version from __vm86.
12629
097d59fa
JM
126302012-04-20 Joseph Myers <joseph@codesourcery.com>
12631
a90f3bcb
JM
12632 * sysdeps/unix/common/lxstat.c: Remove file.
12633 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12634
edc7ea78
JM
12635 * sysdeps/unix/sysv/Makefile: Remove file.
12636
cb78c221
JM
12637 * sysdeps/unix/sysv/direct.h: Remove file.
12638
efa6a45f
JM
12639 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12640 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12641 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12642 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12643 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12644 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12645 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12646
9c9f2d0c
JM
12647 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12648
4541c83b
JM
12649 * sysdeps/unix/xmknod.c: Remove file.
12650 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12651
f5d153a0
JM
12652 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12653
aa746595
JM
12654 * sysdeps/unix/sysv/i386/time.S: Remove file.
12655
cce5905e
JM
12656 * sysdeps/unix/fxstat.c: Remove file.
12657 * sysdeps/unix/xstat.c: Likewise.
12658 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12659
37fa3841
JM
12660 * sysdeps/unix/sysv/sigaction.c: Remove file.
12661
ff1962a3
JM
12662 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12663 (sysdep_headers): Remove variable.
12664 [termio.h not in sysdep_headers] (generated): Likewise.
12665 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12666 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12667 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12668 * sysdeps/unix/sysv/tcflow.c: Likewise.
12669 * sysdeps/unix/sysv/tcflush.c: Likewise.
12670 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12671 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12672 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12673 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12674 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12675
e7740d31
JM
12676 * sysdeps/unix/siglist.c: Remove file.
12677
ee06f18b
JM
12678 * sysdeps/unix/getppid.S: Remove file.
12679
097d59fa
JM
12680 * sysdeps/unix/mkdir.c: Remove file.
12681 * sysdeps/unix/rmdir.c: Likewise.
12682
ff3d51ec
AS
126832012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12684
12685 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12686 ERR_MAX value.
12687 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12688 errlist-compat value.
12689
50f81fd7
DM
126902012-04-18 David S. Miller <davem@davemloft.net>
12691
12692 * sysdeps/generic/memcopy.h (reg_char): Delete.
12693 * debug/strcat_chk.c: Use char, not reg_char.
12694 * debug/strcpy_chk.c: Likewise.
12695 * debug/strncat_chk.c: Likewise.
12696 * debug/strncpy_chk.c: Likewise.
12697 * string/memchr.c: Likewise.
12698 * string/memrchr.c: Likewise.
12699 * string/rawmemchr.c: Likewise.
12700 * string/strcat.c: Likewise.
12701 * string/strchr.c: Likewise.
12702 * string/strchrnul.c: Likewise.
12703 * string/strcmp.c: Likewise.
12704 * string/strcpy.c: Likewise.
12705 * string/strncat.c: Likewise.
12706 * string/strncmp.c: Likewise.
12707 * string/strncpy.c: Likewise.
12708
8ff41c46
WS
127092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12710
12711 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12712 __builtin_memcopy is called when src and dest ranges are known to not
12713 overlap.
12714
6b652f46
WS
127152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12716
12717 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12718 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12719 fwd_align_merge macro call.
12720 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12721 bwd_align_merge macro call.
12722 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12723
b282631e
WS
127242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12725
12726 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12727 bwd_align_merge macros.
12728 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12729 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12730 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12731
95aa737c
DM
127322012-04-18 David S. Miller <davem@davemloft.net>
12733
12734 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12735
7a99a614
AJ
127362012-04-18 Andreas Jaeger <aj@suse.de>
12737
12738 [BZ# 6794]
12739 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12740 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12741 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12742
12743 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12744 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12745 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12746
12747 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12748 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12749 Adjust for changed ldbl-128 files.
12750
12751 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12752 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12753 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12754
e5270c23
DM
127552012-04-17 David S. Miller <davem@davemloft.net>
12756
12757 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12758
fb5e92c9
AS
127592012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12760
12761 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12762 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12763 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12764 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12765 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12766 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12767
76da7265
AZ
127682012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12769
12770 [BZ #6794]
12771 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12772 * math/libm-test.inc: Add ilogb errno and exception tests.
12773 * math/w_ilogb.c: New file: ilogb wrapper.
12774 * math/w_ilogbf.c: New file: ilogbf wrapper.
12775 * math/w_ilogbl.c: New file: ilogbl wrapper.
12776 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12777 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12778 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12779 exception being thrown with 0.0 as argument.
12780 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12781 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12782 exception being thrown with 0.0 as argument.
12783 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12784 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12785 exception being thrown with 0.0 as argument.
12786 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12787 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12788 exception being thrown with 0.0 as argument.
12789 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12790 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12791 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12792 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12793 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12794 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12795 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12796 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12797 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12798
0396e69d
PB
127992012-04-17 Petr Baudis <pasky@ucw.cz>
12800
12801 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12802 with altivec.
12803
750b5926
MP
128042012-04-16 Marek Polacek <polacek@redhat.com>
12805
12806 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12807
751728a1
MP
128082012-04-16 Marek Polacek <polacek@redhat.com>
12809
12810 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12811 operands of fdivp instruction.
12812
34a27407
L
128132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12814
12815 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12816 * elf/tst-auditmod3b.c: Likewise.
12817 * elf/tst-auditmod4b.c: Likewise.
12818 * elf/tst-auditmod5b.c: Likewise.
12819 * elf/tst-auditmod6b.c: Likewise.
12820 * elf/tst-auditmod6c.c: Likewise.
12821 * elf/tst-auditmod7b.c: Likewise.
12822 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12823 * sysdeps/x86_64/preconfigure.in: Likewise.
12824 * sysdeps/x86_64/preconfigure: Regenerated.
12825
7e73e17d
L
128262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12827
12828 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12829 __ILP32__.
12830
c7a6ab72
AB
128312012-04-13 Antoine Balestrat <merkil33@gmail.com>
12832
12833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12834 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12835
a9e8e0e0
CL
128362012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12837
12838 [BZ #13973]
12839 * locale/iso-639.def: Fix gl language name. Spotted by
12840 Yaron Shahrabani.
12841
ec98af7d
RM
128422012-04-12 Roland McGrath <roland@hack.frob.com>
12843
12844 [BZ #2074]
12845 * libio/libio.h (__io_write_fn): Update comment.
12846
247c3ede
PB
128472012-04-12 Petr Baudis <pasky@ucw.cz>
12848
12849 [BZ #2074]
12850 * stdio.texi (Hook Functions): The user provided writer function
12851 is not allowed to return -1.
12852
55939d6d
DM
128532012-04-11 David S. Miller <davem@davemloft.net>
12854
12855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12856
90020f5a
MF
128572012-04-11 Mike Frysinger <vapier@gentoo.org>
12858
12859 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12860 Add a leading slash to rtkaio.
12861
288f9098
JM
128622012-04-11 Jim Meyering <meyering@redhat.com>
12863
90020f5a
MF
12864 [BZ #11959]
12865 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12866 It is not necessarily an error to ignore fwrite's return
12867 value. One can reliably use ferror to test for errors after
12868 the fact.
288f9098 12869
4be2b570
L
128702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12871
12872 * bits/types.h (__snseconds_t): New type.
12873 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12874
12875 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12877 (__SNSECONDS_T_TYPE): Likewise.
12878 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12879 (__SNSECONDS_T_TYPE): Likewise.
12880 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12881 (__SNSECONDS_T_TYPE): Likewise.
12882
288f9098 128832012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12884
12885 [BZ #2636]
12886 * manual/time.texi (Processor Time): Return type of times is
12887 elapsed real time since an arbitrary point in the past.
12888 (CPU Time): Move CLK_TCK from here...
12889 (Processor Time): ...to here. Correct description.
12890 * manual/conf.texi (Constants for Sysconf): Correct description of
12891 _SC_CLK_TCK.
12892
d7dd4413
DM
128932012-04-10 David S. Miller <davem@davemloft.net>
12894
12895 [BZ #13967]
12896 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12897 where the is a gap between DT_REL(A) and DT_JMPREL.
12898
b46068fc
L
128992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12900
12901 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12902 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12903 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12904
73d65cc3
SP
129052012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12906
12907 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12908 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12909 (dl_main): Handle --inhibit-cache.
12910 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12911 _dl_inhibit_cache.
12912 * elf/dl-load.c (_dl_map_object): Use it.
12913 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12914
bcc8d661
JM
129152012-04-09 Joseph Myers <joseph@codesourcery.com>
12916
8f9a2fae
JM
12917 [BZ #13872]
12918 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12919 (__ieee754_powl): Saturate large exponents rather than testing for
12920 overflow of y*log2(x).
12921 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12922 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12923 exceptions.
12924
bcc8d661
JM
12925 [BZ #11521]
12926 * math/s_ctan.c: Include <float.h>.
12927 (__ctan): Avoid internal overflow or cancellation in calculating
12928 denominator.
12929 * math/s_ctanf.c: Likewise.
12930 * math/s_ctanl.c: Likewise.
12931 * math/s_ctanh.c: Likewise.
12932 * math/s_ctanhf.c: Likewise.
12933 * math/s_ctanhl.c: Likewise.
12934 * math/libm-test.inc (ctan_test): Add more tests.
12935 (ctanh_test): Likewise.
12936 * sysdeps/i386/fpu/libm-test-ulps: Update.
12937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12938
823fbbb4
AJ
129392012-04-09 Andreas Jaeger <aj@suse.de>
12940
03879793
AJ
12941 [BZ #6894]
12942 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12943 is an optional BSD extension.
12944
823fbbb4
AJ
12945 [BZ #10254]
12946 * manual/stdio.texi (Opening Streams): Document additional fopen
12947 parameters.
12948
8de131cb
RM
129492012-04-09 Roland McGrath <roland@hack.frob.com>
12950
12951 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12952 %eax without telling the compiler.
12953
c0ed9d7d
CD
129542012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12955
12956 [BZ # 13963]
12957 * manual/install.texi: Use sourceware.org.
12958
c483f6b4
JM
129592012-04-09 Joseph Myers <joseph@codesourcery.com>
12960
d7dd9453
JM
12961 [BZ #13873]
12962 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12963 (__ieee754_pow): Generate overflow and underflow using huge*huge
12964 and tiny*tiny rather than just returning constant infinity or zero
12965 for large exponents.
12966 * math/libm-test.inc (pow_test): Require overflow exceptions for
12967 applicable cases of large exponents.
12968
c483f6b4
JM
12969 [BZ #706]
12970 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12971 (__ieee754_pow): Use iterative multiplication algorithm only for
12972 integer exponents with absolute value below 1024. Check for odd
12973 integer exponents when using algorithm for real exponents.
12974 * math/libm-test.inc (pow_test): Add more tests.
12975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12976
d2de7579
JM
129772012-04-08 Joseph Myers <joseph@codesourcery.com>
12978
12979 [BZ #13705]
12980 * math/libm-test.inc (exp_test): Do not allow overflow exception
12981 on underflow test.
12982
f77f1232
AJ
129832012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12984
12985 [BZ #13705]
12986 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12987 instead of __kernel_standard_f.
12988
3884932b
MF
129892012-04-08 Mike Frysinger <vapier@gentoo.org>
12990
12991 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12992 * sysdeps/x86_64/memset_chk.S: Likewise.
12993
54472e9c
AJ
129942012-04-08 Andreas Jaeger <aj@suse.de>
12995
6ab0fbfc
AJ
12996 [BZ #10153]
12997 * manual/startup.texi (Environment Access): Describe return value
12998 for putenv and setenv.
12999
61efba8c
AJ
13000 [BZ #6895]
13001 * manual/filesys.texi (Directory Entries): Add description for
13002 DT_LNK.
13003
95c3f29a
AJ
13004 [BZ #6890]
13005 * manual/filesys.texi (Directory Entries): Clarify that it's file
13006 system not operating system in the description of DT_UNKNOWN.
13007
54472e9c
AJ
13008 [BZ #6578]
13009 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13010
624254b1
SC
130112012-04-08 Stephen Compall <s11@member.fsf.org>
13012
13013 [BZ #6649]
13014 * manual/llio.texi (Opening and Closing Files): Add cross
13015 reference to explain mode argument.
13016
1e4920e0
MF
130172012-04-07 Mike Frysinger <vapier@gentoo.org>
13018
13019 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13020 * sysdeps/x86_64/memset_chk.S: Likewise.
13021
5ed848f3
DM
130222012-04-07 David S. Miller <davem@davemloft.net>
13023
13024 * elf/elf.h (R_SPARC_WDISP10): Define.
13025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13026 R_SPARC_SIZE32.
13027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13028 R_SPARC_SIZE64 and R_SPARC_H34.
13029
96154cd8
CD
130302012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13031
13032 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13033 conditions and remove no longer applicable assertion.
13034
9904dc47
L
130352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13036
13037 * bits/byteswap.h: Include <features.h>.
13038 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13039 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13040
f8887d0a
L
130412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13042
13043 * bits/byteswap.h (__bswap_16): Removed.
13044 Include <bits/byteswap-16.h> to get __bswap_16.
13045 * sysdeps/i386/bits/byteswap.h: Likewise.
13046 * sysdeps/s390/bits/byteswap.h: Likewise.
13047 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13048 * bits/byteswap-16.h: New file.
13049 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13050 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13051 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13052 * string/Makefile (headers): Add bits/byteswap-16.h.
13053
62470f60
PP
130542012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13055
13056 [BZ #13895]
13057 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13058 extra indirection.
13059 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13060 * nss/tst-nss-static.c: New.
13061
4dad7bab
RM
130622012-04-06 Robert Millan <rmh@gnu.org>
13063
13064 [BZ #6486]
13065 * manual/llio.texi (File Position Primitive): lseek
13066 refers to WHENCE when it really means OFFSET.
13067
e9142a17
AJ
130682012-04-06 Andreas Jaeger <aj@suse.de>
13069
2c040eff
AJ
13070 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13071 strncmp declarations.
13072
e9142a17
AJ
13073 * abilist/libc.abilist: Add __poll and __ppoll.
13074
ff9f1c5f
DM
130752012-04-05 David S. Miller <davem@davemloft.net>
13076
dcd2ae90
DM
13077 * scripts/check-local-headers.sh: Accept a host triplet in the
13078 path matched by the exclude regexp.
13079
993eb054
DM
13080 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13081 definition.
13082 * sysdeps/powerpc/powerpc32/dl-machine.h
13083 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13084 * sysdeps/s390/s390-32/dl-machine.h
13085 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13086 * sysdeps/sparc/sparc32/dl-machine.h
13087 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13088 * sysdeps/sparc/sparc64/dl-machine.h
13089 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13090
ff9f1c5f
DM
13091 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13092 lazy binding.
48e2e132 13093 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13094 undefined symbol errors.
13095
48e2e132 13096 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13097 DT_NEEDED entries.
13098
e80d6f94
MM
130992012-04-05 Michael Matz <matz@suse.de>
13100
13101 [BZ #13592]
13102 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13103
349fa79f
AJ
131042012-04-05 Andreas Jaeger <aj@suse.de>
13105
13106 [BZ #13908]
13107 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13108 comment.
13109
f402708f
KK
131102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13111
13112 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13113 which ROUND is no valid rounding mode.
13114
2ecccfc9
KK
131152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13116
13117 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13118 read again.
13119 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13120
8a53f50f
KK
131212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13122
13123 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13124 an exception using FPU order intentionally.
13125
131262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13127
13128 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13129 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13130 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13131 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13132
d653abb7
SJ
131332012-04-05 Simon Josefsson <simon@josefsson.org>
13134
13135 [BZ #12340]
13136 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13137 EINVAL when BUFLEN is too smal.
13138
c3b1bf7d
TS
131392012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13140
13141 [BZ #13553]
13142 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13143 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13144
b1aa60f3
AJ
131452012-04-03 Andreas Jaeger <aj@suse.de>
13146
c3b1bf7d 13147 [BZ #13938]
67f60a26
AJ
13148 * manual/setjmp.texi (System V contexts): Fix sentence.
13149
b1aa60f3
AJ
13150 [BZ #13926]
13151 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13152 New macro for this case.
13153 [!__GNUC__] (__bswap_64): New inline function for this case.
13154 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13155 * bits/byteswap.h: Likewise.
13156 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13157 ull, guard with __GLIBC_HAVE_LONG_LONG.
13158
13159 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13160 __GLIBC_HAVE_LONG_LONG.
13161
13162 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13163 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13164
39c59c35
TMQMF
131652012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13166
13167 [BZ #13691]
13168 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13169 inptr and inend, rather than using last_ch.
13170
135ffda8
DM
131712012-04-02 David S. Miller <davem@davemloft.net>
13172
13173 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13174 * stdio-common/printf-parse.h (read_int): Change return type to
13175 'int', return -1 on INT_MAX overflow.
13176 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13177 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13178 overflows INT_MAX. Check for overflow of in-format-string precision
13179 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13180 SIZE_MAX not INT_MAX for integer overflow test.
13181 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13182 skip the construct in the format string but do not record anything.
13183 * stdio-common/bug22.c: Adjust to test both width/prevision
13184 INT_MAX overflow as well as total length INT_MAX overflow. Check
13185 explicitly for proper errno values.
13186
228c019e
TS
131872012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13188
302cadd3
TS
13189 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13190 CHAR_MAX.
13191 * string/test-strcmp.c [! WIDE]: Likewise.
13192 * time/tst-mktime2.c: Likewise for INT_MAX.
13193 * string/test-string.h: #include <sys/param.h> for MIN.
13194
228c019e
TS
13195 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13196 * sysdeps/i386/init-first.c (init): Likewise.
13197 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13198 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13199 * sysdeps/sh/init-first.c (init): Likewise.
13200
cfa633f5
UD
132012012-04-01 Ulrich Drepper <drepper@gmail.com>
13202
13203 * po/ru.po: Update from translation team.
d1635ef8 13204 * po/vi.po: Likewise.
cfa633f5 13205
6cd0a5ea
SP
132062012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13207
13208 * resolv/nss_dns/dns-host.c: Merge copyright years.
13209
4b43400f
LD
132102012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13211
13212 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13213 Optimize memcpy with prefetch if
13214 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13215 src, dst pointers have unequal 16 byte alignments.
13216
48c41d04
SP
132172012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13218
13219 [BZ #13928]
13220 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13221 from a CNAME entry and return the minimum ttl for the query.
13222 (gaih_getanswer_slice): Likewise.
13223
b8dc394d
JL
132242012-03-30 Jeff Law <law@redhat.com>
13225
13226 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13227 due to long keys.
13228 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13229 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13230
2f5a5ed0
JL
13231 * resolv/nss_dns/dns-host.c: Update copyright year.
13232
1d39e359
UD
132332012-03-30 Ulrich Drepper <drepper@gmail.com>
13234
c030f70c 13235 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13236 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13237
1d39e359
UD
13238 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13239 comments for sendmmsg.
13240
132412012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13242
13243 [BZ #13691]
13244 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13245 with only 1 character between 0x0041 and 0x01b0.
13246 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13247 * wcsmbs/tst-mbsnrtowcs.c: New file.
13248
20fde227
DM
132492012-03-29 David S. Miller <davem@davemloft.net>
13250
13251 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13252 small copies by hand.
13253
984a4237
JL
132542012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13255
13256 [BZ #13761]
13257 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13258 _nss_compat_initgroups_dyn): Fall back to malloc/free
13259 for large group memberships.
13260
18c9d62b
DM
132612012-03-28 David S. Miller <davem@davemloft.net>
13262
88d85d4f
DM
13263 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13264 that branches into memcpy.
13265 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13266 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13267 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13268 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13270 bits.
13271 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13272 implementation too.
13273 * sysdeps/sparc/mempcpy.S: New file.
13274
e5aa83e1
DM
13275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13276 the IFUNC routine in the libc case.
13277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13278
88570753
DM
13279 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13280 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13281 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13282 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13283 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13284 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13285 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13286 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13287
249d7567
DM
13288 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13289 loop to 256 bytes instead of 64 bytes and fix test signedness.
13290
18c9d62b
DM
13291 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13292 * sysdeps/sparc/sparc32/Makefile: rather than here...
13293 * sysdeps/sparc/sparc64/Makefile: and here.
13294
05f3d1f6
UD
132952012-03-28 Ulrich Drepper <drepper@gmail.com>
13296
13297 * malloc/mallocbug.c: Avoid warnings about unused variables.
13298
86ae07a8
JL
132992012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13300
13301 [BZ #13760]
13302 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13303 in the right place. Discard and retry query if response is
13304 larger than input buffer size.
13305
41bf21a1
JM
133062012-03-28 Joseph Myers <joseph@codesourcery.com>
13307
d6270972
JM
13308 [BZ #369]
13309 [BZ #2678]
13310 [BZ #3866]
13311 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13312 x for large integer exponent.
13313 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13314 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13315 sign of result as needed afterwards.
13316 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13317 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13318 result for underflowing pow the same as for overflow.
13319 (__kernel_standard_l): Handle powl overflow and underflow here
13320 rather than calling __kernel_standard.
13321 * math/libm-test.inc (pow_test): Add more tests.
13322
414fca03 13323 [BZ #3868]
41bf21a1
JM
13324 [BZ #13879]
13325 [BZ #13910]
13326 [BZ #13911]
13327 [BZ #13912]
13328 [BZ #13913]
13329 [BZ #13915]
13330 [BZ #13916]
13331 [BZ #13917]
13332 [BZ #13918]
13333 [BZ #13919]
13334 [BZ #13920]
13335 [BZ #13921]
13336 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13337 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13338 (__kernel_standard_l): New function.
13339 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13340 __kernel_standard.
13341 * math/w_acosl.c (__acosl): Likewise.
13342 * math/w_asinl.c (__asinl): Likewise.
13343 * math/w_atan2l.c (__atan2l): Likewise.
13344 * math/w_atanhl.c (__atanhl): Likewise.
13345 * math/w_coshl.c (__coshl): Likewise.
13346 * math/w_exp10l.c (__exp10l): Likewise.
13347 * math/w_exp2l.c (__exp2l): Likewise.
13348 * math/w_fmodl.c (__fmodl): Likewise.
13349 * math/w_hypotl.c (__hypotl): Likewise.
13350 * math/w_j0l.c (__j0l, __y0l): Likewise.
13351 * math/w_j1l.c (__j1l, __y1l): Likewise.
13352 * math/w_jnl.c (__jnl, __ynl): Likewise.
13353 * math/w_lgammal.c (__lgammal): Likewise.
13354 * math/w_log10l.c (__log10l): Likewise.
13355 * math/w_log2l.c (__log2l): Likewise.
13356 * math/w_logl.c (__logl): Likewise.
13357 * math/w_powl.c (__powl): Likewise.
13358 * math/w_remainderl.c (__remainderl): Likewise.
13359 * math/w_scalbl.c (sysv_scalbl): Likewise.
13360 * math/w_sinhl.c (__sinhl): Likewise.
13361 * math/w_sqrtl.c (__sqrtl): Likewise.
13362 * math/w_tgammal.c (__tgammal): Likewise.
13363 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13364 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13365 * math/libm-test.inc (acos_test): Add more tests.
13366 (acosh_test): Likewise.
13367 (asin_test): Likewise.
13368 (atanh_test): Likewise.
13369 (exp_test): Likewise.
13370 (exp10_test): Likewise.
13371 (exp2_test): Likewise.
13372 (expm1_test): Likewise.
13373 (lgamma_test): Likewise.
13374 (log_test): Likewise.
13375 (log10_test): Likewise.
13376 (log1p_test): Likewise.
13377 (log2_test): Likewise.
13378 (pow_test): Do not allow some spurious overflow exceptions.
13379 (sqrt_test): Add more tests.
13380 (tgamma_test): Likewise.
13381 (y0_test): Likewise.
13382 (y1_test): Likewise.
13383 (yn_test): Likewise.
13384
dd62fda6
AB
133852012-03-27 Anton Blanchard <anton@samba.org>
13386
13387 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13388 MAP_HUGETLB.
13389 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13390 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13391 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13392
1e3cdfda
AJ
133932012-03-27 David S. Miller <davem@davemloft.net>
13394
b855ab85
DM
13395 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13396
1e3cdfda
AJ
13397 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13398 have-as-vis3 check.
13399
134002012-03-27 Andreas Jaeger <aj@suse.de>
13401
13402 * sysdeps/x86_64/elf/configure.in: Moved to ...
13403 * sysdeps/x86_64/configure.in: ... here.
13404 * sysdeps/x86_64/elf/start.S: Moved to ...
13405 * sysdeps/x86_64/start.S: ... here.
13406 * sysdeps/x86_64/elf/configure: Delete.
13407
13408 * sysdeps/x86_64/configure.in: Merge contents from
13409 sysdeps/i386/configure.in (without i686 check).
13410
13411 * sysdeps/i386/elf/Versions: Merge into ...
13412 * sysdeps/i386/Versions: ... this.
13413 * sysdeps/i386/elf/Versions: Delete file.
13414 * sysdeps/i386/elf/start.S: Moved to ...
13415 * sysdeps/i386/start.S: ...here.
13416 * sysdeps/i386/elf/configure.in: Merge into...
13417 * sysdeps/i386/configure.in: ...here.
13418 * sysdeps/i386/elf/configure.in: Delete file.
13419 * sysdeps/i386/elf/configure: Delete file.
13420
13421 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13422 * debug/backtracesyms.c: ... here.
13423 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13424 * debug/backtracesymsfd.c: ... here.
13425 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13426 * sysdeps/generic/ifunc-sel.h: ... here.
13427
13428 * sysdeps/unix/i386/start.c: Delete file.
13429 * sysdeps/unix/sparc/start.c: Delete file.
13430 * sysdeps/unix/start.c: Delete file.
13431
13432 * sysdeps/sh/elf/configure.in: Moved to ...
13433 * sysdeps/sh/configure.in: ... here.
13434 * sysdeps/sh/elf/start.S: Moved to ...
13435 * sysdeps/sh/start.S: ... here.
13436 * sysdeps/sh/elf/configure: Delete file.
13437
13438 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13439 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13440 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13441 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13442 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13443 * sysdeps/powerpc/powerpc64/start.S: here.
13444 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13445 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13446 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13447 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13448 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13449
13450 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13451 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13452 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13453 * sysdeps/powerpc/powerpc32/start.S: ... here.
13454 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13455 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13456 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13457
13458 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13459 * sysdeps/powerpc/ifunc-sel.h: ... here.
13460 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13461 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13462
13463 * sysdeps/sparc/elf/configure.in: Moved to ...
13464 * sysdeps/sparc/configure.in: ... here.
13465 * sysdeps/sparc/elf/configure: Delete file.
13466 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13467 * sysdeps/sparc/sparc32/start.S: ... here.
13468 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13469 * sysdeps/sparc/sparc64/start.S: ... here.
13470 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13471 * sysdeps/sparc/sparc32/Makefile: ... this.
13472 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13473 * sysdeps/sparc/sparc64/Makefile: ... this.
13474
13475 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13476 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13477 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13478 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13479 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13480 * sysdeps/s390/s390-32/setjmp.S: ... here.
13481 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13482 * sysdeps/s390/s390-32/configure.in: ... here.
13483 * sysdeps/s390/s390-32/elf/configure: Delete file.
13484 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13485 * sysdeps/s390/s390-32/start.S: ... here.
13486
13487 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13488 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13489 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13490 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13491 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13492 * sysdeps/s390/s390-64/setjmp.S: ... here.
13493 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13494 * sysdeps/s390/s390-64/configure.in: ... here
13495 * sysdeps/s390/s390-64/elf/configure: Delete file.
13496 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13497 * sysdeps/s390/s390-64/start.S: ... here.
13498 * sysdeps/s390/s390-64/elf/configure: Delete.
13499
13500 * configure.in: Remove support for elf directories in sysdeps.
13501
13502 * configure: Regenerated.
13503 * sysdeps/i386/configure: Regenerated.
13504 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13505 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13506 * sysdeps/s390/s390-32/configure: Regenerated.
13507 * sysdeps/s390/s390-64/configure: Regenerated.
13508 * sysdeps/sh/configure: Regenerated.
13509 * sysdeps/sparc/configure: Regenerated.
13510 * sysdeps/x86_64/configure: Regenerated.
13511
a3f61311
AS
135122012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13513
c876e002
AS
13514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13515
a3f61311
AS
13516 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13517 denormal result into account.
13518
ac4c54f0
RM
135192012-03-25 Roland McGrath <roland@hack.frob.com>
13520
13521 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13522 Reported by Allan McRae <allan@archlinux.org>.
13523
6a9b9c02
JL
135242012-03-23 Jeff Law <law@redhat.com>
13525
13526 * nss/getnssent.c (__nss_getent): Fix typo.
13527
4c42a0c1
DM
135282012-03-23 David S. Miller <davem@davemloft.net>
13529
13530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13531
1532c7ac
L
135322012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13533
13534 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13535 to pad to uint64_t for each field.
13536 (dl_tls_index): Replace unsigned long with uint64_t.
13537
3ff42526
PP
135382012-03-23 Daniel Jacobowitz <dmj@google.com>
13539 Paul Pluzhnikov <ppluzhnikov@google.com>
13540
13541 [BZ #6528]
13542 * grp/Makefile (otherlibs): Don't set it.
13543 * inet/Makefile (otherlibs): Likewise.
13544 * login/Makefile (otherlibs): Likewise.
13545 * nscd/Makefile (otherlibs): Likewise.
13546 * posix/Makefile (otherlibs): Likewise.
13547 * pwd/Makefile (otherlibs): Likewise.
13548 * rt/Makefile (otherlibs): Likewise.
13549 * sunrpc/Makefile (otherlibs): Likewise.
13550 * nss/Makefile (otherlibs): Likewise.
13551 Add libnss_files to routines and static-only-routines.
13552 ($(objpfx)getent): Remove rule.
13553 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13554 static-only-routines.
13555
7c69cd14
JM
135562012-03-22 Joseph Myers <joseph@codesourcery.com>
13557
13558 [BZ #13892]
13559 * math/s_cexp.c: Include <float.h>.
13560 (__cexp): Handle exp result overflowing not necessarily
13561 overflowing both real and imaginary parts of result.
13562 * math/s_cexpf.c: Likewise.
13563 * math/s_cexpl.c: Likewise.
13564 * math/libm-test.inc (cexp_test): Add more tests.
13565 * sysdeps/i386/fpu/libm-test-ulps: Update.
13566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13567
81b035fe
L
135682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13569
13570 * include/link.h (ELFW): New macro.
13571 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13572 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13573
1da7940c
L
135742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13575
13576 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13577 with uint64_t.
13578
b749dbb9
L
135792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13580
13581 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13582 declaration.
13583 (struct La_x32_retval): Likewise.
13584
2ff87f3f
L
135852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13586
13587 * sysdeps/x86_64/preconfigure.in: New file.
13588 * sysdeps/x86_64/preconfigure: New generated file.
13589
c0df8e69
JM
135902012-03-22 Joseph Myers <joseph@codesourcery.com>
13591
48e44791
JM
13592 [BZ #13824]
13593 * math/e_exp2l.c: Include <float.h>.
13594 (__ieee754_exp2l): Handle overflow and underflow cases
13595 separately. Only pass fractional part of argument to
13596 __ieee754_expl.
13597 * math/libm-test.inc (exp2_test): Add more tests.
13598
c0df8e69
JM
13599 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13600 negating x to take absolute value.
13601 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13602 Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13604 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13605 Likewise.
13606 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13607 computing low part if x was negated.
13608 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13609
c8e43ba7
L
136102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13611
13612 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13613 la_x32_gnu_pltexit.
13614 (pltexit): Cast int_retval to ptrdiff_t.
13615 * elf/tst-auditmod3b.c: Likewise.
13616 * elf/tst-auditmod4b.c: Likewise.
13617 * elf/tst-auditmod5b.c: Likewise.
13618 * elf/tst-auditmod6b.c: Likewise.
13619 * elf/tst-auditmod6c.c: Likewise.
13620 * elf/tst-auditmod7b.c: Likewise.
13621
13622 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13623 and x32_gnu_pltexit.
13624
13625 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13626 __ELF_NATIVE_CLASS.
13627 (La_x32_regs): New macro.
13628 (La_x32_retval): Likewise.
13629 (la_x32_gnu_pltenter): New function prototype.
13630 (la_x32_gnu_pltexit): Likewise.
13631
7998fa78
AS
136322012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13633
dcb33988
AS
13634 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13635 exponent.
13636
233fc563
AS
13637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13638
7998fa78
AS
13639 * configure.in (libc_cv_cc_nofma): Check for option to disable
13640 generation of FMA instructions.
13641 * configure: Regenerate.
13642 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13643 * sysdeps/ieee754/dbl-64/Makefile: New file.
13644 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13645 Remove brandred-fma4.
13646 (CFLAGS-brandred-fma4.c): Remove.
13647 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13648 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13649 define.
13650 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13651 define.
13652
8e95c99a
L
136532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13654
13655 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13656 LLONG_MAX != LONG_MAX.
13657 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13658 (_fitoa_word): Likewise.
13659 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13660 LLONG_MAX != LONG_MAX.
13661 * stdio-common/_itowa.h: Include <_itoa.h>.
13662 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13663 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13664 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13665 only if not defined.
13666 (_ITOA_WORD_TYPE): Likewise.
13667 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13668 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13669
6f4db457
DM
136702012-03-21 David S. Miller <davem@davemloft.net>
13671
13672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13673
7785fe5a
L
136742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13675
13676 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13677 of x86_64 when setting libc_cv_slibdir, libdir and
13678 libc_cv_localedir.
13679 * sysdeps/unix/sysv/linux/configure: Regenerated.
13680
4535cd55
JM
136812012-03-21 Joseph Myers <joseph@codesourcery.com>
13682
13683 * manual/lang.texi (Old Varargs): Remove section.
13684 (How Variadic): Update menu.
13685 (va_start): Do not mention varargs.h.
13686
17228132
TS
136872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13688 Joseph Myers <joseph@codesourcery.com>
13689
13690 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13691 link test.
13692 * configure: Regenerated.
13693
8149f976
TS
136942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13695
05f3d1f6
UD
13696 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13697 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13698 conformtest.pl
8149f976 13699
1a4ac776
JM
137002012-03-21 Joseph Myers <joseph@codesourcery.com>
13701
be22ce65
JM
13702 * NOTES: Remove.
13703 * Makefile (files-for-dist): Remove NOTES.
13704 (NOTES): Remove rule.
13705 * README: Don't refer to NOTES.
13706 * manual/creature.texi: Don't include macros.texi.
13707 * manual/intro.texi (creature.texi): Remove comment referring to
13708 NOTES.
13709
40b601fb
JM
13710 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13711 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13712 * configure: Regenerated.
13713 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13714 LIBC_TRY_CC_OPTION.
13715 (libc_cv_as_i686): Likewise.
13716 (libc_cv_cc_avx): Likewise.
13717 (libc_cv_cc_sse2avx): Likewise.
13718 (libc_cv_cc_fma4): Likewise.
13719 (libc_cv_cc_novzeroupper): Likewise.
13720 * sysdeps/i386/configure: Regenerated.
13721
1a4ac776
JM
13722 [BZ #13883]
13723 * sysdeps/i386/fpu/s_cexp.S: Remove.
13724 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13725 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13726 * math/libm-test.inc (cexp_test): Add more tests.
13727 * sysdeps/i386/fpu/libm-test-ulps: Update.
13728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13729
a458e7fe
AM
137302012-03-21 Allan McRae <allan@archlinux.org>
13731
13732 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13733
0cb7efc5
JM
137342012-03-21 Joseph Myers <joseph@codesourcery.com>
13735
13736 [BZ #13871]
13737 * math/w_exp2.c: Do not include <float.h>.
13738 (o_threshold, u_threshold): Remove.
13739 (__exp2): Calculate result before checking finiteness and calling
13740 __kernel_standard.
13741 * math/w_exp2f.c: Likewise.
13742 * math/w_exp2l.c: Likewise.
13743 * math/libm-test.inc (exp2_test): Require overflow exception for
13744 1e6 input.
2460d3aa
JM
13745
13746 [BZ #3866]
13747 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13748 range of signed 64-bit integers before using fistpll. Remove
13749 checks for whether integers fit in mantissa bits.
13750 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13751 the range of signed 32-bit integers before using fistpl. Remove
13752 checks for whether integers fit in mantissa bits.
13753 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13754 (__ieee754_powl): Test for y outside the range of signed 64-bit
13755 integers before using fistpll. Reduce 64-bit values to 63-bit
13756 ones as needed.
13757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13758 divide-by-zero is raised for zero to large negative powers.
13759 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13760 (__ieee754_powl): Test for y outside the range of signed 64-bit
13761 integers before using fistpll. Reduce 64-bit values to 63-bit
13762 ones as needed.
13763 * math/libm-test.inc (pow_test): Add more tests.
13764
eb96ffb0
L
137652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13766
13767 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13768 <stdio-common/_itoa.h>.
13769 * debug/segfault.c: Likewise.
13770 * elf/dl-cache.c: Likewise.
13771 * elf/dl-minimal.c: Likewise.
13772 * elf/dl-misc.c: Likewise.
13773 * elf/dl-sysdep.c: Likewise.
13774 * elf/dl-version.c: Likewise.
13775 * elf/rtld.c: Likewise.
13776 * hurd/hurdsock.c: Likewise.
13777 * hurd/lookup-retry.c: Likewise.
13778 * malloc/malloc.c: Likewise.
13779 * malloc/mtrace.c: Likewise.
13780 * nscd/nscd_getgr_r.c: Likewise.
13781 * nscd/nscd_getpw_r.c: Likewise.
13782 * nscd/nscd_getserv_r.c: Likewise.
13783 * posix/getopt_init.c: Likewise.
13784 * posix/wordexp.c: Likewise.
13785 * stdio-common/_itoa.c: Likewise.
13786 * stdio-common/printf_fphex.c: Likewise.
13787 * stdio-common/vfprintf.c: Likewise.
13788 * string/_strerror.c: Likewise.
13789 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13790 * sysdeps/i386/i686/hp-timing.h: Likewise.
13791 * sysdeps/mach/_strerror.c: Likewise.
13792 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13793 * sysdeps/mach/hurd/sethostid.c: Likewise.
13794 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13795 * sysdeps/mach/xpg-strerror.c: Likewise.
13796 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13797 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13798 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13799 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13800 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13801 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13802 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13803 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13804 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13805 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13806 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13807 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13808 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13809 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13810 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13811 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13812 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13813 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13814 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13815 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13816 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13817
13818 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13819
13820 * stdio-common/_itoa.h: Moved to ...
13821 * sysdeps/generic/_itoa.h: Here.
13822
13823 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13824
13825 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13826 instead of "_itoa.h" and "_itowa.h".
13827 * stdio-common/vfprintf.: Likewise.
13828
d1af992d
L
138292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13830
13831 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13832 <bits/wordsize.h>.
13833 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13834 (__signbit): Likwise.
13835 (llrintf): Likwise.
13836 (llrint): Likwise.
13837
114883e0
L
138382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13839
13840 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13841 __WORDSIZE != 64.
13842
c135cc1b
JM
138432012-03-20 Joseph Myers <joseph@codesourcery.com>
13844
13845 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13846 OVERFLOW_EXCEPTION_OK.
13847 * math/libm-test.inc ("Philosophy"): Update comment about
13848 exception testing.
13849 (OVERFLOW_EXCEPTION): Define.
13850 (OVERFLOW_EXCEPTION_OK): Likewise.
13851 (INVALID_EXCEPTION_OK): Renumber.
13852 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13853 (IGNORE_ZERO_INF_SIGN): Likewise.
13854 (test_exceptions): Handle FE_OVERFLOW.
13855 (exp10_test): Expect overflow exceptions.
13856 (exp2_test): Likewise.
13857 (expm1_test): Likewise.
13858 (nextafter_test): Likewise.
13859 (pow_test): Likewise.
13860 (scalbn_test): Likewise.
13861 (scalbln_test): Likewise.
13862
95443d88
L
138632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13864
13865 * sysdeps/x86_64/bits/atomic.h
13866 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13867 64bit integer.
13868 (atomic_exchange_acq): Likewise.
13869 (__arch_exchange_and_add_body): Likewise.
13870 (__arch_add_body): Likewise.
13871 (atomic_add_negative): Likewise.
13872 (atomic_add_zero): Likewise.
13873
490df6c4
L
138742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13875
c2722551 13876 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13877 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13878
5e52b189
L
138792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13880
13881 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13882 Check __x86_64__ instead of __WORDSIZE.
13883
a9879d4c
L
138842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13885
13886 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13887
5df98260
DM
138882012-03-19 David S. Miller <davem@davemloft.net>
13889
e1497744
DM
13890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13891
5df98260
DM
13892 * sysdeps/sparc/fpu/fenv_private.h: New file.
13893 * sysdeps/sparc/fpu/math_private.h: Use it.
13894 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13895 Remove.
13896 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13897 (libc_feholdexcept_setroundl): Remove.
13898 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13899 Remove.
13900 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13901 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13902
b4c35121
L
139032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13904
13905 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13906 int64_t instead of long int.
13907 (INSERT_WORDS64): Likwise.
13908
56965fd7
L
139092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13910
13911 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13912 _Unwind_GetCFA return to _Unwind_Ptr first.
13913
83d1aec8
JM
139142012-03-19 Joseph Myers <joseph@codesourcery.com>
13915
1897ad44
JM
13916 [BZ #13629]
13917 * math/s_clog.c: Include <float.h>.
13918 (__clog): Scale large or subnormal inputs.
13919 * math/s_clogf.c: Likewise.
13920 * math/s_clogl.c: Likewise.
13921 * math/s_clog10.c: Include <float.h>.
13922 (M_LOG10_2): Define.
13923 (__clog10): Scale large or subnormal inputs.
13924 * math/s_clog10f.c: Likewise.
13925 * math/s_clog10l.c: Likewise.
13926 * math/libm-test.inc (clog_test): Add more tests.
13927 (clog10_test): Likewise.
13928 * sysdeps/i386/fpu/libm-test-ulps: Update.
13929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13930
7726d6a9
JM
13931 [BZ #11451]
13932 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13933 x and y.
13934 * math/libm-test.inc (atan2_test): Add another test.
13935
83d1aec8
JM
13936 * Makerules (common-objdir-compile): Remove.
13937 * sysdeps/unix/Makefile (config-generated): Do not add
13938 $(unix-generated) to variable.
13939 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13940 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13941 Remove rule.
13942 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13943 Likewise.
13944 [generic bits/local_lim.h] (before-compile): Do not append to
13945 variable.
13946 [generic bits/local_lim.h] (common-generated): Likewise.
13947 [generic sys/param.h] (before-compile): Do not append to variable.
13948 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13949 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13950 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13951 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13952 include.
13953 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13954 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13955 [generic sys/param.h] ($(addprefix
13956 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13957 [generic sys/param.h] (common-generated): Do not append to
13958 variable.
13959 [generic sys/param.h] (sysdep_headers): Likewise.
13960 [generic bits/errno.h] (before-compile): Do not append to
13961 variable.
13962 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13963 rule.
13964 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13965 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13966 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13967 [generic bits/errno.h] (common-generated): Do not append to
13968 variable.
13969 [generic bits/ioctls.h] (before-compile): Do not append to
13970 variable.
13971 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13972 rule.
13973 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13974 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13975 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13976 rule.
13977 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13978 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13979 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13980 [generic bits/ioctls.h] (common-generated): Do not append to
13981 variable.
13982 [generic sys/syscall.h] (syscall.h): Remove variable.
13983 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13984 rule.
13985 [generic sys/syscall.h] (before-compile): Do not append to
13986 variable.
13987 [generic sys/syscall.h] (common-generated): Likewise.
13988 * sysdeps/unix/errnos-tmpl.c: Remove file.
13989 * sysdeps/unix/errnos.awk: Likewise.
13990 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13991 * sysdeps/unix/ioctls.awk: Likewise.
13992 * sysdeps/unix/mk-local_lim.c: Likewise.
13993 * sysdeps/unix/snarf-ioctls: Likewise.
13994
4851a949
RH
139952012-03-19 Richard Henderson <rth@twiddle.net>
13996
bd37f2ee
RH
13997 * sysdeps/i386/fpu/fenv_private.h: New file.
13998 * sysdeps/i386/fpu/math_private.h: Use it.
13999 (math_opt_barrier, math_force_eval): Remove.
14000 (libc_feholdexcept_setround_53bit): Remove.
14001 (libc_feupdateenv_53bit): Remove.
14002 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14003 (math_opt_barrier, math_force_eval): Remove.
14004 (libc_feholdexcept): Remove.
14005 (libc_feholdexcept_setround): Remove.
14006 (libc_fetestexcept, libc_fesetenv): Remove.
14007 (libc_feupdateenv_test): Remove.
14008 (libc_feupdateenv, libc_feholdsetround): Remove.
14009 (libc_feresetround): Remove.
14010
d0adc922
RH
14011 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14012 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14013
0fe0f1f8
RH
14014 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14015 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14016 (libc_feupdateenv_testl): New.
14017 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14018 (libc_feupdateenv_testf): New.
14019 (libc_feupdateenv): Use libc_feupdateenv_test.
14020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14021 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14022
eb92c487
RH
14023 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14024 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14025 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14026 (libc_feresetround_noex): New.
14027 (libc_feresetround_noexf): New.
14028 (libc_feresetround_noexl): New.
14029 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14030 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14031 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14032 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14033 SET_RESTORE_ROUND.
14034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14035 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14036 (__cos): Likewise.
14037 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14038 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14039 SET_RESTORE_ROUND_NOEX.
14040 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14041 SET_RESTORE_ROUND_NOEXF.
14042 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14043 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14044 (libc_feholdsetroundf): New.
14045 (libc_feresetround, libc_feresetroundf): New.
14046
7d2e8012
RH
14047 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14048 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14049 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14050
b4dabbb4
RH
14051 * sysdeps/generic/math_private.h: Include <fenv.h>.
14052 (default_libc_feholdexcept): New.
14053 (default_libc_feholdexcept_setround): New.
14054 (default_libc_fesetenv, default_libc_feupdateenv): New.
14055 (libc_feholdexcept): Only define if undefined.
14056 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14057 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14058 (libc_feholdexcept_setroundl): Likewise.
14059 (libc_feholdexcept_setround_53bit): Likewise.
14060 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14061 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14062 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14063 (libc_feupdateenv_53bit): Likewise.
14064 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14065 (libc_feholdexcept): Convert from macro to inline function.
14066 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14067 (libc_fesetenv, libc_feupdateenv): Likewise.
14068
4851a949
RH
14069 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14070 not previously defined.
14071 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14072 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14073 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14074 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14075 * sysdeps/ieee754/flt-32/math_private.h: New file.
14076 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14077 math_private.h below SET_FLOAT_WORD.
14078 (__isnan, __isinf_ns, __finite): Remove.
14079 (__isnanf, __isinf_nsf, __finitef): Remove.
14080
e79d442e
AS
140812012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14082
14083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14084
90b80344
DM
140852012-03-17 David S. Miller <davem@davemloft.net>
14086
14087 [BZ #6471]
14088 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14089 for 2.16.
14090
edc21804
DM
140912012-03-16 David S. Miller <davem@davemloft.net>
14092
77e927af
DM
14093 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14094 warnings.
14095
374976dd
DM
14096 [BZ #6471]
14097 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14098 properly.
14099 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14100 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14101 sysdep_routines when subdir is sysvipc.
14102 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14103 __getshmlba helper.
14104
edc21804
DM
14105 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14106
473c3ef3
L
141072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14108
14109 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14110 [__LP64__].
14111
eb0f39b6
L
141122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14113
14114 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14115 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14116 (__lround): Renamed to ...
14117 (__llround): This. Replace long int with long long int.
14118 Define lround functions as aliases of llround functions.
14119 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14120
6b6cd74b
L
141212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14124 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14125 adresses to uintptr_t. Replace "long int" and "unsigned long
14126 int" with "greg_t" on va_arg.
14127
f1a77b01
L
141282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14129
14130 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14131 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14132
14133 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14134 Move e_machine check before EI_CLASS check. Handle x32
14135 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14136 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14137 SKIP_EM_IA_64 and include
14138 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14139
14140 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14141 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14142 (add_system_dir): New macro.
14143
14144 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14145 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14146
11b90b9f
JM
141472012-03-16 Joseph Myers <joseph@codesourcery.com>
14148
c36e1d23
JM
14149 [BZ #2551]
14150 [BZ #2552]
14151 [BZ #2553]
14152 [BZ #2554]
14153 [BZ #2562]
14154 [BZ #2563]
14155 [BZ #2565]
14156 [BZ #2566]
14157 [BZ #2576]
14158 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14159 (y0): Likewise.
14160 * math/w_j0f.c (j0f): Likewise.
14161 (y0f): Likewise.
14162 * math/w_j0l.c (__j0l): Likewise.
14163 (__y0l): Likewise.
14164 * math/w_j1.c (j1): Likewise.
14165 (y1): Likewise.
14166 * math/w_j1f.c (j1f): Likewise.
14167 (y1f): Likewise.
14168 * math/w_j1l.c (__j1l): Likewise.
14169 (__y1l): Likewise.
14170 * math/w_jn.c (jn): Likewise.
14171 (yn): Likewise.
14172 * math/w_jnf.c (jnf): Likewise.
14173 (ynf): Likewise.
14174 * math/w_jnl.c (__jnl): Likewise.
14175 (__ynl): Likewise.
14176 * math/libm-test.inc (j0_test): Add more tests.
14177 (j1_test): Likewise.
14178 (jn_test): Likewise. Add trailing semicolon to existing test.
14179 (y0_test): Likewise.
14180 (y1_test): Likewise.
14181 * sysdeps/i386/fpu/libm-test-ulps: Update.
14182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14183
11b90b9f
JM
14184 [BZ #13851]
14185 [BZ #13854]
14186 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14187 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14188 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14189 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14190 (__tanl): Set errno for infinite argument.
14191 * sysdeps/i386/fpu/mptan.c: Remove.
14192 * sysdeps/i386/fpu/s_tan.S: Likewise.
14193 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14194 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14195 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14196 * math/libm-test.inc (tan_test): Add more tests and enable more
14197 tests for double and long double.
14198 * sysdeps/i386/fpu/libm-test-ulps: Update.
14199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14200
6a1bd2a1
JK
142012012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14202
14203 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14204 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14205
10a803e0
RM
142062012-03-16 Roland McGrath <roland@hack.frob.com>
14207
14208 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14209 * configure.in: Use it for both main tree and add-ons.
14210 * configure: Regenerated.
14211
f196c7f7
L
142122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14215
8848d99d
JM
142162012-03-16 Joseph Myers <joseph@codesourcery.com>
14217
96cbe7f4
JM
14218 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14219 in comment.
14220
8848d99d
JM
14221 [BZ #13851]
14222 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14223 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14224 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14225 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14227 infinite argument.
14228 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14229 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14230 != 0 for prec == 2.
14231 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14232 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14233 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14234 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14235 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14236 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14237 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14238 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14239 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14240 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14241 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14242 * math/libm-test.inc (cos_test): Add more tests and enable more
14243 tests for long double.
14244 (sin_test): Likewise.
14245 (sincos_test): Likewise.
14246 * sysdeps/i386/fpu/libm-test-ulps: Update.
14247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14248
dd7f4703
DM
142492012-03-16 David S. Miller <davem@davemloft.net>
14250
14251 * sysdeps/sparc/fpu/math_private.h: New file.
14252
006f1daa
DM
142532012-03-15 David S. Miller <davem@davemloft.net>
14254
c0c83bc8
DM
14255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14256 file.
e6a62e18 14257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14259 file.
e6a62e18
DM
14260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14266 sysdep routines.
14267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14268
88cb87d9
DM
14269 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14270 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14271
006f1daa 14272 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14274 sparc-ifunc.h
006f1daa 14275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14277 Likewise.
14278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14279 Likewise.
006f1daa
DM
14280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14284 Likewise.
006f1daa
DM
14285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14290 Likewise.
14291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14292 Likewise.
006f1daa
DM
14293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14299 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14300 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14311 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14313 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14314 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14315 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14316 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14317
11e0098e
AS
143182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14319
14320 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14321 scaling.
14322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14323
e85b09d0
AJ
143242012-03-15 Andreas Jaeger <aj@suse.de>
14325
14326 [BZ #13852]
14327 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14328 ieee754/flt-32 implementation for sin, cos and sincos.
14329 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14330 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14331 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14332 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14333 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14334 ieee754/flt-32 implementation for tan.
14335
14336 * math/libm-test.inc (cos_test): Enable some large input tests for
14337 float as well
14338 (sin_test): Likewise.
14339 (sincos_test): Likewise.
14340 (tan_test): Add tests for large input.
14341
14342 * sysdeps/i386/fpu/libm-test-ulps: Update.
14343
81c64153
AJ
143442012-03-15 Andreas Jaeger <aj@suse.de>
14345
14346 [BZ #13658]
14347 * math/libm-test.inc (cos_test): Add more test cases.
14348 (sin_test): Likewise.
14349 (sincos_test): Likewise.
14350
7bbfa5c6
AJ
143512012-03-15 Andreas Jaeger <aj@suse.de>
14352
14353 [BZ #13837]
14354 * math/libm-test.inc (cos_test): Add a test case for large input
14355 value.
14356 (sin_test): Likewise.
14357 (sincos_test): Likewise.
14358
143592012-03-15 Andreas Jaeger <aj@suse.de>,
14360 Joseph Myers <joseph@codesourcery.com>
14361
14362 [BZ #13658]
0671f479 14363 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14364 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14365 * sysdeps/i386/fpu/branred.c: Likewise.
14366 * sysdeps/i386/fpu/dosincos.c: Likewise.
14367 * sysdeps/i386/fpu/mpa.c: Likewise.
14368 * sysdeps/i386/fpu/s_cos.S: Likewise.
14369 * sysdeps/i386/fpu/s_sin.S: Likewise.
14370 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14371 * sysdeps/i386/fpu/sincos32.c: Likewise.
14372
14373 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14374 Define.
14375 (libc_feupdateenv_53bit): Define.
14376 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14377 Define.
14378 (libc_feupdateenv_53bit): Define.
14379
14380 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14381 53 bit (without extend i386 double precision).
14382
14383 * math/libm-test.inc (sincos_test): Add tests for large input.
14384 (sin): Likewise.
14385 (cos): Likewise.
14386
14387 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14388
9cad04ea
AS
143892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14390
14391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14392
f7062b9a
DM
143932012-03-15 David S. Miller <davem@davemloft.net>
14394
14395 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14396 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14397 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14398 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14411 file.
f7062b9a 14412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14414 file.
f7062b9a 14415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14417 file.
f7062b9a 14418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14420 file.
f7062b9a
DM
14421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14422 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14423 fmin/fmax sysdep routines.
14424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14425
7bd951ff
DM
144262012-03-14 David S. Miller <davem@davemloft.net>
14427
559398ab
DM
14428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14449 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14451 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14453 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14454 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14456 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14457 routines.
14458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14459 file.
559398ab 14460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14462 file.
559398ab 14463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14465 file.
559398ab 14466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14468 file.
559398ab 14469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14471 file.
559398ab 14472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14474 file.
14475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14476 file.
14477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14478 file.
14479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14480 file.
14481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14482 New file.
14483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14484 file.
14485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14486 file.
559398ab 14487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14489 file.
559398ab 14490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14492 file.
559398ab 14493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14495 file.
559398ab 14496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14498 VIS3 routines.
559398ab
DM
14499
14500 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14501 New file.
14502
5a1c1e32
DM
14503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14504
eae47a36
DM
14505 * sysdeps/sparc/configure.in: New file.
14506 * sysdeps/sparc/configure: Generate.
14507 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14508 * configure: Regenerate.
14509 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14510 * config.make.in (have-as-vis3): New.
14511 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14512 available use -Av9d instead of -Av9a.
14513 * sysdeps/sparc/sparc64/Makefile: Likewise.
14514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14516 New file.
14517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14518 file.
14519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14520 New file.
14521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14522 file.
eae47a36
DM
14523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14524 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14525 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14527 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14528
c0c83bc8
DM
14529 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14530 fzeros/fnegs to load 0x80000000 into a float register instead of
14531 using the stack.
7bd951ff
DM
14532 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14533
bd951ccb
JM
145342012-03-14 Joseph Myers <joseph@codesourcery.com>
14535
14536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14537 bits/syscall.h.
14538 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14539 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14540 ($(inst_includedir)/bits/syscall.h): Remove rule.
14541 ($(objpfx)bits/syscall.d): Include instead of
14542 $(objpfx)syscall-list.d.
14543 (generated): Change syscall-list.h and syscall-list.d to
14544 bits/syscall.h and bits/syscall.d.
14545
bb4e6db2
RM
145462012-03-14 Roland McGrath <roland@hack.frob.com>
14547
14548 [BZ #13846]
14549 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14550
aa4a2ae1
JM
145512012-03-14 Joseph Myers <joseph@codesourcery.com>
14552
e456826d
JM
14553 [BZ #13841]
14554 * math/s_csqrt.c: Include <float.h>.
14555 (__csqrt): Scale large or subnormal inputs.
14556 * math/s_csqrtf.c: Likewise.
14557 * math/s_csqrtl.c: Likewise.
14558 * math/libm-test.inc (csqrt_test): Add more tests.
14559 * sysdeps/i386/fpu/libm-test-ulps: Update.
14560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14561
aa4a2ae1
JM
14562 [BZ #13840]
14563 * math/libm-test.inc (hypot_test): Add more tests.
14564
7c10fd35
DM
145652012-03-13 David S. Miller <davem@davemloft.net>
14566
14567 [BZ #13840]
14568 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14569 double-precision for the calculation instead of scaling.
14570
f453b98b
JM
145712012-03-13 Joseph Myers <joseph@codesourcery.com>
14572
14573 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14574 manipulate bits before adding and subtracting TWO52[sx].
14575 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14576 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14577 Likewise.
14578 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14579
09a3453f
DM
145802012-03-13 David S. Miller <davem@davemloft.net>
14581
8e59da90
DM
14582 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14583 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14585 rtld-global-offsets.h
14586 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14587
2a8ab7f2
DM
14588 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14589 large parameters.
14590
10f62770
DM
14591 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14592
5f0bdb18
DM
14593 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14594 'err' in the ifdef scope in which it is actually used.
14595
09a3453f
DM
14596 * nss/nss_db/db-init.c: Include string.h
14597
b4b2eb5e
DM
145982012-03-12 David S. Miller <davem@davemloft.net>
14599
98bb2f1c
DM
14600 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14601 masking out of the most significant byte of random value used.
14602 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14603 Fix coding style in previous change.
14604
b4b2eb5e
DM
14605 * sysdeps/unix/sysv/linux/kernel-features.h
14606 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14607 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14608 expression.
14609 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14610 later.
14611
6e226b09
DM
146122012-03-11 David S. Miller <davem@davemloft.net>
14613
a1bcbd40
DM
14614 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14615 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14616 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14617 for 'resultvar' otherwise things get truncated on 64-bit.
14618
cb9d6174
DM
14619 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14620 Fix masking out of the most significant byte of random value used.
14621
6e226b09
DM
14622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14623
058c132d
AS
146242012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14625
14626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14627
2d2cd515
DM
146282012-03-09 David S. Miller <davem@davemloft.net>
14629
14630 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14631 variables with appropriate CPP guards.
14632 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14633 frame pointer, not the stack pointer. Correct layout comments. Fix test
14634 on resulting framesize and the management of the outregs buffer for pltexit.
14635 Preserve floating point return values across _dl_call_pltexit call.
14636 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14637 framesize and the management of the outregs buffer for pltexit.
14638 Preserve floating point return values across _dl_call_pltexit
14639 call.
14640 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14641 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14642 (print_exit): Fix format string for return register value.
14643
9a07f9d0
JM
146442012-03-10 Joseph Myers <joseph@codesourcery.com>
14645
14646 * sunrpc/Makefile (others): Add rpcgen.
14647 ($(objpfx)rpcgen): Remove special build rule and dependency on
14648 libc.
14649 * sunrpc/rpcgen.c: New file.
14650
547b5e30
PE
146512012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14652
c524201a
PE
14653 [BZ #13673]
14654 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14655 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14656 * sysdeps/i386/crti.S: Likewise.
14657 * sysdeps/i386/crtn.S: Likewise.
14658 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14659 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14660 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14661 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14662 * sysdeps/sh/crti.S: Likewise.
14663 * sysdeps/sh/crtn.S: Likewise.
14664 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14665
7b6235f2
PE
14666 [BZ #13673]
14667 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14668 with URL.
14669 * locale/programs/locfile-kw.gperf: Likewise.
14670 * locale/programs/charmap-kw.h: Regenerated.
14671 * locale/programs/locfile-kw.h: Likewise.
14672
547b5e30
PE
14673 [BZ #13673]
14674 * intl/plural.y: Replace FSF snail mail address with URL.
14675 * intl/plural.c: Regenerated.
14676
5f0a5dae
RH
146772012-03-09 Richard Henderson <rth@twiddle.net>
14678
14679 * include/math_private.h: Remove file.
14680 * math/math_private.h: Move file ...
14681 * sysdeps/generic/math_private.h: ... here.
14682
b8c03620
RH
14683 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14684 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14685 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14686
4e234f5d 14687 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14688 and <math_private.h>.
14689 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14690 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14691 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14692 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14693 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14707 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14711 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14714 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14715 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14716 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14718 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14719 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14720 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14721 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14722 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14723 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14724 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14726 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14730 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14731 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14732 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14733 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14734 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14735 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14736 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14737 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14738 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14739 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14740 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14741 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14742 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14743 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14744 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14745 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14746 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14755 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14756 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14757 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14758 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14760 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14761 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14762 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14763 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14775 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14777 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14778 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14779 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14780 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14781 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14782 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14783 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14784 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14785 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14786 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14787 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14788 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14789 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14790 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14791 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14792 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14793 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14794 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14795 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14796 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14797 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14798 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14799 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14800 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14801 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14802 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14803 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14804 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14805 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14806 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14807 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14808 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14809 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14810 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14811 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14812 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14813 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14814 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14815 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14816 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14817 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14818 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14819 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14820 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14821 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14822 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14823 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14824 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14825 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14826 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14827 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14828 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14829 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14830 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14831 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14832 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14833 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14834 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14835 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14836 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14837 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14838 * sysdeps/ieee754/k_standard.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14843 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14845 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14846 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14848 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14849 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14850 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14851 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14852 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14853 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14854 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14855 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14856 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14857 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14858 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14859 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14863 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14864 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14867 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14868 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14870 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14872 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14873 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14877 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14878 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14879 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14881 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14882 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14883 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14884 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14889 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14890 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14891 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14894 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14895 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14898 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14899 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14901 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14902 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14903 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14904 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14905 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14906 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14907 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14908 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14909 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14910 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14912 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14913 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14916 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14917 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14919 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14928 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14942 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14944 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14954 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14955 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14958 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14959 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14961 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14966 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14971 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14987 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14988 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14989 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14999 * sysdeps/ieee754/s_lib_version.c: Likewise.
15000 * sysdeps/ieee754/s_matherr.c: Likewise.
15001 * sysdeps/ieee754/s_signgam.c: Likewise.
15002 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15003 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15004 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15005 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15006 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15007 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15008 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15009 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15010 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15011 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15012 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15013 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15014 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15015 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15016 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15017 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15018 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15019 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15020 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15022 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15023
1991fa03
JM
150242012-03-09 Joseph Myers <joseph@codesourcery.com>
15025
15026 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15027 * sunrpc/rpc_main.c: Likewise.
15028 * sunrpc/rpc_svcout.c: Likewise.
15029
60d6f5a6
DM
150302012-03-09 David S. Miller <davem@davemloft.net>
15031
15032 * include/math_private.h: New file.
15033
4962050e
JM
150342012-03-09 Joseph Myers <joseph@codesourcery.com>
15035
02a6f887
JM
15036 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15037 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15038 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15039 from <bits/socket_type.h>.
15040 (enum __socket_type): Don't define here.
15041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15043 bits/socket_type.h.
15044
c6e013c1
JM
15045 [BZ #13566]
15046 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15047 checking __USE_GNU.
15048
4962050e
JM
15049 * Makerules ($(inst_includedir)/%.h): New rule.
15050 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15051 (install-others): Remove variable setting.
15052 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15053
38842f45
RH
150542012-03-08 Richard Henderson <rth@twiddle.net>
15055
67bb6da6
RH
15056 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15057 from macro to inline function; merge with the
15058 !__LIBC_INTERNAL_MATH_INLINES version.
15059 (__ieee754_sqrtf): Likewise.
15060
15194b4b
RH
15061 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15062 to inline function.
15063 (__rintf, __floor, __floorf): Likewise.
15064
64e21ede
RH
15065 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15066 macro to inline function.
15067 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15068
38842f45
RH
15069 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15070 not <math/math_private.h>.
15071
c64bf5fe
DM
150722012-03-08 David S. Miller <davem@davemloft.net>
15073
15074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15075 copyright year.
15076 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15077
82d86f28
TS
150782012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15079
15080 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15081 normalization.
15082 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15083 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15084
aea5d727
UD
150852012-03-08 Ulrich Drepper <drepper@gmail.com>
15086
15087 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15088 be defined individually, they must be defined as a block. Define
15089 S for printing a string instead of hidint the different by using a
15090 macro for adding the 'l'.
15091 * stdio-common/tst-fphex-wide.c: Adjust.
15092
70bca0a3
MP
150932012-03-07 Marek Polacek <polacek@redhat.com>
15094
15095 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15096
65b81130
MP
150972012-03-08 Marek Polacek <polacek@redhat.com>
15098
15099 [BZ #13806]
15100 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15101 * stdio-common/tst-fphex.c: Define a few macros to make the
15102 test reusable. Use them.
15103 * stdio-common/tst-fphex-wide.c: New file.
15104
07037eeb
JM
151052012-03-08 Joseph Myers <joseph@codesourcery.com>
15106
a7a93d50
JM
15107 [BZ #6911]
15108 * manual/macros.texi (gnusystems): New macro.
15109 (nongnusystems): Likewise.
15110 (gnulinuxhurdsystems): Likewise.
15111 (gnuhurdsystems): Likewise..
15112 (gnulinuxsystems): Likewise.
15113 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15114 variants of the GNU system, not "GNU system".
15115 * manual/conf.texi: Likewise.
15116 * manual/errno.texi: Likewise. Update example of errno macro
15117 expansion.
15118 * manual/filesys.texi: Likewise.
15119 (getumask): Document as specific to GNU/Hurd.
15120 * manual/install.texi: Likewise. Reword some references to
15121 GNU/Linux.
15122 * manual/intro.texi: Likewise.
15123 * manual/io.texi: Likewise.
15124 (File Name Portability): Detail which constraints are inapplicable
15125 to all GNU systems and which are only inapplicable to GNU/Hurd.
15126 * manual/job.texi: Likewise.
15127 * manual/llio.texi: Likewise.
15128 (O_NOCTTY): Document as present on GNU/Linux.
15129 * manual/maint.texi: Likewise.
15130 * manual/memory.texi: Likewise.
15131 * manual/pattern.texi: Likewise.
15132 * manual/pipe.texi: Likewise.
15133 * manual/process.texi: Likewise.
15134 * manual/resource.texi: Likewise.
15135 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15136 child on GNU/Hurd.
15137 * manual/setjmp.texi: Likewise.
15138 * manual/signal.texi: Likewise.
15139 * manual/startup.texi: Likewise.
15140 * manual/stdio.texi: Likewise.
15141 * manual/terminal.texi: Likewise.
15142 (ONLCR): Document as POSIX.
15143 (OXTABS): Document availability on GNU/Linux as XTABS.
15144 (ONOEOT): Document availability separately from other bits.
15145 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15146 * manual/time.texi: Likewise.
15147 * manual/users.texi: Likewise.
15148 * INSTALL: Regenerated.
15149 * sysdeps/gnu/errlist.c: Regenerated.
15150
07037eeb
JM
15151 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15152 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15153 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15154 puts.
15155 * configure: Regenerated.
15156
d1d3431a
JM
151572012-03-07 Joseph Myers <joseph@codesourcery.com>
15158
af6a1e37
JM
15159 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15160 default includes instead of AC_HEADER_CHECK.
15161 * sysdeps/i386/configure: Regenerated.
15162
d1d3431a
JM
15163 [BZ #10716]
15164 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15165 * math/s_cacoshf.c (__cacoshf): Likewise.
15166 * math/s_cacoshl.c (__cacoshl): Likewise.
15167 * math/s_casinh.c (__casinh): Set signs of result from argument.
15168 * math/s_casinhf.c (__casinhf): Likewise.
15169 * math/s_casinhl.c (__casinhl): Likewise.
15170 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15171 (casinh_test): Add more tests.
15172 * sysdeps/i386/fpu/libm-test-ulps: Update.
15173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15174
482ff4da
UD
151752012-03-07 Ulrich Drepper <drepper@gmail.com>
15176
872fda05
UD
15177 * po/zh_TW.po: Update from translation team.
15178
a4300c7a
UD
15179 * login/Makefile (distribute): Remove variable.
15180 * catgets/Makefile: Likewise.
15181 * mach/Makefile: Likewise.
15182 * malloc/Makefile: Likewise.
15183 * misc/Makefile: Likewise.
15184 * iconv/Makefile: Likewise.
15185 * nscd/Makefile: Likewise.
15186 * hurd/Makefile: Likewise.
15187 * manual/Makefile: Likewise.
15188 * locale/Makefile: Likewise.
15189 * intl/Makefile: Likewise.
15190 * conform/Makefile: Likewise.
15191 * nss/Makefile: Likewise.
15192 * time/Makefile: Likewise.
15193 * soft-fp/Makefile: Likewise.
15194 * dirent/Makefile: Likewise.
15195 * gmon/Makefile: Likewise.
15196 * po/Makefile: Likewise.
15197 * rt/Makefile: Likewise.
15198 * socket/Makefile: Likewise.
15199 * math/Makefile: Likewise.
15200 * signal/Makefile: Likewise.
15201 * debug/Makefile: Likewise.
15202 * elf/Makefile: Likewise.
15203 * timezone/Makefile: Likewise.
15204 * stdlib/Makefile: Likewise.
15205 * iconvdata/Makefile: Likewise.
15206 * sunrpc/Makefile: Likewise.
15207 * io/Makefile: Likewise.
15208 * argp/Makefile: Likewise.
15209 * inet/Makefile: Likewise.
15210 * hesiod/Makefile: Likewise.
15211 * grp/Makefile: Likewise.
15212 * csu/Makefile: Likewise.
15213 * wctype/Makefile: Likewise.
15214 * crypt/Makefile: Likewise.
15215 * libio/Makefile: Likewise.
15216 * string/Makefile: Likewise.
15217 * nis/Makefile: Likewise.
15218 * resolv/Makefile: Likewise.
15219 * stdio-common/Makefile: Likewise.
15220 * wcsmbs/Makefile: Likewise.
15221 * dlfcn/Makefile: Likewise.
15222 * posix/Makefile: Likewise.
15223
3b7c4e74 15224 [BZ #6959]
482ff4da
UD
15225 * timezone/Makefile: Don't install timezone files, just the programs
15226 and scripts.
15227
f72ed77d
UD
152282012-03-06 Ulrich Drepper <drepper@gmail.com>
15229
a000466f
UD
15230 * nss/databases.def: Add missing gshadow entry.
15231
f72ed77d
UD
15232 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15233
a53b7a4e
MP
152342012-03-06 Marek Polacek <polacek@redhat.com>
15235
15236 [BZ #13726]
15237 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15238 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15239 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15240 * stdio-common/tst-long-dbl-fphex.c: New file.
15241
e9258400
DM
152422012-03-06 David S. Miller <davem@davemloft.net>
15243
15244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15245 (set_obp_int): New function.
15246 (get_obp_int): New function.
15247 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15248 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15249 Avoid unused variable warnings on 'val' and use builtin_expect.
15250 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15251 __builtin_expect.
e9258400
DM
15252 (INLINE_CLONE_SYSCALL): Likewise.
15253
3bd2c723
DM
152542012-03-05 David S. Miller <davem@davemloft.net>
15255
15256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15257
bbb78d03
AS
152582012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15259
884c5db4
AS
15260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15261
bbb78d03
AS
15262 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15263 only for |x| >= 40.
15264 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15265
1c9f702a 152662012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15267
15268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15269 Replace gettimeofday with __vdso_gettimeofday.
15270
7be16f82
RM
15271 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15272 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15273 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15274
15275 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15276 time with __vdso_time.
15277
ed58a00f
JM
152782012-03-05 Joseph Myers <joseph@codesourcery.com>
15279
15280 * manual/lang.texi (size_t): Note types to which size_t may be
15281 equivalent with the GNU C Library, but do not describe when
15282 differences between them are significant.
15283
30ee4ced
AJ
152842012-03-05 Andreas Jaeger <aj@suse.de>
15285
15286 * sysdeps/i386/fpu/libm-test-ulps: Update.
15287
b7cd39e8
JM
152882012-03-05 Joseph Myers <joseph@codesourcery.com>
15289
15290 [BZ #3976]
15291 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15292 (__ieee754_pow): Save and restore rounding mode and use
15293 round-to-nearest for main computations.
15294 * math/libm-test.inc (pow_test_tonearest): New function.
15295 (pow_test_towardzero): Likewise.
15296 (pow_test_downward): Likewise.
15297 (pow_test_upward): Likewise.
15298 (main): Call the new functions.
15299 * sysdeps/i386/fpu/libm-test-ulps: Update.
15300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15301
15302 [BZ #3976]
15303 * math/libm-test.inc (cosh_test_tonearest): New function.
15304 (cosh_test_towardzero): Likewise.
15305 (cosh_test_downward): Likewise.
15306 (cosh_test_upward): Likewise.
15307 (sinh_test_tonearest): Likewise.
15308 (sinh_test_towardzero): Likewise.
15309 (sinh_test_downward): Likewise.
15310 (sinh_test_upward): Likewise.
15311 (main): Call the new functions.
15312 * sysdeps/i386/fpu/libm-test-ulps: Update.
15313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15314
6c6a98c9
TV
153152012-03-05 Tom de Vries <tom@codesourcery.com>
15316
15317 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15318 default stack guard is set in last bytes.
15319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15320
21bb2d2e 153212012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15322
21bb2d2e 15323 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15324
21bb2d2e
AJ
15325 [BZ #13656]
15326 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15327 possibly allocate from heap instead of stack.
15328 * stdio-common/bug-vfprintf-nargs.c: New file.
15329 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15330
c6922934
AS
153312012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15332
15333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15334
bc957d53
MP
153352012-03-03 Marek Polacek <polacek@redhat.com>
15336
15337 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15338 * math/math_private.h: Likewise.
15339 * stdlib/tst-strtod.c: Likewise.
15340 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15341 * sysdeps/x86_64/bits/atomic.h: Likewise.
15342
6358490d
DM
153432012-03-02 David S. Miller <davem@davemloft.net>
15344
15345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15349 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15350 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15351 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15352 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15353
01ae168d
RM
153542012-03-02 Roland McGrath <roland@hack.frob.com>
15355
d9a17c07
RM
15356 [BZ #13792]
15357 * manual/examples/README: New file, says the example source files
15358 can be used under GPL>=2.
15359 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15360 line containing just "*/".
15361 * manual/examples/add.c: Add copyright header (GPL>=2).
15362 * manual/examples/argp-ex1.c: Likewise.
15363 * manual/examples/argp-ex2.c: Likewise.
15364 * manual/examples/argp-ex3.c: Likewise.
15365 * manual/examples/argp-ex4.c: Likewise.
15366 * manual/examples/atexit.c: Likewise.
15367 * manual/examples/db.c: Likewise.
15368 * manual/examples/dir.c: Likewise.
15369 * manual/examples/dir2.c: Likewise.
15370 * manual/examples/execinfo.c: Likewise.
15371 * manual/examples/filecli.c: Likewise.
15372 * manual/examples/filesrv.c: Likewise.
15373 * manual/examples/fmtmsgexpl.c: Likewise.
15374 * manual/examples/genpass.c: Likewise.
15375 * manual/examples/inetcli.c: Likewise.
15376 * manual/examples/inetsrv.c: Likewise.
15377 * manual/examples/isockad.c: Likewise.
15378 * manual/examples/longopt.c: Likewise.
15379 * manual/examples/memopen.c: Likewise.
15380 * manual/examples/memstrm.c: Likewise.
15381 * manual/examples/mkfsock.c: Likewise.
15382 * manual/examples/mkisock.c: Likewise.
15383 * manual/examples/mygetpass.c: Likewise.
15384 * manual/examples/pipe.c: Likewise.
15385 * manual/examples/popen.c: Likewise.
15386 * manual/examples/rprintf.c: Likewise.
15387 * manual/examples/search.c: Likewise.
15388 * manual/examples/select.c: Likewise.
15389 * manual/examples/setjmp.c: Likewise.
15390 * manual/examples/sigh1.c: Likewise.
15391 * manual/examples/sigusr.c: Likewise.
15392 * manual/examples/stpcpy.c: Likewise.
15393 * manual/examples/strdupa.c: Likewise.
15394 * manual/examples/strftim.c: Likewise.
15395 * manual/examples/strncat.c: Likewise.
15396 * manual/examples/subopt.c: Likewise.
15397 * manual/examples/swapcontext.c: Likewise.
15398 * manual/examples/termios.c: Likewise.
15399 * manual/examples/testopt.c: Likewise.
15400 * manual/examples/testpass.c: Likewise.
15401 * manual/examples/timeval_subtract.c: Likewise.
15402
01ae168d
RM
15403 [BZ #13792]
15404 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15405 function to ...
15406 * manual/timeval_subtract.c.texi: ... here, new file.
15407
49efa33d
DM
154082012-03-02 David S. Miller <davem@davemloft.net>
15409
15410 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15411
28afd92d
JM
154122012-03-02 Joseph Myers <joseph@codesourcery.com>
15413
804360ed
JM
15414 [BZ #3976]
15415 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15416 (__sin): Save and restore rounding mode and use round-to-nearest
15417 for all computations.
15418 (__cos): Save and restore rounding mode and use round-to-nearest
15419 for all computations.
15420 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15421 <fenv.h>.
15422 (tan): Save and restore rounding mode and use round-to-nearest for
15423 all computations.
15424 * math/libm-test.inc (cos_test_tonearest): New function.
15425 (cos_test_towardzero): Likewise.
15426 (cos_test_downward): Likewise.
15427 (cos_test_upward): Likewise.
15428 (sin_test_tonearest): Likewise.
15429 (sin_test_towardzero): Likewise.
15430 (sin_test_downward): Likewise.
15431 (sin_test_upward): Likewise.
15432 (tan_test_tonearest): Likewise.
15433 (tan_test_towardzero): Likewise.
15434 (tan_test_downward): Likewise.
15435 (tan_test_upward): Likewise.
15436 (main): Call the new functions.
15437 * sysdeps/i386/fpu/libm-test-ulps: Update.
15438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15439
a6d06d7b
JM
15440 [BZ #10135]
15441 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15442 small n, then large n, before computing and testing k+n.
15443 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15444 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15445 Likewise.
15446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15447 Likewise.
15448 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15449 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15450 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15451 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15452 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15453 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15454 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15455 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15456 * math/libm-test.inc (scalbn_test): Add more tests.
15457 (scalbln_test): Likewise.
15458
07e12bb3
JM
15459 * manual/filesys.texi (mode_t): Describe constraints on size and
15460 signedness, not exact equivalence to a particular type.
15461 (ino_t): Likewise.
15462 (ino64_t): Likewise.
15463 (dev_t): Likewise.
15464 (nlink_t): Likewise.
15465 (blkcnt_t): Likewise.
15466 (blkcnt64_t): Likewise.
15467 * manual/llio.texi (off_t): Likewise.
15468
28afd92d
JM
15469 [BZ #3976]
15470 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15471 (__ieee754_exp): Save and restore rounding mode and use
15472 round-to-nearest for all computations.
15473 * math/libm-test.inc (exp_test_tonearest): New function.
15474 (exp_test_towardzero): Likewise.
15475 (exp_test_downward): Likewise.
15476 (exp_test_upward): Likewise.
15477 (main): Call the new functions.
15478 * sysdeps/i386/fpu/libm-test-ulps: Update.
15479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15480
b1eeb65d
CD
154812012-03-01 Chris Demetriou <cgd@google.com>
15482
15483 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15484 have predictable order.
15485
53362a4b
DM
154862012-03-01 David S. Miller <davem@davemloft.net>
15487
3c969083
DM
15488 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15489
759707de
DM
15490 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15491 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15492 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15493 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15494
dfdb8ff2
DM
15495 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15496 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15497 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15499 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15500 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15501 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15502 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15503 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15504
ead89f96
DM
15505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15506
7f66bd07
DM
15507 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15508 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15509 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15510
53362a4b
DM
15511 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15512 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15513 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15514 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15515 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15516 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15517 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15518 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15519 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15520 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15521 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15522 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15524 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15525 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15527 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15528 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15529 * sysdeps/sparc/elf/configure: Regenerated.
15530
7b1902cb
JM
155312012-03-01 Joseph Myers <joseph@codesourcery.com>
15532
bec039bc
JM
15533 * configure.in (AS, LD): Require binutils 2.20 or later.
15534 * configure: Regenerated.
15535 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15536 as required minimum version.
15537 * INSTALL: Regenerated.
15538
7b1902cb
JM
15539 [BZ #2541]
15540 [BZ #4108]
15541 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15542 before squaring exponent.
15543 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15544 bottom long double and 27 bits of top long double before squaring
15545 exponent.
15546 * math/libm-test.inc (erfc_test): Add more tests.
15547 * sysdeps/i386/fpu/libm-test-ulps: Update.
15548 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15550
f775c276
KT
155512012-03-01 Kai Tietz <ktietz@redhat.com>
15552
15553 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15554 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15555 containing bit-fields.
15556 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15557 * soft-fp/single.h (_FP_UNION_S): Likewise.
15558 * soft-fp/double.h (_FP_UNION_D): Likewise.
15559
5b8a4d4a
JM
155602012-02-29 Joseph Myers <joseph@codesourcery.com>
15561
0bab47b6
JM
15562 [BZ #13786]
15563 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15564 not include ../strcmp.S.
15565 [USE_AS_STRNCASECMP_L]: Likewise.
15566 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15567 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15568 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15569 (__strncasecmp_l_ia32): Define as alias to
15570 __strncasecmp_l_nonascii.
15571
0fcad3e2
JM
15572 [BZ #5794]
15573 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15574 * sysdeps/i386/fpu/libm-test-ulps: Update.
15575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15576
5b8a4d4a
JM
15577 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15579
8fdceb2e
JL
155802012-02-29 Jeff Law <law@redhat.com>
15581
15582 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15583 out of bounds read.
15584
1f393a11
MP
155852012-02-29 Marek Polacek <polacek@redhat.com>
15586
15587 [BZ #13706]
15588 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15589 * elf/Makefile: Add rules to run tst-unused-dep.out.
15590
8847f037
DM
155912012-02-28 David S. Miller <davem@davemloft.net>
15592
15593 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15594 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15595 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15596 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15597 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15598 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15599
169d7f11
JM
156002012-02-29 Joseph Myers <joseph@codesourcery.com>
15601
15602 * math/libm-test.inc (llround_test): Move one test from
15603 lround_test. Use TEST_f_L in moved test.
15604 (lround_test): Move misplaced test to llround_test. Add testcase
15605 from bug 2561.
15606
39adf059
UD
156072012-02-28 Ulrich Drepper <drepper@gmail.com>
15608
15609 * sysdeps/x86_64/fpu/e_expf.S: New file.
15610 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15611
71b5d1c5
SB
156122012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15613
15614 [BZ #13637]
15615 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15616 of remain_len that may cause incomplete multi-byte character and
15617 false match.
15618 * posix/bug-regex33.c: New file.
15619 * posix/Makefile (tests): Add bug-regex33.
15620
1f77f049
JM
156212012-02-28 Joseph Myers <joseph@codesourcery.com>
15622
15623 * manual/macros.texi: New file.
15624 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15625 * manual/libc.texinfo: Include macros.texi.
15626 * manual/creatute.texi: Likewise.
15627 * manual/install.texi: Likewise.
15628 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15629 @glibcadj{} in references to the GNU C Library.
15630 * manual/charset.texi: Likewise.
15631 * manual/conf.texi: Likewise.
15632 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15633 when not using those macros.
15634 * manual/creature.texi: Likewise.
15635 * manual/crypt.texi: Likewise.
15636 * manual/errno.texi: Likewise.
15637 * manual/filesys.texi: Likewise.
15638 * manual/header.texi: Likewise.
15639 * manual/install.texi: Likewise.
15640 * manual/intro.texi: Likewise.
15641 * manual/io.texi: Likewise.
15642 * manual/job.texi: Likewise.
15643 * manual/lang.texi: Likewise.
15644 * manual/libc.texiinfo: Likewise.
15645 * manual/llio.texi: Likewise.
15646 * manual/locale.texi: Likewise.
15647 * manual/maint.texi: Likewise.
15648 * manual/math.texi: Likewise.
15649 * manual/memory.texi: Likewise.
15650 * manual/message.texi: Likewise.
15651 * manual/nss.texi: Likewise.
15652 * manual/pattern.texi: Likewise.
15653 * manual/process.texi: Likewise.
15654 * manual/resource.texi: Likewise.
15655 * manual/search.texi: Likewise.
15656 * manual/setjmp.texi: Likewise.
15657 * manual/signal.texi: Likewise.
15658 * manual/socket.texi: Likewise.
15659 * manual/startup.texi: Likewise.
15660 * manual/stdio.texi: Likewise.
15661 * manual/string.texi: Likewise.
15662 * manual/sysinfo.texi: Likewise.
15663 * manual/syslog.texi: Likewise.
15664 * manual/terminal.texi: Likewise.
15665 * manual/time.texi: Likewise.
15666 * manual/users.texi: Likewise.
15667 * INSTALL: Regenerated.
15668 * NOTES: Regenerated.
d40c5d54 15669 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15670
450bf206
AS
156712012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15672
15673 * include/dirent.h: Include <dirstream.h> before
15674 <dirent/dirent.h>.
15675
741a235b
DM
156762012-02-28 David S. Miller <davem@davemloft.net>
15677
15678 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15679 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15680 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15681 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15682
d6b5aa58
DM
156832012-02-27 David S. Miller <davem@davemloft.net>
15684
1aff59a3
DM
15685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15687 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15688 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15689
d6b5aa58
DM
15690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15691 frame pointer instead of stack pointer relative arg slot.
15692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15693 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15694 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15695
433f48bf
CD
156962012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15697
15698 [BZ #3992]
15699 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15700
d674b76d
DM
157012012-02-27 David S. Miller <davem@davemloft.net>
15702
15703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15707 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15708 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15709 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15710 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15711
0e7727f7
JM
157122012-02-27 Joseph Myers <joseph@codesourcery.com>
15713
15714 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15715 later. Allow versions 5-9.
43be4ca2 15716 * configure: Regenerated.
0e7727f7
JM
15717 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15718 required minimum version and 4.6 as recommended version. Do not
15719 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15720 * INSTALL: Regenerated.
0e7727f7 15721
a78bc654
DM
157222012-02-27 David S. Miller <davem@davemloft.net>
15723
428d5830
DM
15724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15728 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15729 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15730 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15731 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15732
a78bc654
DM
15733 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15734 manipulate bits before adding and subtracting TWO112[sx].
15735 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15736
4579f81c
RM
157372012-02-27 Roland McGrath <roland@hack.frob.com>
15738
36c8acb4
RM
15739 [BZ #13775]
15740 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15741 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15742 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15743 being in POSIX, because they are in 1003.1-2008.
15744
84ad622b
RM
15745 * rt/tst-aio.c: Include <fcntl.h>.
15746 * rt/tst-aio7.c: Likewise.
15747 * rt/tst-aio64.c: Likewise.
15748
4579f81c
RM
15749 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15750
abd923db
JM
157512012-02-27 Joseph Myers <joseph@codesourcery.com>
15752
15753 * manual/install.texi (--with-headers): Describe headers as
15754 interface headers, not private headers.
15755 (Specific advice for GNU/Linux systems): Describe use of headers
15756 from "make headers_install", not private headers from older
15757 kernels.
43be4ca2 15758 * INSTALL: Regenerated.
abd923db
JM
15759 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15760 Change to 2.6.19.
15761 * sysdeps/unix/sysv/linux/configure: Regenerated.
15762
6664049b
JM
15763 * manual/llio.texi (fclean): Remove documentation.
15764
bb8b6697
JM
15765 * manual/Makefile (libc-texi-generated): New variable. Include
15766 version.texi.
15767 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15768 $(libc-texi-generated), not duplicated list of files.
15769 (version.texi, stamp-version): New rules.
15770 (realclean): Remove $(libc-texi-generated), not individual files
15771 from that list. Do not remove dir-add.texinfo.
15772 * manual/libc.texinfo: Comment out uses of edition numbers and
15773 references to printed manual. Remove last-updated dates.
15774 (EDITION): Comment out.
15775 (ISBN): Likewise.
15776 (VERSION, UPDATED): Remove.
15777 (version.texi): Include.
15778
12e5c3b9
AS
157792012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15780
15781 * sysdeps/posix/spawni.c: Include <signal.h>.
15782 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15783 * sysdeps/pthread/aio_fsync.c: Likewise.
15784
4efeffc1 157852012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15786
ba63ba08
UD
15787 * conform/Makefile (tests): Run only when not cross-compiling and
15788 when fast-check is not defined.
15789
d94a4670
UD
15790 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15791 * conform/data/limits.h-data: Fixes for POSIX2008.
15792 * conform/run-conformtest.sh: Run all tests.
15793 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15794 headers.
15795 * include/bits/dlfcn.h: Likewise.
15796 * include/langinfo.h: Likewise.
15797 * include/monetary.h: Likewise.
15798 * include/sys/poll.h: Likewise.
15799
15800 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15801 for __USE_GNU.
15802 * posix/spawn.h: Define __need_sigset_t.
15803 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15804 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15805 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15806 to get sigevent_t only.
15807 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15808 only for __USE_GNU.
15809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15810 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15811 process_vm_writev only for __USE_GNU.
15812 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15813
15814 * conform/Makefile: For now ignore errors from run-conformtest.
15815 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15816 POSIX to avoid namespace pollution. Don't prepend headers.
15817 * conform/data/aio.h-data: Fixes for POSIX testing.
15818 * conform/data/fcntl.h-data: Likewise.
15819 * conform/data/glob.h-data: Likewise.
15820 * conform/data/grp.h-data: Likewise.
15821 * conform/data/pthread.h-data: Likewise.
15822 * conform/data/pwd.h-data: Likewise.
15823 * conform/data/signal.h-data: Likewise.
15824 * conform/data/spawn.h-data: Likewise.
15825 * conform/data/stdio.h-data: Likewise.
15826 * conform/data/stdlib.h-data: Likewise.
15827 * conform/data/stropts.h-data: Likewise.
15828 * conform/data/sys/mman.h-data: Likewise.
15829 * conform/data/sys/stat.h-data: Likewise.
15830 * conform/data/sys/types.h-data: Likewise.
15831 * conform/data/sys/wait.h-data: Likewise.
15832 * conform/data/time.h-data: Likewise.
15833 * conform/data/unistd.h-data: Likewise.
15834 * conform/data/utime.h-data: Likewise.
15835
15836 * io/sys/stat.h: fchmod was always in POSIX.
15837 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15838 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15839 * rt/aio.h: Define __need_timespec before including <time.h>.
15840 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15841 struct. Add forward declaration of pthread_attr_t and use it in
15842 sigevent.
15843 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15844 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15845 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15846 always remove CLK_TCK definition.
15847
c20105c3
AS
158482012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15849
15850 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15851
7a270350
UD
158522012-02-25 Ulrich Drepper <drepper@gmail.com>
15853
31341567
UD
15854 * conform/run-conformtest.sh: New file.
15855 * conform/Makefile: Run run-conformtest for tests.
15856 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15857 support.
15858
15859 * conform/data/uchar.h-data: New file.
15860 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15861 * conform/data/arpa/inet.h-data: Likewise.
15862 * conform/data/assert.h-data: Likewise.
15863 * conform/data/complex.h-data: Likewise.
15864 * conform/data/cpio.h-data: Likewise.
15865 * conform/data/ctype.h-data: Likewise.
15866 * conform/data/dirent.h-data: Likewise.
15867 * conform/data/dlfcn.h-data: Likewise.
15868 * conform/data/errno.h-data: Likewise.
15869 * conform/data/fcntl.h-data: Likewise.
15870 * conform/data/float.h-data: Likewise.
15871 * conform/data/fmtmsg.h-data: Likewise.
15872 * conform/data/fnmatch.h-data: Likewise.
15873 * conform/data/ftw.h-data: Likewise.
15874 * conform/data/glob.h-data: Likewise.
15875 * conform/data/grp.h-data: Likewise.
15876 * conform/data/iconv.h-data: Likewise.
15877 * conform/data/inttypes.h-data: Likewise.
15878 * conform/data/langinfo.h-data: Likewise.
15879 * conform/data/libgen.h-data: Likewise.
15880 * conform/data/limits.h-data: Likewise.
15881 * conform/data/locale.h-data: Likewise.
15882 * conform/data/math.h-data: Likewise.
15883 * conform/data/monetary.h-data: Likewise.
15884 * conform/data/mqueue.h-data: Likewise.
15885 * conform/data/ndbm.h-data: Likewise.
15886 * conform/data/net/if.h-data: Likewise.
15887 * conform/data/netdb.h-data: Likewise.
15888 * conform/data/netinet/in.h-data: Likewise.
15889 * conform/data/nl_types.h-data: Likewise.
15890 * conform/data/poll.h-data: Likewise.
15891 * conform/data/pthread.h-data: Likewise.
15892 * conform/data/pwd.h-data: Likewise.
15893 * conform/data/regex.h-data: Likewise.
15894 * conform/data/sched.h-data: Likewise.
15895 * conform/data/search.h-data: Likewise.
15896 * conform/data/semaphore.h-data: Likewise.
15897 * conform/data/setjmp.h-data: Likewise.
15898 * conform/data/signal.h-data: Likewise.
15899 * conform/data/spawn.h-data: Likewise.
15900 * conform/data/stdarg.h-data: Likewise.
15901 * conform/data/stdio.h-data: Likewise.
15902 * conform/data/stdlib.h-data: Likewise.
15903 * conform/data/string.h-data: Likewise.
15904 * conform/data/strings.h-data: Likewise.
15905 * conform/data/stropts.h-data: Likewise.
15906 * conform/data/sys/ipc.h-data: Likewise.
15907 * conform/data/sys/mman.h-data: Likewise.
15908 * conform/data/sys/msg.h-data: Likewise.
15909 * conform/data/sys/resource.h-data: Likewise.
15910 * conform/data/sys/select.h-data: Likewise.
15911 * conform/data/sys/sem.h-data: Likewise.
15912 * conform/data/sys/shm.h-data: Likewise.
15913 * conform/data/sys/socket.h-data: Likewise.
15914 * conform/data/sys/stat.h-data: Likewise.
15915 * conform/data/sys/statvfs.h-data: Likewise.
15916 * conform/data/sys/time.h-data: Likewise.
15917 * conform/data/sys/timeb.h-data: Likewise.
15918 * conform/data/sys/times.h-data: Likewise.
15919 * conform/data/sys/types.h-data: Likewise.
15920 * conform/data/sys/uio.h-data: Likewise.
15921 * conform/data/sys/un.h-data: Likewise.
15922 * conform/data/sys/utsname.h-data: Likewise.
15923 * conform/data/sys/wait.h-data: Likewise.
15924 * conform/data/syslog.h-data: Likewise.
15925 * conform/data/tar.h-data: Likewise.
15926 * conform/data/termios.h-data: Likewise.
15927 * conform/data/utime.h-data: Likewise.
15928 * conform/data/utmpx.h-data: Likewise.
15929 * conform/data/varargs.h-data: Likewise.
15930 * conform/data/wchar.h-data: Likewise.
15931 * conform/data/wctype.h-data: Likewise.
15932 * conform/data/wordexp.h-data: Likewise.
15933
15934 * include/stropts.h: New file.
15935 * include/uchar.h: New file.
15936 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15937 * include/assert.h: Likewise.
15938 * include/ctype.h: Likewise.
15939 * include/dirent.h: Likewise.
15940 * include/dlfcn.h: Likewise.
15941 * include/fcntl.h: Likewise.
15942 * include/fnmatch.h: Likewise.
15943 * include/glob.h: Likewise.
15944 * include/grp.h: Likewise.
15945 * include/libio.h: Likewise.
15946 * include/locale.h: Likewise.
15947 * include/math.h: Likewise.
15948 * include/net/if.h: Likewise.
15949 * include/netdb.h: Likewise.
15950 * include/netinet/in.h: Likewise.
15951 * include/pthread.h: Likewise.
15952 * include/pwd.h: Likewise.
15953 * include/regex.h: Likewise.
15954 * include/sched.h: Likewise.
15955 * include/search.h: Likewise.
15956 * include/setjmp.h: Likewise.
15957 * include/signal.h: Likewise.
15958 * include/stdio.h: Likewise.
15959 * include/stdlib.h: Likewise.
15960 * include/string.h: Likewise.
15961 * include/sys/cdefs.h: Likewise.
15962 * include/sys/mman.h: Likewise.
15963 * include/sys/msg.h: Likewise.
15964 * include/sys/resource.h: Likewise.
15965 * include/sys/select.h: Likewise.
15966 * include/sys/socket.h: Likewise.
15967 * include/sys/stat.h: Likewise.
15968 * include/sys/statvfs.h: Likewise.
15969 * include/sys/time.h: Likewise.
15970 * include/sys/times.h: Likewise.
15971 * include/sys/uio.h: Likewise.
15972 * include/sys/utsname.h: Likewise.
15973 * include/sys/wait.h: Likewise.
15974 * include/termios.h: Likewise.
15975 * include/time.h: Likewise.
15976 * include/ulimit.h: Likewise.
15977 * include/unistd.h: Likewise.
15978 * include/utime.h: Likewise.
15979 * include/wchar.h: Likewise.
15980 * include/wctype.h: Likewise.
15981 * include/wordexp.h: Likewise.
15982
15983 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15984
7a270350
UD
15985 * time/time.h: TIME_UTC must be a macro.
15986 Make timespec_get available for ISO C11 only as well.
15987
7724defc
UD
159882012-02-24 Ulrich Drepper <drepper@gmail.com>
15989
15990 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15991 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15992
6b1d1d46
JM
159932012-02-24 Joseph Myers <joseph@codesourcery.com>
15994
15995 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15996
0f8bbd69
JM
159972012-02-24 Joseph Myers <joseph@codesourcery.com>
15998
15999 * manual/texinfo.tex: Update to version 2012-01-19.16.
16000
66ab80bc
JM
160012012-02-24 Joseph Myers <joseph@codesourcery.com>
16002
16003 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16004
74981cc5
RM
160052012-02-24 Roland McGrath <roland@hack.frob.com>
16006
ee968201
RM
16007 [BZ #13738]
16008 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16009 * manual/fdl-1.3.texi: New file.
16010 * manual/fdl-1.1.texi: File removed.
16011
74981cc5
RM
16012 [BZ #13738]
16013 * manual/libc.texinfo (FDL_VERSION): New @set.
16014 Use it for mention of FDL in cover text.
16015 (Documentation License): Use it in @include file name.
16016
7bb764bc
JM
160172012-02-22 Joseph Myers <joseph@codesourcery.com>
16018 Roland McGrath <roland@hack.frob.com>
16019
16020 [BZ #5461]
16021 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16022 not LONG_LONG_MAX and LONG_LONG_MIN.
16023 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16024 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16025 name.
16026 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16027
6cbeae47
JM
160282012-02-22 Joseph Myers <joseph@codesourcery.com>
16029
16030 [BZ #2547]
16031 [BZ #11365]
16032 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16033 manipulate bits before adding and subtracting TWO23[sx].
16034 * math/libm-test.inc (nearbyint_test): Add more tests.
16035
fe45ce09
JM
160362012-02-22 Joseph Myers <joseph@codesourcery.com>
16037
16038 [BZ #2548]
16039 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16040 bits before adding and subtracting TWO23[sx].
16041 * math/libm-test.inc (rint_test): Add more tests.
16042 (rint_test_tonearest): Likewise.
16043 (rint_test_towardzero): Likewise.
16044 (rint_test_downward): Likewise.
16045 (rint_test_upward: Likewise.
16046
ff3b3d82
JM
160472012-02-22 Joseph Myers <joseph@codesourcery.com>
16048
16049 [BZ #10110]
16050 * include/stdc-predef.h: New file. Extracted from features.h.
16051 * include/features.h: Include stdc-predef.h.
16052 * Makefile (headers): Add stdc-predef.h.
16053 * CONFORMANCE (Compiler limitations): Update.
16054
ef0aab35
JM
160552012-02-22 Joseph Myers <joseph@codesourcery.com>
16056
16057 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16058
58639409
DM
160592012-02-21 David S. Miller <davem@davemloft.net>
16060
16061 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16062 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16063
c0e70b25
DM
160642012-02-20 David S. Miller <davem@davemloft.net>
16065
16066 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16067 using a normal save/restore sequence, rather than allocating a
16068 dummy stack frame just to store a frame pointer and restore.
16069 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16070
fb06851d
JM
160712012-02-21 Joseph Myers <joseph@codesourcery.com>
16072
16073 * manual/install.texi: Fix stray word in line-wrapped comment.
16074
7a8b71c3
DM
160752012-02-20 David S. Miller <davem@davemloft.net>
16076
d510c123
DM
16077 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16078 both binutils and gcc support GOTDATA.
16079
0722d7c2
DM
16080 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16081 "rd %pc" in the PIC register setup sequences.
16082
3d2b3019
DM
16083 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16084 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16085 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16086 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16087 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16089 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16090 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16092 (SYSCALL_ERROR_HANDLER): Likewise.
16093 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16094 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16096 (SYSCALL_ERROR_HANDLER): Likewise.
16097
c80098a9
DM
16098 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16099 (HAVE_GCC_GOTDATA): New.
16100 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16101 relocation support in both binutils and gcc.
16102 * sysdeps/sparc/elf/configure: Regenerate.
16103
3a2545a0
DM
16104 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16105 * sysdeps/sparc/sparc32/elf/configure: Delete.
16106 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16107 * sysdeps/sparc/sparc64/elf/configure: Delete.
16108 * sysdeps/sparc/elf/configure.in: New file.
16109 * sysdeps/sparc/elf/configure: Generate.
16110
7a8b71c3
DM
16111 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16112 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16113 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16114 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16115 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16116
f1e86fca
JM
161172012-02-21 Joseph Myers <joseph@codesourcery.com>
16118
16119 * manual/install.texi: Do not mention specific glibc version
16120 numbers.
16121 * manual/libc.texinfo (VERSION, UPDATED): Update.
16122 (@copying): Use @copyright{} and range of years.
16123
0e7dfaef
JM
161242012-02-21 Joseph Myers <joseph@codesourcery.com>
16125
16126 [BZ #13695]
16127 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16128 [crti.S not in sysdirs] (generated): Do not append.
16129 [crti.S not in sysdirs] (omit-deps): Likewise.
16130 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16131 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16132 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16133 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16134 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16135 Likewise.
16136 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16137 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16138 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16139 * csu/defs.awk: Remove file.
16140 * sysdeps/generic/initfini.c: Likewise.
16141 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16142 variable.
16143 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16144 Likewise.
16145
599af3ca
JM
161462012-02-20 Joseph Myers <joseph@codesourcery.com>
16147
16148 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16149 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16150 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16151 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16152 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16153 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16154 <bits/epoll.h>.
16155 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16156 (__EPOLL_PACKED): Define to empty if not defined by
16157 <bits/epoll.h>.
16158 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16160 bits/epoll.h.
16161
0e499750
JM
161622012-02-20 Joseph Myers <joseph@codesourcery.com>
16163
16164 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16165 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16166 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16167 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16168 <bits/timerfd.h>.
16169 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16171 bits/timerfd.h.
16172
5ad91f6e
JM
161732012-02-20 Joseph Myers <joseph@codesourcery.com>
16174
16175 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16176 in C locale.
16177 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16178 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16179 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16181
06b99b02
AJ
161822012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16183
16184 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16185 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16186
7638c0fd
AS
161872012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16188
16189 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16190 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16191 defined.
16192 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16193 Likewise.
16194 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16195 entry for 2.16.
16196
92221550
AJ
161972012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16198
16199 * math/w_acos.c: Use non-signaling floating-point comparisons.
16200 * math/w_acosf.c: Likewise.
16201 * math/w_acosh.c: Likewise.
16202 * math/w_acoshf.c: Likewise.
16203 * math/w_acoshl.c: Likewise.
16204 * math/w_acosl.c: Likewise.
16205 * math/w_asin.c: Likewise.
16206 * math/w_asinf.c: Likewise.
16207 * math/w_asinl.c: Likewise.
16208 * math/w_atanh.c: Likewise.
16209 * math/w_atanhf.c: Likewise.
16210 * math/w_atanhl.c: Likewise.
16211 * math/w_exp2.c: Likewise.
16212 * math/w_exp2f.c: Likewise.
16213 * math/w_exp2l.c: Likewise.
16214 * math/w_j0.c: Likewise.
16215 * math/w_j0f.c: Likewise.
16216 * math/w_j0l.c: Likewise.
16217 * math/w_j1.c: Likewise.
16218 * math/w_j1f.c: Likewise.
16219 * math/w_j1l.c: Likewise.
16220 * math/w_jn.c: Likewise.
16221 * math/w_jnf.c: Likewise.
16222 * math/w_log.c: Likewise.
16223 * math/w_log10.c: Likewise.
16224 * math/w_log10f.c: Likewise.
16225 * math/w_log10l.c: Likewise.
16226 * math/w_log2.c: Likewise.
16227 * math/w_log2f.c: Likewise.
16228 * math/w_log2l.c: Likewise.
16229 * math/w_logf.c: Likewise.
16230 * math/w_logl.c: Likewise.
16231 * math/w_sqrt.c: Likewise.
16232 * math/w_sqrtf.c: Likewise.
16233 * math/w_sqrtl.c: Likewise.
16234 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16235 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16236 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16237 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16238 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16239
ebaf36eb
JM
162402012-02-19 Joseph Myers <joseph@codesourcery.com>
16241
16242 [BZ #9739]
16243 * manual/string.texi (strnlen): Use correct parameter name in
16244 equivalent expression.
16245
71c254a6
JM
162462012-02-19 Joseph Myers <joseph@codesourcery.com>
16247
16248 [BZ #11174]
16249 * manual/users.texi (seteuid): Consistently use neweuid for
16250 argument name.
16251
16d2c631
JM
162522012-02-19 Joseph Myers <joseph@codesourcery.com>
16253
16254 [BZ #13704]
16255 * manual/nss.texi (Services in the NSS configuration): Correct
16256 list of services in example configuration file.
16257
cd837b09
NB
162582012-02-19 Nick Bowler <nbowler@draconx.ca>
16259
16260 [BZ #11322]
16261 * manual/arith.texi: Remove statements about negative zero
16262 behaving identically to zero.
16263
02c4bbad
JM
162642012-02-18 Joseph Myers <joseph@codesourcery.com>
16265
16266 [BZ #5993]
16267 * manual/install.texi: Do not document upgrading from libc5.
16268
366842e7
JM
162692012-02-18 Joseph Myers <joseph@codesourcery.com>
16270
16271 [BZ #4596]
16272 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16273
dd54084d
DM
162742012-02-18 David S. Miller <davem@davemloft.net>
16275
16276 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16277 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16278 %o7 across the call.
16279 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16280 instead.
16281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16282 SETUP_PIC_REG_LEAF.
16283 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16284 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16285 * sysdeps/sparc/crtn.S: Likewise.
16286
2bcc53a3
UD
162872012-02-17 Ulrich Drepper <drepper@gmail.com>
16288
16289 * aout/Makefile: Remove.
16290
09c093b5
RK
162912012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16292
16293 [BZ #13058]
16294 * manual/examples/argp-ex1.c (main): Format definition in GNU
16295 style.
16296 * manual/examples/argp-ex2.c (main): Likewise.
16297 * manual/examples/argp-ex3.c (main): Likewise.
16298 * manual/examples/argp-ex4.c (main): Likewise.
16299 * manual/examples/longopt.c (main): Use new-style prototype
16300 definition.
16301 * manual/examples/strncat.c (main): Specify return type and use
16302 (void) for arguments.
16303 * manual/examples/subopt.c (main): Use char **argv argument.
16304
2ee633a2
JM
163052012-02-17 Joseph Myers <joseph@codesourcery.com>
16306
16307 [BZ #5077]
16308 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16309 rounding modes.
16310
0520adde
FB
163112012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16312
16313 [BZ #6907]
16314 * manual/string.texi (strchr): Change when strchrnul is
16315 recommended.
16316
3f4081cd
DGM
163172012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16318
16319 [BZ #174]
16320 * manual/locale.texi (setlocale): Document LOCPATH.
16321
d1b10e78
JM
163222012-02-17 Joseph Myers <joseph@codesourcery.com>
16323
16324 [BZ #10210]
16325 * manual/process.texi (execle): Move @dots{} before last argument.
16326
79c6869c
PB
163272012-02-17 Paul Bolle <pebolle@tiscali.nl>
16328
16329 [BZ #12047]
16330 * manual/charset.texi (Generic Charset Conversion): Fix typo
16331 (LC_TYPE -> LC_CTYPE).
16332
cc6e48bc
NB
163332012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16334
16335 [BZ #5805]
16336 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16337 (scalbnf): Likewise.
16338 (scalbnl): Likewise.
16339 (scalbln): Likewise.
16340 (scalblnf): Likewise.
16341 (scalblnl): Likewise.
16342 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16343 (vwarnx): Likewise.
16344 (verr): Likewise.
16345 (verrx): Likewise.
16346 * manual/filesys.texi (telldir): Use braces around return type.
16347 * manual/llio.texi (mmap): Add space after comma.
16348 (mmap64): Likewise.
16349 * manual/math.texi (jn): Use @var{} on parameter names.
16350 (jnf): Likewise.
16351 (jnl): Likewise.
16352 (yn): Likewise.
16353 (ynf): Likewise.
16354 (ynl): Likewise.
16355 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16356 line.
16357 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16358 "...".
16359 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16360 (sched_get_priority_max): Likewise.
16361 * manual/signal.texi (sigvec): Add space after comma.
16362 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16363 names.
16364 (if_indextoname): Likewise.
16365 (if_freenameindex): Likewise.
16366 (sendto): Use ',' instead of '.' in prototype.
16367 * manual/startup.texi (syscall): Use @dots{} instead of literal
16368 "...".
16369 * manual/stdio.texi (__fpending): Separate initial words of
16370 paragraph from @deftypefun line.
16371 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16372 "...".
16373 (vsyslog): Use @var{} on parameter names.
16374 * manual/terminal.texi (stty): Use @var{} on parameter names.
16375 * manual/users.texi (getutmp): Use @var{} on parameter names.
16376 (getutmpx): Likewise.
16377
5b23062f
JM
163782012-02-17 Joseph Myers <joseph@codesourcery.com>
16379
16380 [BZ #6884]
16381 * manual/stdio.texi (fopen): Fix typos in description of
16382 ",ccs=STRING".
16383
8dee4833
AJ
163842012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16385
16386 [BZ #4026]
16387 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16388 get clock_id definition.
16389
9078ce93
TS
163902012-02-17 Thomas Schwinge <thomas@schwinge.name>
16391
16392 [BZ #4822]
16393 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16394 (madvise): Cast every argument to void on its own.
16395
3835c55f
JM
163962012-02-17 Joseph Myers <joseph@codesourcery.com>
16397
16398 [BZ #9902]
16399 * manual/startup.texi (Exit Status): Fix typo.
16400
35c47e37
JM
164012012-02-17 Joseph Myers <joseph@codesourcery.com>
16402
16403 [BZ #10140]
16404 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16405 * manual/examples/argp-ex2.c: Likewise.
16406 * manual/examples/argp-ex3.c: Likewise.
16407
e3b69ca7
RH
164082012-02-16 Richard Henderson <rth@redhat.com>
16409
16410 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16411 * sysdeps/s390/s390-32/initfini.c: Remove.
16412 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16413 * sysdeps/s390/s390-64/initfini.c: Remove.
16414
df83af67
KK
164152012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16416
16417 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16418 compiler output for sysdeps/generic/initfini.c.
16419 * sysdeps/sh/elf/initfini.c: Remove file.
16420
f63f3380
DM
164212012-02-16 David S. Miller <davem@davemloft.net>
16422
fb59b3a4
DM
16423 [BZ #11494]
16424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16425
f63f3380
DM
16426 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16427 * sysdeps/sparc/crti.S: New file.
16428 * sysdeps/sparc/crtn.S: New file.
16429 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16430 * sysdeps/sparc/sparc64/Makefile: Likewise.
16431
df6a4a4a
MF
164322012-02-15 Mike Frysinger <vapier@gentoo.org>
16433
6dd8f3dc 16434 [BZ #3335]
df6a4a4a
MF
16435 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16436
1cac7236
RM
164372012-02-15 Roland McGrath <roland@hack.frob.com>
16438
d2c736f8
RM
16439 [BZ #4822]
16440 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16441
1cac7236
RM
16442 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16443 (write, read, close): Likewise.
16444 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16445
8e475601
JM
164462012-02-15 Joseph Myers <joseph@codesourcery.com>
16447
16448 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16449 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16450 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16451 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16452 <bits/signalfd.h>.
16453 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16455 bits/signalfd.h.
16456
ed656b40
MP
164572012-02-14 Marek Polacek <polacek@redhat.com>
16458
16459 * sysdeps/x86_64/crti.S: New file.
16460 * sysdeps/x86_64/crtn.S: New file.
16461 * sysdeps/x86_64/elf/initfini.c: Remove file.
16462
2a979d3a
JM
164632012-02-13 Joseph Myers <joseph@codesourcery.com>
16464
16465 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16466 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16467 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16468 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16469 <bits/inotify.h>.
16470 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16472 bits/inotify.h.
16473
2a418ac3
JM
164742012-02-13 Joseph Myers <joseph@codesourcery.com>
16475
16476 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16477 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16478 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16479 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16480 <bits/eventfd.h>.
16481 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16483 bits/eventfd.h.
16484
fb779be7
TS
164852012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16486
e19e83c5
RM
16487 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16488 __feraiseexcept instead of feraiseexcept.
7c35ffed 16489
fb779be7
TS
16490 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16491 nanosleep invocations.
16492 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16493 strings, and add error checking for a nanosleep invocations.
16494
59ba27a6
PE
164952012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16496
16497 Replace FSF snail mail address with URLs, as per GNU coding standards.
16498 Most of the snail mail addresses were wrong anyway, and omitting
16499 them makes the source code easier to maintain. Almost all of the
16500 changes are to license notices and to locale LC_IDENTIFICATION
16501 addresses, except for this one:
16502 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16503 not its snail mail address.
16504
57b957eb
RH
165052012-02-09 Richard Henderson <rth@twiddle.net>
16506
af850b1c
RH
16507 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16508 of kernel-features.h.
16509
57b957eb
RH
16510 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16511
6b73181a
MP
165122012-02-08 Marek Polacek <polacek@redhat.com>
16513
16514 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16515 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16516 * sysdeps/gnu/_G_config.h: Likewise.
16517 * sysdeps/generic/_G_config.h: Likewise.
16518
26ecc33a
AS
165192012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16520
6c6dbc63
AS
16521 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16522 tests.
16523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16524
e216c012
AS
16525 * sysdeps/powerpc/powerpc32/crti.S: New file.
16526 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16527 * sysdeps/powerpc/powerpc64/crti.S: New file.
16528 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16529
26ecc33a
AS
16530 * Makeconfig (have-initfini): Don't set.
16531 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16532 * configure.in (nopic_initfini): Don't substitute.
16533 * config.h.in (HAVE_INITFINI): Don't #undef.
16534 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16535 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16536
3add8e13
JM
165372012-02-08 Joseph Myers <joseph@codesourcery.com>
16538
16539 Support crti.S and crtn.S provided directly by architectures.
16540 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16541 [crti.S in sysdirs] (omit-deps): Likewise.
16542 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16543 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16544 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16545 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16546 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16547 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16548 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16549 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16550 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16551 compiler output for sysdeps/generic/initfini.c.
16552 * sysdeps/i386/elf/Makefile: Remove file.
16553 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16554
a22f12b4
MP
165552012-02-07 Marek Polacek <polacek@redhat.com>
16556
16557 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16558 * sysdeps/gnu/_G_config.h: Likewise.
16559 * sysdeps/mach/hurd/_G_config.h: Likewise.
16560
148cf100
MP
165612012-02-07 Marek Polacek <polacek@redhat.com>
16562
16563 * math/Makefile (tests): Add tst-CMPLX2.
16564 * math/tst-CMPLX2.c: New file.
16565
cfdc0dd7
AS
165662012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16567
84ba42c4
AS
16568 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16569
cfdc0dd7
AS
16570 * math/libm-test.inc (jn_test): Add missing L suffix.
16571
622c86f4
MP
165722012-02-06 Marek Polacek <polacek@redhat.com>
16573
16574 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16575 * sysdeps/i386/fpu/e_powf.S: Likewise.
16576 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16577 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16578 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16579 * sysdeps/i386/fpu/e_pow.S: Likewise.
16580 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16581 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16582 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16583 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16584 * sysdeps/i386/fpu/e_log2.S: Likewise.
16585 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16586 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16587 * sysdeps/i386/fpu/e_powl.S: Likewise.
16588 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16589 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16590 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16591 * sysdeps/i386/fpu/e_logl.S: Likewise.
16592 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16593 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16594 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16595 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16596 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16597 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16598 * sysdeps/i386/fpu/e_log.S: Likewise.
16599 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16600 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16601 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16602 * sysdeps/i386/fpu/e_logf.S: Likewise.
16603 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16604 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16605 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16606 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16607 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16608 * sysdeps/i386/fpu/e_log10.S: Likewise.
16609 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16610 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16611 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16612 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16613 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16614 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16615 * sysdeps/i386/asm-syntax.h: Likewise.
16616 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16617 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16618 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16619 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16620 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16621 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16622 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16623 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16624 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16625 * sysdeps/powerpc/sysdep.h: Likewise.
16626 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16627 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16628
d4a54ac6
JM
166292012-02-06 Joseph Myers <joseph@codesourcery.com>
16630
16631 [BZ #411]
16632 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16633
314054ea
JM
166342012-02-06 Joseph Myers <joseph@codesourcery.com>
16635
16636 * sysdeps/i386/sysdep.h: Include <features.h>.
16637 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16638 version.
16639
d8e0ca50
JM
166402012-02-05 Joseph Myers <joseph@codesourcery.com>
16641
16642 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16643 Define.
16644 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16645 LOAD_PIC_REG_STR.
16646
b1da7dd9
JM
166472012-02-03 Joseph Myers <joseph@codesourcery.com>
16648
16649 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16650 (SETUP_PIC_REG): Use GET_PC_THUNK.
16651 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16652 macro.
16653
9a1d9254
JM
166542012-02-03 Joseph Myers <joseph@codesourcery.com>
16655
16656 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16657 for non-PIC compilation.
16658 (SETUP_PIC_REG): Add .p2align directive.
16659 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16660 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16661 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16662 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16663 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16664 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16665 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16666 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16667 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16668 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16669 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16670 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16671 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16672 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16673 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16674 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16675 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16676 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16677 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16678 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16679 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16680 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16681 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16682 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16683 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16684 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16685 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16686 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16687 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16688 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16689 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16690 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16691 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16692 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16693 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16694 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16695 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16696 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16697 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16698 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16699 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16700
65dc3b75
JM
167012012-02-03 Joseph Myers <joseph@codesourcery.com>
16702
16703 * math/tst-CMPLX.c: Include <stdio.h>.
16704
d55bf177
JM
167052012-01-31 Joseph Myers <joseph@codesourcery.com>
16706
16707 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16708 float.
16709 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16710 * sysdeps/sparc/bits/mathdef.h: Likewise.
16711
69db4f8f
MP
167122012-01-31 Marek Polacek <polacek@redhat.com>
16713
16714 * libio/libio.h: Don't define _PARAMS.
16715 * locale/programs/config.h: Don't define PARAMS.
16716 * stdlib/strtol_l.c: Likewise.
16717 (__strtol_l): Remove PARAMS from the prototype.
16718
41b81892
UD
167192012-01-31 Ulrich Drepper <drepper@gmail.com>
16720
3b49edc0
UD
16721 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16722 names. Just use the correct names. Remove unnecessary wrapper
16723 functions.
16724 * malloc/arena.c: Likewise.
16725 * malloc/hooks.c: Likewise.
16726
41b81892
UD
16727 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16728 ARENA_TEST says not to. Simplify test for creation of a new arena.
16729 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16730
27a25b6e
UD
167312012-01-30 Ulrich Drepper <drepper@gmail.com>
16732
16733 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16734 into tail calls.
16735 (update_get_addr): New function.
16736 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16737 GET_ADDR_MODULE parameter.
16738
c8a89e7d
JM
167392012-01-30 Joseph Myers <joseph@codesourcery.com>
16740
16741 * crypt/cert.c: Remove __STDC__ conditionals.
16742 * crypt/crypt-entry.c: Likewise.
16743 * crypt/crypt_util.c: Likewise.
16744 * libio/filedoalloc.c: Likewise.
16745 * libio/fileops.c: Likewise.
16746 * libio/genops.c: Likewise.
16747 * libio/iofclose.c: Likewise.
16748 * libio/iofdopen.c: Likewise.
16749 * libio/iofopen.c: Likewise.
16750 * libio/iofopen64.c: Likewise.
16751 * libio/iogetdelim.c: Likewise.
16752 * libio/iopopen.c: Likewise.
16753 * libio/obprintf.c: Likewise.
16754 * libio/oldfileops.c: Likewise.
16755 * libio/oldiofclose.c: Likewise.
16756 * libio/oldiofdopen.c: Likewise.
16757 * libio/oldiofopen.c: Likewise.
16758 * libio/oldiopopen.c: Likewise.
16759 * libio/wfiledoalloc.c: Likewise.
16760 * libio/wgenops.c: Likewise.
16761 * locale/programs/xmalloc.c: Likewise.
16762 * misc/syslog.c: Likewise.
16763 * stdio-common/xbug.c: Likewise.
16764 * string/memchr.c: Likewise.
16765 * string/memcmp.c: Likewise.
16766 * string/memrchr.c: Likewise.
16767 * string/rawmemchr.c: Likewise.
16768 * sysdeps/posix/getcwd.c: Likewise.
16769 * time/strftime_l.c: Likewise.
16770
3b100462
JM
167712012-01-30 Joseph Myers <joseph@codesourcery.com>
16772
16773 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16774 * config.make.in (config-cflags-sse2avx): Define.
16775 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16776 Fix typo.
16777
607998af
CM
167782012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16779
16780 * scripts/config.guess: Update from upstream config git repository.
16781 * scripts/config.sub: Likewise.
16782
3601428f
CM
167832012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16784
3ac8b282
CM
16785 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16786 (EM_NUM): Update.
16787 (R_TILEPRO_*, R_TILEGX_*): New macros.
16788
e034841e
CM
16789 * scripts/firstversions.awk: Fix bug in version range handling.
16790
540d7568
CM
16791 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16792
3601428f
CM
16793 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16794
463de862
CM
16795 * include/sys/epoll.h: New file.
16796 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16797 libc_hidden_def.
16798
73139a76
UD
167992012-01-28 Ulrich Drepper <drepper@gmail.com>
16800
96bc5b45
UD
16801 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16802 Avoid unnecessary __WORDSIZE == 64 test.
16803 (fmaxf): Use VEX format if possible.
16804 (fmax): Likewise.
16805 (fminf): Likewise.
16806 (fmin): Likewise.
16807
56f6f6a2
UD
16808 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16809 * math/math_private.h: Remove libc_fegetround* and
16810 libc_fesetround*.
16811 * sysdeps/i386/configure.in: Check for -msse2avx.
16812 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16813 also if SSE2AVX is defined.
16814 Remove libc_fegetround* and libc_fesetround*.
16815 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16816 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16817 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16818 of HAS_YMM_USABLE.
16819 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16820 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16821 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16822 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16823 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16824
73139a76
UD
16825 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16826
d73f93a4
AZ
168272012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16828
16829 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16830 size is not set.
16831 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16832
6ee65ed6
UD
168332012-01-27 Ulrich Drepper <drepper@gmail.com>
16834
16835 [BZ #13618]
16836 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16837 relocation.
16838 * Makeconfig (libm): Define.
16839 * elf/Makefile: Add rules to build and run tst-relsort1.
16840 * elf/tst-relsort1.c: New file.
16841 * elf/tst-relsort1mod1.c: New file.
16842 * elf/tst-relsort1mod2.c: New file.
16843
8db21882
JM
168442012-01-27 Joseph Myers <joseph@codesourcery.com>
16845
16846 * math/s_ldexp.c: Remove __STDC__ conditionals.
16847 * math/s_ldexpf.c: Likewise.
16848 * math/s_ldexpl.c: Likewise.
16849 * math/s_nextafter.c: Likewise.
16850 * math/s_nexttowardf.c: Likewise.
16851 * math/s_significand.c: Likewise.
16852 * math/s_significandf.c: Likewise.
16853 * math/s_significandl.c: Likewise.
16854 * math/w_jnl.c: Likewise.
16855 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16856 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16857 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16858 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16859 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16860 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16861 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16862 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16863 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16864 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16865 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16867 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16868 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16869 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16870 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16871 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16872 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16873 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16874 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16875 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16876 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16877 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16878 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16879 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16880 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16881 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16883 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16884 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16885 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16886 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16887 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16888 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16889 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16890 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16891 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16892 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16893 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16894 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16895 * sysdeps/ieee754/k_standard.c: Likewise.
16896 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16897 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16898 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16899 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16900 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16901 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16902 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16903 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16904 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16905 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16906 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16907 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16908 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16909 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16910 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16912 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16913 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16914 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16915 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16916 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16917 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16918 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16919 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16920 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16921 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16922 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16923 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16925 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16926 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16927 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16928 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16929 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16930 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16931 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16932 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16933 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16934 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16935 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16936 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16937 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16938 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16939 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16940 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16941 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16942 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16943 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16944 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16945 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16946 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16947 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16948 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16949 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16950 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16951 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16952 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16953 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16954 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16956 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16957 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16959 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16961 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16962 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16964 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16965 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16967 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16968 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16969 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16970 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16971 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16972 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16975 * sysdeps/ieee754/s_matherr.c: Likewise.
16976 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16977 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16979 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16980
965a54a4
JM
169812012-01-26 Joseph Myers <joseph@codesourcery.com>
16982
16983 * crypt/md5.h: Remove __STDC__ conditionals.
16984 * libio/libioP.h: Likewise.
16985 * locale/programs/config.h: Likewise.
16986 * sysdeps/generic/sysdep.h: Likewise.
16987 * sysdeps/i386/asm-syntax.h: Likewise.
16988 * sysdeps/s390/asm-syntax.h: Likewise.
16989 * sysdeps/unix/sysdep.h: Likewise.
16990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16992
7071ad79
JM
169932012-01-26 Joseph Myers <joseph@codesourcery.com>
16994
16995 * libio/libio.h: Remove __STDC__ conditionals.
16996 * malloc/obstack.h: Likewise.
16997 * math/complex.h: Likewise.
16998 * math/math.h: Likewise.
16999 * sysdeps/generic/_G_config.h: Likewise.
17000 * sysdeps/gnu/_G_config.h: Likewise.
17001 * sysdeps/mach/hurd/_G_config.h: Likewise.
17002 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17003 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17004 * sysdeps/sparc/bits/mathdef.h: Likewise.
17005
afc5ed09
UD
170062012-01-26 Ulrich Drepper <drepper@gmail.com>
17007
17008 [BZ #13583]
17009 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17010 Clean up HAS_* macros.
afc5ed09 17011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17012 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17013 possible.
17014 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17015 HAS_AVX.
17016 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17017 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17018 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17019 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17020 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17021
bdb6de1d
JM
170222012-01-25 Joseph Myers <joseph@codesourcery.com>
17023
17024 * elf/tst-unique3.cc (gets): Remove declaration.
17025 * elf/tst-unique3lib.cc (gets): Likewise.
17026 * elf/tst-unique3lib2.cc (gets): Likewise.
17027 * elf/tst-unique4.cc (gets): Likewise.
17028
b15549e6
UD
170292012-01-24 Ulrich Drepper <drepper@gmail.com>
17030
17031 * include/stdio.h: Add C++ protection. Add gets declarations and
17032 definitions.
17033 * debug/tst-chk1.c: Don't declare gets here.
17034 * stdio-common/tst-gets.c: Likewise.
17035
a037381f
JM
170362012-01-24 Joseph Myers <joseph@codesourcery.com>
17037
17038 * posix/glob: Remove directory.
17039
f1d4aa75
JM
170402012-01-24 Joseph Myers <joseph@codesourcery.com>
17041
17042 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17043
81c0c964
PT
170442012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17045
17046 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17047 of the non-standard EPFNOSUPPORT.
17048
0ea698ae
ST
170492011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17050
17051 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17052 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17053 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17054
d220b117
UD
170552012-01-21 Ulrich Drepper <drepper@gmail.com>
17056
17057 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17058
3e1aa84e
UD
170592012-01-20 Ulrich Drepper <drepper@gmail.com>
17060
17061 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17062 transient errors.
17063 * nscd/grpcache.c (cache_addgr): Likewise.
17064 * nscd/hstcache.c (cache_addhst): Likewise.
17065 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17066 * nscd/pwdcache.c (cache_addpw): Likewise.
17067 * nscd/servicescache.c (cache_addserv): Likewise.
17068
400aa020
UD
170692012-01-16 Ulrich Drepper <drepper@gmail.com>
17070
d77e7869
UD
17071 * malloc/malloc.c: Various cleanups.
17072 * malloc/hooks.c: Likewise.
17073
400aa020
UD
17074 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17075 * stdlib/bug-fmtmsg1.c: New file.
17076
17077 * stdlib/fmtmsg.c (init): Add missing unlock.
17078 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17079
e0a309cf
MP
170802012-01-12 Marek Polacek <polacek@redhat.com>
17081
17082 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17083 and _GNU_SOURCE.
17084
929d11c7
WS
170852012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17086
17087 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17088 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17089 macro to ensure uniqueness of label name.
17090 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17091 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17092
41d0e869
UD
170932012-01-11 Ulrich Drepper <drepper@gmail.com>
17094
0cc5ed3b
UD
17095 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17096
41d0e869
UD
17097 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17098 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17099 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17101
a47a831a
UD
171022012-01-10 Ulrich Drepper <drepper@gmail.com>
17103
daa891c0
UD
17104 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17105
17106 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17107 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17108 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17109
e58ef0f2
UD
17110 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17111
a47a831a 17112 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17113 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17114 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17115 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17116
17117 * math/bits/math-finite.h: Add ldexp support.
17118
a0bfc9c7
MP
171192012-01-10 Marek Polacek <polacek@redhat.com>
17120
17121 * locale/programs/localedef.h (show_archive_content): Add noreturn
17122 attribute.
17123
d6e97a1d
UD
171242012-01-09 Ulrich Drepper <drepper@gmail.com>
17125
17126 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17127
d5835c26
UD
171282012-01-08 Ulrich Drepper <drepper@gmail.com>
17129
e5f484c6
UD
17130 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17131
d5835c26
UD
17132 * io/Makefile (headers): Add bits/poll2.h.
17133
d1f741e9
WS
171342011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17135
17136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17137 typo #include statement.
17138
ec09c1c4
UD
171392012-01-08 Ulrich Drepper <drepper@gmail.com>
17140
17141 * include/sys/cdefs.h: Define __attribute_alloc_size.
17142 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17143 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17144 * elf/pldd.c: Likewise.
17145 * iconv/iconv_charmap.c: Likewise.
17146 * iconv/iconvconfig.c: Likewise.
17147 * iconv/strtab.c: Likewise.
17148 * locale/programs/locale.c: Likewise.
17149 * locale/programs/localedef.h: Likewise.
17150 * locale/programs/simple-hash.c: Likewise.
17151 * nscd/nscd.h: Likewise.
17152 * nss/makedb.c: Likewise.
17153 * sysdeps/generic/ldconfig.h: Likewise.
17154 * locale/programs/localedef.c: Remove xmalloc prototype.
17155 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17156
20b38e03
PP
171572012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17158
17159 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17160 appropriate.
17161
a0da5fe1
UD
171622012-01-08 Ulrich Drepper <drepper@gmail.com>
17163
1d5a644a 17164 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17165 * math/tst-CMPLX.c: New file.
1d5a644a 17166
8784a6db
UD
17167 * math/complex.h (CMPLXL): Fix typo.
17168
d9a216c0
UD
17169 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17170 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17171 GLIBC_2.16.
17172 * debug/tst-chk1.c: Add poll and ppoll tests.
17173 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17174 * include/sys/poll.h: Add hidden proto for ppoll.
17175 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17176 * sysdeps/mach/hurd/ppoll.c: Likewise.
17177 * io/ppoll.c: Likewise.
17178 * debug/poll_chk.c: New file.
17179 * debug/ppoll_chk.c: New file.
17180 * include/bits/poll2.h: New file.
17181 * io/bits/poll2.h: New file.
17182
ac097f5c
UD
17183 [BZ #1350]
17184 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17185
2119dcfa
UD
17186 * configure.in: static is always set to yes. Remove.
17187 * config.make.in: Don't set build-static.
17188 * Makeconfig: Remove use of build-static.
17189 * dlfcn/Makefile: Likewise.
17190 * elf/Makefile: Likewise.
17191 * math/Makefile: Likewise.
17192 * misc/Makefile: Likewise.
17193 * nptl/Makefile: Likewise.
17194 * sysdeps/mach/hurd/Makefile: Likewise.
17195
121766a9
UD
17196 * configure.in: PWD_P is not used anymore.
17197 * config.make.in: Remove PWD_P entry.
17198
51a1d39c 17199 * configure.in: Remove last remnants of RANLIB.
8720d066 17200 No need to check for signed size_t anymore.
215f4bdc
UD
17201 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17202 and IA-64.
3857022a 17203 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17204 * aclocal.m4: Likewise.
17205
d3ed7225
UD
17206 * wcsmbs/mbrtoc16.c: Implement using towc function.
17207 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17208 * wcsmbs/wcsmbsload.c: Likewise.
17209 * iconv/gconv_simple.c: Likewise.
17210 * iconv/gconv_int.h: Likewise.
17211 * iconv/gconv_builtin.h: Likewise.
17212 * iconv/iconv_prog.c: Remove CHAR16 handling.
17213
17214 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17215
17216 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17217
a0da5fe1
UD
17218 * configure.in: Remove --with-elf and --enable-bounded options.
17219 Dont set base_machine for ia64. More non-ELF conditions removed.
17220 Remove testing and setting of leading underscore information.
17221 * config.make.in (build-bounded): Set to no.
17222 * config.h.in: Remove NO_UNDERSCORES entry.
17223 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17224 them.
17225 * csu/start.c: Remove !NO_UNDERSCORE code.
17226 * locale/localeinfo.h: Likewise.
17227 * sysdeps/generic/machine-gmon.h: Likewise.
17228 * sysdeps/generic/sysdep.h: Likewise.
17229 * sysdeps/i386/sysdep.h: Likewise.
17230 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17231 * sysdeps/mach/sysdep.h: Likewise.
17232 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17233 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17234 * sysdeps/sh/sysdep.h: Likewise.
17235 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17236 * sysdeps/unix/i386/sysdep.S: Likewise.
17237 * sysdeps/unix/sparc/start.c: Likewise.
17238 * sysdeps/unix/sparc/sysdep.S: Likewise.
17239 * sysdeps/unix/sparc/sysdep.h: Likewise.
17240 * sysdeps/unix/start.c: Likewise.
17241 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17242 * sysdeps/x86_64/sysdep.h: Likewise.
17243
df78418a
UD
172442012-01-07 Ulrich Drepper <drepper@gmail.com>
17245
a784e502
UD
17246 [BZ #13553]
17247 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17248 for non-gcc.
17249 * argp/argp-fmtstream.h: Use const instead __const.
17250 * argp/argp.h: Likewise.
17251 * assert/assert.h: Likewise.
17252 * bits/fenv.h: Likewise.
17253 * bits/sched.h: Likewise.
17254 * bits/sigset.h: Likewise.
17255 * bits/sigthread.h: Likewise.
17256 * catgets/nl_types.h: Likewise.
17257 * conform/data/pthread.h-data: Likewise.
17258 * crypt/crypt-private.h: Likewise.
17259 * crypt/crypt.h: Likewise.
17260 * crypt/crypt_util.c: Likewise.
17261 * ctype/ctype.h: Likewise.
17262 * debug/execinfo.h: Likewise.
17263 * debug/mbsnrtowcs_chk.c: Likewise.
17264 * debug/mbsrtowcs_chk.c: Likewise.
17265 * debug/wcsnrtombs_chk.c: Likewise.
17266 * debug/wcsrtombs_chk.c: Likewise.
17267 * debug/wcstombs_chk.c: Likewise.
17268 * dirent/dirent.h: Likewise.
17269 * dlfcn/dlfcn.h: Likewise.
17270 * elf/neededtest4.c: Likewise.
17271 * grp/grp.h: Likewise.
17272 * gshadow/gshadow.h: Likewise.
17273 * iconv/gconv.h: Likewise.
17274 * iconv/gconv_int.h: Likewise.
17275 * iconv/gconv_simple.c: Likewise.
17276 * iconv/iconv.h: Likewise.
17277 * iconv/loop.c: Likewise.
17278 * iconv/skeleton.c: Likewise.
17279 * include/aio.h: Likewise.
17280 * include/aliases.h: Likewise.
17281 * include/argz.h: Likewise.
17282 * include/arpa/inet.h: Likewise.
17283 * include/assert.h: Likewise.
17284 * include/dirent.h: Likewise.
17285 * include/dlfcn.h: Likewise.
17286 * include/execinfo.h: Likewise.
17287 * include/fcntl.h: Likewise.
17288 * include/fenv.h: Likewise.
17289 * include/glob.h: Likewise.
17290 * include/grp.h: Likewise.
17291 * include/libintl.h: Likewise.
17292 * include/mntent.h: Likewise.
17293 * include/netdb.h: Likewise.
17294 * include/pwd.h: Likewise.
17295 * include/rpc/netdb.h: Likewise.
17296 * include/sched.h: Likewise.
17297 * include/search.h: Likewise.
17298 * include/shadow.h: Likewise.
17299 * include/signal.h: Likewise.
17300 * include/stdio.h: Likewise.
17301 * include/stdlib.h: Likewise.
17302 * include/string.h: Likewise.
17303 * include/sys/socket.h: Likewise.
17304 * include/sys/stat.h: Likewise.
17305 * include/sys/statfs.h: Likewise.
17306 * include/sys/statvfs.h: Likewise.
17307 * include/sys/syslog.h: Likewise.
17308 * include/sys/time.h: Likewise.
17309 * include/sys/uio.h: Likewise.
17310 * include/time.h: Likewise.
17311 * include/unistd.h: Likewise.
17312 * include/utmp.h: Likewise.
17313 * include/wchar.h: Likewise.
17314 * include/wctype.h: Likewise.
17315 * inet/aliases.h: Likewise.
17316 * inet/arpa/inet.h: Likewise.
17317 * inet/netinet/ether.h: Likewise.
17318 * inet/netinet/in.h: Likewise.
17319 * intl/libintl.h: Likewise.
17320 * io/bits/fcntl2.h: Likewise.
17321 * io/fcntl.h: Likewise.
17322 * io/ftw.h: Likewise.
17323 * io/sys/poll.h: Likewise.
17324 * io/sys/stat.h: Likewise.
17325 * io/sys/statfs.h: Likewise.
17326 * io/sys/statvfs.h: Likewise.
17327 * io/utime.h: Likewise.
17328 * libio/bits/stdio.h: Likewise.
17329 * libio/bits/stdio2.h: Likewise.
17330 * libio/libio.h: Likewise.
17331 * libio/libioP.h: Likewise.
17332 * libio/stdio.h: Likewise.
17333 * locale/lc-ctype.c: Likewise.
17334 * locale/locale.h: Likewise.
17335 * login/utmp.h: Likewise.
17336 * malloc/arena.c: Likewise.
17337 * malloc/malloc.c: Likewise.
17338 * malloc/malloc.h: Likewise.
17339 * malloc/mcheck.c: Likewise.
17340 * malloc/mtrace.c: Likewise.
17341 * math/bits/mathcalls.h: Likewise.
17342 * math/fenv.h: Likewise.
17343 * math/math_private.h: Likewise.
17344 * misc/bits/error.h: Likewise.
17345 * misc/bits/syslog.h: Likewise.
17346 * misc/err.h: Likewise.
17347 * misc/error.h: Likewise.
17348 * misc/fstab.h: Likewise.
17349 * misc/mntent.h: Likewise.
17350 * misc/regexp.h: Likewise.
17351 * misc/search.h: Likewise.
17352 * misc/sgtty.h: Likewise.
17353 * misc/sys/mman.h: Likewise.
17354 * misc/sys/syslog.h: Likewise.
17355 * misc/sys/uio.h: Likewise.
17356 * misc/sys/xattr.h: Likewise.
17357 * misc/ttyent.h: Likewise.
17358 * nis/rpcsvc/ypclnt.h: Likewise.
17359 * nss/nss.h: Likewise.
17360 * posix/bits/unistd.h: Likewise.
17361 * posix/fnmatch.h: Likewise.
17362 * posix/glob.h: Likewise.
17363 * posix/sched.h: Likewise.
17364 * posix/spawn.h: Likewise.
17365 * posix/sys/wait.h: Likewise.
17366 * posix/unistd.h: Likewise.
17367 * posix/wordexp.h: Likewise.
17368 * pwd/pwd.h: Likewise.
17369 * resolv/netdb.h: Likewise.
17370 * resource/sys/resource.h: Likewise.
17371 * rt/aio.h: Likewise.
17372 * rt/bits/mqueue2.h: Likewise.
17373 * rt/mqueue.h: Likewise.
17374 * shadow/shadow.h: Likewise.
17375 * signal/signal.h: Likewise.
17376 * socket/send.c: Likewise.
17377 * socket/sendto.c: Likewise.
17378 * socket/sys/socket.h: Likewise.
17379 * stdio-common/printf.h: Likewise.
17380 * stdlib/bits/stdlib.h: Likewise.
17381 * stdlib/fmtmsg.h: Likewise.
17382 * stdlib/monetary.h: Likewise.
17383 * stdlib/stdlib.h: Likewise.
17384 * stdlib/ucontext.h: Likewise.
17385 * streams/stropts.h: Likewise.
17386 * string/argz.h: Likewise.
17387 * string/bits/string2.h: Likewise.
17388 * string/string.h: Likewise.
17389 * string/strings.h: Likewise.
17390 * sunrpc/rpc/auth.h: Likewise.
17391 * sunrpc/rpc/auth_des.h: Likewise.
17392 * sunrpc/rpc/clnt.h: Likewise.
17393 * sunrpc/rpc/netdb.h: Likewise.
17394 * sunrpc/rpc/pmap_clnt.h: Likewise.
17395 * sunrpc/rpc/xdr.h: Likewise.
17396 * sysdeps/generic/inttypes.h: Likewise.
17397 * sysdeps/generic/net/if.h: Likewise.
17398 * sysdeps/generic/sys/swap.h: Likewise.
17399 * sysdeps/gnu/net/if.h: Likewise.
17400 * sysdeps/gnu/utmpx.h: Likewise.
17401 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17402 * sysdeps/i386/i486/bits/string.h: Likewise.
17403 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17404 * sysdeps/s390/bits/string.h: Likewise.
17405 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17406 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17407 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17408 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17409 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17410 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17411 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17412 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17413 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17414 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17415 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17416 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17417 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17418 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17419 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17420 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17421 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17423 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17424 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17425 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17426 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17427 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17428 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17429 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17430 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17431 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17432 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17433 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17434 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17435 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17436 * sysvipc/sys/ipc.h: Likewise.
17437 * sysvipc/sys/msg.h: Likewise.
17438 * sysvipc/sys/sem.h: Likewise.
17439 * sysvipc/sys/shm.h: Likewise.
17440 * termios/termios.h: Likewise.
17441 * time/sys/time.h: Likewise.
17442 * time/time.h: Likewise.
17443 * wcsmbs/bits/wchar2.h: Likewise.
17444 * wcsmbs/uchar.h: Likewise.
17445 * wcsmbs/wchar.h: Likewise.
17446 * wctype/wctype.h: Likewise.
17447
0269750c
UD
17448 [BZ #13551]
17449 * Makeconfig: Remove all but ELF support including AIX support.
17450 * Makerules: Likewise.
17451 * config.h.in: Likewise.
17452 * config.make.in: Likewise.
17453 * configure: Likewise.
17454 * configure.in: Likewise.
17455 * csu/Makefile: Likewise.
17456 * csu/version.c: Likewise.
17457 * debug/Makefile: Likewise.
17458 * dlfcn/Makefile: Likewise.
17459 * elf/Makefile: Likewise.
17460 * extra-lib.mk: Likewise.
17461 * iconv/Makefile: Likewise.
17462 * include/libc-symbols.h: Likewise.
17463 * include/shlib-compat.h: Likewise.
17464 * resolv/Makefile: Likewise.
17465 * resolv/res_libc.c: Likewise.
17466 * rt/Makefile: Likewise.
17467 * sysdeps/i386/asm-syntax.h: Likewise.
17468 * sysdeps/i386/sysdep.h: Likewise.
17469 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17470 * sysdeps/mach/sysdep.h: Likewise.
17471 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17472 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17473 * sysdeps/s390/asm-syntax.h: Likewise.
17474 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17475 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17476 * sysdeps/sh/sysdep.h: Likewise.
17477 * sysdeps/unix/sparc/sysdep.h: Likewise.
17478 * sysdeps/wordsize-32/divdi3.c: Likewise.
17479 * sysdeps/x86_64/sysdep.h: Likewise.
17480
00bbd29b
UD
17481 * argp/Versions: Remove _argp_unlock_xxx.
17482
17483 [BZ #13559]
17484 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17485 * abilist/libBrokenLocale.abilist: Likewise.
17486 * abilist/libanl.abilist: Likewise.
17487 * abilist/libc.abilist: Likewise.
17488 * abilist/libcrypt.abilist: Likewise.
17489 * abilist/libdl.abilist: Likewise.
17490 * abilist/libm.abilist: Likewise.
17491 * abilist/libnsl.abilist: Likewise.
17492 * abilist/libpthread.abilist: Likewise.
17493 * abilist/libresolv.abilist: Likewise.
17494 * abilist/librt.abilist: Likewise.
17495 * abilist/libthread_db.abilist: Likewise.
17496 * abilist/libutil.abilist: Likewise.
17497 * abilist/libnss_db.abilist: New file.
17498
17499 * scripts/abilist.awk: Add support for indirect functions.
17500
a2693a0e
UD
17501 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17502
3f05895f
UD
17503 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17504
ecb6fb48
UD
17505 * shlib-versions: Remove entries for ports architectures.
17506
664f8cb9
UD
17507 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17508 files in ports.
17509 * elf/stackguard-macros.h: Remove support for IA-64.
17510 * elf/tst-auditmod1.c: Likewise.
17511 * sysdeps/generic/ldsodefs.h: Likewise.
17512
7ae81d88
UD
17513 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17514 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17515 configure files.
17516
bdeba135
UD
17517 [BZ #13552]
17518 * configure.in: Remove --enable-omitfp support.
17519 * FAQ.in: Adjust.
17520 * config.make.in: Likewise.
17521 * Makeconfig: Likewise.
17522 * manual/install.texi: Likewise.
17523
d75a0a62
UD
17524 In case anyone cares, the IA-64 architecture could move to ports.
17525 * sysdeps/ia64/*: Removed.
17526 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17527 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17528
dcc9756b
UD
17529 [BZ #13555]
17530 * configure.in: Remove entries for unsupported architectures.
17531
d3761ebc 17532 [BZ #13533]
9954432e
UD
17533 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17534 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17535 routines.
17536 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17537 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17538 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17539 fall back to using wcrtomb.
17540 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17541 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17542 renaming.
17543 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17544 * wcsmbs/tst-c16c32-1.c: New file.
17545
17546 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17547 local variable.
17548
c3a87236
UD
17549 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17550
28926a1b
UD
17551 * elf/tst-unique3.cc: Add explicit declaration of gets.
17552 * elf/tst-unique3lib.cc: Likewise.
17553 * elf/tst-unique3lib2.cc: Likewise.
17554 * elf/tst-unique4.cc: Likewise.
17555
df78418a
UD
17556 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17557
8ecd6b2a
JM
175582012-01-06 Joseph Myers <joseph@codesourcery.com>
17559
17560 [BZ #13566]
17561 * assert/assert.h (static_assert): Don't define for C++.
17562 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17563 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17564
9f115170
UD
175652012-01-03 Ulrich Drepper <drepper@gmail.com>
17566
5e0d0300
UD
17567 * iconv/loop.c (single loop): Fix assertion in storing of
17568 remaining bytes.
17569
9f115170
UD
17570 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17571
81fb02b0
UD
175722012-01-01 Ulrich Drepper <drepper@gmail.com>
17573
17574 * posix/getconf.c: Update copyright year.
17575 * nss/getent.c: Likewise.
a316c1f6 17576 * nss/makedb.c: Likewise.
81fb02b0
UD
17577 * iconv/iconvconfig.c: Likewise.
17578 * iconv/iconv_prog.c: Likewise.
17579 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17580 * elf/pldd.c: Likewise.
17581 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17582 * catgets/gencat.c: Likewise.
17583 * csu/version.c: Likewise.
17584 * elf/ldd.bash.in: Likewise.
17585 * elf/sprof.c (print_version): Likewise.
17586 * locale/programs/locale.c: Likewise.
17587 * locale/programs/localedef.c: Likewise.
a316c1f6 17588 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17589 * nscd/nscd.c (print_version): Likewise.
17590 * debug/xtrace.sh: Likewise.
17591 * malloc/memusage.sh: Likewise.
17592 * malloc/mtrace.pl: Likewise.
17593 * debug/catchsegv.sh: Likewise.
17594
2ba92745
JJ
175952011-12-30 Jakub Jelinek <jakub@redhat.com>
17596
17597 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17598 pure attribute.
17599
dadebdae
UD
176002011-12-24 Ulrich Drepper <drepper@gmail.com>
17601
d3761ebc 17602 [BZ #13533]
db6af3eb
UD
17603 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17604 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17605 transformations.
17606 * iconv/gconv_int.h: Likewise.
17607 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17608 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17609 from libc for GLIBC_2.16.
17610 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17611 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17612 * wcsmbs/uchar.h: Really define mbstate_t.
17613 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17614 * wcsmbs/c16rtomb.c: New file.
17615 * wcsmbs/mbrtoc16.c: New file.
17616 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17617 for C/POSIX locale.
17618 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17619 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17620
dadebdae
UD
17621 * wcsmbs/wchar.h: Add missing __restrict.
17622
67371b56
UD
176232011-12-23 Ulrich Drepper <drepper@gmail.com>
17624
74033a25
UD
17625 [BZ #13532]
17626 * time/Makefile (routines): Add timespec_get.
17627 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17628 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17629 timespec for ISO C11.
17630 * time/timespec_get.c: New file.
17631 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17632 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17633
380d7e87
UD
17634 [BZ #13531]
17635 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17636 * stdlib/stdlib.h: Declare aligned_alloc.
17637 * Versions.def: Add GLIBC_2.16 for libc.
17638 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17639
4e9e7a35
UD
17640 [BZ 13527]
17641 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17642 ISO C11.
17643
380d7e87 17644 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17645 code.
17646
03a71829
UD
17647 [BZ #13528]
17648 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17649
839e283e
UD
17650 [BZ #13529]
17651 * assert/assert.h (static_assert): Define.
17652
ce5294e2 17653 * version.h: Update for 2.16 development version.
90fa7312 17654
8d44e150 17655 [BZ #13526]
d7809905
UD
17656 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17657 _ISOC11_SOURCE.
17658
c0da14cd
UD
17659 * version.h (RELEASE): Bump for 2.15 release.
17660 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17661
530a3249
MP
17662 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17663 Patch by Marek Polacek <mpolacek@redhat.com>.
17664
67371b56
UD
17665 * bits/byteswap.h: Protect long long constants with __extension__.
17666 * sysdeps/i386/bits/byteswap.h: Likewise.
17667 * sysdeps/ia64/bits/byteswap.h: Likewise.
17668 * sysdeps/s390/bits/byteswap.h: Likewise.
17669 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17670
15db4de1
LD
176712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17672
17673 [BZ #13540]
bbe315ea
LD
17674 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17675 destination buffer.
15db4de1
LD
17676 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17677
2b2596b1
MP
176782011-12-23 Marek Polacek <polacek@redhat.com>
17679
17680 * elf/dl-addr.c (determine_info): Add inline keyword.
17681 * elf/tst-auditmod4b.c (check_avx): Likewise.
17682 * elf/tst-auditmod6b.c (check_avx): Likewise.
17683 * elf/tst-auditmod6c.c (check_avx): Likewise.
17684 * elf/tst-auditmod7b.c (check_avx): Likewise.
17685
70c6c246
UD
176862011-12-23 Ulrich Drepper <drepper@gmail.com>
17687
17688 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17689 !__SSE_MATH__.
17690
c044cf14
LD
176912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17692
15db4de1 17693 [BZ #13540]
c044cf14
LD
17694 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17695 processing for last bytes.
17696
6b13d9d9
BH
176972011-08-06 Bruno Haible <bruno@clisp.org>
17698
d455f537
BH
17699 [BZ #13061]
17700 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17701 U+0385, not to U+1FEE.
17702
6b13d9d9
BH
17703 [BZ #13062]
17704 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17705 entry for U+00A5 U+0301.
17706
db910efd
UD
177072011-12-22 Ulrich Drepper <drepper@gmail.com>
17708
27deeafc
UD
17709 [BZ #13166]
17710 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17711 buffer for the output is too small.
17712
aed9d171
UD
17713 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17714 optimization.
17715
db910efd
UD
17716 [BZ #13185]
17717 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17718 SSE flags if possible.
17719
2bd779ae
LD
177202011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17721
e7f9dac3 17722 [BZ #13540]
2bd779ae
LD
17723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17724 processing for last bytes.
17725
154bfc16
JM
177262011-12-22 Joseph Myers <joseph@codesourcery.com>
17727
17728 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17729 (syscall-list-default-options, syscall-list-default-condition)
17730 (syscall-list-includes): Define.
17731 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17732 list of ABIs and options and #if conditions for each ABI. Do not
17733 handle common syscalls between ABIs specially.
17734 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17735 Remove.
17736 (syscall-list-variants, syscall-list-32bit-options)
17737 (syscall-list-32bit-condition, syscall-list-64bit-options)
17738 (syscall-list-64bit-condition): Define.
17739 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17740 (syscall-list-variants, syscall-list-32bit-options)
17741 (syscall-list-32bit-condition, syscall-list-64bit-options)
17742 (syscall-list-64bit-condition): Define.
17743 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17744 Remove.
17745 (syscall-list-variants, syscall-list-32bit-options)
17746 (syscall-list-32bit-condition, syscall-list-64bit-options)
17747 (syscall-list-64bit-condition): Define.
17748 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17749 Remove.
17750 (syscall-list-variants, syscall-list-32bit-options)
17751 (syscall-list-32bit-condition, syscall-list-64bit-options)
17752 (syscall-list-64bit-condition): Define.
17753
21eaf3a5
UD
177542011-12-22 Ulrich Drepper <drepper@gmail.com>
17755
16c6f992
UD
17756 * locale/iso-639.def: Add brx entry.
17757
41043168
UD
17758 [BZ #13328]
17759 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17760 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17761
21eaf3a5
UD
17762 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17763 __feraiseexcept_renamed.
17764
e3a851a2
UD
177652011-12-21 Ulrich Drepper <drepper@gmail.com>
17766
4920765e
UD
17767 [BZ #13538]
17768 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17769 EPOLLET with unsigned values.
17770 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17772
e3a851a2
UD
17773 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17774 to large cancellation.
17775 * math/s_cacoshf.c: Likewise.
17776 * math/s_cacoshl.c: Likewise.
17777
b27e24b8
RK
177782011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17779
17780 [BZ #13305]
aebefeee 17781 [BZ #12786]
b27e24b8
RK
17782 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17783 * math/s_cacoshf.c: Likewise.
17784 * math/s_cacoshl.c: Likewise.
17785
ee190f67
UD
177862011-12-21 Ulrich Drepper <drepper@gmail.com>
17787
17788 [BZ #13439]
17789 * iconv/gconv.h: Define __GCONV_SWAP.
17790 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17791 * iconvdata/utf-16.c: Likewise.
17792 * iconvdata/utf-32.c: Likewise.
17793
707f25df
AS
177942011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17795
17796 [BZ #13524]
17797 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17798 numerator after shifting it by one limb.
17799
d2daaa1e
RÁE
178002011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17801
17802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17803 under [__USE_EXTERN_INLINES].
17804
a4647e72
UD
178052011-12-17 Ulrich Drepper <drepper@gmail.com>
17806
17807 [BZ #13446]
17808 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17809
f0b264f1
AZ
178102011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17811
17812 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17813 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17814 optimized code.
17815 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17816 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17817 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17818 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17819 for strncasecmp/strncasecmp_l compilation.
17820 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17821 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17822
8ef4f244
MP
178232011-12-08 Marek Polacek <mpolacek@redhat.com>
17824
17825 [BZ #13484]
17826 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17827 of __asm__.
17828
97ac2654
UD
178292011-12-17 Ulrich Drepper <drepper@gmail.com>
17830
17831 [BZ #13506]
17832 * time/tzfile.c (__tzfile_read): Check values from file header.
17833
91d2a845
WS
178342011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17835
17836 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17837 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17838 * powerpc/powerpc32/dl-start.S: Likewise.
17839 * powerpc/powerpc32/elf/start.S: Likewise.
17840 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17841 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17842 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17843 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17844 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17845 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17846 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17847 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17848 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17849 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17850 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17851 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17852 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17853 * powerpc/powerpc32/memset.S: Likewise.
17854 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17855 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17856 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17857 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17858 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17859 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17860 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17861 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17862 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17863 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17864 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17865 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17866 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17867
a1267ba1
AZ
178682011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17869
17870 * math/libm-test.inc: Added more nearbyint tests.
17871 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17872 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17873 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17874 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17875
ad8ac1bd
RL
178762011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17877
17878 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17879 FD_CLOEXEC.
17880
1d3e4b61
UD
178812011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17882
17883 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17884 Add wcscpy-ssse3 wcscpy-c.
17885 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17886 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17887 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17888 * sysdeps/x86_64/wcschr.S: New file.
17889 * sysdeps/x86_64/wcsrchr.S: New file.
17890 * string/test-strcmp.c: Remove checking of wcscmp function for
17891 wrong alignments.
17892 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17893 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17894 wcsrchr-sse2 wcsrchr-c.
17895 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17896 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17897 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17898 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17899 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17900 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17901 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17902 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17903 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17904 * wcsmbc/wcschr.c (WCSCHR): New macro.
17905
5b330a2d
UD
179062011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17907
17908 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17909 * wcsmbs/test-wcsrchr.c: New file.
17910 * string/test-strrchr.c: Add wcsrchr support.
17911 (WIDE): New macro.
17912 * wcsmbs/test-wcscpy.c: New file.
17913 * string/test-strcpy.c: Add wcscpy support.
17914 (WIDE): New macro.
26428b7c 17915
f039c043
UD
179162011-12-10 Ulrich Drepper <drepper@gmail.com>
17917
17918 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17919 the inner loop.
17920
850fb039
AS
179212011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17922
17923 [BZ #13472]
17924 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17925
4efbd5cb
UD
179262011-12-04 Ulrich Drepper <drepper@gmail.com>
17927
52ff5dd0 17928 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17929 Minor optimizations.
52ff5dd0 17930
4efbd5cb
UD
17931 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17932 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17933 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17934
8a426e12
UD
179352011-12-03 Ulrich Drepper <drepper@gmail.com>
17936
aff2453d
UD
17937 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17938 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17939 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17940 for gcc to avoid warnings.
17941 * inet/Makefile (tests): Add tst-checks.
17942 * inet/tst-checks.c: New file.
17943
17944 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17945 warning.
17946
17947 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17948 __wmemcmp_sse2.
17949
17950 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17951 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17952
8a426e12
UD
17953 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17954
9bea3473
UD
179552011-12-02 Ulrich Drepper <drepper@gmail.com>
17956
3a965496
UD
17957 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17958 problem.
17959
9bea3473
UD
17960 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17961
f101631b
UD
179622011-11-29 Joseph Myers <joseph@codesourcery.com>
17963
17964 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17965 conditional on GCC version.
17966 (__arch_compare_and_exchange_val_8_acq)
17967 (__arch_compare_and_exchange_val_16_acq)
17968 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17969 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17970 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17971
a98275aa
UD
179722011-12-02 Joseph Myers <joseph@codesourcery.com>
17973
17974 * sysdeps/sh/backtrace.c: New file.
17975
d4cc29a2
AS
179762011-12-02 Andreas Schwab <schwab@redhat.com>
17977
17978 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17979 parenthesis.
17980
6257af2d
AS
179812011-12-01 Andreas Schwab <schwab@redhat.com>
17982
17983 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17984 falling back to utime.
17985
b5f44c1a
AS
179862011-11-30 Andreas Schwab <schwab@redhat.com>
17987
17988 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17989 expectations for float.
17990
f3a6cc0a
AS
179912011-11-29 Andreas Schwab <schwab@redhat.com>
17992
17993 * locale/weight.h (findidx): Add parameter len.
17994 * locale/weightwc.h (findidx): Likewise.
17995 * posix/fnmatch_loop.c (FCT): Adjust caller.
17996 * posix/regcomp.c (build_equiv_class): Likewise.
17997 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17998 * posix/regexec.c (check_node_accept_bytes): Likewise.
17999 * string/strcoll_l.c (STRCOLL): Likewise.
18000 * string/strxfrm_l.c (STRXFRM): Likewise.
18001
9d65ea3a
UD
180022011-11-17 Ulrich Drepper <drepper@gmail.com>
18003
18004 * Makefile.in: Remove CVSOPT handling.
18005 * configure.in: Remove use of AC_REVISION.
18006 * iconvdata/Makefile (distribute): No need to filter out CVS.
18007 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18008 handling.
18009
5583a086
AS
180102011-11-16 Andreas Schwab <schwab@redhat.com>
18011
18012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18013 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18014 [USE_AS_STRNCASECMP_L]: Likewise.
18015 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18016 NO_TLS_DIRECT_SEG_REFS.
18017 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18018 Fix argument offsets for non-PIC.
18019 [USE_AS_STRNCASECMP_L]: Likewise.
18020 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18021 NO_TLS_DIRECT_SEG_REFS.
18022
d62a8200
UD
180232011-11-15 Ulrich Drepper <drepper@gmail.com>
18024
9d65ea3a 18025 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18026 O_CLOEXEC.
18027 * locale/loadlocale.c (_nl_load_locale): Likewise.
18028
09f93bd3
AS
180292011-11-15 Andreas Schwab <schwab@redhat.com>
18030
446514f9
AS
18031 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18032 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18033 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18034 (SYSCALL_GETTIME): Set errno on error.
18035
09f93bd3
AS
18036 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18037 count references to noai6ai_cached.
18038
312be3f9
UD
180392011-11-15 Ulrich Drepper <drepper@gmail.com>
18040
18041 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18042
18043 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18044 FD_CLOEXEC for /proc/self/maps.
18045
18046 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18047 FD_CLOEXEC for /proc/meminfo.
18048
18049 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18050 gai.conf.
18051
18052 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18053 FD_CLOEXEC for given file.
18054
18055 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18056
18057 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18058 FD_CLOEXEC for /etc/hosts.
18059 (_gethtent): Likewise.
18060
18061 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18062
18063 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18064 cancellation and set FD_CLOEXEC for /etc/netgroup.
18065
18066 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18067 reading /etc/publickey.
18068
18069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18070 allow cancellation when reading /etc/group.
18071
18072 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18073 cancellation.
18074 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18075
18076 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18077 when using data file.
18078
18079 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18080
18081 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18082 (write_nis_obj): Use "c" and "e" in fopen.
18083
18084 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18085
18086 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18087
18088 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18089
18090 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18091
18092 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18093 locale.alias.
18094
18095 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18096
18097 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18098
18099 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18100
18101 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18102 file parsing and set FD_CLOEXEC.
18103
82af0fa8
UD
181042011-11-14 Ulrich Drepper <drepper@gmail.com>
18105
18106 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18107
a5fb313c
AS
181082011-11-14 Andreas Schwab <schwab@redhat.com>
18109
18110 * malloc/arena.c (arena_get2): Don't call reused_arena when
18111 _int_new_arena failed.
18112
6abf3465
UD
181132011-11-14 Ulrich Drepper <drepper@gmail.com>
18114
18115 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18116 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18117 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18118 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18119 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18120 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18121 to compile strcasecmp and strncasecmp.
18122 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18123 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18124
18125 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18126
76e3966e
UD
181272011-11-13 Ulrich Drepper <drepper@gmail.com>
18128
18129 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18130 locale-defines.sym to gen-as-const-headers.
18131 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18132 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18134 to compile strcasecmp and strncasecmp.
18135 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18136 strcasecmp_l and strncasecmp_l.
18137 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18138 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18139 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18140 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18141 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18142 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18143 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18144 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18145 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18146 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18147 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18148
ab26144e
UD
181492011-11-12 Ulrich Drepper <drepper@gmail.com>
18150
7edb22ef
UD
18151 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18152 result of SYSDEP_GETTIME_CPU to retval.
18153 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18154 parameter list to macro. Remove trailing semicolon. Adjust users.
18155
9694fc44
UD
18156 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18157 variable.
18158
8ad89ef8
UD
18159 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18160 mantissa words.
18161 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18162
0c822ef9
UD
18163 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18164 from unused variable.
18165
874e0564
UD
18166 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18167 DWARF definitions.
18168 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18169 for assembling.
18170
3a2edc79
UD
18171 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18172 over namespaces.
18173
f3c2577f
UD
18174 * sunrpc/rpc_prot.c (rejected): Fix case value.
18175
294ce126
UD
18176 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18177 unsigned long long int to avoid warnings in shift.
18178
5e2b63c6
UD
18179 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18180 of use of trans.
18181 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18182 variable tmp.
18183
e7f4b08e
UD
18184 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18185 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18186 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18187
ab26144e
UD
18188 * nis/nis_table.c (nis_list): Use variable of correct type for
18189 result of __follow_path call.
18190
8a6d5255
AZ
181912011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18192
18193 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18194 of math functions ceil, trunc, floor, round, and sqrt, when
18195 avaliable on the platform.
18196 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18197 name clash.
18198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18201
aaddc98c
MP
182022011-10-30 Marek Polacek <mpolacek@redhat.com>
18203
18204 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18205 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18206
95b7042b
RM
182072011-11-11 Roland McGrath <roland@hack.frob.com>
18208
18209 * include/unistd.h: Fix __readlink return type.
18210 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18211
57769839
UD
182122011-11-11 Ulrich Drepper <drepper@gmail.com>
18213
18214 * stdlib/ucontext.h: Undo last change for makecontext.
18215
edc5984d
AS
182162011-11-11 Andreas Schwab <schwab@redhat.com>
18217
98591e58
AS
18218 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18219
edc5984d
AS
18220 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18221 * setjmp/setjmp.h: Mark functions as non-leaf.
18222 * setjmp/bits/setjmp2.h: Likewise.
18223 * stdlib/ucontext.h: Likewise.
18224
77cdc054
AS
182252011-11-10 Andreas Schwab <schwab@redhat.com>
18226
18227 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18228 (reused_arena): Don't check arena limit.
18229 (arena_get2): Atomically check arena limit.
18230
fe72eebd
UD
182312011-11-08 Ulrich Drepper <drepper@gmail.com>
18232
5f078c32
UD
18233 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18234 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18235
fe72eebd
UD
18236 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18237 instructions.
18238
ae1bc2fa
AS
182392011-11-07 Andreas Schwab <schwab@redhat.com>
18240
7583a88d
AS
18241 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18242 handler when locking.
18243
ae1bc2fa
AS
18244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18245 Fix size of allocated buffer.
18246
10fb0bfa
AS
182472011-11-04 Andreas Schwab <schwab@redhat.com>
18248
998832a4
AS
18249 [BZ #10103]
18250 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18251 declarations for long double functions.
18252 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18253
10fb0bfa
AS
18254 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18255
3d7ba52b
AS
182562011-11-03 Andreas Schwab <schwab@redhat.com>
18257
a9ae54a1
AS
18258 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18259 installed.
18260
3d7ba52b
AS
18261 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18262 is disabled.
18263
bc8db248
ST
182642011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18265
18266 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18267
45b96dd6
AS
182682011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18269
647776f6
AS
18270 * include/alloca.h (stackinfo_alloca_round): Define.
18271 (extend_alloca): Use it.
18272 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18273 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18274 here.
18275
d91a8b93
AS
18276 * scripts/check-local-headers.sh: Ignore libaudit.h.
18277
45b96dd6
AS
18278 * nscd/Makefile (extra-objs): Make recursively expanded.
18279
432d41ce
UD
182802011-11-01 Ulrich Drepper <drepper@gmail.com>
18281
34372fc6
UD
18282 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18283 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18284
fadb59f8
UD
18285 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18286 * posix/tst-rfc3484-2.c: Likewise.
18287 * posix/tst-rfc3484-3.c: Likewise.
18288
78239589
UD
18289 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18290 process_vm_writev.
18291 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18292 process_vm_writev.
18293 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18294 process_vm_writev from libc using GLIBC_2.15 version.
18295
432d41ce
UD
18296 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18297
02f9c6cf
PP
182982011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18299
18300 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18301 stack usage.
18302
3a2c0242
UD
183032011-10-31 Ulrich Drepper <drepper@gmail.com>
18304
f4ec4833
UD
18305 [BZ #13367]
18306 * nss/getent.c (initgroups_keys): Show error message in case no group
18307 names are given.
18308
3a2c0242
UD
18309 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18310 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18311 __bump_nl_timestamp.
18312 * nscd/connections (nscd_init): When host database is served open
18313 netlink socket and request notification about configuration changes.
18314 (main_loop_poll): Track netlink file descriptor and bump timestamp
18315 in case data becomes available.
18316 (main_loop_epoll): Likewise.
18317 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18318 (database_pers_head): Add extra_data fileds.
18319 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18320 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18321 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18322 Adjust caller.
18323 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18324 in6ai data, call __free_in6ai.
18325 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18326 Add -DHAVE_NETLINK.
18327 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18328 interface information. Reuse previous data if netlink timestamp
18329 is not changed.
18330 (__bump_nl_timestamp): New function.
18331 (__free_in6ai): New function.
18332
636064eb
UD
183332011-10-30 Ulrich Drepper <drepper@gmail.com>
18334
18335 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18336 close_not_cancel_no_status here.
18337 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18338
9beb2334
UD
183392011-10-29 Ulrich Drepper <drepper@gmail.com>
18340
6ef76f3b
UD
18341 [BZ #13276]
18342 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18343 return value.
18344
0ffc4f3e 18345 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18346 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18347 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18348
cb95113e
UD
183492011-07-03 Andreas Jaeger <aj@suse.de>
18350
18351 [BZ #10709]
18352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18353 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18354 * math/libm-test.inc (sin_test): Add test case.
18355
a1b560ff
UD
183562011-10-29 Ulrich Drepper <drepper@gmail.com>
18357
c9aaface
UD
18358 [BZ #13337]
18359 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18360 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18361
d272e7f1
UD
18362 * elf/chroot_canon.c (chroot_canon): Cleanups.
18363
1bc33071
UD
18364 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18365
1760874d
TJ
18366 [BZ #13335]
18367 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18368 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18369
51d91b18
UD
18370 * string/test-strchr.c: Make usable for strchrnul testing.
18371 * string/test-strchrnul.c: New file.
18372 * string/Makefile (strop-tests): Add strchrnul.
18373
a1b560ff 18374 * po/it.po: Update from translation team.
b611fb81 18375 * po/es.po: Likewise.
a1b560ff 18376
a5b81e1f
UD
183772011-10-28 Ulrich Drepper <drepper@gmail.com>
18378
fd52bc6d
UD
18379 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18380 the three constants needed as parameters. Drop the others.
18381 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18382 __m128i_strloadu_tolower.
52e4b9eb
UD
18383 Create and initialize variable zero and use it in all the places
18384 where _mm_setzero_si128 was used.
fd52bc6d 18385
a5b81e1f
UD
18386 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18387 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18388 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18389 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18390 anymore.
18391 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18392 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18393 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18394 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18395 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18396 __mpranred, __mptan.
18397 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18398 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18399 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18400 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18401 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18402 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18403 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18404 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18405 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18406
b4343346
AS
184072011-10-28 Andreas Schwab <schwab@redhat.com>
18408
0c92d8a8
AS
18409 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18410 redefine if SHARED.
18411 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18412
b4343346
AS
18413 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18414 wide char related routines to wcsmbs subdir.
18415
3871f58f
AS
184162011-10-27 Andreas Schwab <schwab@redhat.com>
18417
18418 [BZ #13344]
18419 * misc/sys/cdefs.h (__THROWNL): Define.
18420 * posix/unistd.h: Use __THREADNL instead of __THREAD
18421 for memory synchronization functions.
18422
94d44d9f
RM
184232011-10-26 Roland McGrath <roland@hack.frob.com>
18424
21b64b15 18425 [BZ #13349]
94d44d9f
RM
18426 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18427 doesn't exist.
18428 * manual/stdio.texi (Obstack Streams): Node removed.
18429
f6ce9294
AS
184302011-10-26 Andreas Schwab <schwab@redhat.com>
18431
80479147
AS
18432 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18433 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18434 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18435
f6ce9294
AS
18436 * math/math_private.h (math_force_eval): Allow non-addressable
18437 arguments.
18438 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18439
618280a1
UD
184402011-10-25 Ulrich Drepper <drepper@gmail.com>
18441
e0016b11
UD
18442 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18443 file is not needed.
18444
18445 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18446 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18447 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18448 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18452 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18453 Add AVX variants.
18454 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18455 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18456 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18457 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18458 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18459 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18460 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18461 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18462 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18463 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18464 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18465 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18466 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18467 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18468 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18469 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18470 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18471 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18472 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18473
18474 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18475 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18476
618280a1
UD
18477 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18478 place. Use VEX encoding when compiling for AVX.
18479
37822576
AS
184802011-10-25 Andreas Schwab <schwab@redhat.com>
18481
1f1e1947
AS
18482 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18483 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18484
37822576
AS
18485 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18486
31ea014d
UD
184872011-10-25 Ulrich Drepper <drepper@gmail.com>
18488
d7826aa1 18489 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18490 useless if() expression.
d7826aa1
UD
18491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18492 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18493 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18494 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18495 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18496 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18497 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18498 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18499 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18501 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18502 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18503 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18504 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18505 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18506 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18507 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18508 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18509 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18510
31ea014d
UD
18511 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18512
16437fec
AS
185132011-10-25 Andreas Schwab <schwab@redhat.com>
18514
18515 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18516 condition.
18517 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18518
31d3cc00
UD
185192011-10-25 Ulrich Drepper <drepper@gmail.com>
18520
18521 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18522 .text section. Avoid duplicate constants.
18523 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18525 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18527 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18531 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18532 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18533 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18534 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18535 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18536 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18537 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18539 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18540 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18541 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18542 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18544 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18545 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18546 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18547 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18548 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18549 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18550 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18551 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18552 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18553 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18554 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18555 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18556 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18557 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18558 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18559 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18560 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18561 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18562 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18563 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18564 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18565 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18566 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18567 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18568
58985aa9
UD
185692011-10-24 Ulrich Drepper <drepper@gmail.com>
18570
202c9deb
UD
18571 * sysdeps/x86_64/dla.h: Move to ...
18572 * sysdeps/x86_64/fpu/dla.h: ...here.
18573 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18574 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18575
af968f62
UD
18576 * config.make.in: Add have-mfma4 entry.
18577 * configure.in: Substitute libc_cv_cc_fma4.
18578 * math/Makefile (dbl-only-routines): Add sincostab.
18579 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18580 Use __sincostab not sincos.
18581 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18582 name is a macro.
18583 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18587 using __copysign.
18588 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18589 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18590 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18591 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18592 and __inv.
18593 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18594 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18595 __copysign.
18596 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18597 define aliases when function name is a macro.
18598 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18599 sysdeps/ieee754/dbl-64/sincos.tbl.
18600 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18601 fma4-enabled routines.
18602 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18603 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18604 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18605 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18606 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18607 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18608 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18609 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18610 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18611 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18612 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18613 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18614 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18615 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18616 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18617 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18618 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18619 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18620 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18621 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18622 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18623 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18624 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18625 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18626 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18627 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18629 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18630 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18631 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18632
58985aa9
UD
18633 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18634 rename.
18635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18643
a201fbcf
AS
186442011-10-24 Andreas Schwab <schwab@redhat.com>
18645
18646 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18647
fc2ee42a
LD
186482011-10-23 Ulrich Drepper <drepper@gmail.com>
18649
bb3129bd
UD
18650 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18651
0275fff8
UD
18652 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18653 prediction.
18654 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18655
2fa2ae85
UD
18656 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18657 Remove unused variable magic_bits.
18658 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18659
fc2ee42a
LD
18660 * string/strnlen.c: Define and use STRNLEN macro.
18661 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18662 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18663 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18664 * wcsmbs/wcslen.c: Define and use WCSLEN.
18665 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18666 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18667 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18668 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18669 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18670 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18671 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18672
ce7dd29f
LD
186732011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18674
18675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18676 strnlen-sse2-no-bsf.
18677 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18678 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18679 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18680 Add strnlen support.
18681 (USE_AS_STRNLEN): New macro.
18682 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18683 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18684 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18685 * sysdeps/x86_64/wcslen.S: New file.
18686
979c70a3
MZ
186872011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18688
18689 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18690 XMM-moves are used for copying on small sizes.
18691
2d09f82f
LD
186922011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18693
18694 * wcsmbs/Makefile (strop-tests): Add wcschr.
18695 * wcsmbs/test-wcschr.c: New file.
18696 * string/test-strchr.c: Update.
18697 Add wcschr support.
18698 (WIDE): New macro.
18699
619fccca
LD
187002011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18701
2d09f82f 18702 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18703 * wcsmbs/test-wcslen.c: New file.
18704 * string/test-strlen.c: Update.
18705 Add wcslen support.
18706 (WIDE): New macro.
18707
09f699ea
UD
187082011-10-23 Ulrich Drepper <drepper@gmail.com>
18709
18710 * po/it.po: Update from translation team.
18711
95584d3b
LD
187122011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18713
18714 * sysdeps/x86_64/wcscmp.S: Update.
18715 Fix wrong comparison semantics.
18716 wcscmp shall use signed comparison not unsigned.
18717 Don't use substraction to avoid overflow bug.
18718 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18719 * wcsmbc/wcscmp.c: Likewise.
18720 * string/test-strcmp.c: Likewise.
18721 Add new tests to check cases with negative values.
18722
c8b3296b
UD
187232011-10-23 Ulrich Drepper <drepper@gmail.com>
18724
18725 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18726 * sysdeps/x86_64/dla.h: ...here. New file.
18727 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18728 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18732 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18733 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18735 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18736
246ad57a
AS
187372011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18738
18739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18740 __ynl_finite aliases.
18741
a1a87169
UD
187422011-10-22 Ulrich Drepper <drepper@gmail.com>
18743
0d355eb7
UD
18744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18745
a1a87169
UD
18746 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18747 define DLA_FMA.
18748 [DLA_FMA] (EMULV): Use DLA_FMA.
18749 [DLA_FMA] (MUL12): Use EMULV.
18750 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18751 that are not needed.
18752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18755 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18758 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18759
ee2aafe0
AS
187602011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18761
18762 * math/s_nan.c: Undef __nan.
18763 * math/s_nanf.c: Undef __nanf.
18764 * math/s_nanl.c: Undef __nanl.
18765 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18766 "math_private.h".
18767
bc62c2fb
UD
187682011-10-22 Ulrich Drepper <drepper@gmail.com>
18769
77425c63
UD
18770 * math/s_catan.c: Add branch predictions.
18771 * math/s_catanf.c: Likewise.
18772 * math/s_catanh.c: Likewise.
18773 * math/s_catanhf.c: Likewise.
18774 * math/s_catanhl.c: Likewise.
18775 * math/s_catanl.c: Likewise.
18776 * math/s_cexp.c: Likewise.
18777 * math/s_cexpf.c: Likewise.
18778 * math/s_cexpl.c: Likewise.
18779 * math/s_clog.c: Likewise.
18780 * math/s_clog10.c: Likewise.
18781 * math/s_clog10f.c: Likewise.
18782 * math/s_clog10l.c: Likewise.
18783 * math/s_clogf.c: Likewise.
18784 * math/s_clogl.c: Likewise.
18785 * math/s_csqrt.c: Likewise.
18786 * math/s_csqrtf.c: Likewise.
18787 * math/s_csqrtl.c: Likewise.
18788 * math/s_ctanf.c: Likewise.
18789 * math/s_ctanh.c: Likewise.
18790 * math/s_ctanhf.c: Likewise.
18791 * math/s_ctanhl.c: Likewise.
18792 * math/s_ctanl.c: Likewise.
18793
bc62c2fb
UD
18794 * math/math_private.h: Define __nan, __nanf, __nanl.
18795 * math/s_cacosh.c: Include <math_private.h>.
18796 * math/s_cacoshl.c: Likewise.
18797 * math/s_casinh.c: Likewise.
18798 * math/s_casinhf.c: Likewise.
18799 * math/s_casinhl.c: Likewise.
18800 * math/s_ccos.c: Rely entire on ccosh.
18801 * math/s_ccosf.c: Rely entire on ccoshf.
18802 * math/s_ccosl.c: Rely entirely on ccoshl.
18803 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18804 Remove tests for FE_INVALID.
18805 * math/s_ccoshf.c: Likewise.
18806 * math/s_ccoshl.c: Likewise.
18807 * math/s_csin.c: Likewise.
18808 * math/s_csinf.c: Likewise.
18809 * math/s_csinh.c Likewise.
18810 * math/s_csinhf.c: Likewise.
18811 * math/s_csinhl.c: Likewise.
18812 * math/s_csinl.c: Likewise.
18813 * math/s_ctan.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18815 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18816 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18817
8ec250a4
UD
188182011-10-21 Ulrich Drepper <drepper@gmail.com>
18819
c196fed8
UD
18820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18821 compilation problems.
18822
8ec250a4
UD
18823 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18824 __builtin_expect.
18825
8d4f46c6
UD
188262011-10-20 Ulrich Drepper <drepper@gmail.com>
18827
ed72b654
UD
18828 * sysdeps/i386/configure.in: Test for -mfma4 option.
18829 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18830 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18831 COMMON_CPUID_INDEX_80000001.
18832 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18833 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18834 use it if FMA3 is not supported.
18835 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18836
8d4f46c6
UD
18837 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18838 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18839
d45c60c2
AS
188402011-10-20 Andreas Schwab <schwab@redhat.com>
18841
18842 [BZ #12892]
18843 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18844 it would create a cycle with a link time dependency.
18845
d9a4d2ab
UD
188462011-10-19 Ulrich Drepper <drepper@gmail.com>
18847
855d1560
UD
18848 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18849 instruction.
18850 * string/Makefile (strop-tests): Add rawmemchr.
18851 * string/test-rawmemchr.c: New file.
18852
d9a4d2ab
UD
18853 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18854 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18855 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18856 when compiling str{,n}casecmp and when AVX is available. Hook up
18857 new optimized code in initializers.
18858
8f3b1ffe
AS
188592011-10-19 Andreas Schwab <schwab@redhat.com>
18860
18861 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18862 __feraiseexcept instead of feraiseexcept.
18863
d38f1dba
UD
188642011-10-18 Ulrich Drepper <drepper@gmail.com>
18865
d9a8d0ab
UD
18866 * math/math_private.h: Define defaults for libc_fetestexcept and
18867 libc_feupdateenv.
18868 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18869 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18870 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18871 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18872 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18873 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18874 libc_fetestexcept and libc_feupdateenv.
18875
4855e3dd
UD
18876 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18877 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18878 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18879 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18880 libc_feholdexcept_setround.
18881
581d30e3
UD
18882 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18883 Add s_nearbyint-c and s_nearbyintf-c.
18884 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18885 nearbyintf inlines.
18886 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18887 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18888 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18889 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18890
d38f1dba
UD
18891 * math/math_private.h: Define defaults for libc_fegetround,
18892 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18893 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18894 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18895 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18896 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18897 standard functions.
18898 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18899 Remove comments and hacks for old compiler versions.
18900 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18901 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18902 libc_feholdexceptl.
18903
caa6c9d8
AS
189042011-10-18 Andreas Schwab <schwab@redhat.com>
18905
18906 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18907 (__feraiseexcept_renamed): Add __NTH.
18908 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18909 namespace violations.
18910
97c066e6
UD
189112011-10-17 Ulrich Drepper <drepper@gmail.com>
18912
99ce7b04
UD
18913 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18914
1004d182
UD
18915 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18916
228a984d
UD
18917 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18918 recently added interfaces.
18919 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18920
c8553a6a
UD
18921 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18922 about macro parameter expansion.
18923
ed22dcf6
UD
18924 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18925 __NO_MATH_INLINES is defined. Cleanups.
18926
18927 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18928 and __floorf is target has SSE4.1.
18929 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18930 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18931 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18932 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18933
b171c137
UD
18934 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18935 name.
18936 (floorf): Likewise.
18937
97c066e6
UD
18938 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18939
629f62ef
AS
189402011-10-17 Andreas Schwab <schwab@redhat.com>
18941
49a43d80
AS
18942 * misc/sys/cdefs.h: Fix last change.
18943
629f62ef
AS
18944 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18945 database lookup.
18946
e453f6cd
UD
189472011-10-16 Ulrich Drepper <drepper@gmail.com>
18948
aa78043a
UD
18949 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18950
ad0f5cad
UD
18951 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18952 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18953 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18954 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18955 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18956 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18957 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18958 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18959 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18960 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18961 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18962 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18963 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18964 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18965 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18966 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18967 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18968 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18969 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18970 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18971 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18972 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18973
18974 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18975 ceil, ceilf, floor, floorf.
18976
18977 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18978 Perform IRELATIVE relocations last.
18979
e453f6cd
UD
18980 * elf/do-rel.h: Add another parameter nrelative, replacing the
18981 local variable with the same name. Change name of the function
18982 to end in Rel or Rela (uppercase).
18983 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18984 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18985 elf_dynamic_do_##reloc function.
18986
fd5bdc09
UD
189872011-10-15 Ulrich Drepper <drepper@gmail.com>
18988
79b195b5
UD
18989 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18990 is sufficient, at least on modern CPUs.
18991
d4a28569
UD
18992 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18993
b61099b5
UD
18994 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18995 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18996
bcf01e6d
UD
18997 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18998 __expl_finite.
18999 * math/bits/math-finite.h: Add entries for exp.
19000 * math/e_expl.c: Add __*_finite alias.
19001 * sysdeps/i386/fpu/e_exp.S: Likewise.
19002 * sysdeps/i386/fpu/e_expf.S: Likewise.
19003 * sysdeps/i386/fpu/e_expl.c: Likewise.
19004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19005 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19008 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19009 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19010 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19011
ba1a0d59
UD
19012 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19013 is sufficient, at least on modern CPUs.
19014
fd5bdc09
UD
19015 * ctype/ctype-info.c (__ctype_init): Define.
19016 * include/ctype.h (__ctype_init): Declare.
19017 (__ctype_b_loc): The variable is always initialized.
19018 (__ctype_toupper_loc): Likewise.
19019 (__ctype_tolower_loc): Likewise.
19020 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19021 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19022
7872cfb0
AS
190232011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19024
b468825a
AS
19025 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19026
7872cfb0
AS
19027 * configure.in: Also look in $cxxmachine/include for C++ system
19028 headers.
19029
be13f7bf
LD
190302011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19031
19032 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19033 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19034 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19035 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19036 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19037 (USE_AS_WMEMCMP): New macro.
19038 Fixing indents.
19039 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19040 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19041 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19042 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19044 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19045 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19046 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19047 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19048 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19049 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19050 (USE_AS_WMEMCMP): New macro.
19051 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19052 * sysdeps/string/test-memcmp.c: Update.
19053 Fix simple_wmemcmp.
19054 Add new tests.
19055 * wcsmbs/wmemcmp.c: Update.
19056 (WMEMCMP): New macro.
19057 Fix overflow bug.
19058
556a2007
AJ
190592011-10-12 Andreas Jaeger <aj@suse.de>
19060
19061 [BZ #13268]
19062 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19063
538faaa7
UD
190642011-10-15 Ulrich Drepper <drepper@gmail.com>
19065
ab6737ff
UD
19066 * libio/iofwide.c (do_length): Avoid warning.
19067
538faaa7
UD
19068 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19069
396a21b1
UD
190702011-10-14 Ulrich Drepper <drepper@gmail.com>
19071
cdf2901f
UD
19072 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19073
38ad40ce
UD
19074 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19075 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19076 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19077 * sysdeps/i386/i686/fpu/e_log.S: New file.
19078 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19079 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19080
396a21b1
UD
19081 * ctype/ctype.h: Add support for inlined isXXX functions when
19082 compiling C++ code.
19083
6b1f68c9
AS
190842011-10-14 Andreas Schwab <schwab@redhat.com>
19085
349290c0
AS
19086 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19087
6b1f68c9
AS
19088 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19089
f2282d42
RM
190902011-10-13 Roland McGrath <roland@hack.frob.com>
19091
19092 [BZ #13291]
19093 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19094
5298ffa8
AS
190952011-10-13 Andreas Schwab <schwab@redhat.com>
19096
714fad23
AS
19097 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19098 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19099 feraiseexcept.
19100
81dcc7fb
AS
19101 * sysdeps/x86_64/memrchr.S: Check for zero size.
19102
5298ffa8
AS
19103 * string/stratcliff.c: Add memrchr tests.
19104
951fbcec
LD
191052011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19106
19107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19108 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19109 rawmemchr-sse2 rawmemchr-sse2-bsf.
19110 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19111 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19112 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19113 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19114 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19115 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19116 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19117 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19118 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19119 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19120 * string/memrchr.c (MEMRCHR): New macro.
19121
0ac5ae23
UD
191222011-10-12 Ulrich Drepper <drepper@gmail.com>
19123
19124 Add integration with gcc's -ffinite-math-only and optimize wrapper
19125 functions in libm.
19126 * Versions.def: Define GLIBC_2.15 version for libm.
19127 * math/Makefile (headers): Add bits/math-finite.h.
19128 * math/bits/math-finite.h: New file.
19129 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19130 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19131 * math/e_acoshl.c: Add __*_finite alias.
19132 * math/e_acosl.c: Likewise.
19133 * math/e_asinl.c: Likewise.
19134 * math/e_atan2l.c: Likewise.
19135 * math/e_atanhl.c: Likewise.
19136 * math/e_coshl.c: Likewise.
19137 * math/e_exp10.c: Likewise.
19138 * math/e_exp10f.c: Likewise.
19139 * math/e_exp10l.c: Likewise.
19140 * math/e_exp2l.c: Likewise.
19141 * math/e_fmodl.c: Likewise.
19142 * math/e_gammal_r.c: Likewise.
19143 * math/e_hypotl.c: Likewise.
19144 * math/e_j0l.c: Likewise.
19145 * math/e_j1l.c: Likewise.
19146 * math/e_jnl.c: Likewise.
19147 * math/e_lgammal_r.c: Likewise.
19148 * math/e_log10l.c: Likewise.
19149 * math/e_log2l.c: Likewise.
19150 * math/e_logl.c: Likewise.
19151 * math/e_powl.c: Likewise.
19152 * math/e_sinhl.c: Likewise.
19153 * math/e_sqrtl.c: Likewise.
19154 * math/e_scalb.c: Completely rewritten and optimized.
19155 * math/e_scalbf.c: Likewise.
19156 * math/e_scalbl.c: Likewise.
19157 * math/w_acos.c: Likewise.
19158 * math/w_acosf.c: Likewise.
19159 * math/w_acosl.c: Likewise.
19160 * math/w_acosh.c: Likewise.
19161 * math/w_acoshf.c: Likewise.
19162 * math/w_acoshl.c: Likewise.
19163 * math/w_asin.c: Likewise.
19164 * math/w_asinf.c: Likewise.
19165 * math/w_asinl.c: Likewise.
19166 * math/w_atan2.c: Likewise.
19167 * math/w_atan2f.c: Likewise.
19168 * math/w_atan2l.c: Likewise.
19169 * math/w_atanh.c: Likewise.
19170 * math/w_atanhf.c: Likewise.
19171 * math/w_atanhl.c: Likewise.
19172 * math/w_exp10.c: Likewise.
19173 * math/w_exp10f.c: Likewise.
19174 * math/w_exp10l.c: Likewise.
19175 * math/w_fmod.c: Likewise.
19176 * math/w_fmodf.c: Likewise.
19177 * math/w_fmodl.c: Likewise.
19178 * math/w_j0.c: Likewise.
19179 * math/w_j0f.c: Likewise.
19180 * math/w_j0l.c: Likewise.
19181 * math/w_j1.c: Likewise.
19182 * math/w_j1f.c: Likewise.
19183 * math/w_j1l.c: Likewise.
19184 * math/w_jn.c: Likewise.
19185 * math/w_jnf.c: Likewise.
19186 * math/w_log.c: Likewise.
19187 * math/w_logf.c: Likewise.
19188 * math/w_logl.c: Likewise.
19189 * math/w_log10.c: Likewise.
19190 * math/w_log10f.c: Likewise.
19191 * math/w_log10l.c: Likewise.
19192 * math/w_log2.c: Likewise.
19193 * math/w_log2f.c: Likewise.
19194 * math/w_log2l.c: Likewise.
19195 * math/w_pow.c: Likewise.
19196 * math/w_powf.c: Likewise.
19197 * math/w_powl.c: Likewise.
19198 * math/w_remainder.c: Likewise.
19199 * math/w_remainderf.c: Likewise.
19200 * math/w_remainderl.c: Likewise.
19201 * math/w_scalb.c: Likewise.
19202 * math/w_scalbf.c: Likewise.
19203 * math/w_scalbl.c: Likewise.
19204 * math/w_sqrt.c: Likewise.
19205 * math/w_sqrtf.c: Likewise.
19206 * math/w_sqrtl.c: Likewise.
19207 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19208 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19209 used.
19210 * math/math_private.h: Declare __kernel_standard_f.
19211 * math/w_cosh.c: Remove cruft and optimize a bit.
19212 * math/w_coshf.c: Likewise.
19213 * math/w_coshl.c: Likewise.
19214 * math/w_exp2.c: Likewise.
19215 * math/w_exp2f.c: Likewise.
19216 * math/w_exp2l.c: Likewise.
19217 * math/w_hypot.c: Likewise.
19218 * math/w_hypotf.c: Likewise.
19219 * math/w_hypotl.c: Likewise.
19220 * math/w_lgamma.c: Likewise.
19221 * math/w_lgamma_r.c: Likewise.
19222 * math/w_lgammaf.c: Likewise.
19223 * math/w_lgammaf_r.c: Likewise.
19224 * math/w_lgammal.c: Likewise.
19225 * math/w_lgammal_r.c: Likewise.
19226 * math/w_sinh.c: Likewise.
19227 * math/w_sinhf.c: Likewise.
19228 * math/w_sinhl.c: Likewise.
19229 * math/w_tgamma.c: Likewise.
19230 * math/w_tgammaf.c: Likewise.
19231 * math/w_tgammal.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19233 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19234 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19235 Minor optimizations. Pretty printing. Remove cruft.
19236 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19237 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19238 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19239 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19240 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19241 * sysdeps/i386/fpu/e_asin.S: Likewise.
19242 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19243 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19244 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19245 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19246 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19247 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19248 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19249 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19250 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19251 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19252 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19253 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19254 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19255 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19256 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19257 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19258 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19259 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19260 * sysdeps/i386/fpu/e_log.S: Likewise.
19261 * sysdeps/i386/fpu/e_log10.S: Likewise.
19262 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19263 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19264 * sysdeps/i386/fpu/e_log2.S: Likewise.
19265 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19266 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19267 * sysdeps/i386/fpu/e_logf.S: Likewise.
19268 * sysdeps/i386/fpu/e_logl.S: Likewise.
19269 * sysdeps/i386/fpu/e_pow.S: Likewise.
19270 * sysdeps/i386/fpu/e_powf.S: Likewise.
19271 * sysdeps/i386/fpu/e_powl.S: Likewise.
19272 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19273 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19274 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19275 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19276 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19277 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19278 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19279 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19280 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19281 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19282 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19284 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19285 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19286 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19287 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19289 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19290 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19291 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19292 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19295 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19300 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19301 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19302 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19303 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19304 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19305 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19306 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19307 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19308 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19309 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19310 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19311 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19312 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19313 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19314 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19315 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19316 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19317 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19318 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19319 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19320 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19321 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19322 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19323 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19327 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19328 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19330 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19331 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19332 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19333 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19334 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19335 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19343 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19348 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19350 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19351 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19352 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19353 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19354 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19356 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19360 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19362 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19363 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19364 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19365 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19366 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19367 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19368 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19369 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19370 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19371 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19372 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19373 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19374 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19375 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19376 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19377 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19378 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19379 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19380 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19381 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19382 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19383 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19384 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19385 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19386 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19387 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19388 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19389 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19390 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19391 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19392 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19393 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19394 (__isnanf): Likewise.
19395 (__isinf_ns): Likewise.
19396 (__isinf_nsf): Likewise.
19397 (__finite): Likewise.
19398 (__finitef): Likewise.
19399 (__ieee754_sqrt): Define as macro.
19400 (__ieee754_sqrtf): Define as macro.
19401 (__ieee754_sqrtl): Define as macro.
19402 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19403 inlined copy.
19404 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19405 __FINITE_MATH_ONLY__ consistent.
19406 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19407
12cc2fcd
AS
194082011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19409
a843a204
AS
19410 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19411 of rawmemchr.
19412
12cc2fcd
AS
19413 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19414
c853acd5
UD
194152011-10-09 Ulrich Drepper <drepper@gmail.com>
19416
19417 * po/ja.po: Update from translation team.
19418
c658d255
RM
194192011-10-08 Roland McGrath <roland@hack.frob.com>
19420
110946e4
RM
19421 * locale/programs/locarchive.c (prepare_address_space): New function.
19422 (create_archive, enlarge_archive, open_archive): Use it.
19423
50604220
RM
19424 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19425 inside [SHARED], where it is used.
19426
c658d255
RM
19427 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19428
19429 * nss/getent.c (netgroup_keys): Remove unused variable.
19430 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19431
6a621eb7
UD
194322011-10-08 Ulrich Drepper <drepper@gmail.com>
19433
7edb55ce
UD
19434 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19435 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19436 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19437 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19438 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19439 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19440 * math/Makefile (libm-calls): Add s_isinf_ns.
19441 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19442 * math/multc3.c: Likewise.
19443 * math/s_casin.c: Likewise.
19444 * math/s_casinf.c: Likewise.
19445 * math/s_casinl.c: Likewise.
19446 * math/s_ccos.c: Likewise.
19447 * math/s_ccosf.c: Likewise.
19448 * math/s_ccosl.c: Likewise.
19449 * math/s_ctan.c: Likewise.
19450 * math/s_ctanf.c: Likewise.
19451 * math/s_ctanh.c: Likewise.
19452 * math/s_ctanhf.c: Likewise.
19453 * math/s_ctanhl.c: Likewise.
19454 * math/s_ctanl.c: Likewise.
19455 * math/w_fmod.c: Likewise.
19456 * math/w_fmodf.c: Likewise.
19457 * math/w_fmodl.c: Likewise.
19458 * math/w_remainder.c: Likewise.
19459 * math/w_remainderf.c: Likewise.
19460 * math/w_remainderl.c: Likewise.
19461 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19462 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19463 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19464 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19465 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19466 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19467 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19468 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19469
187da0ae
UD
19470 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19471 of the number.
19472 * stdio-common/printf_fphex.c: Likewise.
19473 * stdio-common/printf_size.c: Likewise.
19474
9277c064
UD
19475 * math/e_exp10.c: Include math_private.h using <...> not "...".
19476 * math/e_exp10f.c: Likewise.
19477 * math/e_exp10l.c: Likewise.
19478 * math/e_exp2l.c: Likewise.
19479 * math/e_j0l.c: Likewise.
19480 * math/e_j1l.c: Likewise.
19481 * math/e_jnl.c: Likewise.
19482 * math/e_lgammal_r.c: Likewise.
19483 * math/e_rem_pio2l.c: Likewise.
19484 * math/e_scalb.c: Likewise.
19485 * math/e_scalbf.c: Likewise.
19486 * math/e_scalbl.c: Likewise.
19487 * math/k_cosl.c: Likewise.
19488 * math/k_sinl.c: Likewise.
19489 * math/k_tanl.c: Likewise.
19490 * math/s_cacoshf.c: Likewise.
19491 * math/s_catan.c: Likewise.
19492 * math/s_catanf.c: Likewise.
19493 * math/s_catanh.c: Likewise.
19494 * math/s_catanhf.c: Likewise.
19495 * math/s_catanhl.c: Likewise.
19496 * math/s_catanl.c: Likewise.
19497 * math/s_ccosh.c: Likewise.
19498 * math/s_ccoshf.c: Likewise.
19499 * math/s_ccoshl.c: Likewise.
19500 * math/s_cexp.c: Likewise.
19501 * math/s_cexpf.c: Likewise.
19502 * math/s_cexpl.c: Likewise.
19503 * math/s_clog.c: Likewise.
19504 * math/s_clog10.c: Likewise.
19505 * math/s_clog10f.c: Likewise.
19506 * math/s_clog10l.c: Likewise.
19507 * math/s_clogf.c: Likewise.
19508 * math/s_clogl.c: Likewise.
19509 * math/s_csin.c: Likewise.
19510 * math/s_csinf.c: Likewise.
19511 * math/s_csinh.c: Likewise.
19512 * math/s_csinhf.c: Likewise.
19513 * math/s_csinhl.c: Likewise.
19514 * math/s_csinl.c: Likewise.
19515 * math/s_csqrt.c: Likewise.
19516 * math/s_csqrtf.c: Likewise.
19517 * math/s_csqrtl.c: Likewise.
19518 * math/s_ctan.c: Likewise.
19519 * math/s_ctanf.c: Likewise.
19520 * math/s_ctanh.c: Likewise.
19521 * math/s_ctanhf.c: Likewise.
19522 * math/s_ctanhl.c: Likewise.
19523 * math/s_ctanl.c: Likewise.
19524 * math/s_ldexp.c: Likewise.
19525 * math/s_ldexpf.c: Likewise.
19526 * math/s_ldexpl.c: Likewise.
19527 * math/s_significand.c: Likewise.
19528 * math/s_significandf.c: Likewise.
19529 * math/s_significandl.c: Likewise.
19530 * math/w_acos.c: Likewise.
19531 * math/w_acosf.c: Likewise.
19532 * math/w_acosh.c: Likewise.
19533 * math/w_acoshf.c: Likewise.
19534 * math/w_acoshl.c: Likewise.
19535 * math/w_acosl.c: Likewise.
19536 * math/w_asin.c: Likewise.
19537 * math/w_asinf.c: Likewise.
19538 * math/w_asinl.c: Likewise.
19539 * math/w_atan2.c: Likewise.
19540 * math/w_atan2f.c: Likewise.
19541 * math/w_atan2l.c: Likewise.
19542 * math/w_atanh.c: Likewise.
19543 * math/w_atanhf.c: Likewise.
19544 * math/w_atanhl.c: Likewise.
19545 * math/w_cosh.c: Likewise.
19546 * math/w_coshf.c: Likewise.
19547 * math/w_coshl.c: Likewise.
19548 * math/w_dremf.c: Likewise.
19549 * math/w_exp10.c: Likewise.
19550 * math/w_exp10f.c: Likewise.
19551 * math/w_exp10l.c: Likewise.
19552 * math/w_exp2.c: Likewise.
19553 * math/w_exp2f.c: Likewise.
19554 * math/w_fmod.c: Likewise.
19555 * math/w_fmodf.c: Likewise.
19556 * math/w_fmodl.c: Likewise.
19557 * math/w_hypot.c: Likewise.
19558 * math/w_hypotf.c: Likewise.
19559 * math/w_hypotl.c: Likewise.
19560 * math/w_j0.c: Likewise.
19561 * math/w_j0f.c: Likewise.
19562 * math/w_j0l.c: Likewise.
19563 * math/w_j1.c: Likewise.
19564 * math/w_j1f.c: Likewise.
19565 * math/w_j1l.c: Likewise.
19566 * math/w_jn.c: Likewise.
19567 * math/w_jnf.c: Likewise.
19568 * math/w_jnl.c: Likewise.
19569 * math/w_lgamma.c: Likewise.
19570 * math/w_lgamma_r.c: Likewise.
19571 * math/w_lgammaf.c: Likewise.
19572 * math/w_lgammaf_r.c: Likewise.
19573 * math/w_lgammal.c: Likewise.
19574 * math/w_lgammal_r.c: Likewise.
19575 * math/w_log.c: Likewise.
19576 * math/w_log10.c: Likewise.
19577 * math/w_log10f.c: Likewise.
19578 * math/w_log10l.c: Likewise.
19579 * math/w_log2.c: Likewise.
19580 * math/w_log2f.c: Likewise.
19581 * math/w_log2l.c: Likewise.
19582 * math/w_logf.c: Likewise.
19583 * math/w_logl.c: Likewise.
19584 * math/w_pow.c: Likewise.
19585 * math/w_powf.c: Likewise.
19586 * math/w_powl.c: Likewise.
19587 * math/w_remainder.c: Likewise.
19588 * math/w_remainderf.c: Likewise.
19589 * math/w_remainderl.c: Likewise.
19590 * math/w_scalb.c: Likewise.
19591 * math/w_scalbf.c: Likewise.
19592 * math/w_scalbl.c: Likewise.
19593 * math/w_sinh.c: Likewise.
19594 * math/w_sinhf.c: Likewise.
19595 * math/w_sinhl.c: Likewise.
19596 * math/w_sqrt.c: Likewise.
19597 * math/w_sqrtf.c: Likewise.
19598 * math/w_sqrtl.c: Likewise.
19599 * math/w_tgamma.c: Likewise.
19600 * math/w_tgammaf.c: Likewise.
19601 * math/w_tgammal.c: Likewise.
19602
6a621eb7
UD
19603 * po/ja.po: Update from translation team.
19604
bf582445
AJ
196052011-09-29 Andreas Jaeger <aj@suse.de>
19606
f9efbf3a
AJ
19607 [BZ #13179]
19608 * sunrpc/netname.c (netname2host): Fix logic.
19609
bf582445
AJ
19610 [BZ #6779]
19611 [BZ #6783]
19612 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19613 correctly.
19614 * math/w_remainder.c (__remainder): Likewise.
19615 * math/w_remainderf.c (__remainderf): Likewise.
19616 * math/libm-test.inc (remainder_test): Add test cases.
19617
48693bea
AK
196182011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19619
19620 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19621 sdiv_qrnnd.
19622
42622229
LD
196232011-10-07 Ulrich Drepper <drepper@gmail.com>
19624
19625 * string/test-memcmp.c: Avoid unncessary #defines.
19626 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19627
093ecf92
LD
196282011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19629
19630 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19631 Use new sse2 version for core i3 - i7 as it's faster
19632 than sse42 version.
19633 (bit_Prefer_PMINUB_for_stringop): New.
19634 * sysdeps/x86_64/rawmemchr.S: Update.
19635 Replace with faster SSE2 version.
19636 * sysdeps/x86_64/memrchr.S: New file.
19637 * sysdeps/x86_64/memchr.S: Update.
19638 Replace with faster SSE2 version.
19639
fde56e5c
MP
196402011-09-12 Marek Polacek <mpolacek@redhat.com>
19641
19642 * elf/dl-load.c (lose): Add cast to avoid warning.
19643
21fd49a9
UD
196442011-10-07 Ulrich Drepper <drepper@gmail.com>
19645
5a06e643
UD
19646 * po/ca.po: Update from translation team.
19647
684ae515
UD
19648 * inet/getnetgrent_r.c: Hook up nscd.
19649 * nscd/Makefile (routines): Add nscd_netgroup.
19650 (nscd-modules): Add netgroupcache.
19651 (CFLAGS-netgroupcache.c): Define.
19652 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19653 (cache_search): Add const to second parameter.
19654 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19655 INNETGR.
19656 (dbs): Add netgrdb entry.
19657 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19658 (verify_persistent_db): Handle netgrdb.
19659 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19660 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19661 GETFDNETGR.
19662 (netgroup_response_header): Define.
19663 (innetgroup_response_header): Define.
19664 (datahead): Add netgroup_response_header and innetgroup_response_header
19665 elements.
19666 * nscd/nscd.conf: Add entries for netgroup cache.
19667 * nscd/nscd.h (dbtype): Add netgrdb.
19668 (_PATH_NSCD_NETGROUP_DB): Define.
19669 (netgroup_iov_disabled): Declare.
19670 (xmalloc, xcalloc, xrealloc): Move declarations here.
19671 (cache_search): Adjust prototype.
19672 Add netgroup-related prototypes.
19673 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19674 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19675 (__nscd_innetgr): Declare.
19676 * nscd/selinux.c (perms): Use access_vector_t as element type and
19677 add netgroup-related initializers.
19678 * nscd/netgroupcache.c: New file.
19679 * nscd/nscd_netgroup.c: New file.
19680 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19681 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19682 For four parameters use innetgr.
19683 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19684 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19685 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19686 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19687
21fd49a9
UD
19688 * nscd/connections.c (register_traced_file): Don't register file
19689 for disabled databases.
19690
054c0457
UD
196912011-10-06 Ulrich Drepper <drepper@gmail.com>
19692
32b63198
UD
19693 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19694
054c0457
UD
19695 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19696 from tree and freeing node.
19697
64031225
JO
196982011-09-25 Jiri Olsa <jolsa@redhat.com>
19699
19700 * nss/nsswitch.c (__nss_database_lookup): Handle
19701 nss_parse_service_list out of memory case.
19702
0490345c
JO
197032011-09-15 Jiri Olsa <jolsa@redhat.com>
19704
19705 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19706 out of memory case.
19707
3a62d00d
AS
197082011-10-04 Andreas Schwab <schwab@redhat.com>
19709
19710 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19711 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19712 pass it down.
19713 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19714 elf_machine_rela, elf_machine_lazy_rel.
19715 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19716 (ELF_DYNAMIC_DO_REL): Likewise.
19717 (ELF_DYNAMIC_DO_RELA): Likewise.
19718 (ELF_DYNAMIC_RELOCATE): Likewise.
19719 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19720 to ELF_DYNAMIC_DO_REL.
19721 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19722 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19723 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19724 elf_machine_rela.
19725 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19726 skip_ifunc, don't call ifunc function if non-zero.
19727 (elf_machine_rela): Likewise.
19728 (elf_machine_lazy_rel): Likewise.
19729 (elf_machine_lazy_rela): Likewise.
19730 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19731 (elf_machine_lazy_rel): Likewise.
19732 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19733 Likewise.
19734 (elf_machine_lazy_rel): Likewise.
19735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19736 Likewise.
19737 (elf_machine_lazy_rel): Likewise.
19738 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19739 (elf_machine_lazy_rel): Likewise.
19740 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19741 (elf_machine_lazy_rel): Likewise.
19742 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19743 (elf_machine_lazy_rel): Likewise.
19744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19745 (elf_machine_lazy_rel): Likewise.
19746 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19747 (elf_machine_lazy_rel): Likewise.
19748 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19749 (elf_machine_lazy_rel): Likewise.
19750
68577918
UD
197512011-09-28 Ulrich Drepper <drepper@gmail.com>
19752
19753 * nss/nss_files/files-init.c (_nss_files_init): Use static
19754 initialization for all the *_traced_file variables.
19755
68822d74
AS
197562011-09-28 Andreas Schwab <schwab@redhat.com>
19757
19758 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19759
2056100b
RM
197602011-09-27 Roland McGrath <roland@hack.frob.com>
19761
19762 [BZ #13226]
19763 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19764
32c76b63
AS
197652011-09-27 Andreas Schwab <schwab@redhat.com>
19766
19767 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19768 Reread the line before reparsing it.
19769
bf972c9d
AS
197702011-09-26 Andreas Schwab <schwab@redhat.com>
19771
19772 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19773
e057a1b5
JM
197742011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19775 Maxim Kuvyrkov <maxim@codesourcery.com>
19776 Joseph Myers <joseph@codesourcery.com>
19777
19778 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19779 if needed for __stack_chk_guard.
19780
bc7e1c36
RM
197812011-09-19 Roland McGrath <roland@hack.frob.com>
19782
ecb1482f
RM
19783 * sysdeps/posix/spawni.c (script_execute): Always define it.
19784 It will be optimized away if unused.
19785 (maybe_script_execute): New function.
19786 (__spawni): Call it.
19787
bc7e1c36
RM
19788 * Makerules: Don't include tls.make.
19789 (config-tls): Always set to thread.
19790 * tls.make.c: File removed.
19791
1c3b002b
MF
197922011-09-19 Mike Frysinger <vapier@gentoo.org>
19793
19794 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19795 * config.make.in (CPPFLAGS-config): New substituted variable.
19796
2840865d
UD
197972011-09-15 Ulrich Drepper <drepper@gmail.com>
19798
88738eb6
UD
19799 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19800
cbf645a6 19801 [BZ #13192]
2840865d
UD
19802 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19803 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19804
b402e91a
RM
198052011-09-15 Roland McGrath <roland@hack.frob.com>
19806
19807 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19808 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19809 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19810 (CALL_FAIL): Likewise.
19811 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19812 (CALL_FAIL): Macro removed.
19813 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19814
4c1a1f71
UD
198152011-09-15 Ulrich Drepper <drepper@gmail.com>
19816
19817 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19818 for __FINITE_MATH_ONLY__ == 1.
19819
edc121be
AS
198202011-09-15 Andreas Schwab <schwab@redhat.com>
19821
19822 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19823 __ieee754_sqrt instead of sqrt.
19824 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19825 __ieee754_sqrtf instead of sqrtf.
19826 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19827 __floorf instead of floorf.
19828 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19829 __floorf, __truncf instead of floorf, truncf.
19830
cd205654
UD
198312011-09-14 Ulrich Drepper <drepper@gmail.com>
19832
ee4d0315
UD
19833 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19834
cd205654
UD
19835 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19836 __extern_always_inline.
19837 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19838 32-bit.
19839
48b67d71
AS
198402011-09-14 Andreas Schwab <schwab@redhat.com>
19841
19842 * elf/rtld.c (dl_main): Also relocate in dependency order when
19843 doing symbol dependency testing.
19844
1ae12c75
AS
198452011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19846
19847 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19848 Always define `refsym'.
19849
995a80df
AS
198502011-09-13 Andreas Schwab <schwab@redhat.com>
19851
e529793b
AS
19852 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19853 (__FD_ELT): Renamed from __FDELT.
19854 * misc/bits/select2.h (__FD_ELT): Likewise.
19855 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19856 __FD_MASK instead of __FDELT, __FDMASK.
19857 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19858 Likewise.
19859 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19860 Likewise.
19861
52d4fef8
AS
19862 * elf/Makefile (gen-ldd): Fix pattern.
19863
995a80df
AS
19864 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19865 (init_tls): Likewise.
19866
8682f8b0
UD
198672011-09-12 Ulrich Drepper <drepper@gmail.com>
19868
19869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19870
de82006d
AS
198712011-09-12 Andreas Schwab <schwab@redhat.com>
19872
a7c8e6a1
AS
19873 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19874 `struct cmsghdr *' instead of `void *'.
19875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19876 Likewise.
19877
0f31fe77
AS
198782011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19879
19880 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19881 if non-absolute.
19882 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19883 ldd_rewrite_script.
0f31fe77 19884
32b4c839
UD
198852011-09-11 Ulrich Drepper <drepper@gmail.com>
19886
83cd1420
UD
19887 * configure.in: Remove --with-tls option.
19888 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19889 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19890 out in case it is missing.
19891 * sysdeps/ia64/elf/configure.in: Likewise.
19892 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19893 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19894 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19895 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19896 * sysdeps/sh/elf/configure.in: Likewise.
19897 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19898 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19899 * sysdeps/x86_64/elf/configure.in: Likewise.
19900 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19901 * sysdeps/mach/hurd/tls.h: Likewise.
19902
633f745d
UD
19903 [BZ #13067]
19904 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19905
f318beb8
UD
19906 [BZ #13090]
19907 * configure.in: Fix use of AC_INIT.
19908
32b4c839
UD
19909 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19910
3ce1f295
UD
199112011-09-10 Ulrich Drepper <drepper@gmail.com>
19912
bb016596
UD
19913 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19914 __set_errno.
8e58439c
UD
19915 * malloc/hooks.c: Likewise.
19916
aebae053 19917 [BZ #11929]
02d46fc4
UD
19918 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19919 variables statically.
19920 (narenas): Initialize.
19921 (list_lock): Initialize.
bb016596
UD
19922 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19923 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19924 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19925 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19926 Add initializers to main_arena and mp_.
19927 (malloc_state): Remove pagesize member. Change all users to use
19928 GLRO(dl_pagesize).
19929
19930 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19931 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19932 is always initialized.
19933
22a89187
UD
19934 * malloc/malloc.c: Removed unused configurations and dead code.
19935 * malloc/arena.c: Likewise.
19936 * malloc/hooks.c: Likewise.
02d46fc4 19937 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19938
d063d164
UD
19939 * include/tls.h: Removed. USE___THREAD must always be defined.
19940 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19941 * elf/dl-libc.c: Likewise.
19942 * elf/dl-tsd.c: Likewise.
19943 * include/errno.h: Likewise.
19944 * include/netdb.h: Likewise.
19945 * include/resolv.h: Likewise.
19946 * inet/herrno-loc.c: Likewise.
19947 * inet/herrno.c: Likewise.
19948 * malloc/arena.c: Likewise.
19949 * malloc/hooks.c: Likewise.
19950 * malloc/malloc.c: Likewise.
19951 * resolv/res-state.c: Likewise.
19952 * resolv/res_libc.c: Likewise.
19953 * sysdeps/i386/dl-machine.h: Likewise.
19954 * sysdeps/ia64/dl-machine.h: Likewise.
19955 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19956 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19957 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19958 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19959 * sysdeps/sh/dl-machine.h: Likewise.
19960 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19961 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19962 * sysdeps/unix/i386/sysdep.S: Likewise.
19963 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19964 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19965 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19966 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19967 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19968 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19969 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19973 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19974 * sysdeps/x86_64/dl-machine.h: Likewise.
19975 * tls.make.c: Likewise.
19976
3ce1f295
UD
19977 * configure.in: Remove --with-__thread option. Make tests for
19978 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19979 tls_model attribute fail if no support is available. Remove
19980 USE_IN_LIBIO.
19981 * Makeconfig: Adjust for dropped configure option. All features are
19982 now mandatory.
19983 * Makerules: Likewise.
19984 * Versions.def: Likewise.
19985 * argp/argp-fmtstream.c: Likewise.
19986 * argp/argp-fmtstream.h: Likewise.
19987 * argp/argp-help.c: Likewise.
19988 * assert/assert.c: Likewise.
19989 * config.h.in: Likewise.
19990 * config.make.in: Likewise.
19991 * configure: Likewise.
19992 * configure.in: Likewise.
19993 * csu/Versions: Likewise.
19994 * csu/init.c: Likewise.
19995 * elf/tst-audit2.c: Likewise.
19996 * elf/tst-tls10.c: Likewise.
19997 * elf/tst-tls10.h: Likewise.
19998 * elf/tst-tls11.c: Likewise.
19999 * elf/tst-tls12.c: Likewise.
20000 * elf/tst-tls14.c: Likewise.
20001 * elf/tst-tlsmod11.c: Likewise.
20002 * elf/tst-tlsmod12.c: Likewise.
20003 * elf/tst-tlsmod13.c: Likewise.
20004 * elf/tst-tlsmod13a.c: Likewise.
20005 * elf/tst-tlsmod14a.c: Likewise.
20006 * elf/tst-tlsmod15b.c: Likewise.
20007 * elf/tst-tlsmod16a.c: Likewise.
20008 * elf/tst-tlsmod16b.c: Likewise.
20009 * elf/tst-tlsmod7.c: Likewise.
20010 * elf/tst-tlsmod8.c: Likewise.
20011 * elf/tst-tlsmod9.c: Likewise.
20012 * gmon/gmon.c: Likewise.
20013 * grp/fgetgrent_r.c: Likewise.
20014 * grp/putgrent.c: Likewise.
20015 * hurd/fopenport.c: Likewise.
20016 * include/libc-symbols.h: Likewise.
20017 * include/tls.h: Likewise.
20018 * intl/gettextP.h: Likewise.
20019 * intl/loadinfo.h: Likewise.
20020 * locale/global-locale.c: Likewise.
20021 * locale/localeinfo.h: Likewise.
20022 * mach/devstream.c: Likewise.
20023 * malloc/arena.c: Likewise.
20024 * malloc/set-freeres.c: Likewise.
20025 * misc/err.c: Likewise.
20026 * misc/getttyent.c: Likewise.
20027 * misc/mntent_r.c: Likewise.
20028 * posix/getopt.c: Likewise.
20029 * posix/wordexp.c: Likewise.
20030 * pwd/fgetpwent_r.c: Likewise.
20031 * resolv/Versions: Likewise.
20032 * resolv/res_hconf.c: Likewise.
20033 * shadow/fgetspent_r.c: Likewise.
20034 * shadow/putspent.c: Likewise.
20035 * stdio-common/printf_fphex.c: Likewise.
20036 * stdio-common/tmpfile.c: Likewise.
20037 * stdlib/abort.c: Likewise.
20038 * stdlib/fmtmsg.c: Likewise.
20039 * sunrpc/auth_unix.c: Likewise.
20040 * sunrpc/clnt_perr.c: Likewise.
20041 * sunrpc/clnt_tcp.c: Likewise.
20042 * sunrpc/clnt_udp.c: Likewise.
20043 * sunrpc/clnt_unix.c: Likewise.
20044 * sunrpc/openchild.c: Likewise.
20045 * sunrpc/svc_simple.c: Likewise.
20046 * sunrpc/svc_tcp.c: Likewise.
20047 * sunrpc/svc_udp.c: Likewise.
20048 * sunrpc/svc_unix.c: Likewise.
20049 * sunrpc/xdr.c: Likewise.
20050 * sunrpc/xdr_array.c: Likewise.
20051 * sunrpc/xdr_rec.c: Likewise.
20052 * sunrpc/xdr_ref.c: Likewise.
20053 * sunrpc/xdr_stdio.c: Likewise.
20054
1248c1c4
PB
200552011-09-09 Ulrich Drepper <drepper@gmail.com>
20056
20057 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20058
200592011-07-03 Andreas Jaeger <aj@suse.de>
20060
20061 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20062 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20063 regenerate with gen-libm-tests.pl.
20064
200652010-05-12 Petr Baudis <pasky@suse.cz>
20066
20067 [BZ #11589]
20068 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20069 around j0() zero points by switching to j1().
20070 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20071 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20072 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20073 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20074
f22e1074
UD
200752011-09-09 Ulrich Drepper <drepper@gmail.com>
20076
f19009c1
UD
20077 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20078 instead of 0.
20079 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20080 instead of 0.
f19009c1
UD
20081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20082 Patch in part by Pavel Roskin <proski@gnu.org>.
20083
3f8cc204
UD
20084 [BZ #13138]
20085 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20086 realloc.
20087 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20088 Free memory block if necessary.
20089
f22e1074
UD
20090 [BZ #12847]
20091 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20092 be NULL. Don't lock in this case.
20093
0a2349f9
RM
200942011-09-09 Roland McGrath <roland@hack.frob.com>
20095
20096 * elf/elf.h (ELFOSABI_GNU): New macro.
20097 (ELFOSABI_LINUX): Define to that.
20098
f3cdd467
DZ
200992011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20100
20101 * string/strncat.c (strncat): Undef the symbol in case it has been
20102 defined in bits/string.h.
20103
74718d13
UD
201042011-09-09 Ulrich Drepper <drepper@gmail.com>
20105
633e9e0f
UD
20106 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20107
0a2349f9 20108 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20109 link map.
20110
f9924780
AJ
201112011-08-17 Andreas Jaeger <aj@suse.de>
20112
20113 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20114
7f5517aa
PP
201152011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20116 Ian Lance Taylor <iant@google.com>
20117
20118 * math/libm-test.inc (lround_test): New testcase.
20119 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20120
762011fe
UD
201212011-09-08 Ulrich Drepper <drepper@gmail.com>
20122
92963737
UD
20123 * Makefile: Remove support for automatic cvs check-ins.
20124 * Makerules: Likewise.
20125 * config.make.in: Likewise.
20126 * configure.in: Likewise.
20127 * intl/Makefile: Likewise.
20128 * locale/Makefile: Likewise.
20129 * po/Makefile: Likewise.
20130 * posix/Makefile: Likewise.
20131 * sysdeps/gnu/Makefile: Likewise.
20132 * sysdeps/mach/hurd/Makefile: Likewise.
20133 * sysdeps/sparc/sparc32/Makefile: Likewise.
20134
b0727fd8
JS
20135 [BZ #13118]
20136 * posix/Makefile (bug-regex32-ENV): Define.
20137 Patch by John Stanley <jpsinthemix@verizon.net>.
20138
a0f33f99
UD
20139 * misc/Makefile (headers): Add bits/select2.h.
20140 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20141 * misc/bits/select2.h: New file.
20142 * include/bits/select2.h: New file.
20143 * debug/Makefile (routines): Add fdelt_chk.
20144 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20145 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20146 FD_ISSET.
20147 * debug/fdelt_chk.c: New file.
20148
762011fe
UD
20149 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20150 * wcsmbs/test-wmemcmp.c: Likewise.
20151 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20152 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20153
201542011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20155
20156 * string/Makefile (strop-tests): Add memcmp.
20157 * string/test-wmemcmp.c: New file.
20158 * string/test-memcmp.c: Add wmemcmp support.
20159
7f513ec8
RM
201602011-09-08 Roland McGrath <roland@hack.frob.com>
20161
0442afb4
RM
20162 [BZ #13153]
20163 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20164 2011-07-19 change.
20165
7f513ec8
RM
20166 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20167 garbage value in a __mach_port_mod_refs call in the cases of the
20168 task-self and thread-self ports.
20169
a12b2239
ST
201702011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20171
20172 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20173
610f9ab4
AS
201742011-09-08 Andreas Schwab <schwab@redhat.com>
20175
7f513ec8 20176 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20177
48882a1a
LD
201782011-09-07 Ulrich Drepper <drepper@gmail.com>
20179
b49865be
UD
20180 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20181
fdc86bc9
UD
20182 * elf/dl-libc.c (dlerror_run): Pass back error code from
20183 dl_catch_error.
20184
c966526a
UD
20185 [BZ #13123]
20186 * elf/dl-load.c (lose): Free l_origin if it is valid.
20187
48882a1a
LD
20188 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20189 names.
20190 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20191 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20192 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20193 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20194 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20195 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20196
77a2a8b4
AZ
201972011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20198
20199 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20200 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20201 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20202 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20203 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20204 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20205 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20206 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20207 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20208 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20209
24f579d8
AM
202102011-08-15 Alan Modra <amodra@gmail.com>
20211
20212 [BZ #13092]
20213 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20214 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20215 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20216 ppc_mcount to static-only-routines.
20217 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20218 __mcount_internal.
20219 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20220 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20221
3d4837df
UD
202222011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20223
20224 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20225 for finite and infinity parameters.
20226
22700377
WS
202272011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20228
20229 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20230 and add nop instructions for throughput optimization.
20231 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20232
5025581e
WS
202332011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20234
20235 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20236 aligned copy for power7 with vector-scalar instructions.
20237 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20238
08a300c9
L
202392011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20240
20241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20242 AVX check.
20243
59178ef9
AS
202442011-09-07 Andreas Schwab <schwab@redhat.com>
20245
20246 [BZ #13144]
20247 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20248 last change.
20249
e38ba7ab
UD
202502011-09-07 Ulrich Drepper <drepper@gmail.com>
20251
20252 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20253 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20254 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20255 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20256 clock_gettime.
20257
d53a73ac
UD
202582011-09-06 Ulrich Drepper <drepper@gmail.com>
20259
fc8bffcc
UD
20260 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20261 Forgot to demangle the pointer.
20262
ceaa0c5d
UD
20263 * sysdeps/i386/sysdep.h: Define atom_text_section.
20264 * sysdeps/x86_64/sysdep.h: Likewise.
20265 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20266 section with atom_text_section.
20267 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20268 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20269 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20270 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20271 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20272
a77d3c17
UD
20273 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20274 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20275 already be defined. Change to take two parameters and don't assign
20276 result to variable. Adjust all users.
20277 Define INTERNAL_GETTIME if not already defined.
20278 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20279 call.
20280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20281 HAVE_CLOCK_GETTIME_VSYSCALL.
20282 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20283
d53a73ac
UD
20284 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20285 gettimeofday vsyscall, just use time.
20286
a8f84144
AS
202872011-09-06 Andreas Schwab <schwab@redhat.com>
20288
20289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20290 <errno.h>.
20291
ef606249
UD
202922011-09-06 Ulrich Drepper <drepper@gmail.com>
20293
20294 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20295 syscall on x86-64.
20296 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20297 syscall.
20298 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20299 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20300 syscall if possible.
20301
6585cb60
UD
203022011-09-05 Ulrich Drepper <drepper@gmail.com>
20303
20304 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20305 e_ident. Don't pass to find_mapsXX.
20306 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20307
a5f524e4
LD
203082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20309
20310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20311 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20312 * sysdeps/x86_64/multiarch/strchr.S: Update.
20313 Check bit_slow_BSF bit.
20314 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20315 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20316 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20317
554881ef
UD
203182011-09-05 Ulrich Drepper <drepper@gmail.com>
20319
d96de963
UD
20320 [BZ #13134]
20321 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20322 before glibc 2.15.
20323 (tryshell): Define.
20324 (__spawni): Change last parameter to be flag. Test
20325 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20326 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20327 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20328 * posix/spawni.c: Likewise.
20329 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20330 * posix/spawnp.c: Likewise. Change normal version to use
20331 SPAWN_XFLAGS_USE_PATH.
20332 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20333 SPAWN_XFLAGS_TRY_SHELL.
20334
d48e5868
UD
20335 [BZ #13150]
20336 * posix/glob.h: Remove gcc 1.x support.
20337
554881ef
UD
20338 [BZ #13068]
20339 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20340
693fb948
LD
203412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20342
20343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20344 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20345 strrchr-sse2-bsf
20346 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20347 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20348 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20349 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20350 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20351 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20352
1b48c537
UD
203532011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20354
49d42c37
UD
20355 * sysdeps/x86_64/wcscmp.S: New file.
20356
1b48c537
UD
20357 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20358 wcscmp-c wcscmp-sse2
20359 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20360 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20361 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20362 * wcsmbs/wcscmp.c: Allow renaming.
20363
15c95c5d
DM
203642011-09-05 David S. Miller <davem@davemloft.net>
20365
20366 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20367 stack slot, rather than the struct return pointer slot.
20368 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20369 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20371 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20372
2f0ad8f3
UD
203732011-09-05 Ulrich Drepper <drepper@gmail.com>
20374
d88ae418
UD
20375 * po/ja.po: Update from translation team.
20376
2f0ad8f3
UD
20377 [BZ #13144]
20378 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20379 kernel in 64-bit binaries.
20380
5f4318d1
DM
203812011-09-01 David S. Miller <davem@davemloft.net>
20382
20383 * elf/elf.h (HWCAP_SPARC_*): Move to..
20384 * sysdeps/sparc/sysdep.h: this new file and add new values.
20385 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20386 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20387 _DL_HWCAP_COUNT to 24.
20388 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20389 entries.
20390 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20391 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20392 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20394 instead of magic constants.
20395 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20396
3ba57516
DM
203972011-08-31 David S. Miller <davem@davemloft.net>
20398
20399 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20401 Reimplement to do errno handling inline.
20402 (SYSCALL_ERROR_HANDLER): New macro.
20403 (__SYSCALL_STRING): Do not do errno handling in asm.
20404 (__CLONE_SYSCALL_STRING): Delete.
20405 (__INTERNAL_SYSCALL_STRING): Delete.
20406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20407 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20408 (PSEUDO): Reimplement to do errno handling inline.
20409 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20410 (SYSCALL_ERROR_HANDLER): New macro.
20411 (__SYSCALL_STRING): Do not do errno handling in asm.
20412 (__CLONE_SYSCALL_STRING): Delete.
20413 (__INTERNAL_SYSCALL_STRING): Delete.
20414 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20415 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20416 i386.
20417 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20418 (inline_syscall*): Add 'err' argument.
20419 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20420 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20421 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20422 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20423
20424 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20425 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20426
2bc17433
AS
204272011-08-30 Andreas Schwab <schwab@redhat.com>
20428
20429 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20430
fbeb5f4d
JO
204312011-08-29 Jiri Olsa <jolsa@redhat.com>
20432
20433 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20434 directive.
20435
ad69cc26
DM
204362011-08-24 David S. Miller <davem@davemloft.net>
20437
20438 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20439
39dd69df
AS
204402011-08-24 Andreas Schwab <schwab@redhat.com>
20441
20442 * elf/Makefile: Add rules to build and run unload8 test.
20443 * elf/unload8.c: New file.
20444 * elf/unload8mod1.c: New file.
20445 * elf/unload8mod1x.c: New file.
20446 * elf/unload8mod2.c: New file.
20447 * elf/unload8mod3.c: New file.
20448
20449 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20450 it wasn't used.
20451
2c0b250a
DM
204522011-08-23 David S. Miller <davem@davemloft.net>
20453
20454 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20455 subtract stack bias.
20456 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20457 %sp not %fp in calculations.
20458 (_JMPBUF_UNWINDS_ADJ): Likewise.
20459
22044b48
DM
20460 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20461 (aio_suspend): Call it to force an exception region around the
20462 AIO_MISC_WAIT() invocation.
20463
2cae4995
AS
204642011-08-23 Andreas Schwab <schwab@redhat.com>
20465
20466 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20467 backslash.
20468
873a772e
AJ
204692011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20470
20471 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20472 protection macro.
20473 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20474 and <dl-machine.h>.
20475 (Elf64_FuncDesc): Remove.
20476
25ad0df1
DM
204772011-08-22 David S. Miller <davem@davemloft.net>
20478
20479 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20480 sigaltstack check, add missing cfi directives.
20481 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20482 missing cfi directives, and sigaltstack handling.
20483
e888bcbe
AS
204842011-08-16 Andreas Schwab <schwab@redhat.com>
20485
20486 [BZ #11724]
20487 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20488 object is seen twice.
20489 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20490
20491 * elf/Makefile (distribute): Add tst-initorder2.c.
20492 (tests): Add tst-initorder2.
20493 (modules-names): Add tst-initorder2a tst-initorder2b
20494 tst-initorder2c tst-initorder2d. Add rules to build them.
20495 ($(objpfx)tst-initorder2.out): New rule.
20496 * elf/tst-initorder2.c: New file.
20497 * elf/tst-initorder2.exp: New file.
20498
87162f46
AS
204992011-08-22 Andreas Schwab <schwab@redhat.com>
20500
70538b7f
AS
20501 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20502
f55ffe58
AS
20503 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20504 dependencies back to end of function.
20505
87162f46
AS
20506 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20507 $(elfobjdir)/ld.so.
20508
91b392a4
UD
205092011-08-21 Ulrich Drepper <drepper@gmail.com>
20510
20511 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20512 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20514 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20515 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20516 of __vdso_gettimeofday.
20517 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20518 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20519 attribute_hidden.
20520 (_libc_vdso_platform_setup): Remove initialization of
20521 __vdso_gettimeofday and __vdso_time.
20522
5c43483f
UD
205232011-08-20 Ulrich Drepper <drepper@gmail.com>
20524
775a77e7
UD
20525 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20526 and fgetc_unlocked.
20527 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20528 getc_unlocked.
89f447ed 20529
49c74ba9
UD
20530 * elf/dl-open.c (add_to_global): Report additions to the global scope
20531 for LD_DEBUG=scopes.
20532 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20533 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20534
5c43483f
UD
20535 [BZ #13114]
20536 * stdio-common/Makefile (tests): Add bug24.
20537 * stdio-common/bug24.c: New file.
20538
a101b025
AJ
205392011-08-19 Andreas Jaeger <aj@suse.de>
20540
20541 [BZ #13114]
20542 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20543 non-existant file when using close-on-exec mode.
20544
c88f1766
UD
205452011-08-20 Ulrich Drepper <drepper@gmail.com>
20546
0276a718
UD
20547 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20548 the very first instruction.
20549
c88f1766
UD
20550 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20551 the CFI state in the end.
20552 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20553 inclusion of dl-trampoline.h.
20554 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20555
51ccffa0
AS
205562011-08-19 Andreas Schwab <schwab@redhat.com>
20557
94d7165f
AS
20558 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20559 expectations for long double.
20560
51ccffa0
AS
20561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20562 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20563
fd708658 205642011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20565
20566 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20567 artificual limit depends upon the system page size.
20568
44f0a71e
UD
205692011-08-17 Ulrich Drepper <drepper@gmail.com>
20570
20571 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20572 * resolv/Makefile: Define CFLAGS-libresolv.
20573
8de79a24
AS
205742011-08-17 Andreas Schwab <schwab@redhat.com>
20575
20576 * nss/makedb.c (compute_tables): Make variables used in nested
20577 function static.
20578
27724598
UD
205792011-08-17 Ulrich Drepper <drepper@gmail.com>
20580
c5305d88
UD
20581 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20582 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20583 if buffer was too small.
20584
27724598
UD
20585 * elf/pldd.c (main): Attach to all threads in the process.
20586 Rewrite /proc handling to use *at functions.
20587
076fe015
UD
205882011-08-16 Ulrich Drepper <drepper@gmail.com>
20589
174baab3
UD
20590 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20591 specifies first scope to show.
20592 (dl_open_worker): Update callers. Move printing scope of new
20593 object to before the relocation.
44f0a71e 20594 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20595 * sysdeps/generic/ldsodefs.h: Update declaration.
20596
076fe015
UD
20597 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20598 string for the scope number.
20599
a60df2c3
UD
206002011-08-14 Ulrich Drepper <drepper@gmail.com>
20601
20602 * nscd/servicescache.c (cache_addserv): Make sure written is always
20603 initialized.
20604
5e4287d1
RM
206052011-08-14 Roland McGrath <roland@hack.frob.com>
20606
85ae0589
RM
20607 * sysdeps/i386/i486/bits/atomic.h
20608 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20609 statement expression, so as to suppress "set but not used" warning.
20610 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20611
69f63097
RM
20612 * string/strncat.c (STRNCAT): Use prototype definition.
20613
675456ef
RM
20614 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20615 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20616 -Iprograms here.
20617 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20618 (localedef-modules): Add localedef.
20619 (locale-modules): Add locale.
20620
5e4287d1
RM
20621 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20622 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20623 to avoid a warning.
20624
9c96ff23
DM
206252011-08-14 David S. Miller <davem@davemloft.net>
20626
20627 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20628 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20629
f9ddf089
UD
206302011-08-13 Ulrich Drepper <drepper@gmail.com>
20631
44f0a71e 20632 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20633 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20634 * elf/rtld.c (dl_main): Set l_name of vDSO.
20635 Call _dl_show_scope when DL_DEBUG_SCOPES.
20636 (process_dl_debug): Recognize scopes flag and also set it for all.
20637 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20638 Declare _dl_show_scope.
20639
1dc27704
UD
20640 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20641 (do_dlopen): Pass caller_dlopen to dl_open.
20642 (__libc_dlopen_mode): Initialize caller_dlopen.
20643
f9ddf089
UD
20644 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20645 of libc. Make tolower call locale-independent. Optimize a bit by
20646 using isdigit instead of isalnum.
20647 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20648
9ac533d3
UD
206492011-08-12 Ulrich Drepper <drepper@gmail.com>
20650
20651 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20652 was a dependency or dynamically loaded.
20653
89edf2e9
UD
206542011-08-11 Ulrich Drepper <drepper@gmail.com>
20655
8e999d29
UD
20656 * intl/l10nflist.c: Allow architecture-specific pop function.
20657 * sysdeps/x86_64/l10nflist.c: New file.
20658
89edf2e9
UD
20659 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20660 classification.
20661
14d96785
AS
206622011-08-10 Andreas Schwab <schwab@redhat.com>
20663
20664 * include/dirent.h: Add libc_hidden_proto for scandirat and
20665 scandirat64. Don't declare __scandirat64.
20666 * dirent/scandirat.c: Add libc_hidden_def.
20667 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20668 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20669
6761ac04
DM
206702011-08-10 David S. Miller <davem@davemloft.net>
20671
20672 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20673 enum.
20674 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20675 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20676 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20677
c55fbd1e
UD
206782011-08-09 Ulrich Drepper <drepper@gmail.com>
20679
20680 * Versions.def [libc]: Add GLIBC_2.15.
20681 * dirent/Makefile (routines): Add scandirat and scandirat64.
20682 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20683 GLIBC_2.15.
20684 * dirent/dirent.h: Declare scandirat and scandirat64.
20685 * dirent/scandirat.c: New file.
20686 * dirent/scandirat64.c: New file.
20687 * sysdeps/wordsize-64/scandirat.c: New file.
20688 * sysdeps/wordsize-64/scandirat64.c: New file.
20689 * dirent/opendir.c: Define opendirat.
20690 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20691 using scandirat.
20692 * dirent/scandir64.c: Adjust for scandir.c change.
20693 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20694 __scandirat64, and __scandir_cancel_handler.
20695 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20696 additional parameter and use openat instead of open (outside of ld.so).
20697 Add new __opendir as wrapper around __opendirat.
20698 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20699 here without requiring old scandirat implementation.
20700
879165f2
UD
207012011-08-08 Ulrich Drepper <drepper@gmail.com>
20702
20703 * dirent/scandir.c (cancel_handler): Renamed to
20704 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20705 defined. Adjust users.
20706 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20707 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20708
cb7e923b
UD
207092011-08-04 Ulrich Drepper <drepper@gmail.com>
20710
16292edd
UD
20711 * string/test-string.h (IMPL): Use __STRING to expand name and then
20712 stringify it.
20713
cb7e923b
UD
20714 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20715 of cleanups.
20716
cff82933
LD
207172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20718
20719 * string/Makefile: Update.
20720 (strop-tests): Append strncat.
20721 * string/test-wcscmp.c: New file.
20722 New comprehensive test for wcscmp.
20723 * string/test-strcmp.c: Update.
20724 (WIDE): New define.
20725
9be9bfcc
AS
207262011-07-22 Andreas Schwab <schwab@redhat.com>
20727
20728 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20729 line.
20730
2e96f1c7
AS
207312011-07-26 Andreas Schwab <schwab@redhat.com>
20732
20733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20734 encoding to ACE if AI_IDN.
20735
85188888
JJ
207362011-08-01 Jakub Jelinek <jakub@redhat.com>
20737
20738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20739 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20740
5fa16e9b
LD
207412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20742
20743 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20744 Fix overflow bug in strncat.
20745 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20746
20747 * string/test-strncat.c: Update.
20748 Add new tests for checking overflow bugs.
20749
207502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20751
20752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20753 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20754 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20755 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20756 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20757 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20758 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20759 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20760 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20761
20762 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20763 (USE_AS_STRCAT): Define.
20764 Add strcat and strncat support.
20765 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20766
8c1a459f
AS
207672011-07-25 Andreas Schwab <schwab@redhat.com>
20768
20769 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20770 __n bigger than INT_MAX+1.
20771 (__strncmp_g): Likewise.
20772
bba33c28
UD
207732011-07-23 Ulrich Drepper <drepper@gmail.com>
20774
798be72d
UD
20775 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20776 * libio/stido.h: Likewise.
20777
8accd4dc
UD
20778 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20779 (AF_NFC): Define.
20780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20781 (AF_NFC): Define.
20782
cbff0d96
UD
20783 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20784 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20785 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20786 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20788
9191c04a
UD
20789 [BZ #13021]
20790 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20791 installed.
20792
bba33c28
UD
20793 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20794 typo.
20795 (_dl_x86_64_save_sse): Likewise.
20796
90f139dd
UD
207972011-07-22 Ulrich Drepper <drepper@gmail.com>
20798
1aae088a
UD
20799 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20800 OSXSAVE.
20801 (_dl_x86_64_save_sse): Likewise.
20802
8e2045f5
UD
20803 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20804
90f139dd
UD
20805 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20806
1d002f25
AS
208072011-07-21 Andreas Schwab <schwab@redhat.com>
20808
20809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20810 change.
20811 (_dl_x86_64_save_sse): Use correct AVX check.
20812
21137f89
UD
208132011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20814
20815 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20816 bug in strncpy/strncat.
20817 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20818
a65c0b7a
UD
208192011-07-21 Ulrich Drepper <drepper@gmail.com>
20820
20821 * string/tester.c (test_strcat): Add tests for different alignments
20822 of source and destination.
20823 (test_strncat): Likewise.
20824
6986b98a
UD
208252011-07-20 Ulrich Drepper <drepper@gmail.com>
20826
90bb2039
UD
20827 [BZ #12852]
20828 * posix/glob.c (glob): Check passed in values before using them in
20829 expressions to avoid some overflows.
20830 (glob_in_dir): Likewise.
20831
5644ef54
UD
20832 [BZ #13007]
20833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20834 check for AVX enablement so that we don't crash with old kernels and
20835 new hardware.
20836 * elf/tst-audit4.c: Add same checks here.
20837 * elf/tst-audit6.c: Likewise.
20838
20839 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20840
bfc9dc9b
AS
208412011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20842
20843 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20844
702e64bb
UD
208452011-07-20 Ulrich Drepper <drepper@gmail.com>
20846
20847 * po/cs.po: Update from translation team.
20848 * po/bg.po: Likewise.
20849
295e904f
MP
208502011-07-12 Marek Polacek <mpolacek@redhat.com>
20851
20852 * misc/sys/cdefs.h: Add support for const attribute.
20853 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20854 to gnu_dev_{major,minor,makedev} functions.
20855
3ff94596
MP
208562011-07-20 Marek Polacek <mpolacek@redhat.com>
20857
20858 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20859
28b59fca
AS
208602011-07-20 Andreas Schwab <schwab@redhat.com>
20861
20862 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20863 strlen results.
20864
19df733e
AK
208652011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20866
20867 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20868 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20869 register in order to avoid conflicts with the soft frame pointer
20870 being held in r11 when necessary.
20871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20872 (INTERNAL_VSYSCALL_NCS): Likewise.
20873
c8835729
MP
208742011-07-14 Marek Polacek <mpolacek@redhat.com>
20875
20876 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20877 * elf/dl-fini.c (_dl_fini): Adjust caller.
20878 * elf/dl-close.c (_dl_close_worker): Likewise.
20879 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20880
b902330c
MP
208812011-07-15 Marek Polacek <mpolacek@redhat.com>
20882
8991e135
MP
20883 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20884 "aux_cache->nlibs < 0".
20885
b902330c
MP
20886 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20887 in the reload-count case.
20888
99710781
LD
208892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20890
20891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20892 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20893 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20894 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20895 * sysdeps/x86_64/multiarch/strcat.S: New file.
20896 * sysdeps/x86_64/multiarch/strncat.S: New file.
20897 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20898 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20899 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20900 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20901 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20902 (USE_AS_STRCAT): Define.
20903 Add strcat and strncat support.
20904 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20905 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20906 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20907 * string/strncat.c: Update.
20908 (USE_AS_STRNCAT): Define.
20909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20910 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20911 and i7.
20912 * sysdeps/x86_64/multiarch/init-arch.h
20913 (bit_Prefer_PMINUB_for_stringop): New.
20914 (index_Prefer_PMINUB_for_stringop): Likewise.
20915 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20916 bit_Prefer_PMINUB_for_stringop.
20917
7dc6bd90
UD
209182011-07-19 Ulrich Drepper <drepper@gmail.com>
20919
20920 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20921 buffer64.
20922 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20923 of casting of buffer.
20924 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20925 buffer32 and buffer64.
20926 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20927 writes instead of casting of buffer.
20928 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20929 buffer32.
20930 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20931 casting of buffer.
20932
e0e72284
AS
209332011-07-19 Andreas Schwab <schwab@redhat.com>
20934
20935 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20936
feb1eb0b
UD
209372011-07-19 Ulrich Drepper <drepper@gmail.com>
20938
20939 * nscd/nscd.c (termination_handler): Don't do anything for a database
20940 if it has not yet been initialized.
20941
298711ff
UD
209422011-07-18 Ulrich Drepper <drepper@gmail.com>
20943
20944 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20945
209462011-07-15 Marek Polacek <mpolacek@redhat.com>
20947
20948 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20949
f9d68389
UD
209502011-07-18 Ulrich Drepper <drepper@gmail.com>
20951
20952 * po/nl.po: Update from translation team.
20953 * po/sv.po: Likewise.
20954
db290cf5
RM
209552011-07-16 Roland McGrath <roland@hack.frob.com>
20956
20957 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20958 now disallowed by GCC.
5c550700 20959
fd5e21c7
RM
20960 * configure.in (use-default-link): Default to yes if a test -shared
20961 link meets our qualifications.
20962 * configure: Regenerated.
20963
5c550700
RM
20964 * config.make.in (output-format): New variable.
20965 * configure.in: Check for ld --print-output-format support.
20966 * configure: Regenerated.
20967 * Makerules ($(common-objpfx)format.lds)
20968 [$(output-format) != unknown]: Just use $(output-format),
20969 instead of the linker-script munging.
20970
9fa2c032
RM
209712011-07-14 Roland McGrath <roland@hack.frob.com>
20972
a6928d51
RM
20973 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20974 of $(common-objpfx)shlib.lds.
20975 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20976
661607b3
RM
20977 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20978 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20979
9fa2c032
RM
20980 * configure.in (-z relro check): Adjust test code to add a large
20981 writable data section after it.
20982 * configure: Regenerated.
20983
defe9061
RM
209842011-07-11 Roland McGrath <roland@hack.frob.com>
20985
20986 * configure.in (-z relro check): Fix test code to make the variable
20987 truly const.
20988 * configure: Regenerated.
20989
319b9ad4
UD
209902011-07-11 Ulrich Drepper <drepper@gmail.com>
20991
20992 * nscd/nscd.h (struct traced_file): Define.
20993 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20994 elements. Add traced_files.
20995 (inotify_fd): Declare.
20996 (register_traced_file): Declare.
20997 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20998 (inotify_fd): Export.
20999 (resolv_conf_descr): Remove.
21000 (nscd_init): Move inotify descriptor creation to main.
21001 Don't register files for notification here.
21002 (register_traced_file): New function.
21003 (invalidate_cache): Don't use reset_res to determine whether to call
21004 res_init, go through the list of registered files.
21005 (main_loop_poll): The inotify descriptors are now stored in the
21006 structures for the traced files.
21007 (main_loop_epoll): Likewise
21008 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21009 to __nss_disable_nscd.
21010 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21011 for a database anymore. Check the records for all the registered
21012 files instead.
21013 * nss/Makefile (libnss_files-routines): Add files-init.
21014 (libnss_db-routines): Add db-init.
21015 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21016 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21017 * nss/nss_db/db-init.c: New file.
21018 * nss/nss_files/files-init.c: New file.
21019 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21020 __nss_lookup_function.
21021 (__nss_lookup_function): Call nss_load_library.
21022 (nss_load_all_libraries): New function.
21023 (__nss_disable_nscd): Take parameter with callback function for files
21024 to register. Set is_nscd. Load all the DSOs for the NSS modules
21025 used for the cached services.
21026 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21027 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21028 options for features to all the files in nscd.
21029
21030 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21031
23bee3e8
RM
210322011-07-10 Roland McGrath <roland@hack.frob.com>
21033
21034 * csu/elf-init.c (__libc_csu_init): Comment typo.
21035
46a5b7f0
UD
210362011-07-09 Ulrich Drepper <drepper@gmail.com>
21037
21038 * po/pl.po: Update from translation team.
21039 * po/ja.po: Likewise.
21040 * po/ru.po: Likewise.
21041 * po/ko.po: Likewise.
21042 * po/fr.po: Likewise.
21043
d30cf5bb
RM
210442011-07-09 Roland McGrath <roland@hack.frob.com>
21045
113ddea4
RM
21046 * configure.in (.ctors/.dtors header and trailer check):
21047 Use an empirical test on a built program.
21048 * configure: Regenerated.
21049
574920b4
RM
21050 * configure.in (-z relro check): Use an empirical test on a built DSO.
21051 Detect, but do not require, on ia64.
21052 * configure: Regenerated.
21053
d30cf5bb
RM
21054 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21055 Update tests that use readelf to use $READELF instead.
21056 * configure: Regenerated.
21057
8538fdb3
UD
210582011-07-08 Ulrich Drepper <drepper@gmail.com>
21059
21060 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21061 if the result is not used.
21062
04d08991
AJ
210632011-07-05 Andreas Jaeger <aj@suse.de>
21064
21065 [BZ#9696]
21066 * stdlib/tst-strtod.c: Add testcase.
21067
de283087
AD
210682011-07-07 Ulrich Drepper <drepper@gmail.com>
21069
4e5f31c8 21070 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21071 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21072 The latter has a higher limit. Take additional parameter to pass to
21073 the new function.
21074 (__pathconf): Pass file to __statfs_link_max.
21075 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21076 __statfs_link_max.
21077 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21078 __statfs_link_max.
21079
de283087
AD
21080 [BZ #12868]
21081 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21083 Handle Lustre.
21084 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21085 (__statfs_filesize_max): Likewise.
21086 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21087
c75fa153
AJ
210882011-07-05 Andreas Jaeger <aj@suse.de>
21089
21090 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21091
1a544854
UD
210922011-07-06 Marek Polacek <mpolacek@redhat.com>
21093
21094 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21095 `status' variable.
21096 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21097 Likewise.
21098
6f0eec67
UD
210992011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21100
21101 * Makefile (strop-tests): Add strncat.
21102 * string/test-strncat.c: New file.
21103
aae30307
UD
211042011-06-30 Marek Polacek <mpolacek@redhat.com>
21105
21106 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21107
c0cfb5eb
UD
211082011-06-21 Andreas Jaeger <aj@suse.de>
21109
21110 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21111 Copy rule from iconvdata/Makefile.
21112
01636b21
UD
211132011-07-06 Ulrich Drepper <drepper@gmail.com>
21114
21115 [BZ #12922]
21116 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21117 but no long options are defined, just return 'W'.
21118
9895c8bc
UD
211192011-06-22 Marek Polacek <mpolacek@redhat.com>
21120
21121 [BZ #9696]
21122 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21123
5d4cf042
UD
211242011-07-06 Ulrich Drepper <drepper@gmail.com>
21125
21126 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21127 netgroups to read.
960e5535 21128 (innetgr): Likewise.
5d4cf042 21129
751eb97e
RM
211302011-07-05 Roland McGrath <roland@hack.frob.com>
21131
21132 * config.make.in (install_root): Default to $(DESTDIR).
21133
f15f1e45
UD
211342011-07-05 Ulrich Drepper <drepper@gmail.com>
21135
21136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21137
4e34ac6a
RM
211382011-07-02 Roland McGrath <roland@hack.frob.com>
21139
5e9b6af4
RM
21140 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21141
84f9ea0f
RM
21142 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21143 containing directory rather than embedding absolute directory names.
21144
ea5ee9f7
RM
21145 * scripts/check-local-headers.sh: Rewritten using awk.
21146 Match by word, not by line. Print error messages for matches.
21147 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21148
1b74661a
RM
21149 * Makerules [shlib-lds-flags empty]:
21150 ($(common-objpfx)libc_pic.opts): New target.
21151 ($(common-objpfx)libc_pic.os.clean): New target.
21152 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21153
21154 * config.make.in (OBJCOPY): New variable.
21155 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21156 * configure: Regenerated.
21157
f781ef40
RM
21158 * config.make.in (use-default-link): New variable.
21159 * configure.in (use_default_link): Grok --with-default-link to set it.
21160 * configure: Regenerated.
21161 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21162 (shlib-lds, shlib-lds-flags): Define to empty.
21163
2d4fa81e
RM
21164 * Makerules (shlib-lds): New variable.
21165 (shlib-lds-flags): New variable.
21166 (build-shlib, build-moduile, build-module-asneeded): Use it.
21167 ($(common-objpfx)libc.so): Use $(shlib-lds).
21168 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21169 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21170
31fffa6b
RM
21171 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21172 DT_FLAGS/DT_FLAGS_1 with zero flags.
21173
4e34ac6a
RM
21174 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21175 linker script munging.
21176
fcfc776b
UD
211772011-07-02 Ulrich Drepper <drepper@gmail.com>
21178
21179 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21180 as 128-bit value.
21181 * crypt/sha512.c (sha512_process_block): Perform total addition using
21182 128-bit if possible.
21183 (__sha512_finish_ctx): Likewise.
21184 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21185 as 64-bit value.
21186 * crypt/sha256.c (SWAP64): Define.
21187 (sha256_process_block): Perform total addition using 64-bit if
21188 possible.
21189 (__sha256_finish_ctx): Likewise.
21190
99231d9a
UD
211912011-07-01 Ulrich Drepper <drepper@gmail.com>
21192
21193 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21194 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21195 * nscd/hstcache.c (cache_addhst): Likewise.
21196 * nscd/grpcache.c (cache_addgr): Likewise.
21197 * nscd/aicache.c (addhstaiX): Likewise
21198 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21199
445b4a53
TK
212002011-07-01 Thorsten Kukuk <kukuk@suse.de>
21201
21202 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21204 * nscd/hstcache.c (cache_addhst): Likewise.
21205 * nscd/grpcache.c (cache_addgr): Likewise.
21206 * nscd/aicache.c (addhstaiX): Likewise
21207
6d4d8e8e
AS
212082011-07-01 Andreas Schwab <schwab@redhat.com>
21209
21210 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21211 domain only when needed.
21212
89f654c5
AS
212132011-06-30 Andreas Schwab <schwab@redhat.com>
21214
21215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21216 is always restored.
21217
cf3b23ff
UD
212182011-06-29 Ulrich Drepper <drepper@gmail.com>
21219
21220 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21221 are re-adding the entry.
21222 * nscd/servicescache.c (cache_addserv): Likewise.
21223
751626f9
AJ
212242011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21225
21226 * sysdeps/generic/dl-irel.h: fix protection against multiple
21227 inclusions.
21228 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21229
9113ea1f
UD
212302011-06-28 Ulrich Drepper <drepper@gmail.com>
21231
5c0b8d90
UD
21232 [BZ #12935]
21233 * malloc/memusage.sh: Fix quoting in message.
21234 * debug/xtrace.sh: Likewise.
21235
9113ea1f
UD
21236 * configure.in: Remove support for --experimental-malloc option, make
21237 it the default.
21238 * config.make.in: Likewise.
21239 * malloc/Makefile: Likewise.
21240
a4172181
AS
212412011-06-27 Andreas Schwab <schwab@redhat.com>
21242
21243 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21244 two-byte characters.
21245
78a7eee7
RM
212462011-06-27 Roland McGrath <roland@hack.frob.com>
21247
62bede13
RM
21248 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21249 AC_CACHE_CHECK invocation.
21250 * configure: Regenerated.
21251
78a7eee7
RM
21252 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21253
5ce33a62
UD
212542011-06-27 Ulrich Drepper <drepper@gmail.com>
21255
034807a9
UD
21256 [BZ #12350]
21257 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21258 bit from old_res_options.
21259
4902da17
UD
21260 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21261
5ce33a62
UD
21262 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21263 value type for setfct.
21264
c2344f56
L
212652011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21266
21267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21268 __gettimeofday instead of gettimeofday.
21269
68468076
UD
212702011-06-26 Ulrich Drepper <drepper@gmail.com>
21271
21272 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21273
acb0d739
L
212742011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21275
21276 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21277
21278 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21279 info.
21280
8912479f
L
212812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21282
21283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21284 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21285 strcpy-sse2-unaligned strncpy-sse2-unaligned
21286 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21287 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21288 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21289 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21290 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21291 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21292 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21293 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21294 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21295 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21296 (STRCPY): Support SSE2 and SSSE3 versions.
21297
d5495a11
UD
212982011-06-24 Ulrich Drepper <drepper@gmail.com>
21299
21300 [BZ #12874]
21301 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21302 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21303 kernels which artificially limit size of requests.
21304
0b1cbaae
L
213052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21306
21307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21308 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21309 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21310 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21311 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21312 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21313 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21314 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21315 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21317 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21318 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21319 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21320 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21321 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21323 Enable unaligned load optimization for Intel Core i3, i5 and i7
21324 processors.
21325 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21326 Define.
21327 (index_Fast_Unaligned_Load): Define.
21328 (HAS_FAST_UNALIGNED_LOAD): Define.
21329
07f494a0
MP
213302011-06-23 Marek Polacek <mpolacek@redhat.com>
21331
21332 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21333
fa3fc0fe
UD
213342011-06-22 Ulrich Drepper <drepper@gmail.com>
21335
21336 [BZ #12907]
21337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21338 until it is clear that the information is realy needed.
21339 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21340
e12df166
AS
213412011-06-22 Andreas Schwab <schwab@redhat.com>
21342
21343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21344
852eb34d
UD
213452011-06-22 Ulrich Drepper <drepper@gmail.com>
21346
84e2a551
UD
21347 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21348 /sys/devices/system/cpu/online if it is usable.
21349
852eb34d
UD
21350 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21351 reading the information from the /proc filesystem to once a second.
21352
6e502e19
UD
213532011-06-21 Andreas Jaeger <aj@suse.de>
21354
21355 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21356 NULL after inclusion of kernel headers.
21357
75d39ff2
UD
213582011-06-21 Ulrich Drepper <drepper@gmail.com>
21359
51f9aa6a
UD
21360 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21361 calls to internal_setent.
21362
c0244a9d
UD
21363 [BZ #12885]
21364 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21365 addresses using gethostbyname4_r ignore IPv4 addresses.
21366
c5e3c2ae
UD
21367 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21368 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21369
75d39ff2
UD
21370 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21371
42675c6f
DM
213722011-06-20 David S. Miller <davem@davemloft.net>
21373
21374 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21375 inclusions.
21376 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21377
21378 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21379 (elf_irel): Use it.
21380 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21381 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21382 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21383 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21384 * sysdeps/x86_64/dl-irel.h: Likewise.
21385
21386 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21387 * elf/dl-sym.c: Likewise.
21388
57912a71
UD
213892011-06-15 Ulrich Drepper <drepper@gmail.com>
21390
21391 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21392 need to dereference resplen2.
21393
ee22793d
AS
213942011-06-14 Andreas Schwab <schwab@redhat.com>
21395
21396 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21397
a9e836b0
UD
213982011-06-15 Ulrich Drepper <drepper@gmail.com>
21399
77fb9117
UD
21400 * Makeconfig: Define vardbdir and inst_vardbdir.
21401 * nss/Makefile: Add rules to install db-Makefile.
21402
40c1b22c
UD
21403 * nss/nss_db/db-XXX.c: Cleanup.
21404
9f2da732
UD
21405 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21406 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21407 GLIBC_PRIVATE.
21408 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21409 * nss/makedb.c: Implement -g option to specify that value strings
21410 are generated and should not be added to table iterated over for
21411 get*ent calls.
21412 * nss/nss_db/db-initgroups.c: New file.
21413
82e9a1f7
UD
21414 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21415 interface.
21416
c41af17e
UD
21417 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21418 (internal_getgrouplist): Adjust to name change.
21419 Update use_initgroups_entry if this is not the first call.
21420 * nss/databases.def: Add initgroups entry.
21421
a9e836b0
UD
21422 * nss/makedb.c (compute_tables): Check result of multiple hash table
21423 sizes to minimize maximum chain length.
21424
2666d441
UD
214252011-06-14 Ulrich Drepper <drepper@gmail.com>
21426
21427 * Versions.def: Add entry for libnss_db.
21428 * shlib-versions: Likewise.
21429 * nss/Makefile: Add rules to build libnss_db.
21430 * nss/Versions: Add libnss_db information. Organize libnss_files
21431 entries better.
21432 * nss/db-Makefile: Add gshadow support. Change rules for the new
21433 makedb progra. Some minor improvements to generate smaller files.
21434 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21435 here from...
21436 * nss/makedb.c: ...here.
21437 Improve database format to be smaller and require less memory at
21438 runtime.
21439 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21440 db anymore.
21441 * nss/nss_db/db-netgrp.c: Likewise.
21442 * nss/nss_db/db-open.c: Likewise.
21443 * nss/nss_files/flies-XXX.x: Adjust comments.
21444 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21445 * nss/nss_files/files-grp.c: Likewise.
21446 * nss/nss_files/files-hosts.c: Likewise.
21447 * nss/nss_files/files-network.c: Likewise.
21448 * nss/nss_files/files-proto.c: Likewise.
21449 * nss/nss_files/files-pwd.c: Likewise.
21450 * nss/nss_files/files-rpc.c: Likewise.
21451 * nss/nss_files/files-service.c: Likewise.
21452 * nss/nss_files/files-sgrp.c: Likewise.
21453 * nss/nss_files/files-spwd.c: Likewise.
21454 * nss/nss_db/db-alias.c: Removed.
21455 * nss/nss_db/dummy-db.h: Removed.
21456
9ee76b5a
UD
214572011-06-02 Ulrich Drepper <drepper@gmail.com>
21458
21459 * nss/makedb.c: Rewritten to not use database library.
21460 * nss/Makefile: Update to build new makedb program.
21461
c71ca1f8
AJ
214622011-06-14 Andreas Jaeger <aj@suse.de>
21463
21464 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21465 memset declaration.
21466
3154bfb8
UD
214672011-06-10 Andreas Schwab <schwab@redhat.com>
21468
21469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21470 tmpbuf.
21471
b350afab
RM
214722011-06-10 Roland McGrath <roland@hack.frob.com>
21473
decd4e50
RM
21474 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21475 * elf/Makefile ($(objpfx)ld.so): Likewise.
21476
5615eaf2
RM
21477 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21478 Don't list ld.so twice in dependencies.
21479
21480 * posix/bug-regex31.c: Include <stdlib.h>.
21481
21482 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21483
21484 * nis/nss_compat/compat-spwd.c
21485 (getspent_next_nss_netgr): Remove unused variable.
21486 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21487
21488 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21489 nonmembers" output to use the right array.
21490
21491 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21492
21493 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21494
21495 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21496 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21497 * catgets/gencat.c (read_input_file): Likewise.
21498 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21499
21500 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21501 variable definition inside #if's controlling its use.
21502
21503 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21504
21505 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21506
21507 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21508
21509 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21510 unreachable code.
21511
21512 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21513
b68e08db
RM
21514 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21515 * configure: Regenerated.
21516
b350afab
RM
21517 * Makerules: Revert last change.
21518 * elf/Makefile: Likewise.
21519
28368601
RM
215202011-06-09 Roland McGrath <roland@hack.frob.com>
21521
21522 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21523 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21524 (reloc-link): Likewise.
21525
11988f8f
UD
215262011-06-09 Ulrich Drepper <drepper@gmail.com>
21527
21528 * elf/Makefile: Add rules to build pldd.
21529 * elf/pldd.c: New file.
21530 * elf/pldd-xx.c: New file.
21531
e80fab37
UD
215322011-06-07 Ulrich Drepper <drepper@gmail.com>
21533
21534 * version.h: Update for 2.15 development version.
21535
9b849836
DM
215362011-06-07 David S. Miller <davem@davemloft.net>
21537
21538 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21539 ifuncs.
21540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21541 elf_machine_lazy_rel): Likewise.
21542 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21544 elf_machine_lazy_rel): Likewise.
21545 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21546 dl_hwcap via passed in argument.
21547 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21548 Likewise.
21549
5a31b283
AK
215502011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21551
21552 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21553
069e52f8
RM
215542011-06-06 Roland McGrath <roland@hack.frob.com>
21555
21556 [BZ #12849]
21557 * manual/fdl-1.1.texi: New file, verbatim from:
21558 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21559 * manual/lgpl-2.1.texi: New file, verbatim from:
21560 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21561 * manual/Makefile (licenses): New variable, list those new file names.
21562 (texis): Use it.
21563 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21564
21565 * manual/fdl.texi: File removed.
21566 * manual/lesser.texi: File removed.
21567 * manual/libc.texinfo (Copying, Documentation License):
21568 Use new @include file names, put @appendix directive before @include.
21569
f16846a5
JJ
215702011-06-04 Jakub Jelinek <jakub@redhat.com>
21571
21572 [BZ #12841]
21573 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21574 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21575 (mq_open): Add __NTH.
21576
3d29045b
L
215772011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21578
21579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21580 Assume Intel Core i3/i5/i7 processor if AVX is available.
21581
8c297311
UD
215822011-05-31 Ulrich Drepper <drepper@gmail.com>
21583
21584 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21585 typo.
21586
c8fc0c91
UD
215872011-05-31 Andreas Schwab <schwab@redhat.com>
21588
21589 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21590 memory. Use alloca_account. Fix memory leak when retrying.
21591
5b27a807
UD
215922011-05-31 Ulrich Drepper <drepper@gmail.com>
21593
356f8bc6
UD
21594 * version.h (RELEASE): Bump for 2.14 release.
21595 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21596
5b27a807
UD
21597 * config.make.in (RANLIB): Remove entry.
21598
01f16ab0
UD
215992011-05-30 Ulrich Drepper <drepper@gmail.com>
21600
41fce8bd
UD
21601 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21602 (libc.pot): Work around missing support for .ksh extension in xgettext.
21603
4769ae77
UD
21604 [BZ #12684]
21605 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21606 if both request failed.
21607 (send_dg): In case of server errors clear resplen or *resplen2.
21608
6b1e7d19
UD
21609 [BZ #12454]
21610 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21611 when there are multiple maps.
21612 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21613 (_dl_fini): Remove test here.
21614
01f16ab0
UD
21615 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21616
b1ebd700
UD
216172011-05-29 Ulrich Drepper <drepper@gmail.com>
21618
7ae22829
UD
21619 [BZ #12350]
21620 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21621 bit from old_res_options.
21622 (gaih_inet): Likewise.
21623
553149f6 21624 [BZ #11099]
18a84741 21625 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21626 as signed.
21627
652ffab1
UD
21628 * resolv/res_init.c (res_setoptions): Make the code more compact.
21629
16985fd0
UD
21630 [BZ #11558]
21631 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21632 set RES_USEVC.
21633
0464f746
UD
21634 [BZ #11634]
21635 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21636
7d17596c
UD
21637 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21638
cf6bbbd7
UD
21639 [BZ #11781]
21640 * malloc/malloc.h: Declare malloc hook variables as volatile.
21641
13f1ab36
UD
21642 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21643 in last patch.
21644
b1ebd700
UD
21645 [BZ #11799]
21646 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21647 raise in the comment.
80e2212d
UD
21648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21650 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21651
ce67228d
UD
216522011-05-28 Ulrich Drepper <drepper@gmail.com>
21653
8887a920
UD
21654 [BZ #12811]
21655 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21656 grow the buffers more if it already has to be sufficient.
21657 (build_wcs_upper_buffer): Likewise.
21658 * posix/regexec.c (check_matching): Likewise.
21659 (clean_state_log_if_needed): Likewise.
21660 (extend_buffers): Don't enlarge buffers beyond size of the input
21661 buffer.
21662 Patches mostly by Emil Wojak <emil@wojak.eu>.
21663 * posix/bug-regex32.c: New file.
21664 * posix/Makefile (tests): Add bug-regex32.
21665
4f031072
UD
21666 * locale/findlocale.c (_nl_find_locale): Return right away if
21667 _nl_explode_name failed.
21668 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21669
d0478f0c
UD
21670 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21671
de81b246
UD
21672 * debug/xtrace.sh: Unify messages.
21673 * malloc/memusage.sh: Likewise.
21674
c738465a
UD
21675 [BZ #12813]
21676 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21677 time symbol from vDSO. Substitute with vsyscall if not available.
21678 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21679 __vdso_time.
21680
f1f929d7
UD
21681 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21682 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21683 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21684 Add sendmmsg and internal_sendmmsg.
21685 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21686 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21687 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21688
ce67228d
UD
21689 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21690 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21691 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21692
e57420c6
UD
216932011-05-27 Ulrich Drepper <drepper@gmail.com>
21694
a8509ca5
UD
21695 [BZ #12813]
21696 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21697 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21698 available.
21699 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21700 __vdso_getcpu.
21701
e57420c6
UD
21702 [BZ #12814]
21703 * iconvdata/Makefile (tests): Add bug-iconv9.
21704 * iconvdata/bug-iconv9.c: New file.
21705
4d07db15
AS
217062011-05-27 Andreas Schwab <schwab@redhat.com>
21707
21708 [BZ #12814]
21709 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21710
ea486f69
JJ
217112011-05-25 Jakub Jelinek <jakub@redhat.com>
21712
21713 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21714 (struct user_regs_struct): Change intcs field back to cs.
21715
6f038433
UD
217162011-05-25 Ulrich Drepper <drepper@gmail.com>
21717
21718 * po/ja.po: Update from translation team.
21719
67f86a25
UD
217202011-05-23 Ulrich Drepper <drepper@gmail.com>
21721
21722 [BZ #12795]
21723 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21724 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21725
def7fbd6
AS
217262011-05-20 Andreas Schwab <schwab@redhat.com>
21727
21728 * stdlib/longlong.h: Update from GCC.
21729
f50ef8f1
AS
217302011-05-23 Andreas Schwab <schwab@redhat.com>
21731
21732 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21733 parameter name.
21734 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21735 Add parameter name.
21736 (__sysconf): Pass it down.
21737
de7ce8f1
UD
217382011-05-22 Ulrich Drepper <drepper@gmail.com>
21739
f2962a71
UD
21740 [BZ #12671]
21741 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21742 some situations.
21743 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21744 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21745 add in in __libc_use_alloca calls. Adjust callers.
21746 (glob): Use malloc in some situations.
21747
de7ce8f1
UD
21748 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21749 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21750 pltexit.
21751
aec84f53
UD
217522011-05-21 Ulrich Drepper <drepper@gmail.com>
21753
05bb4a68
UD
21754 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21755 and CLOCK_BOOTTIME_ALARM.
21756
7ea72f99
UD
21757 [BZ #12782]
21758 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21759 is returned.
21760
7e4afad5
UD
21761 * string/_strerror.c (__strerror_r): Print negative errors as signed
21762 numbers.
21763
8e211fec
UD
21764 [BZ #12777]
21765 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21766 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21767 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21768
f7d82dc9
UD
21769 * configure.in: Fix typo in redirection and correct removal of test
21770 files in two cases.
21771
cc9e536d
UD
21772 [BZ #12788]
21773 * locale/setlocale.c (new_composite_name): Fix test to check for
21774 identical name of all categories.
21775
aec84f53
UD
21776 [BZ #12792]
21777 * libio/filedoalloc.c (local_isatty): New function.
21778 (_IO_file_doallocate): Use local_isatty.
21779 * stdio-common/perror.c (perror): In case a new stream is used
21780 forward the stream error.
21781 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21782 error flag.
21783
78e64fdc
RT
217842011-05-20 Ulrich Drepper <drepper@gmail.com>
21785
34a9094f
UD
21786 [BZ #11869]
21787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21788 alloca.
21789 * include/alloca.h (extend_alloca_account): Define.
21790
78e64fdc
RT
21791 [BZ #11857]
21792 * posix/regex.h: Fix comments with documentation of user-accessible
21793 fields after compilation and describe correct free'ing of pattern
21794 after re_compile_pattern.
21795 Patch by Reuben Thomas <rrt@sc3d.org>.
21796
457bddfc
RA
217972011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21798
21799 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21800 and -mno-altivec to prevent the compiler from using Altivec and/or
21801 VSX instructions when the corresponding registers are not available.
21802
a4527b51
AS
218032011-05-19 Andreas Schwab <schwab@redhat.com>
21804
21805 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21806
ed690b2f
UD
218072011-05-19 Ulrich Drepper <drepper@gmail.com>
21808
21809 * libio/freopen.c (freopen): Use __dup2, not dup2.
21810 * libio/freopen64.c (freopen64): Likewise.
21811
8db73634
L
218122011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21813
21814 [BZ #12775]
21815 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21816 * math/Makefile (tests): Add test-powl.
21817 (CFLAGS-test-powl.c): Define.
21818 * math/test-powl.c: New file.
21819
0a197a9d
L
218202011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21821
21822 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21823
ee30c380
UD
218242011-05-17 Ulrich Drepper <drepper@gmail.com>
21825
21826 [BZ #11837]
21827 * iconvdata/gb18030.c: Update to GB18020-2005.
21828
6ce75379
UD
218292011-05-16 Ulrich Drepper <drepper@gmail.com>
21830
a4b89fd8
AR
21831 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21832 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21833 Patch by Aharon Robbins <arnold@skeeve.com>.
21834
ea389b12
UD
21835 [BZ #11892]
21836 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21837 on the stack.
21838
68a3f91f
UD
21839 [BZ #11895]
21840 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21841 through underflows.
21842
15cc7dd1
UD
21843 [BZ #12766]
21844 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21845 point to strings before performing equality test for error_one_per_line
21846 mode.
21847
f3799213
UD
21848 [BZ #11697]
21849 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21850
d79a9c94
UD
21851 [BZ #11820]
21852 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21853 (struct user_fpregs_struct): Avoid __uint*_t types.
21854
56e5eb46
UD
21855 [BZ #6420]
21856 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21857 symbol info. Use it instead of calling _dl_addr locally.
21858 (lock_and_info): New function.
21859 (tr_freehook): Call lock_and_info and pass symbol info as additional
21860 parameter to tr_where.
21861 (tr_mallochook): Likewise.
21862 (tr_reallochook): Likewise.
21863 (tr_memalignhook): Likewise.
21864
6ce75379
UD
21865 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21866 used and couldn't be at all thread-safe.
21867
f8a3b5bf
UD
218682011-05-15 Ulrich Drepper <drepper@gmail.com>
21869
94b7cc37
UD
21870 * libio/freopen.c (freopen): Don't close old file descriptor
21871 before the new one is opened. Instead dup the new file descriptor
21872 to the old one after the new stream is created.
21873 * libio/freopen64.c (freopen64): Likewise.
21874 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21875 * libio/fileops.c (_IO_new_file_close_it): Handle new
21876 _IO_FLAGS2_NOCLOSE flag.
21877 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21878 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21879 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21880 _IO_FLAGS2_NOCLOSE flag.
21881 * include/unistd.h: Add hidden_proto for dup3.
21882 Define __have_dup3.
21883 * io/dup3.c: Define hidden symbol.
21884 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21885
bd25564e
UD
21886 [BZ #7101]
21887 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21888 when an incomplete long option is used.
21889 * posix/tst-getopt_long1.c: New file.
21890 * posix/Makefile (tests): Add tst-getopt_long1.
21891
c84cfef4
UD
21892 [BZ #10138]
21893 * scripts/config.guess: Update from autoconf-2.68.
21894 * scripts/config.sub: Likewise.
21895
3b85df27
UD
21896 [BZ #10157]
21897 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21898 tests into ...
21899 (has_cpuclock): ...this. New function.
21900 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21901 macro here based on has_cpuclock code.
21902
15a856b1
UD
21903 [BZ #10149]
21904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21905 First byte (not low byte) is now always NUL.
21906 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21907
05f399e6
UD
21908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21909 Use non-cancelable interfaces.
21910
10a52685 21911 [BZ #9809]
94ecc67d
UD
21912 * locale/iso-639.def: Add entry for Sorani.
21913
f8a3b5bf
UD
21914 [BZ #11901]
21915 * include/stdlib.h: Move include protection to the right place.
21916 Define abort_msg_s. Declare __abort_msg with it.
21917 * stdlib/abort.c (__abort_msg): Adjust type.
21918 * assert/assert.c (__assert_fail_base): New function. Majority
21919 of code from __assert_fail. Allocate memory for __abort_msg with
21920 mmap.
21921 (__assert_fail): Now call __assert_fail_base.
21922 * assert/assert-perr.c: Remove bulk of implementation. Use
21923 __assert_fail_base.
21924 * include/assert.hL Declare __assert_fail_base.
21925 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21926 mmap.
21927 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21928
1af4e298
UD
219292011-05-14 Ulrich Drepper <drepper@gmail.com>
21930
f8a3b5bf 21931 [BZ #11952]
d26dfc60
MG
21932 [BZ #12453]
21933 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21934 until all modules are registered in the DTV.
21935 * elf/Makefile: Add rules to build and run tst-tls19.
21936 * elf/tst-tls19.c: New file.
21937 * elf/tst-tls19mod1.c: New file.
21938 * elf/tst-tls19mod2.c: New file.
21939 * elf/tst-tls19mod3.c: New file.
21940 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21941
2fc54d6f
UD
21942 [BZ #12083]
21943 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21944 correctly.
21945
98d76b46
UD
21946 [BZ #12601]
21947 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21948 two-byte sequence errors.
21949 * iconvdata/Makefile (tests): Add bug-iconv8.
21950 * iconvdata/bug-iconv8.c: New file.
21951
da3c19ef
UD
21952 [BZ #12626]
21953 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21954 buf2 definition.
21955
ca408c15
UD
21956 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21957
d6f67f7d
UD
21958 [BZ #12432]
21959 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21960 (dummy_getcfa): New function.
21961 (init): Get _Unwind_GetCFA address, use dummy if not found.
21962 (backtrace_helper): In recursion check, also check whether CFA changes.
21963 (__backtrace): Completely initialize arg.
21964
1af4e298 21965 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21966 storing incomplete byte sequence in state object. Avoid testing for
21967 guaranteed too small input if we know there is enough data available.
1af4e298 21968
da62f81b
AS
219692011-05-11 Andreas Schwab <schwab@redhat.com>
21970
21971 * Makeconfig (+link-pie): Indent.
21972 * Rules (binaries-pie): Define if $(have-fpie) and
21973 $(build-shared).
21974 (binaries-shared): Also filter out $(binaries-pie).
21975 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21976 * nscd/Makefile (others-pie): Add nscd.
21977 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21978 ($(objpfx)nscd): Remove command override.
21979 * login/Makefile (others-pie): Add pt_chown.
21980 ($(objpfx)pt_chown): Remove command override.
21981 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21982 remove command overrides.
21983
fcabc0f8
UD
219842011-05-13 Ulrich Drepper <drepper@gmail.com>
21985
20030ae6
UD
21986 * libio/tst_putwc.c: Fix error messages.
21987
fcabc0f8
UD
21988 [BZ #12724]
21989 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21990 currently writing and seek to current position when not.
21991 * libio/Makefile (tests): Add bug-fclose1.
21992 * libio/bug-fclose1.c: New file.
21993
320a5dc0
PB
219942011-05-12 Ulrich Drepper <drepper@gmail.com>
21995
21996 [BZ #12511]
21997 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21998 don't set DF_1_NODELETE here.
21999 (do_lookup_x): When entering new entry test for copy relocation
22000 and if necessary set DF_1_NODELETE flag.
22001 * elf/tst-unique4.cc: New file.
22002 * elf/tst-unique4.h: New file.
22003 * elf/tst-unique4lib.cc: New file.
22004 * elf/Makefile: Add rules to build and run tst-unique4.
22005 Patch by Piotr Bury <pbury@goahead.com>.
22006
22836f52
UD
220072011-05-11 Ulrich Drepper <drepper@gmail.com>
22008
f574184a
UD
22009 [BZ #12052]
22010 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22011
e1fb097f
UD
22012 [BZ #12625]
22013 * misc/mntent_r.c (addmntent): Flush the stream after the output
22014
22836f52
UD
22015 [BZ #12393]
22016 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22017 (is_trusted_path_normalize): Skip initial colon. Append slash
22018 to empty buffer. Duplicate is_trusted_path code but allow
22019 constructed patch to be prefix.
22020 (is_dst): Allow $ORIGIN followed by /.
22021 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22022 Correct testing of result of is_trusted_path_normalize
22023 (decompose_rpath): Fix warning.
22024
7b3b0b2a
UD
220252011-05-10 Ulrich Drepper <drepper@gmail.com>
22026
22027 [BZ #11257]
22028 * grp/initgroups.c (internal_getgrouplist): When we found the service
22029 list through the initgroups entry in nsswitch.conf do not always
22030 continue on a successful lookup. Don't always use the
eac80ce2 22031 __nss_group_database value if it is set.
7b3b0b2a
UD
22032 * nss/nsswitch.conf (initgroups): Change action for successful db
22033 lookup to continue for compatibility.
22034
2a81eaa5
UD
220352011-05-09 Ulrich Drepper <drepper@gmail.com>
22036
be97a69e
UD
22037 [BZ #11532]
22038 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22039 and CP774 modules.
22040 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22041 and CP774 modules.
22042 * iconvdata/tst-tables.sh: Likewise.
22043 * iconvdata/cp770.c: New file.
22044 * iconvdata/cp771.c: New file.
22045 * iconvdata/cp772.c: New file.
22046 * iconvdata/cp773.c: New file.
22047 * iconvdata/cp774.c: New file.
22048 * iconvdata/testdata/CP770: New file.
22049 * iconvdata/testdata/CP770..UTF8: New file.
22050 * iconvdata/testdata/CP771: New file.
22051 * iconvdata/testdata/CP771..UTF8: New file.
22052 * iconvdata/testdata/CP772: New file.
22053 * iconvdata/testdata/CP772..UTF8: New file.
22054 * iconvdata/testdata/CP773: New file.
22055 * iconvdata/testdata/CP773..UTF8: New file.
22056 * iconvdata/testdata/CP774: New file.
22057 * iconvdata/testdata/CP774..UTF8: New file.
22058
22059 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22060 END CHARMAP line.
22061 * iconvdata/gen-8bit-gap.sh: Likewise.
22062 * iconvdata/gen-8bit.sh: Likewise.
22063
c1e9e399
UD
22064 * locale/iso-639.def: Add ary entry.
22065
24c55fb3 22066 [BZ #11258]
96b4b1b0
UD
22067 * locale/C-translit.h.in: Add U20A1 transliteration.
22068
bdc2f971
KB
22069 [BZ #12178]
22070 * locale/iso-639.def: Add wae entry.
22071 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22072
2952b117
UD
22073 [BZ #12545]
22074 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22075 for n.
22076
2a81eaa5
UD
22077 [BZ #12711]
22078 * locale/C-translit.h.in: Add entry for U20B9.
22079 Patch by pravin.d.s@gmail.com.
22080
28377d1b
UD
220812011-05-08 Ulrich Drepper <drepper@gmail.com>
22082
7fb90fb8
UD
22083 [BZ #12713]
22084 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22085 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22086 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22087 in rtld. Use *stat64.
7fb90fb8 22088 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22089 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22090 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22091 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22092 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22093 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22094 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22095 __fstatat64 macros.
7fb90fb8
UD
22096 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22097 * dirent/rewinddir.c: Add libc_hidden_def.
22098 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22099 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22100
28377d1b
UD
22101 * include/dirent.h (__alloc_dir): Add flags parameter.
22102 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22103 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22104 __alloc_dir.
22105 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22106 from fdopendir if O_CLOEXEC is already set.
22107
66bdbaa4
AM
221082011-03-15 Alan Modra <amodra@gmail.com>
22109
22110 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22111 l_tls_firstbyte_offset non-zero. Save padding offset in
22112 l_tls_firstbyte_offset for later use.
22113 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22114 freeing static tls block.
22115
95721191
JN
221162011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22117
22118 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22119 where #ifdef was intended. The intent is to prevent ARG_MAX from
22120 being defined by the kernel headers.
22121
f87dfb1f
UD
221222011-05-07 Ulrich Drepper <drepper@gmail.com>
22123
22124 [BZ #12734]
22125 * resolv/resolv.h: Define RES_NOTLDQUERY.
22126 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22127 no-tld-query and set RES_NOTLDQUERY.
22128 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22129 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22130 modern BIND to search name as TLD unless forbidden.
22131
47c3cd7a
UD
221322011-05-07 Petr Baudis <pasky@suse.cz>
22133 Ulrich Drepper <drepper@gmail.com>
22134
22135 [BZ #12393]
22136 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22137 (is_trusted_path): ...to here.
c1e9ea35 22138 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22139 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22140 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22141
8a35c912
PP
221422011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22143
22144 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22145 __BEGIN/__END_DECLS.
22146
acd41f47
UD
221472011-05-06 Ulrich Drepper <drepper@gmail.com>
22148
22149 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22150 NSS_STATUS_NOTFOUND if no record was found.
22151
597df647
AS
221522011-05-05 Andreas Schwab <schwab@redhat.com>
22153
22154 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22155 (headers-not-in-tirpc): Remove rpc/netdb.h
22156 * resolv/netdb.h: Revert last change.
22157
b9af1301
PP
221582011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22159
22160 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22161 circular dependency between libgcc.a and libc.a.
22162
4e34d5f5
AS
221632011-05-05 Andreas Schwab <schwab@redhat.com>
22164
22165 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22166 * nis/Makefile: Don't install rpcsvc/*.
22167 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22168 instead of <rpc/types.h>.
22169 (MAXHOSTNAMELEN): Define.
22170
00ee369c
AS
221712011-05-03 Andreas Schwab <schwab@redhat.com>
22172
22173 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22174
0b592a30
MB
221752011-04-28 Maciej Babinski <mbabinski@google.com>
22176
22177 [BZ #12714]
22178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22179 gethostbyname4_r when IPv6 results are possible.
22180
6e04cbbe
UD
221812011-05-02 Ulrich Drepper <drepper@gmail.com>
22182
22183 [BZ #12723]
22184 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22185 _PC_PIPE_BUF handling.
22186
e4ecafe0
BH
221872011-04-30 Bruno Haible <bruno@clisp.org>
22188
22189 [BZ #12717]
22190 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22191 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22192 to 'int'.
22193 * inet/getnameinfo.c (getnameinfo): Likewise.
22194
125ee683
UD
221952011-04-29 Ulrich Drepper <drepper@gmail.com>
22196
22197 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22198 to groups setting in database lookup.
22199 * nss/nsswitch.conf: Add initgroups entry.
22200
b722481a
EB
222012011-04-22 Ulrich Drepper <drepper@gmail.com>
22202
22203 [BZ #12685]
22204 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22205 mode string.
22206 Patch by Eric Blake <eblake@redhat.com>.
22207
4df46dbd
L
222082011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22209
22210 * sunrpc/Makefile (need-export-routines): Add svc_run.
22211 (routines): Remove svc_run.
22212 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22213 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22214 * sunrpc/svc_run.c (svc_run): Likewise.
22215 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22216
e84142d2
UD
222172011-04-21 Ulrich Drepper <drepper@gmail.com>
22218
22219 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22220 problem in reallocation in last patch.
22221
877175d8
UD
222222011-04-20 Ulrich Drepper <drepper@gmail.com>
22223
22224 * sunrpc/Makefile: Move inclusion of Rules.
22225
ab8eed78
UD
222262011-04-19 Ulrich Drepper <drepper@gmail.com>
22227
22228 * nss/nss_files/files-initgroups.c: New file.
22229 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22230 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22231 _nss_files_initgroups_dyn.
22232
e3d8f584
RS
222332011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22234
22235 * elf/elf.h (R_ARM_IRELATIVE): Define.
22236
af190f45
UD
222372011-04-19 Ulrich Drepper <drepper@gmail.com>
22238
22239 * po/ru.po: Update from translation team.
22240
53cf59ef
UD
222412011-04-17 Ulrich Drepper <drepper@gmail.com>
22242
22243 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22244 dependencies.
22245
4c559bcd
MF
222462011-02-06 Mike Frysinger <vapier@gentoo.org>
22247
22248 [BZ #12653]
22249 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22250 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22251 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22254
4420675c
AS
222552011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22256
22257 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22258 differing bytes.
22259 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22260 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22261 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22262
75ea32ab
UD
222632011-04-17 Ulrich Drepper <drepper@gmail.com>
22264
22265 [BZ #12420]
22266 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22267 storing it.
22268 * stdlib/bug-getcontext.c: New file.
22269 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22270
27390476
AK
222712011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22272
22273 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22274 instructions into .machine "z9-109".
22275 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22276 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22277
10442705
AK
222782011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22279
22280 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22281 between environment variables and auxiliary vector.
22282
7b57bfe5
UD
222832011-04-16 Ulrich Drepper <drepper@gmail.com>
22284
22285 * Makefile: Add rules to build linkobj/libc.so.
22286 * include/libc-symbols.h: Define libc_hidden_nolink.
22287 * include/rpc/auth.h: Mark functions which are to be hidden.
22288 * include/rpc/auth_des.h: Likewise.
22289 * include/rpc/auth_unix.h: Likewise.
22290 * include/rpc/clnt.h: Likewise.
22291 * include/rpc/des_crypt.h: Likewise.
22292 * include/rpc/key_prot.h: Likewise.
22293 * include/rpc/pmap_clnt.h: Likewise.
22294 * include/rpc/pmap_prot.h: Likewise.
22295 * include/rpc/pmap_rmt.h: Likewise.
22296 * include/rpc/rpc_msg.h: Likewise.
22297 * include/rpc/svc.h: Likewise.
22298 * include/rpc/svc_auth.h: Likewise.
22299 * include/rpc/xdr.h: Likewise.
22300 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22301 * nss/Makefile: Likewise.
22302 * sunrpc/Makefile: Don't install headers. Build library with normal
22303 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22304 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22305 for the compat linking library. Remove use of INTDEF/INTUSE.
22306 * sunrpc/auth_none.c: Likewise.
22307 * sunrpc/auth_unix.c: Likewise.
22308 * sunrpc/authdes_prot.c: Likewise.
22309 * sunrpc/authuxprot.c: Likewise.
22310 * sunrpc/clnt_gen.c: Likewise.
22311 * sunrpc/clnt_perr.c: Likewise.
22312 * sunrpc/clnt_raw.c: Likewise.
22313 * sunrpc/clnt_simp.c: Likewise.
22314 * sunrpc/clnt_tcp.c: Likewise.
22315 * sunrpc/clnt_udp.c: Likewise.
22316 * sunrpc/clnt_unix.c: Likewise.
22317 * sunrpc/des_crypt.c: Likewise.
22318 * sunrpc/des_soft.c: Likewise.
22319 * sunrpc/get_myaddr.c: Likewise.
22320 * sunrpc/key_call.c: Likewise.
22321 * sunrpc/key_prot.c: Likewise.
22322 * sunrpc/netname.c: Likewise.
22323 * sunrpc/pm_getmaps.c: Likewise.
22324 * sunrpc/pm_getport.c: Likewise.
22325 * sunrpc/pmap_clnt.c: Likewise.
22326 * sunrpc/pmap_prot.c: Likewise.
22327 * sunrpc/pmap_prot2.c: Likewise.
22328 * sunrpc/pmap_rmt.c: Likewise.
22329 * sunrpc/publickey.c: Likewise.
22330 * sunrpc/rpc_cmsg.c: Likewise.
22331 * sunrpc/rpc_common.c: Likewise.
22332 * sunrpc/rpc_dtable.c: Likewise.
22333 * sunrpc/rpc_prot.c: Likewise.
22334 * sunrpc/rpc_thread.c: Likewise.
22335 * sunrpc/rtime.c: Likewise.
22336 * sunrpc/svc.c: Likewise.
22337 * sunrpc/svc_auth.c: Likewise.
22338 * sunrpc/svc_authux.c: Likewise.
22339 * sunrpc/svc_raw.c: Likewise.
22340 * sunrpc/svc_run.c: Likewise.
22341 * sunrpc/svc_simple.c: Likewise.
22342 * sunrpc/svc_tcp.c: Likewise.
22343 * sunrpc/svc_udp.c: Likewise.
22344 * sunrpc/svc_unix.c: Likewise.
22345 * sunrpc/svcauth_des.c: Likewise.
22346 * sunrpc/xcrypt.c: Likewise.
22347 * sunrpc/xdr.c: Likewise.
22348 * sunrpc/xdr_array.c: Likewise.
22349 * sunrpc/xdr_float.c: Likewise.
22350 * sunrpc/xdr_intXX_t.c: Likewise.
22351 * sunrpc/xdr_mem.c: Likewise.
22352 * sunrpc/xdr_rec.c: Likewise.
22353 * sunrpc/xdr_ref.c: Likewise.
22354 * sunrpc/xdr_sizeof.c: Likewise.
22355 * sunrpc/xdr_stdio.c: Likewise.
22356
e6c61494
UD
223572011-04-10 Ulrich Drepper <drepper@gmail.com>
22358
22359 [BZ #12650]
22360 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22361 * sysdeps/ia64/dl-tls.h: Likewise.
22362 * sysdeps/powerpc/dl-tls.h: Likewise.
22363 * sysdeps/s390/dl-tls.h: Likewise.
22364 * sysdeps/sh/dl-tls.h: Likewise.
22365 * sysdeps/sparc/dl-tls.h: Likewise.
22366 * sysdeps/x86_64/dl-tls.h: Likewise.
22367 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22368
34fe483e
AS
223692011-03-14 Andreas Schwab <schwab@redhat.com>
22370
22371 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22372 rpath element also skip the following colon.
22373 (expand_dynamic_string_token): Add is_path parameter and pass
22374 down to DL_DST_REQUIRED and _dl_dst_substitute.
22375 (decompose_rpath): Call expand_dynamic_string_token with
22376 non-zero is_path. Ignore empty rpaths.
22377 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22378 with zero is_path.
22379
f12a32e6
AS
223802011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22381
22382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22383 Make cancelable.
22384
38a7d692
UD
223852011-04-09 Ulrich Drepper <drepper@gmail.com>
22386
22387 [BZ #12655]
22388 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22389 Patch by Filipe David Manana <fdmanana@apache.org>.
22390
e451d22b
AS
223912011-04-07 Andreas Schwab <schwab@redhat.com>
22392
22393 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22394 Maintain aligned stack.
22395 (CHECK_RSP): Remove unused macro.
22396
dedc7c7b
UD
223972011-04-03 Ulrich Drepper <drepper@gmail.com>
22398
22399 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22400 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22401
94521213
UD
224022011-04-02 Ulrich Drepper <drepper@gmail.com>
22403
22404 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22405
8cb700c0 22406 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22407
0354e355
L
224082011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22409
22410 [BZ #12518]
22411 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22412 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22413 * sysdeps/x86_64/memmove.c: New file.
22414 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22415 (memcpy): Renamed to ...
22416 (__new_memcpy): This.
22417 (memcpy): Provide GLIBC_2_14 memcpy.
22418 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22419 (memcpy): Provide GLIBC_2_2_5 memcpy.
22420
8593482f
UD
224212011-04-01 Ulrich Drepper <drepper@gmail.com>
22422
22423 [BZ #12631]
22424 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22425
81a5726b
AS
224262011-03-30 Andreas Schwab <schwab@redhat.com>
22427
22428 * misc/syncfs.c: New file.
22429 * misc/Makefile (routines): Add syncfs.
22430 * posix/unistd.h: Declare syncfs.
22431 * sysdeps/unix/syscalls.list: Add syncfs.
22432
00e5419f
AS
224332011-04-01 Andreas Schwab <schwab@redhat.com>
22434
22435 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22436 open_by_handle_at.
22437 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22440 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22442 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22443 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22444
748876bf
UD
224452011-04-01 Ulrich Drepper <drepper@gmail.com>
22446
658e451d
UD
22447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22448 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22449 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22453 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22454
748876bf
UD
22455 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22456 sync_file_range.c with -fexceptions.
22457 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22458 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22459 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22460 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22461 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22462 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22464 sync_file_range as cancellation point
22465 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22466 now a wrapper around __call_sync_file_range with cancellation handling.
22467 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22468 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22469 function name to __call_sync_file_range.
22470 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22471 Add call_sync_file_range.
748876bf 22472
6e63d5e1
AS
224732011-04-01 Andreas Schwab <schwab@redhat.com>
22474
22475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22476 bits/timex.h.
6e63d5e1 22477
46998f74
UD
224782011-04-01 Ulrich Drepper <drepper@gmail.com>
22479
4c1423ed
UD
22480 * iconv/iconv.h: Fix typo in comment.
22481 * io/fcntl.h: Likewise.
22482 * libio/stdio.h: Likewise.
22483 * posix/spawn.h: Likewise.
22484 * posix/unistd.h: Likewise.
22485 * stdlib/stdlib.h: Likewise.
22486 * time/time.h: Likewise.
22487 * wcsmbs/wchar.h: Likewise.
22488
158648c0
UD
22489 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22490 open_by_handle): Add.
22491 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22492 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22493 Augment a few comments.
22494 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22499 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22500 open_by_handle.
22501
46998f74
UD
22502 * io/fcntl.h (AT_EMPTY_PATH): Define.
22503
83fe108b
UD
225042011-03-30 Ulrich Drepper <drepper@gmail.com>
22505
22506 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22507 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22508 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22509 to...
22510 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22511 * Versions.def: Add GLIBC_2.14.
22512 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22513 Export.
83fe108b 22514
bb242059
UD
225152011-03-22 Ulrich Drepper <drepper@gmail.com>
22516
22517 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22518 round counter.
22519 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22520
c97a1282
L
225212011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22522
22523 [BZ #12597]
22524 * string/test-strncmp.c (do_page_test): New function.
22525 (check2): Likewise.
22526 (test_main): Call check2.
22527 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22528
2a115601
UD
225292011-03-20 Ulrich Drepper <drepper@gmail.com>
22530
22531 [BZ #12587]
22532 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22533 Handle cache information in CPU leaf 4.
22534 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22535
8126d904
UD
225362011-03-18 Ulrich Drepper <drepper@gmail.com>
22537
042c49c6 22538 [BZ #12583]
8126d904
UD
22539 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22540 character representation.
22541 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22542
ccfe366e
RA
225432011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22544
22545 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22546 END(__isnan) to END(__isnanf) to match function entry point/label
22547 EALIGN(__isnanf,...).
22548
c6e13027
JJ
225492011-03-10 Jakub Jelinek <jakub@redhat.com>
22550
22551 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22552
33f85a3f
UD
225532011-03-10 Ulrich Drepper <drepper@gmail.com>
22554
028478fa
UD
22555 [BZ #12510]
22556 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22557 copy from the symbol referenced in the relocation to initialize the
22558 used variable.
22559 Patch by Piotr Bury <pbury@goahead.com>.
22560 * elf/Makefile: Add rules to build and tst-unique3.
22561 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22562 * elf/tst-unique3.cc: New file.
22563 * elf/tst-unique3.h: New file.
22564 * elf/tst-unique3lib.cc: New file.
22565 * elf/tst-unique3lib2.cc: New file.
22566
33f85a3f
UD
22567 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22568
03592fc7
MF
225692011-03-10 Mike Frysinger <vapier@gentoo.org>
22570
22571 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22572 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22573 to _start.
03592fc7 22574
6a5ee102
UD
225752011-03-06 Ulrich Drepper <drepper@gmail.com>
22576
22577 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22578 to-be-loaded object along a path to loader is ld.so.
22579
7e4ba49c
HJ
225802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22581 Ulrich Drepper <drepper@gmail.com>
22582
22583 * sysdeps/x86_64/memset.S: After aligning destination, code
22584 branches to different locations depending on the value of
22585 misalignment, when multiarch is enabled. Fix this.
22586
225872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22588
22589 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22590 Set _x86_64_preferred_memory_instruction for AMD processsors.
22591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22592 Set bit_Prefer_SSE_for_memop for AMD processors.
22593
13a804de
UD
225942011-03-04 Ulrich Drepper <drepper@gmail.com>
22595
22596 * libio/fmemopen.c (fmemopen): Optimize a bit.
22597
9d25c392
AS
225982011-03-03 Andreas Schwab <schwab@redhat.com>
22599
22600 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22601
a5543c6a
RM
226022011-03-03 Roland McGrath <roland@redhat.com>
22603
22604 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22605
012d35f7
DM
226062011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22607
7e4ba49c 22608 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22609 __bzero_ultra1 instead of __memset_ultra1.
22610
4bff6e01
AS
226112011-02-23 Andreas Schwab <schwab@redhat.com>
22612 Ulrich Drepper <drepper@gmail.com>
22613
22614 [BZ #12509]
22615 * include/link.h (struct link_map): Add l_orig_initfini.
22616 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22617 returning unsuccessfully.
22618 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22619 close of a file loaded at startup, restore the original l_initfini
22620 list.
22621 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22622 list, store the pointer.
22623 * elf/Makefile ($(objpfx)noload-mem): New rule.
22624 (noload-ENV): Define.
22625 (tests): Add $(objpfx)noload-mem.
22626 * elf/noload.c: Include <memcheck.h>.
22627 (main): Call mtrace. Close all opened handles.
22628
f2092faf
AS
226292011-02-17 Andreas Schwab <schwab@redhat.com>
22630
22631 [BZ #12454]
22632 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22633 dependencies are missing.
22634
6c8a2e88
ST
226352011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22636
f2092faf 22637 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22638 Hurd needs munmap.
22639 * sysdeps/mach/hurd/ifreq.h: New file.
22640
84a42118
PB
226412011-01-27 Petr Baudis <pasky@suse.cz>
22642 Ulrich Drepper <drepper@gmail.com>
22643
071f805e 22644 [BZ 12445]#
84a42118
PB
22645 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22646 to extend_alloca().
22647 * stdio-common/bug23.c: New file.
22648 * stdio-common/Makefile (tests): Add bug23.
22649
e23fe25b
AS
226502010-09-28 Andreas Schwab <schwab@redhat.com>
22651 Ulrich Drepper <drepper@gmail.com>
22652
22653 [BZ #12489]
22654 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22655 before performing relro protection. At old place add assertion
22656 to make sure nothing changed.
22657
d3f02e10
NS
226582011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22659 Glauber de Oliveira Costa <glommer@gmail.com>
22660
22661 * elf/elf.h: Add new ARM TLS relocs.
22662
d55fd7a5
RA
226632011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22664
22665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22666 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22667 cast from r3.
22668 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22669 'tests' variable.
22670 * sysdeps/wordsize-64/tst-writev.c: New file.
22671
2206397e
RA
226722011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22673
22674 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22675 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22676 insns in _dl_start to prevent a TOC reference before relocs are
22677 resolved.
22678
e9433893
UD
226792011-02-15 Ulrich Drepper <drepper@gmail.com>
22680
22681 [BZ #12469]
22682 * Makeconfig: Remove RANLIB definition.
22683 * Makerules: Don't use RANLIB.
22684 * aclocal.m4: Remove ranlib test.
22685 * configure.in: No need to check for ranlib.
22686 * elf/rtld-Rules: Don't use RANLIB.
22687
f75286c6
ST
226882011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22689
8e31c82d
ST
22690 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22691 protection macro.
22692 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22693 inclusion protection macro.
22694
f75286c6
ST
22695 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22696 SIGRTMIN and SIGRTMAX and print information in that case only when
22697 SIGRTMIN is defined.
22698
c1d0e639
JJ
226992011-02-11 Jakub Jelinek <jakub@redhat.com>
22700
22701 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22702 arginfo fn returning -1.
22703
22704 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22705 and thousands string is zero terminated.
22706
edf9294e
AS
227072011-02-03 Andreas Schwab <schwab@redhat.com>
22708
22709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22710 sysdeps/unix/sysv/linux/bits/socket.h.
22711
2b7e92df
ST
227122011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22713
edf9294e
AS
22714 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22715 (__CPU_COUNT): Remove old macros.
22716 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22717 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22718 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22719 (__sched_cpualloc, __sched_cpufree): Add declarations.
22720
a4c7ea7b
UD
227212011-02-05 Ulrich Drepper <drepper@gmail.com>
22722
22723 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22724 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22725 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22726 (readdhstai): Return value of addhstaiX call.
22727 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22728 (addgrbyX): Return value returned by cache_addgr.
22729 (readdgrbyname): Return value returned by addgrbyX.
22730 (readdgrbygid): Likewise.
22731 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22732 (addpwbyX): Return value returned by cache_addpw.
22733 (readdpwbyname): Return value returned by addhstbyX.
22734 (readdpwbyuid): Likewise.
22735 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22736 (addservbyX): Return value returned by cache_addserv.
22737 (readdservbyname): Return value returned by addservbyX:
22738 (readdservbyport): Likewise.
22739 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22740 (addhstbyX): Return value returned by cache_addhst.
22741 (readdhstbyname): Return value returned by addhstbyX.
22742 (readdhstbyaddr): Likewise.
22743 (readdhstbynamev6): Likewise.
22744 (readdhstbyaddrv6): Likewise.
22745 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22746 (readdinitgroups): Return value returned by addinitgroupsX.
22747 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22748 (prune_cache): Keep track of timeout value of re-added entries.
22749 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22750 * nscd/nscd.h: Adjust prototypes of readd* functions.
22751
a0bf67cc
RM
227522011-02-04 Roland McGrath <roland@redhat.com>
22753
22754 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22755 (nis_stats): Likewise.
22756 * nis/nis_modify.c (nis_modify): Likewise.
22757 * nis/nis_remove.c (nis_remove): Likewise.
22758 * nis/nis_add.c (nis_add): Likewise.
22759
22760 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22761
22762 * posix/fnmatch_loop.c: Add some consts.
22763
22764 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22765
435b95eb
L
227662011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22767
22768 [BZ #12460]
22769 * config.make.in (config-cflags-novzeroupper): Define.
22770 * configure.in: Substitute libc_cv_cc_novzeroupper.
22771 * elf/Makefile (AVX-CFLAGS): Define.
22772 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22773 (CFLAGS-tst-auditmod4a.c): Likewise.
22774 (CFLAGS-tst-auditmod4b.c): Likewise.
22775 (CFLAGS-tst-auditmod6b.c): Likewise.
22776 (CFLAGS-tst-auditmod6c.c): Likewise.
22777 (CFLAGS-tst-auditmod7b.c): Likewise.
22778 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22779
8517b15e
UD
227802011-02-02 Ulrich Drepper <drepper@gmail.com>
22781
22782 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22783 function to the callback.
22784 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22785
10a656fe
AS
227862011-02-02 Andreas Schwab <schwab@redhat.com>
22787
22788 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22789 of errno.
22790
968dad0a
UD
227912011-01-19 Ulrich Drepper <drepper@gmail.com>
22792
9f94d2ea 22793 [BZ #11724]
968dad0a
UD
22794 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22795 of constructors.
22796 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22797 of destructors.
22798 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22799
22800 [BZ #11724]
22801 * elf/Makefile: Add rules to build and run new test.
22802 * elf/tst-initorder.c: New file.
22803 * elf/tst-initorder.exp: New file.
22804 * elf/tst-initordera1.c: New file.
22805 * elf/tst-initordera2.c: New file.
22806 * elf/tst-initordera3.c: New file.
22807 * elf/tst-initordera4.c: New file.
22808 * elf/tst-initorderb1.c: New file.
22809 * elf/tst-initorderb2.c: New file.
22810 * elf/tst-order-a1.c: New file.
22811 * elf/tst-order-a2.c: New file.
22812 * elf/tst-order-a3.c: New file.
22813 * elf/tst-order-a4.c: New file.
22814 * elf/tst-order-b1.c: New file.
22815 * elf/tst-order-b2.c: New file.
22816 * elf/tst-order-main.c: New file.
22817 New test case by George Gensure <werkt0@gmail.com>.
22818
86e92359
UD
228192010-10-01 Andreas Schwab <schwab@redhat.com>
22820
22821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22822 decoding ACE if AI_CANONIDN.
22823
5d5732b0
UD
228242011-01-18 Ulrich Drepper <drepper@gmail.com>
22825
22826 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22827
a77e8cbc
UD
228282011-01-17 Ulrich Drepper <drepper@gmail.com>
22829
6392473f
UD
22830 * version.h (RELEASE): Bump for 2.13 release.
22831 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22832
620a0529
UD
22833 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22834
18ba70a5
UD
22835 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22836 MADV_NOHUGEPAGE.
32465c3e
UD
22837 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22838 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22839 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22840 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22841 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22842 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22843
c0dafcf1
UD
22844 * posix/getconf.c: Update copyright year.
22845 * catgets/gencat.c: Likewise.
22846 * csu/version.c: Likewise.
22847 * debug/catchsegv.sh: Likewise.
22848 * debug/xtrace.sh: Likewise.
22849 * elf/ldconfig.c: Likewise.
22850 * elf/ldd.bash.in: Likewise.
22851 * elf/sprof.c (print_version): Likewise.
22852 * iconv/iconv_prog.c: Likewise.
22853 * iconv/iconvconfig.c: Likewise.
22854 * locale/programs/locale.c: Likewise.
22855 * locale/programs/localedef.c: Likewise.
22856 * malloc/memusage.sh: Likewise.
22857 * malloc/mtrace.pl: Likewise.
22858 * nscd/nscd.c (print_version): Likewise.
22859 * nss/getent.c: Likewise.
22860
a77e8cbc
UD
22861 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22862 PF_CAIF, and PF_ALG.
22863 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22864
77e8bddf
AS
228652011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22866
1f20b93a
AS
22867 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22868 (modules-names): Use them.
22869 (ifunc-test-modules, ifunc-pie-tests): Define.
22870 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22871 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22872 (test-extras): Likewise.
22873 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22874 $(compile-command.c).
22875 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22876 (all-built-dso): Define.
22877 (check-textrel.out, check-execstack.out): Depend on it.
22878
77e8bddf
AS
22879 * configure.in: Don't override --enable-multi-arch.
22880
bc425b33
UD
228812011-01-15 Ulrich Drepper <drepper@gmail.com>
22882
22883 [BZ #6812]
22884 * nscd/hstcache.c (tryagain): Define.
22885 (cache_addhst): Return tryagain not notfound for temporary errors.
22886 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22887 failed.
22888
794c3ad3
UD
228892011-01-14 Ulrich Drepper <drepper@gmail.com>
22890
70181fdd
UD
22891 [BZ #10563]
22892 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22893 to make the syscall.
22894 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22895
794c3ad3
UD
22896 [BZ #12378]
22897 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22898 and fall back to matching as normal character if the string ends before
22899 the matching ']' is found. This is what POSIX requires.
22900 * posix/testfnm.c: Adjust test result.
22901 * posix/globtest.sh: Adjust test result. Add new test.
22902 * posix/tst-fnmatch.input: Likewise.
22903 * posix/tst-fnmatch2.c: Add new test.
22904
68dc9497
AS
229052010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22906
22907 * elf/Makefile (check-execstack): Revert last change. Depend on
22908 check-execstack.h.
22909 (check-execstack.h): New target.
22910 (generated): Add check-execstack.h.
22911 * elf/check-execstack.c: Include "check-execstack.h".
22912 (main): Revert last change.
22913 (handle_file): Return zero if GNU_STACK is absent and
22914 DEFAULT_STACK_PERMS doesn't include PF_X.
22915
451f001b
UD
229162011-01-13 Ulrich Drepper <drepper@gmail.com>
22917
cfa28e56
UD
22918 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22919 in child fails because the descriptor is already closed.
8cf8ce17
UD
22920 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22921 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22922 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22923
1086d70d
UD
22924 [BZ #12397]
22925 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22926 syscall.
22927
451f001b
UD
22928 [BZ #10484]
22929 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22930 temporary buffer used to handle multi lookups locally.
a85b5cb4 22931 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22932
08769175
UD
229332011-01-12 Ulrich Drepper <drepper@gmail.com>
22934
22935 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22936 loader is ld.so.
22937
5e49c52e
UD
229382011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22939
22940 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22941 alignment for SSE2.
22942
60522a5f
UD
229432011-01-12 Ulrich Drepper <drepper@gmail.com>
22944
22945 [BZ #12394]
22946 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22947 characters. When rounding increased number of integer digits recompute
22948 number of groups.
22949 * stdio-common/tst-grouping.c: New file.
22950 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22951
f257bbd7
UD
229522011-01-09 Ulrich Drepper <drepper@gmail.com>
22953
22954 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22955 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22956
22957 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22958 void.
22959 * bits/select.h: Likewise.
22960
fa9c15cb
UD
229612011-01-08 Ulrich Drepper <drepper@gmail.com>
22962
22963 * po/ja.po: Update from translation team.
22964
16c2895f
DM
229652011-01-04 David S. Miller <davem@sunset.davemloft.net>
22966
22967 [BZ #11155]
22968 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22969 implementation just like for lxstat, fxstatat, et al.
22970
2543fef2
JM
229712010-12-27 Jim Meyering <meyering@redhat.com>
22972
22973 [BZ #12348]
22974 * posix/regexec.c (build_trtable): Return failure indication upon
22975 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22976
98727dbe
UD
229772010-12-25 Ulrich Drepper <drepper@gmail.com>
22978
5bd6dc5c
UD
22979 [BZ #12201]
22980 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22981 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22982 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22983 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22984
97983464
UD
22985 [BZ #12207]
22986 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22987
98727dbe
UD
22988 [BZ #12204]
22989 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22990 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22991
4a531bb0
L
229922010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22993
22994 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22995 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22996 script has SORT_BY_INIT_PRIORITY.
22997 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22998 NO_CTORS_DTORS_SECTIONS is defined.
22999 * elf/soinit.c: Likewise.
23000 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23001 NO_CTORS_DTORS_SECTIONS is defined.
23002 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23003 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23004 * sysdeps/sh/init-first.c: Likewise.
23005 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23006
07eb4b71
UD
230072010-12-24 Ulrich Drepper <drepper@gmail.com>
23008
23009 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23010 always use the slow path.
23011
30950a5f
RA
230122010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23013
23014 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23015 similar rule which adds the sysdep directories to the header search in
23016 order to pick up the correct platform stackinfo.h.
23017 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23018 perform test if it is, otherwise return successfully without testing.
23019 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23020 DEFAULT_STACK_PERMS define in stackinfo.h.
23021 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23022 defined in stackinfo.h.
23023 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23024 DEFAULT_STACK_PERMS defined in stackinfo.h.
23025 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23026 * sysdeps/ia64/stackinfo.h: Likewise.
23027 * sysdeps/s390/stackinfo.h: Likewise.
23028 * sysdeps/sh/stackinfo.h: Likewise.
23029 * sysdeps/sparc/stackinfo.h: Likewise.
23030 * sysdeps/x86_64/stackinfo.h: Likewise.
23031 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23032 PF_X for powerpc64. Retain PF_X for powerpc32.
23033
db753e2c
UD
230342010-12-19 Ulrich Drepper <drepper@gmail.com>
23035
14b697f7
UD
23036 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23037 accurately.
db753e2c
UD
23038 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23039 GETDENTS_64BIT_ALIGNED.
23040
28300719
UD
230412010-12-14 Ulrich Drepper <dreper@gmail.com>
23042
14b697f7 23043 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23044
4f197237
AS
230452010-12-10 Andreas Schwab <schwab@redhat.com>
23046
dbb0472f
AS
23047 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23048 _GNU_SOURCE.
23049
4f197237
AS
23050 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23051 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23052 Remove __restrict.
23053 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23054 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23055
fb88ac72
UD
230562010-12-09 Ulrich Drepper <drepper@gmail.com>
23057
23058 [BZ #11655]
23059 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23060 are initialized.
23061
42acbb92
JJ
230622010-12-09 Jakub Jelinek <jakub@redhat.com>
23063
23064 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23065
c038d98d
UD
230662010-12-03 Ulrich Drepper <drepper@gmail.com>
23067
23068 * po/it.po: Update from translation team.
23069
3a4a2499
L
230702010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23071
23072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23073 unused codes.
23074
1e24cf6e
UD
230752010-11-30 Ulrich Drepper <drepper@gmail.com>
23076
23077 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23078
a7690819
AS
230792010-11-24 Andreas Schwab <schwab@redhat.com>
23080
23081 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23082 specially.
23083 (gaih_getanswer_slice): Likewise.
23084
3bf8d1b1
JJ
230852010-10-20 Jakub Jelinek <jakub@redhat.com>
23086
23087 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23088
6db52fbb
PB
230892010-05-31 Petr Baudis <pasky@suse.cz>
23090
23091 [BZ #11149]
23092 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23093 silently even in the chroot mode.
23094
eaca7569
UD
230952010-11-22 Ulrich Drepper <drepper@gmail.com>
23096
23097 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23098 last patch a bit. Pretty printing
23099
3056dcdb
UD
231002010-05-31 Petr Baudis <pasky@suse.cz>
23101
23102 [BZ #10085]
23103 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23104 initialization of skip_initgroups_dyn.
23105
cf7c9078
UD
231062010-11-19 Ulrich Drepper <drepper@gmail.com>
23107
23108 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23109 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23110
a1fb5e3e
UD
231112010-11-16 Ulrich Drepper <drepper@gmail.com>
23112
23113 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23114
3540d66b
AS
231152010-11-11 Andreas Schwab <schwab@redhat.com>
23116
23117 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23118 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23119 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23120 ($(objpfx)tst-fnmatch-mem): New rule.
23121 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23122 * posix/tst-fnmatch.c (main): Call mtrace.
23123
13b69574
L
231242010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23125
23126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23127 Support Intel processor model 6 and model 0x2c.
23128
da93d214
LM
231292010-11-10 Luis Machado <luisgpm@br.ibm.com>
23130
23131 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23132 signed comparison.
23133
8ca52c6e
L
231342010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23135
23136 [BZ #12205]
23137 * string/test-strncasecmp.c (check_result): New function.
23138 (do_one_test): Use it.
23139 (check1): New function.
23140 (test_main): Use it.
23141 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23142 Support strcasecmp and strncasecmp.
23143
69da074d
UD
231442010-11-08 Ulrich Drepper <drepper@gmail.com>
23145
23146 [BZ #12194]
23147 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23148 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23149
ff02d528
L
231502010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23151
23152 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23153 IFUNC support.
23154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23155 memset-x86-64.
23156 * sysdeps/x86_64/multiarch/bzero.S: New file.
23157 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23158 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23159 * sysdeps/x86_64/multiarch/memset.S: New file.
23160 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23162 Set bit_Prefer_SSE_for_memop for Intel processors.
23163 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23164 Define.
23165 (index_Prefer_SSE_for_memop): Define.
23166 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23167
344d0b54
LM
231682010-11-04 Luis Machado <luisgpm@br.ibm.com>
23169
23170 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23171 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23172
c0dde15b
UD
231732010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23174
23175 [BZ #12191]
23176 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23177 (__x86_64_raw_data_cache_size_half): Likewise.
23178 (__x86_64_raw_shared_cache_size): Likewise.
23179 (__x86_64_raw_shared_cache_size_half): Likewise.
23180
23181 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23182 (__x86_64_raw_data_cache_size_half): Likewise.
23183 (__x86_64_raw_shared_cache_size): Likewise.
23184 (__x86_64_raw_shared_cache_size_half): Likewise.
23185 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23186 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23187 and __x86_64_raw_shared_cache_size_half. Round
23188 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23189 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23190 to multiple of 256 bytes.
23191
0e516e0e
MS
231922010-11-03 Ulrich Drepper <drepper@gmail.com>
23193
23194 [BZ #12167]
23195 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23196 of inacessible symlinks. Verify result of symlink before returning it.
23197 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23198 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23199
0e012e87
ER
232002010-10-28 Erich Ritz <erichritz@gmail.com>
23201
23202 * math/math.h (isinf): Fix typo in comment.
23203
de0ff7bc
UD
232042010-11-01 Ulrich Drepper <drepper@gmail.com>
23205
23206 * po/da.po: Update from translation team.
23207
fa41c84d
UD
232082010-10-26 Ulrich Drepper <drepper@gmail.com>
23209
23210 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23211 is added to the list.
23212
f0967738
AK
232132010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23214 Ulrich Drepper <drepper@gmail.com>
23215
23216 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23217 the global list here. Move code to...
23218 (_dl_add_to_namespace_list): ...here. New function.
23219 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23220 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23221 * elf/dl-load.c (lose): Don't remove the element from the list.
23222 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23223 (_dl_map_object): Likewise.
23224
232252010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23226
23227 [BZ #12159]
23228 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23229 into all bytes of SSE register.
23230 Patch by Richard Li <richardpku@gmail.com>.
23231
f0967738 232322010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23233
23234 [BZ #12140]
23235 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23236 perturbing.
23237
d0b9e94f
MB
232382010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23239
23240 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23241 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23242 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23243 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23245 submachine.
23246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23247
8e9f92e9
AS
232482010-10-22 Andreas Schwab <schwab@redhat.com>
23249
23250 * include/dlfcn.h (__RTLD_SECURE): Define.
23251 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23252 mode & __RTLD_SECURE instead.
23253 (open_path): Rename preloaded parameter to secure.
23254 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23255 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23256 * elf/dl-deps.c (openaux): Likewise.
23257 * elf/rtld.c (struct map_args): Remove is_preloaded.
23258 (map_doit): Don't use it.
23259 (dl_main): Likewise.
23260 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23261 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23262
bc96fbda
AS
232632010-09-09 Andreas Schwab <schwab@redhat.com>
23264
23265 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23266 (sysd-rules-targets): Remove duplicates.
23267 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23268 rtld-%.$o dependency.
23269
22cd1c9b
AS
232702010-10-18 Andreas Schwab <schwab@redhat.com>
23271
23272 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23273 _dl_map_object do it.
23274
18edac48
UD
232752010-10-19 Ulrich Drepper <drepper@gmail.com>
23276
23277 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23278 fast fma builtins, define the macros in the C99 standard.
23279 (FP_FAST_FMAF): Likewise.
23280 (FP_FAST_FMAL): Likewise.
23281 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23282
23283 * bits/mathdef.h: Update copyright year.
23284 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23285
d2050124
MM
232862010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23287
23288 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23289 builtins, define the macros in the C99 standard.
23290 (FP_FAST_FMAF): Likewise.
23291 (FP_FAST_FMAL): Likewise.
23292 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23293 multiply/add.
23294 (FP_FAST_FMAF): Likewise.
23295
475facd1
JJ
232962010-10-15 Jakub Jelinek <jakub@redhat.com>
23297
23298 [BZ #3268]
23299 * math/libm-test.inc (fma_test): Some new testcases.
23300 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23301 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23302 y and infinite z. Do multiplication by C already in long double.
23303 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23305 y and infinite z. Do bitwise or of inexact bit into u.d.
23306 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23307 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23308 * sysdeps/i386/fpu/s_fma.S: Removed.
23309 * sysdeps/i386/fpu/s_fmal.S: Removed.
23310
7c08a05c
JJ
233112010-10-16 Jakub Jelinek <jakub@redhat.com>
23312
23313 [BZ #3268]
23314 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23315 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23316 computation is not scheduled after fetestexcept. Fix value
23317 of minimum denormal long double.
23318
f3f7372d
JJ
233192010-10-14 Jakub Jelinek <jakub@redhat.com>
23320
23321 [BZ #3268]
23322 * math/libm-test.inc (fma_test): Add some more tests.
23323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23324 correctly.
23325
14d43591
AS
233262010-10-15 Andreas Schwab <schwab@redhat.com>
23327
23328 * scripts/data/localplt-s390-linux-gnu.data: New file.
23329 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23330
5e908464
JJ
233312010-10-13 Jakub Jelinek <jakub@redhat.com>
23332
23333 [BZ #3268]
23334 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23335 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23336 instead of dbl-64.
23337 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23338 inlines.
23339 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23341 if one of x and y is very large and the other is subnormal.
23342 * sysdeps/s390/fpu/s_fmaf.c: New file.
23343 * sysdeps/s390/fpu/s_fma.c: New file.
23344 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23345 * sysdeps/powerpc/fpu/s_fma.S: New file.
23346 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23347 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23348 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23349
233502010-10-12 Jakub Jelinek <jakub@redhat.com>
23351
23352 [BZ #3268]
23353 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23354 fma tests.
23355 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23356 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23357 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23358 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23359 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23360 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23361 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23362
b833d51f
UD
233632010-10-12 Ulrich Drepper <drepper@redhat.com>
23364
23365 [BZ #12078]
23366 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23367 * posix/bug-regex31.input: Add test case.
23368
1751705d
UD
233692010-10-11 Ulrich Drepper <drepper@gmail.com>
23370
e9b9cbf5
UD
23371 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23372 * posix/bug-regex31.input: New file.
23373
23374 [BZ #12078]
23375 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23376 (parse_sub_exp): Fix last change, use postorder.
23377
ef06edbe
UD
23378 * posix/bug-regex31.c: New file.
23379 * posix/Makefile: Add rules to build and run bug-regex31.
23380
a129c80d
UD
23381 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23382
23383 [BZ #12078]
23384 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23385
b76b818e
UD
23386 [BZ #12108]
23387 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23388 to have entries in sys_siglist.
23389
1751705d
UD
23390 [BZ #12093]
23391 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23392 be NULL.
23393
9ff8d36f
JJ
233942010-10-07 Jakub Jelinek <jakub@redhat.com>
23395
23396 [BZ #3268]
23397 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23398 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23399 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23400 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23401 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23402 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23403 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23404 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23405 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23406 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23407 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23408 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23409 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23410 * math/ftestexcept.c (fetestexcept): Likewise.
23411 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23412 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23413 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23414 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23415 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23416 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23417 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23418
af325969
UD
234192010-10-11 Ulrich Drepper <drepper@gmail.com>
23420
c579b202 23421 [BZ #12107]
af325969
UD
23422 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23423 newline.
23424
67a67b95
UD
234252010-10-06 Ulrich Drepper <drepper@gmail.com>
23426
23427 * string/bug-strstr1.c: New file.
23428 * string/Makefile: Add rules to build and run bug-strstr1.
23429
5fb308bc
EB
234302010-10-05 Eric Blake <eblake@redhat.com>
23431
23432 [BZ #12092]
23433 * string/str-two-way.h (two_way_long_needle): Always clear memory
23434 when skipping input due to the shift table.
23435
45db99c7
UD
234362010-10-03 Ulrich Drepper <drepper@gmail.com>
23437
3b111893
UD
23438 [BZ #12005]
23439 * malloc/mcheck.c: Handle large requests.
23440
45db99c7
UD
23441 [BZ #12077]
23442 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23443 for strncmp and strncasecmp.
23444 * string/stratcliff.c: Add tests for strcmp and strncmp.
23445 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23446
cf7a1eb8
NI
234472010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23448
23449 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23450 __set_fpscr.
23451
6484ba5e
AJ
234522010-09-30 Andreas Jaeger <aj@suse.de>
23453
23454 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23455 (CGROUP_SUPER_MAGIC): Define.
23456 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23457 Handle btrfs and cgroup file systems.
23458 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23459 Likewise.
23460
91c42559
LM
234612010-09-27 Luis Machado <luisgpm@br.ibm.com>
23462
23463 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23464 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23465
87a97932
AK
234662010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23467
23468 [BZ #12067]
23469 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23470 trying to locate the ELF header.
23471
c21cc9bc
AS
234722010-09-27 Andreas Schwab <schwab@redhat.com>
23473
23474 [BZ #11611]
23475 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23476 Mask out sign-bit copies when constructing f_fsid.
23477
315970f6
PB
234782010-09-24 Petr Baudis <pasky@suse.cz>
23479
23480 * debug/stack_chk_fail_local.c: Add missing licence exception.
23481 * debug/warning-nop.c: Likewise.
23482
1ac7a2c7
JM
234832010-09-15 Joseph Myers <joseph@codesourcery.com>
23484
23485 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23486 implementing getdents64 using getdents syscall, set d_type if
23487 __ASSUME_GETDENTS32_D_TYPE.
23488
56801c50
AS
234892010-09-16 Andreas Schwab <schwab@redhat.com>
23490
23491 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23492 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23493
dda51327
UD
234942010-09-21 Ulrich Drepper <drepper@redhat.com>
23495
23496 [BZ #12037]
23497 * posix/unistd.h: Undo change of feature selection for ftruncate from
23498 2010-01-11.
23499
8ffcee4a
UD
235002010-09-20 Ulrich Drepper <drepper@redhat.com>
23501
a545ecd9 23502 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23503 detection.
23504
e24f0a8b
AS
235052010-09-20 Andreas Schwab <schwab@redhat.com>
23506
23507 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23508 fanotify_mark.
23509 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23510
7291c56f
AS
235112010-09-14 Andreas Schwab <schwab@redhat.com>
23512
23513 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23514 variables after CHECK_SP call.
23515 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23516
bc5fb037
AS
235172010-09-13 Andreas Schwab <schwab@redhat.com>
23518 Ulrich Drepper <drepper@redhat.com>
23519
23520 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23521 re-relocationg ld.so.
23522 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23523 _dl_init_paths call.
23524 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23525 here anymore.
23526
e66e7419
UD
235272010-09-14 Ulrich Drepper <drepper@redhat.com>
23528
23529 * resolv/res_init.c (__res_vinit): Count the default server we added.
23530
c044aa75
CLT
235312010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23532 Ulrich Drepper <drepper@redhat.com>
23533
23534 [BZ #11968]
23535 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23536 (____longjmp_chk): Use %ebx for saving value across system call.
23537 Add unwind info.
23538
32cf4069
AS
235392010-09-06 Andreas Schwab <schwab@redhat.com>
23540
23541 * manual/Makefile: Don't mix pattern rules with normal rules.
23542
817328ee
AS
235432010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23544
23545 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23546 operation.
23547 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23548 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23549 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23550 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23551 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23552 Likewise.
23553
29fddf61
UD
235542010-09-04 Ulrich Drepper <drepper@redhat.com>
23555
23556 [BZ #11979]
23557 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23558 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23559
0959ffc9
UD
235602010-09-02 Ulrich Drepper <drepper@redhat.com>
23561
23562 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23563 * sysdeps/x86_64/addmul_1.S: Likewise.
23564 * sysdeps/x86_64/lshift.S: Likewise.
23565 * sysdeps/x86_64/mul_1.S: Likewise.
23566 * sysdeps/x86_64/rshift.S: Likewise.
23567 * sysdeps/x86_64/sub_n.S: Likewise.
23568 * sysdeps/x86_64/submul_1.S: Likewise.
23569
ece29840
ST
235702010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23571
0959ffc9
UD
23572 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23573 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23574 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23575 * bits/sched.h [__need_schedparam]
ece29840 23576 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23577 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23578 (__defined_schedparam): Define to 1.
ece29840
ST
23579 (__sched_param): New structure, identical to sched_param.
23580 (__need_schedparam): Undefine.
23581
e53a31fe
MF
235822010-08-31 Mike Frysinger <vapier@gentoo.org>
23583
fdc0c10d
MF
23584 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23585 (epoll_create1): Declare.
23586
e53a31fe
MF
23587 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23588
a726d796
AS
235892010-08-31 Andreas Schwab <schwab@redhat.com>
23590
23591 [BZ #7066]
23592 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23593 shifting retval into place.
23594
2f3e3dc7
UD
235952010-09-01 Ulrich Drepper <drepper@redhat.com>
23596
f2933da9
UD
23597 * nis/rpcsvc/nis.h: Update copyright notice.
23598 * nis/rpcsvc/nis.x: Likewise.
23599 * nis/rpcsvc/nis_callback.h: Likewise.
23600 * nis/rpcsvc/nis_callback.x: Likewise.
23601 * nis/rpcsvc/nis_object.x: Likewise.
23602 * nis/rpcsvc/nis_tags.h: Likewise.
23603 * nis/rpcsvc/yp.h: Likewise.
23604 * nis/rpcsvc/yp.x: Likewise.
23605 * nis/rpcsvc/ypupd.h: Likewise.
23606 * nis/yp_xdr.c: Likewise.
23607 * nis/ypupdate_xdr.c: Likewise.
23608
2f3e3dc7
UD
23609 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23610 mainly the body of pmap_getport. Add parameters to specify timeouts.
23611 (pmap_getport): Use __libc_rpc_getport.
23612 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23613 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23614 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23615
f3dcc2f9
AS
236162010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23617
23618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23619 fanotify_mark.
23620
6d34eb5b
RM
236212010-08-27 Roland McGrath <roland@redhat.com>
23622
23623 * sysdeps/i386/i686/multiarch/Makefile
23624 (CFLAGS-varshift.c): New variable.
23625
9ea3de11
UD
236262010-08-27 Ulrich Drepper <drepper@redhat.com>
23627
c96d23fc
UD
23628 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23629 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23630
9ea3de11
UD
23631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23632
23633 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23634
623aac7f
L
236352010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23636
23637 * sysdeps/x86_64/strlen.S: Unroll the loop.
23638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23639 strlen-sse2 strlen-sse2-bsf.
23640 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23641 __strlen_no_bsf if bit_Slow_BSF is set.
23642 (__strlen_sse42): Removed.
23643 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23644 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23645
8b2b7715
RM
236462010-08-25 Roland McGrath <roland@redhat.com>
23647
23648 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23649 * sysdeps/x86_64/multiarch/varshift.c: New file.
23650 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23651 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23652 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23653 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23654
e73015f2
L
236552010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23656
23657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23658 strlen-sse2 strlen-sse2-bsf.
23659 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23660 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23661 (__strlen_sse2): Removed.
23662 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23663 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23665 bit_Slow_BSF for Atom.
23666 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23667 (index_Slow_BSF): Define.
23668 (HAS_SLOW_BSF): Define.
23669
df24a73e
UD
236702010-08-25 Ulrich Drepper <drepper@redhat.com>
23671
23672 [BZ #10851]
23673 * resolv/res_init.c (__res_vinit): When no server address at all
23674 is given default to loopback.
23675
f2ac4868
RM
236762010-08-24 Roland McGrath <roland@redhat.com>
23677
09055553
RM
23678 * configure.in: Remove config-name.h generation.
23679 * configure: Regenerated.
23680 * config-name.in: File removed.
23681 * scripts/config-uname.sh: New file.
23682 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23683 ($(objdir)config-name.h): New target.
23684
f2ac4868
RM
23685 * sunrpc/rpc_parse.h: Avoid nested comment.
23686
73f27d5e
RH
236872010-08-24 Richard Henderson <rth@redhat.com>
23688 Ulrich Drepper <drepper@redhat.com>
23689 H.J. Lu <hongjiu.lu@intel.com>
23690
23691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23693 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23694 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23695 _mm_alignr_epi8 with _mm_loadu_si128.
23696 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23697 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23698 (__m128i_shift_right): Removed.
23699 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23700 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23701 * sysdeps/x86_64/multiarch/varshift.h: New file.
23702 * sysdeps/x86_64/multiarch/varshift.S: New file.
23703
84b9230c
MF
237042010-08-21 Mike Frysinger <vapier@gentoo.org>
23705
23706 * configure.in: Move assembler checks to before sysdep dir checking.
23707
9bbd0ddc
PB
237082010-08-20 Petr Baudis <pasky@suse.cz>
23709
23710 * LICENSES: Sync the sunrpc license.
23711
9da4bb31
UD
237122010-08-19 Ulrich Drepper <drepper@redhat.com>
23713
a7ab6ec8
UD
23714 * sunrpc/auth_des.c: Update copyright notice once again.
23715 * sunrpc/auth_none.c: Likewise.
23716 * sunrpc/auth_unix.c: Likewise.
23717 * sunrpc/authdes_prot.c: Likewise.
23718 * sunrpc/authuxprot.c: Likewise.
23719 * sunrpc/bindrsvprt.c: Likewise.
23720 * sunrpc/clnt_gen.c: Likewise.
23721 * sunrpc/clnt_perr.c: Likewise.
23722 * sunrpc/clnt_raw.c: Likewise.
23723 * sunrpc/clnt_simp.c: Likewise.
23724 * sunrpc/clnt_tcp.c: Likewise.
23725 * sunrpc/clnt_udp.c: Likewise.
23726 * sunrpc/clnt_unix.c: Likewise.
23727 * sunrpc/des_crypt.c: Likewise.
23728 * sunrpc/des_soft.c: Likewise.
23729 * sunrpc/get_myaddr.c: Likewise.
23730 * sunrpc/getrpcport.c: Likewise.
23731 * sunrpc/key_call.c: Likewise.
23732 * sunrpc/key_prot.c: Likewise.
23733 * sunrpc/openchild.c: Likewise.
23734 * sunrpc/pm_getmaps.c: Likewise.
23735 * sunrpc/pm_getport.c: Likewise.
23736 * sunrpc/pmap_clnt.c: Likewise.
23737 * sunrpc/pmap_prot.c: Likewise.
23738 * sunrpc/pmap_prot2.c: Likewise.
23739 * sunrpc/pmap_rmt.c: Likewise.
23740 * sunrpc/rpc/auth.h: Likewise.
23741 * sunrpc/rpc/auth_unix.h: Likewise.
23742 * sunrpc/rpc/clnt.h: Likewise.
23743 * sunrpc/rpc/des_crypt.h: Likewise.
23744 * sunrpc/rpc/key_prot.h: Likewise.
23745 * sunrpc/rpc/netdb.h: Likewise.
23746 * sunrpc/rpc/pmap_clnt.h: Likewise.
23747 * sunrpc/rpc/pmap_prot.h: Likewise.
23748 * sunrpc/rpc/pmap_rmt.h: Likewise.
23749 * sunrpc/rpc/rpc.h: Likewise.
23750 * sunrpc/rpc/rpc_des.h: Likewise.
23751 * sunrpc/rpc/rpc_msg.h: Likewise.
23752 * sunrpc/rpc/svc.h: Likewise.
23753 * sunrpc/rpc/svc_auth.h: Likewise.
23754 * sunrpc/rpc/types.h: Likewise.
23755 * sunrpc/rpc/xdr.h: Likewise.
23756 * sunrpc/rpc_clntout.c: Likewise.
23757 * sunrpc/rpc_cmsg.c: Likewise.
23758 * sunrpc/rpc_common.c: Likewise.
23759 * sunrpc/rpc_cout.c: Likewise.
23760 * sunrpc/rpc_dtable.c: Likewise.
23761 * sunrpc/rpc_hout.c: Likewise.
23762 * sunrpc/rpc_main.c: Likewise.
23763 * sunrpc/rpc_parse.c: Likewise.
23764 * sunrpc/rpc_parse.h: Likewise.
23765 * sunrpc/rpc_prot.c: Likewise.
23766 * sunrpc/rpc_sample.c: Likewise.
23767 * sunrpc/rpc_scan.c: Likewise.
23768 * sunrpc/rpc_scan.h: Likewise.
23769 * sunrpc/rpc_svcout.c: Likewise.
23770 * sunrpc/rpc_tblout.c: Likewise.
23771 * sunrpc/rpc_util.c: Likewise.
23772 * sunrpc/rpc_util.h: Likewise.
23773 * sunrpc/rpcinfo.c: Likewise.
23774 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23775 * sunrpc/rpcsvc/key_prot.x: Likewise.
23776 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23777 * sunrpc/rpcsvc/mount.x: Likewise.
23778 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23779 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23780 * sunrpc/rpcsvc/rex.x: Likewise.
23781 * sunrpc/rpcsvc/rstat.x: Likewise.
23782 * sunrpc/rpcsvc/rusers.x: Likewise.
23783 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23784 * sunrpc/rpcsvc/spray.x: Likewise.
23785 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23786 * sunrpc/rtime.c: Likewise.
23787 * sunrpc/svc.c: Likewise.
23788 * sunrpc/svc_auth.c: Likewise.
23789 * sunrpc/svc_authux.c: Likewise.
23790 * sunrpc/svc_raw.c: Likewise.
23791 * sunrpc/svc_run.c: Likewise.
23792 * sunrpc/svc_simple.c: Likewise.
23793 * sunrpc/svc_tcp.c: Likewise.
23794 * sunrpc/svc_udp.c: Likewise.
23795 * sunrpc/svc_unix.c: Likewise.
23796 * sunrpc/svcauth_des.c: Likewise.
23797 * sunrpc/xcrypt.c: Likewise.
23798 * sunrpc/xdr.c: Likewise.
23799 * sunrpc/xdr_array.c: Likewise.
23800 * sunrpc/xdr_float.c: Likewise.
23801 * sunrpc/xdr_mem.c: Likewise.
23802 * sunrpc/xdr_rec.c: Likewise.
23803 * sunrpc/xdr_ref.c: Likewise.
23804 * sunrpc/xdr_sizeof.c: Likewise.
23805 * sunrpc/xdr_stdio.c: Likewise.
23806
9da4bb31
UD
23807 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23808 handling.
23809
bdaa77bc
AS
238102010-08-19 Andreas Schwab <schwab@redhat.com>
23811
23812 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23813
fe2f79db
LM
238142010-08-19 Luis Machado <luisgpm@br.ibm.com>
23815
23816 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23817 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23818 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23819 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23820 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23821 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23822 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23823 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23824 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23825 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23826 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23827 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23828 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23829 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23830
b9b42ee0
AB
238312010-07-26 Anton Blanchard <anton@samba.org>
23832
23833 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23834 * malloc/arena.c (heap_trim): Likewise.
23835
1c06ba31
UD
238362010-08-16 Ulrich Drepper <drepper@redhat.com>
23837
23838 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23839 here. Not...
23840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23841 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23842
f8392f40
L
238432010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23844
23845 * sysdeps/i386/elf/Makefile: New file.
23846
3162f12e
AS
238472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23848
23849 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23850 from fanotify_init.
23851 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23852 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23853
28c90b2c
UD
238542010-08-15 Ulrich Drepper <drepper@redhat.com>
23855
23856 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23857 of strncasecmp_l.
1feccb6c 23858 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23859
ca6bb004
UD
238602010-08-14 Ulrich Drepper <drepper@redhat.com>
23861
e9f82e0d
UD
23862 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23863 strncase_l-nonascii.
23864 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23865 Add strncase_l-ssse3.
23866 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23867 * sysdeps/x86_64/strcmp.S: Likewise.
23868 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23869 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23870 * sysdeps/x86_64/strncase.S: New file.
23871 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23872 * sysdeps/x86_64/strncase_l.S: New file.
23873 * string/Makefile (strop-tests): Add strncasecmp.
23874 * string/test-strncasecmp.c: New file.
23875
23876 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23877 warning.
23878
ca6bb004
UD
23879 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23880 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23881
052fa7b3
AS
238822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23883
23884 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23885
962dba78
UD
238862010-08-12 Ulrich Drepper <drepper@redhat.com>
23887
23888 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23889 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23890 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23891
bebff237
AM
238922010-05-01 Alan Modra <amodra@gmail.com>
23893
23894 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23895 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23896 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23897 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23898 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23899 tidying. Don't tail-call __sigjmp_save for static lib.
23900 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23901 save location.
23902 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23903 (CALL_MCOUNT): Add eh info, and nop after bl.
23904 (TAIL_CALL_SYSCALL_ERROR): New macro.
23905 (PSEUDO_RET): Use it.
23906 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23907 Correct save location of integer regs and cr.
23908 (_dl_profile_resolve): Correct cr save location. Delete nops
23909 after bl when SHARED. Reduce cfi size a little by better
23910 placement of cfi directives.
23911 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23912 make a stack frame. Instead use parm save area as a temp.
23913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23914 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23916 Don't make a stack frame for parent, use parm save area.
23917 Increase child stack frame to 112 bytes. Don't save unused reg,
23918 and adjust reg usage. Set up cfi on error recovery and
23919 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23921 (__makecontext): Add dummy nop after jump to exit.
23922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23923 Use correct parm save area and cr save, reduce stack frame.
23924 Correct cfi for possible PSEUDO_RET frame setup.
23925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23926 Branch to local label emitted by PSEUDO_RET rather than
23927 __syscall_error.
23928
02637374
AS
239292010-08-12 Andreas Schwab <schwab@redhat.com>
23930
23931 [BZ #11904]
23932 * locale/programs/locale.c (print_assignment): New function.
23933 (show_locale_vars): Use it.
23934
c3e2f19b
UD
239352010-08-11 Ulrich Drepper <drepper@redhat.com>
23936
3cdaa6ad
UD
23937 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23938 field.
23939 (struct statfs64): Likewise.
23940 (_STATFS_F_FLAGS): Define.
23941 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23942 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23943 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23944 (ST_VALID): Define locally.
23945 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23946 __statvfs_getflags, use the provided value.
23947 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23948 __ASSUME_STATFS_F_FLAGS.
23949
754f7da3
UD
23950 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23951
10b3bedc
UD
23952 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23953 Add sys/fanotify.h.
23954 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23955 fanotify_mask for GLIBC_2.13.
23956 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23957 fanotify_init and fanotify_mark.
23958 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23959 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23960
c08fb0d7
UD
23961 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23962 Add prlimit.
23963 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23964 prlimit64 for GLIBC_2.13.
23965 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23966 prlimit64.
23967 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23968 syscall.
23969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23971 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23972 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23974 add prlimit alias.
23975 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23976
15bac72b
UD
23977 [BZ #11903]
23978 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23979 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23980
c3e2f19b
UD
23981 * nss/Makefile: Add rules to build and run tst-nss-test1.
23982 * shlib-versions: Add entry for libnss_test1.
23983 * nss/nss_test1.c: New file.
23984 * nss/tst-nss-test1.c: New file.
23985
23986 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23987 (__nss_configure_lookup): Set appropriate entry in
23988 __nss_configure_lookup to true.
23989 * nss/nsswitch.h: Define enum with indeces of databases in
23990 databases and __nss_database_custom arrays. Declare
23991 __nss_database_custom.
23992 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23993 to avoid using nscd when custom rules are installed.
23994 * nss/getXXbyYY_r.c: Likewise.
23995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23996
23997 * nss/nss_files/files-parse.c: Whitespace fixes.
23998
f15ce4d8
UD
239992010-08-09 Ulrich Drepper <drepper@redhat.com>
24000
24001 [BZ #11883]
24002 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24003 * posix/fnmatch_loop.c: Likewise.
24004
d22e4cc9
AK
240052010-07-17 Andi Kleen <ak@linux.intel.com>
24006
24007 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24008 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24009 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24010 * Versions.def [GLIBC_2.13]: Add.
24011
805bc17d
UD
240122010-08-06 Ulrich Drepper <drepper@redhat.com>
24013
24014 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24015 Also fail if tpwd after pwuid call is NULL.
24016
5a42321d
ST
240172010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24018
24019 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24020 when converting to ms.
24021
fd3ebeda
ST
240222010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24023
24024 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24025 EOPNOTSUPP errors with ENOTTY.
24026 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24027 EOPNOTSUPP errors with ENOTTY.
24028
73507d3a
UD
240292010-07-31 Ulrich Drepper <drepper@redhat.com>
24030
24031 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24032 Add strcasecmp_l-ssse3.
24033 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24034 strcasecmp.
24035 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24036 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24037 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24038
fe36dd02
UD
240392010-07-30 Ulrich Drepper <drepper@redhat.com>
24040
66f6765a
UD
24041 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24042
42e08a54
UD
24043 * string/Makefile (strop-tests): Add strcasecmp.
24044 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24045 strcasecmp_l-nonascii.
24046 (gen-as-const-headers): Add locale-defines.sym.
24047 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24048 * sysdeps/x86_64/strcasecmp.S: New file.
24049 * sysdeps/x86_64/strcasecmp_l.S: New file.
24050 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24051 * sysdeps/x86_64/locale-defines.sym: New file.
24052 * string/test-strcasecmp.c: New file.
24053
fe36dd02
UD
24054 * string/test-strcasestr.c: Test both ends of the range of characters.
24055 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24056
48cbc0d6
RM
240572010-07-29 Roland McGrath <roland@redhat.com>
24058
76e6d6bc 24059 [BZ #11856]
48cbc0d6
RM
24060 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24061
880113d9
UD
240622010-07-27 Ulrich Drepper <drepper@redhat.com>
24063
24064 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24065 for ld.so.
24066
deb9cabb
AS
240672010-07-27 Andreas Schwab <schwab@redhat.com>
24068
24069 * manual/memory.texi (Malloc Tunable Parameters): Document
24070 M_PERTURB.
24071
1c7570ff
RM
240722010-07-26 Roland McGrath <roland@redhat.com>
24073
24074 [BZ #11840]
24075 * configure.in (-fgnu89-inline check): Set and substitute
24076 gnu89_inline, not libc_cv_gnu89_inline.
24077 * configure: Regenerated.
24078 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24079
24fb0f88
UD
240802010-07-26 Ulrich Drepper <drepper@redhat.com>
24081
24082 * string/test-strnlen.c: New file.
24083 * string/Makefile (strop-tests): Add strnlen.
24084 * string/tester.c (test_strnlen): Add a few more test cases.
24085 * string/tst-strlen.c: Better error reporting.
24086
24087 * sysdeps/x86_64/strnlen.S: New file.
24088
8e96b93a
UD
240892010-07-24 Ulrich Drepper <drepper@redhat.com>
24090
24091 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24092 lower-latency instructions.
24093
dbc676d4
UD
240942010-07-23 Ulrich Drepper <drepper@redhat.com>
24095
24096 * string/test-strcasestr.c: New file.
24097 * string/test-strstr.c: New file.
24098 * string/Makefile (strop-tests): Add strstr and strcasestr.
24099 * string/str-two-way.h: Don't undefine MAX.
24100 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24101
f6a31e0e
AS
241022010-07-21 Andreas Schwab <schwab@redhat.com>
24103
24104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24105 strcasestr-nonascii.
24106 (CFLAGS-strcasestr-nonascii.c): Define.
24107 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24108 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24109 Remove unused attribute.
24110
5dbc3b6c
RM
241112010-07-20 Roland McGrath <roland@redhat.com>
24112
24113 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24114 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24115 ld.so.cache was broken. With it, there is no way to disable dsocaps
24116 like LD_HWCAP_MASK can disable hwcaps.
24117
23d101d8
EPM
241182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24119
24120 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24121
cc9f2e47
UD
241222010-07-16 Ulrich Drepper <drepper@redhat.com>
24123
24124 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24125 call in strcasestr.
24126 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24127 __strcasestr_sse42_nonascii.
24128 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24129 strcasestr-nonascii.c.
24130 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24131
77c1b069
LM
241322010-06-15 Luis Machado <luisgpm@br.ibm.com>
24133
24134 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24135 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24137 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24138
440566c3
UD
241392010-07-09 Ulrich Drepper <drepper@redhat.com>
24140
24141 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24142 fcntl.
24143
5be9d05d
AS
241442010-07-06 Andreas Schwab <schwab@redhat.com>
24145
c30b7ee2 24146 [BZ #11577]
5be9d05d
AS
24147 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24148 dl_signal_cerror.
24149
8a492a67
UD
241502010-07-06 Ulrich Drepper <drepper@redhat.com>
24151
24152 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24153 _PC_PIPE_BUF using F_GETPIPE_SZ.
24154
713df3d5
RM
241552010-07-05 Roland McGrath <roland@redhat.com>
24156
24157 * manual/arith.texi (Rounding Functions): Fix rint description
24158 implicit in round description.
24159
702e8f14
UD
241602010-07-02 Ulrich Drepper <drepper@redhat.com>
24161
24162 * elf/Makefile: Fix linking for a few tests to make recent linker
24163 happy.
24164
52ed8be9
AS
241652010-06-30 Andreas Schwab <schwab@redhat.com>
24166
24167 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24168 $(common-objpfx)libc_nonshared.a.
24169
f47c9a11
LM
241702010-06-21 Luis Machado <luisgpm@br.ibm.com>
24171
24172 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24173 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24174 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24175 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24176 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24177 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24178 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24179 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24194 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24195 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24196 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24197 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24198 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24199 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24200 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24201 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24202 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24203 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24204 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24205 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24220
6fb8cbcb
L
242212010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24222
24223 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24224 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24225 * string/memmove.c (memmove): Renamed to ...
24226 (MEMMOVE): ...this. Default to memmove.
24227 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24228 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24229 (END_CHK): Define.
24230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24231 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24232 mempcpy-ssse3-back memmove-ssse3-back.
24233 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24234 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24235 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24236 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24237 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24238 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24239 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24240 * sysdeps/x86_64/multiarch/memmove.c: New file.
24241 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24242 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24243 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24244 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24245 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24246 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24247 Define.
24248 (index_Fast_Copy_Backward): Define.
24249 (HAS_ARCH_FEATURE): Define.
24250 (HAS_FAST_REP_STRING): Define.
24251 (HAS_FAST_COPY_BACKWARD): Define.
24252
4e733bac 242532010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24254
24255 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24256 Restore proper fallback handling.
24257
63c4ed22
UD
242582010-06-19 Ulrich Drepper <drepper@redhat.com>
24259
ac2b484c
UD
24260 [BZ #11701]
24261 * posix/group_member.c (__group_member): Correct checking loop.
24262
63c4ed22
UD
24263 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24264 OOM in getpwuid_r correctly. Return error number when the caller
24265 should return, otherwise -1.
24266 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24267 call returning > 0 value.
24268 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24269
765ade4b
AS
242702010-06-07 Andreas Schwab <schwab@redhat.com>
24271
24272 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24273 libc_nonshared.a from targets in modules-names.
24274
80da2e09
KS
242752010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24276
24277 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24278 requires it.
24279
158db122
LM
242802010-06-10 Luis Machado <luisgpm@br.ibm.com>
24281
24282 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24283 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24284 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24285 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24286
caa78cf8
AS
242872010-06-02 Andreas Schwab <schwab@redhat.com>
24288
24289 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24290
b2ef2c01
UD
242912010-06-14 Ulrich Drepper <drepper@redhat.com>
24292
24293 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24294 and F_GETPIPE_SZ.
24295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24296 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24297 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24300 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24301
fbd643b6
RM
243022010-06-14 Roland McGrath <roland@redhat.com>
24303
24304 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24305
f32f2869
JJ
243062010-06-07 Jakub Jelinek <jakub@redhat.com>
24307
24308 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24309 __REDIRECT followed by __THROW.
24310 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24311 * posix/getopt.h (getopt): Likewise.
24312
2a50c078
EPM
243132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24314
24315 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24316 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24317 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24318 in AT_FLAGS.
24319 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24320 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24321
eb5ad2eb
LM
243222010-05-28 Luis Machado <luisgpm@br.ibm.com>
24323
24324 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24325
3c88fe1e
L
243262010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24327
24328 [BZ #11640]
24329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24330 Properly check family and model.
24331
d2f73151
TY
243322010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24333
24334 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24335
ebd2e13d
LM
243362010-05-24 Luis Machado <luisgpm@br.ibm.com>
24337
24338 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24339
b32b8b45
UD
243402010-05-21 Ulrich Drepper <drepper@redhat.com>
24341
24342 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24343 symbol reference.
24344
9acbe24d
AS
243452010-05-19 Andreas Schwab <schwab@redhat.com>
24346
24347 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24348 symbol reference.
24349
f0ccf6ea
AS
243502010-05-21 Andreas Schwab <schwab@redhat.com>
24351
3d04ff3a
AS
24352 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24353 and internal_recvmmsg.
24354 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24355 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24356 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24357 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24358
f0ccf6ea
AS
24359 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24360 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24361 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24362
5b08ac57
AS
243632010-05-20 Andreas Schwab <schwab@redhat.com>
24364
24365 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24366
4828935d
LM
243672010-05-17 Luis Machado <luisgpm@br.ibm.com>
24368
24369 POWER7 optimizations.
24370 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24371 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24372
373d545e
UD
243732010-05-19 Ulrich Drepper <drepper@redhat.com>
24374
24375 * version.h: Update for 2.13 development version.
24376
21a2b1ae
AS
243772010-05-12 Andrew Stubbs <ams@codesourcery.com>
24378
24379 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24380 exceptions. Return 0.
24381
3f7dcb2b
RM
243822010-05-07 Roland McGrath <roland@redhat.com>
24383
24384 * elf/ldconfig.c (main): Add a const.
24385
5f24d53a 243862010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24387
a160f8d8
UD
24388 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24389 (args_options): Add no-idn option.
24390 (ahosts_keys_int): Add idn_flags to ai_flags.
24391 (parse_option): Handle 'i' option to clear idn_flags.
24392
5f24d53a
UD
24393 * malloc/malloc.c (_int_free): Possible race in the most recently
24394 added check. Only act on the data if no current modification
24395 happened.
265bb1ce
UD
24396
24397See ChangeLog.17 for earlier changes.
This page took 3.128013 seconds and 5 git commands to generate.