]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Fix the value of TWO
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4
52013-01-15 David S. Miller <davem@davemloft.net>
6
7 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8 trunc{,f} to libm-sysdep_routes.
9 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11 file.
12 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14 file.
15 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16 file.
17 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25
26 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27 nearbyint{,f} to libm-sysdep_routes.
28 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30 New file.
31 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32 file.
33 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34 New file.
35 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36 file.
37 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40 file.
41 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
43 file.
44 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
45 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47
48 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49 libc_feholdexcept and libc_fesetenv.
50
512013-01-15 Mike Frysinger <vapier@gentoo.org>
52
53 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
54
552013-01-14 David S. Miller <davem@davemloft.net>
56
57 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
58 (SPARC_ASM_VIS2_IFUNC): Likewise.
59 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61 use of 'siam' instruction.
62 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
63 Likewise.
64 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
65 Likewise.
66 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
67 Likewise.
68 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
69 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
71 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
73 file.
74 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
75 file.
76 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
77 file.
78 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
79 file.
80 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
81 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
82 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
83 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
84 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
85 new VIS2 routines.
86 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
87 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
88 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
89 Likewise.
90 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
91 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
92 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
93 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
94 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
95 routines to libm-sysdep_routines.
96 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
97
98 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
99 fdim/fdimf to libm-sysdep_routines.
100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
101 file.
102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
104 file.
105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
108 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
109 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
110 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
111 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
112
1132013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
114
115 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
116 to optimize copies.
117
118 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
121
122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
123 local variable MPTWO.
124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
125 Likewise.
126
1272013-01-13 Mike Frysinger <vapier@gentoo.org>
128
129 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
130 GLOB_NOESCAPE.
131
1322013-01-13 Mike Frysinger <vapier@gentoo.org>
133
134 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
135
1362013-01-13 Mike Frysinger <vapier@gentoo.org>
137
138 * manual/pattern.texi (glob_t): Document gl_flags.
139 (glob64_t): Likewise.
140
1412013-01-11 David S. Miller <davem@davemloft.net>
142
143 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
144 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
145 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
146 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
147 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
148 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
149 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
150 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
151 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
152 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
153 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
154 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
155 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
156
157 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
158 sparc V9 rather than using V8 code.
159 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
160 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
161
162 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
163 Move to...
164 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
165 Here.
166
1672013-01-11 Roland McGrath <roland@hack.frob.com>
168
169 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
170 not in the main loop.
171 * configure: Regenerated.
172
1732013-01-11 Joseph Myers <joseph@codesourcery.com>
174
175 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
176 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
177 to just #else.
178 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
179 [!__GLIBC_HAVE_LONG_LONG] case.
180 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
181 condition to just #else.
182 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
183 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
184 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
185 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
186 unconditional.
187 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
188 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
189 #elif condition to just #else.
190 * sysdeps/unix/sysv/linux/sys/sysmacros.h
191 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
192 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
193 #elif condition to just #else.
194
1952013-01-11 Steve Ellcey <sellcey@mips.com>
196
197 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
198 (EF_MIPS_ARCH_64): Fix value.
199 (EF_MIPS_ARCH_32R2): New.
200 (EF_MIPS_ARCH_64R2): New.
201
2022013-01-11 H.J. Lu <hongjiu.lu@intel.com>
203
204 * Makeconfig (+link-pie-before-libc): New.
205 (+link-pie-after-libc): Likewise.
206 (+link-pie-tests): Likewise.
207 (+link-pie): Rewritten.
208 (link-before-libc): Remove $(config-LDFLAGS).
209 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
210 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
211 (config-LDFLAGS): Renamed to ...
212 (rtld-LDFLAGS): This.
213 (rtld-tests-LDFLAGS): New macro.
214 (link-libc-rpath-link): Likewise.
215 (link-libc-tests-rpath-link): Likewise.
216 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
217 (link-libc): Prepand $(link-libc-rpath-link).
218 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
219 (test-program-prefix): New macro.
220 (test-via-rtld-prefix): Likewise.
221 (test-program-cmd): Likewise.
222 (host-test-program-cmd): Likewise.
223 * Makefile ($(common-objpfx)testrun.sh): Replace
224 $(run-program-prefix) with $(test-program-prefix).
225 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
226 $(rtld-LDFLAGS).
227 ($(common-objpfx)shlib.lds): Likewise.
228 (build-module-helper): Likewise.
229 ($(common-objpfx)format.lds): Likewise.
230 * Rules (binaries-pie-tests): New.
231 (binaries-pie-notests): Likewise.
232 (binaries-pie): Rewritten.
233 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
234 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
235 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
236 (make-test-out): Replace $(host-built-program-cmd) with
237 $(host-test-program-cmd).
238 * config.make.in (build-hardcoded-path-in-tests): New variable.
239 * configure.in (--enable-hardcoded-path-in-tests): New configure
240 option.
241 (hardcoded_path_in_tests): New AC_SUBST.
242 * configure: Regenerated.
243 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
244 $(built-program-cmd) with $(test-program-cmd).
245 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
246 (test_program_cmd): This.
247 * elf/Makefile ($(objpfx)order.out): Run test with
248 $(test-program-prefix).
249 ($(objpfx)order2.out): Likewise.
250 ($(objpfx)tst-initorder.out): Likewise.
251 ($(objpfx)tst-initorder2.out): Likewise.
252 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
253 $(test-program-cmd).
254 ($(objpfx)tst-array1-static.out): Likewise.
255 ($(objpfx)tst-array2.out): Likewise.
256 ($(objpfx)tst-array3.out): Likewise.
257 ($(objpfx)tst-array4.out): Likewise.
258 ($(objpfx)tst-array5.out): Likewise.
259 ($(objpfx)tst-array5-static.out): Likewise.
260 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
261 $(test-program-cmd).
262 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
263 $(run-program-prefix) with $(test-program-prefix).
264 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
265 (test_program_prefix): This.
266 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
267 $(run-program-prefix) with $(test-program-prefix).
268 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
269 (test_program_prefix): This.
270 * iconvdata/tst-tables.sh: Likewise.
271 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
272 $(run-program-prefix) with $(test-program-prefix).
273 ($(objpfx)tst-translit.out): Likewise.
274 ($(objpfx)tst-gettext2.out): Likewise.
275 ($(objpfx)tst-gettext4.out): Likewise.
276 ($(objpfx)tst-gettext6.out): Likewise.
277 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
278 (test_program_prefix): This.
279 * intl/tst-gettext2.sh: Likewise.
280 * intl/tst-gettext4.sh Likewise.
281 * intl/tst-gettext6.sh: Likewise.
282 * intl/tst-translit.sh: Likewise.
283 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
284 with $(test-program-cmd).
285 * libio/Makefile ($(objpfx)test-freopen.out): Replace
286 $(run-program-prefix) with $(test-program-prefix).
287 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
288 (test_program_prefix): This.
289 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
290 $(run-program-prefix) with $(test-program-prefix).
291 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
292 (test_program_prefix): This.
293 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
294 * posix/Makefile ($(objpfx)globtest.out): Replace
295 $(run-via-rtld-prefix) and $(test-wrapper) with
296 $(test-program-prefix) and $(test-via-rtld-prefix).
297 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
298 $(test-program-prefix).
299 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
300 $(host-test-program-cmd).
301 (tst-spawn-ARGS): Likewise.
302 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
303 $(test-program-prefix).
304 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
305 (test_via_rtld_prefix): This.
306 (test_wrapper): Renamed to ...
307 (test_program_prefix): This.
308 (run_program_prefix): Replaced by test_program_prefix.
309 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
310 (test_program_prefix): This.
311 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
312 with $(host-test-program-cmd).
313 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
314 $(run-program-prefix) with $(test-program-prefix).
315 ($(objpfx)tst-printf.out): Likewise.
316 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
317 $(test-program-cmd).
318 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
319 (test_program_prefix): This.
320 * stdio-common/tst-unbputc.sh: Likewise.
321 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
322 $(run-program-prefix) with $(test-program-prefix).
323 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
324 (test_program_prefix): This.
325 * string/Makefile ($(objpfx)tst-svc.out): Replace
326 $(built-program-cmd) with $(test-program-cmd).
327
3282013-01-11 Andreas Jaeger <aj@suse.de>
329
330 [BZ #15003]
331 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
332 value. Sync with Linux 3.7.
333
3342013-01-10 David S. Miller <davem@davemloft.net>
335
336 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
337 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
338 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
339
3402013-01-10 Roland McGrath <roland@hack.frob.com>
341
342 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
343 never set.
344 * configure: Regenerated.
345
3462013-01-10 David S. Miller <davem@davemloft.net>
347
348 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
349 sparc V9 rather than using V8 code.
350 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
351 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
352
3532013-01-10 Roland McGrath <roland@hack.frob.com>
354
355 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
356 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
357 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
358 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
359 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
360 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
361 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
362 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
363 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
364 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
365 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
366 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
367 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
368 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
369 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
370 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
371 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
372 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
373 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
374 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
375 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
376 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
377 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
378 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
379 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
380 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
381 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
382
3832013-01-10 David S. Miller <davem@davemloft.net>
384
385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
386
3872013-01-10 H.J. Lu <hongjiu.lu@intel.com>
388
389 * posix/Makefile (tests-static): New variable.
390 (tests): Add $(tests-static).
391 (tst-exec-static-ARGS): New variable.
392 (tst-spawn-static-ARGS): Likewise.
393 * posix/tst-exec-static.c: New file.
394 * posix/tst-spawn-static.c: Likewise.
395 * posix/tst-exec.c: Support run directly.
396 * posix/tst-spawn.c: Likewise.
397
3982013-01-10 Joseph Myers <joseph@codesourcery.com>
399
400 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
401 long.
402 * math/bits/mathcalls.h (llrint): Likewise.
403 (llround): Likewise.
404 * stdlib/stdlib.h (struct drand48_data): Likewise.
405 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
406 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
407 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
408 Likewise.
409 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
410 Likewise.
411 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
412 (elf_greg_t): Likewise.
413 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
414 (__jmp_buf): Likewise.
415 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
416 definitions.
417 (llrint): Likewise, for all definitions.
418 (llrintl): Likewise.
419
420 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
421 Remove [__GNUC__] condition.
422 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
423 condition to just [__USE_ISOC99].
424 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
425
4262013-01-10 H.J. Lu <hongjiu.lu@intel.com>
427
428 [BZ #14200]
429 * sysdeps/unix/sysv/linux/x86/bits/environments.h
430 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
431 defined.
432 (_POSIX_V6_ILP32_OFF32): Likewise.
433 (_XBS5_ILP32_OFF32): Likewise.
434 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
435 (__ILP32_OFFBIG_LDFLAGS): Likewise.
436
4372013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
438
439 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
440
441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
442 doubles __mpexp_twomm1. Adjust usage.
443 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
444 Remove.
445
4462013-01-10 Andreas Schwab <schwab@suse.de>
447
448 [BZ #14964]
449 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
450 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
451
4522013-01-09 David S. Miller <davem@davemloft.net>
453
454 [BZ #15003]
455 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
456 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
457 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
458 TCP_FASTOPEN): Define.
459 (tcp_repair_opt): New structure.
460 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
461 enum values.
462 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
463 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
464 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
465 (tcp_cookie_transactions): New structure.
466
4672013-01-09 Anton Blanchard <anton@samba.org>
468
469 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
470 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
471 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
472 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
473
4742013-01-09 Joseph Myers <joseph@codesourcery.com>
475
476 * include/features.h (__USE_ANSI): Remove.
477
4782013-01-09 Roland McGrath <roland@hack.frob.com>
479
480 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
481
482 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
483
4842013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
485
486 * sysdeps/s390/fpu/libm-test-ulps: Update.
487
488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
489
490 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
491 (__acr): Likewise.
492 (__cpy): Likewise.
493 (norm): Likewise.
494 (denorm): Likewise.
495 (__mp_dbl): Likewise.
496 (__dbl_mp): Likewise.
497 (add_magnitudes): Likewise.
498 (sub_magnitudes): Likewise.
499 (__add): Likewise.
500 (__sub): Likewise.
501 (__mul): Likewise.
502 (__inv): Likewise.
503 (__dvd): Likewise.
504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
505 (__acr): Likewise.
506 (__cpy): Likewise.
507 (norm): Likewise.
508 (denorm): Likewise.
509 (__mp_dbl): Likewise.
510 (__dbl_mp): Likewise.
511 (add_magnitudes): Likewise.
512 (sub_magnitudes): Likewise.
513 (__add): Likewise.
514 (__sub): Likewise.
515 (__mul): Likewise.
516 (__inv): Likewise.
517 (__dvd): Likewise.
518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
519 (__acr): Likewise.
520 (__cpy): Likewise.
521 (norm): Likewise.
522 (denorm): Likewise.
523 (__mp_dbl): Likewise.
524 (__dbl_mp): Likewise.
525 (add_magnitudes): Likewise.
526 (sub_magnitudes): Likewise.
527 (__add): Likewise.
528 (__sub): Likewise.
529 (__mul): Likewise.
530 (__inv): Likewise.
531 (__dvd): Likewise.
532
5332013-01-08 Joseph Myers <joseph@codesourcery.com>
534
535 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
536 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
537 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
538 2 && __USE_EXTERN_INLINES]: Likewise.
539
5402013-01-08 Andreas Jaeger <aj@suse.de>
541
542 [BZ# 14985]
543 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
544 Remove.
545 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
546 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
547
5482013-01-07 Anton Blanchard <anton@samba.org>
549
550 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
551 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
552 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
553 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
554 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
555 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
556 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
557 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
559 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
560 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
561 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
563 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
564 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
565 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
566 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
567 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
568 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
569 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
570 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
571 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
572 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
573 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
574 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
575 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
576 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
577 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
578 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
579 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
580 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
582 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
583 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
584 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
585 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
586 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
587 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
588 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
589 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
590 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
592 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
593
5942013-01-07 Joseph Myers <joseph@codesourcery.com>
595
596 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
597 (__MALLOC_PMT): Likewise.
598 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
599 [__GNUC__], only on [_LIBC].
600 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
601 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
602 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
603 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
604 forward declaration.
605 (realloc_hook_ini): Likewise.
606 (memalign_hook_ini): Likewise.
607 (__libc_memalign): Do not use __MALLOC_PMT in variable
608 declaration.
609 (__libc_valloc): Likewise.
610 (__libc_pvalloc): Likewise.
611 (__libc_calloc): Likewise.
612 (__posix_memalign): Likewise.
613
614 [BZ #14996]
615 * math/s_casinh.c: Include <float.h>.
616 (__casinh): Do not do computation with squaring and square root
617 for large arguments.
618 * math/s_casinhf.c: Include <float.h>.
619 (__casinhf): Do not do computation with squaring and square root
620 for large arguments.
621 * math/s_casinhl.c: Include <float.h>.
622 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
623 (__casinhl): Do not do computation with squaring and square root
624 for large arguments.
625 * math/libm-test.inc (casin_test): Add more tests.
626 (casinh_test): Likewise.
627 * sysdeps/i386/fpu/libm-test-ulps: Update.
628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
629
6302013-01-04 H.J. Lu <hongjiu.lu@intel.com>
631
632 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
633 (__x86_64_raw_data_cache_size): Likewise.
634 (__x86_64_data_cache_size_half): Likewise.
635 (__x86_64_raw_data_cache_size_half): Likewise.
636 (__x86_64_shared_cache_size): Likewise.
637 (__x86_64_raw_shared_cache_size): Likewise.
638 (__x86_64_shared_cache_size_half): Likewise.
639 (__x86_64_raw_shared_cache_size_half): Likewise.
640 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
641 to ...
642 (__x86_data_cache_size): This.
643 (__x86_64_raw_data_cache_size): Renamed to ...
644 (__x86_raw_data_cache_size): This.
645 (__x86_64_data_cache_size_half): Renamed to ...
646 (__x86_data_cache_size_half): This.
647 (__x86_64_raw_data_cache_size_half): Renamed to ...
648 (__x86_raw_data_cache_size_half): This.
649 (__x86_64_shared_cache_size): Renamed to ...
650 (__x86_shared_cache_size): This.
651 (__x86_64_raw_shared_cache_size): Renamed to ...
652 (__x86_raw_shared_cache_size): This.
653 (__x86_64_shared_cache_size_half): Renamed to ...
654 (__x86_shared_cache_size_half): This.
655 (__x86_64_raw_shared_cache_size_half): Renamed to ...
656 (__x86_raw_shared_cache_size_half): This.
657 * sysdeps/x86_64/memcpy.S: Updated.
658 * sysdeps/x86_64/memset.S: Likewise.
659 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
661 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
662
6632013-01-04 David S. Miller <davem@davemloft.net>
664
665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
666
6672013-01-04 Andreas Schwab <schwab@linux-m68k.org>
668
669 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
670 1 to avoid redefinition warning.
671 (__USE_GNU): Don't define.
672 (init_signaling_nan): Protoize.
673
674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
675
6762013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
677
678 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
680 (__cpymn): Likewise.
681 (norm): Remove commented code.
682 (denorm): Likewise.
683 (__mp_dbl): Likewise.
684 (__inv): Likewise.
685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
686 (__cpymn): Likewise.
687 (norm): Remove commented code.
688 (denorm): Likewise.
689 (__mp_dbl): Likewise.
690 (__inv): Likewise.
691
692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
693 mp_no value for 1.0 and 2.0.
694 (norm): Use RADIXI instead of radixi.d.
695 (denorm): Likewise.
696 (__mul): Use 0.0 instead of zero.d.
697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
698 mp_no value for 1.0 and 2.0.
699 (norm): Use RADIXI instead of radixi.d.
700 (denorm): Likewise.
701 (__mul): Use 0.0 instead of zero.d.
702
7032013-01-04 Joseph Myers <joseph@codesourcery.com>
704
705 [BZ #14994]
706 * math/s_casinh.c (__casinh): Reduce finite argument to first
707 quadrant then set signs of results at the end.
708 * math/s_casinhf.c (__casinhf): Likewise.
709 * math/s_casinhl.c (__casinhl): Likewise.
710 * math/libm-test.inc (casin_test): Add more tests.
711 (casinh_test): Likewise.
712 * sysdeps/i386/fpu/libm-test-ulps: Update.
713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
714
7152013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
716
717 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
718
719 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
720
721 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
722 declarations.
723 (denorm): Likewise.
724 (__mp_dbl): Likewise.
725 (__inv): Likewise.
726
727 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
728 and adjust the header comment.
729
730 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
731 variable name from declaration.
732
7332013-01-03 H.J. Lu <hongjiu.lu@intel.com>
734
735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
736 Initialize COMMON_CPUID_INDEX_7 element.
737 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
738 (CPUID_RTM): Likewise.
739 (HAS_RTM): Likewise.
740 (COMMON_CPUID_INDEX_7): New enum.
741
7422013-01-03 Andreas Schwab <schwab@linux-m68k.org>
743
744 [BZ #14981]
745 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
746 size is zero, record memory as freed.
747
7482013-01-03 Andreas Jaeger <aj@suse.de>
749
750 * po/ia.po: Add new Interlingua translation.
751
7522012-01-03 Allan McRae <allan@archlinux.org>
753
754 * locale/programs/localedef.c: Fix description of '--posix' flag.
755
7562013-01-02 Joseph Myers <joseph@codesourcery.com>
757
758 * NEWS: Update dates in second copyright notice.
759 * README: Update copyright dates in example.
760 * manual/libc.texinfo: Update copyright dates.
761 * scripts/test-installation.pl: Update copyright date in --version
762 output.
763
764 * hurd/ctty-input.c: Fix copyright notice formatting.
765 * hurd/ctty-output.c: Likewise.
766 * hurd/dtable.c: Likewise.
767 * hurd/hurd-raise.c: Likewise.
768 * hurd/hurdprio.c: Likewise.
769 * hurd/msgportdemux.c: Likewise.
770 * misc/sys/file.h: Likewise.
771 * misc/sys/ioctl.h: Likewise.
772 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
773 * sysdeps/mach/hurd/chdir.c: Likewise.
774 * sysdeps/mach/hurd/fchdir.c: Likewise.
775 * sysdeps/mach/hurd/rename.c: Likewise.
776 * sysdeps/mach/hurd/rmdir.c: Likewise.
777 * sysdeps/mach/hurd/seekdir.c: Likewise.
778 * sysdeps/mach/hurd/setsid.c: Likewise.
779 * sysdeps/posix/wait3.c: Likewise.
780
781 * All files with FSF copyright notices: Update copyright dates
782 using scripts/update-copyrights.
783 * intl/plural.c: Regenerated.
784 * locale/programs/charmap-kw.h: Likewise.
785 * locale/programs/locfile-kw.h: Likewise.
786
7872013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
788
789 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
790 four values.
791
792 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
793 calculation loop and add branch prediction.
794
795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
796 check access beyond bounds of m1np.
797
798 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
799 MPTWO.
800 (__inv): Remove local variable MPTWO to use the global
801 constant.
802 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
803 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
804 variable MPTWO.
805 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
806 MP3HALFS static const.
807
8082013-01-01 David S. Miller <davem@davemloft.net>
809
810 * po/ca.po: Update from translation team.
811
8122013-01-01 Joseph Myers <joseph@codesourcery.com>
813
814 * scripts/update-copyrights: New file.
815 * Makeconfig: Reformat copyright notice.
816 * ctype/ctype.h: Likewise.
817 * debug/swprintf_chk.c: Likewise.
818 * elf/dl-cache.c: Likewise.
819 * elf/dl-debug.c: Likewise.
820 * elf/dl-object.c: Likewise.
821 * grp/initgroups.c: Likewise.
822 * hurd/Makefile: Likewise.
823 * hurd/hurd/signal.h: Likewise.
824 * hurd/hurdfault.c: Likewise.
825 * hurd/hurdioctl.c: Likewise.
826 * hurd/hurdlookup.c: Likewise.
827 * hurd/intr-msg.c: Likewise.
828 * iconv/gconv_open.c: Likewise.
829 * libio/swprintf.c: Likewise.
830 * locale/lc-ctype.c: Likewise.
831 * locale/nl_langinfo.c: Likewise.
832 * mach/Machrules: Likewise.
833 * mach/Makefile: Likewise.
834 * malloc/obstack.h: Likewise.
835 * manual/Makefile: Likewise.
836 * manual/tsort.awk: Likewise.
837 * misc/bits/stab.def: Likewise.
838 * nis/nis_print_group_entry.c: Likewise.
839 * nis/nis_table.c: Likewise.
840 * nis/nss_compat/compat-pwd.c: Likewise.
841 * nis/nss_compat/compat-spwd.c: Likewise.
842 * po/Makefile: Likewise.
843 * posix/fnmatch.c: Likewise.
844 * posix/regex.h: Likewise.
845 * resolv/Makefile: Likewise.
846 * resolv/nss_dns/dns-network.c: Likewise.
847 * resolv/res_hconf.c: Likewise.
848 * scripts/gen-sorted.awk: Likewise.
849 * soft-fp/soft-fp.h: Likewise.
850 * stdio-common/printf.h: Likewise.
851 * stdlib/monetary.h: Likewise.
852 * stdlib/random.c: Likewise.
853 * stdlib/random_r.c: Likewise.
854 * sysdeps/generic/Makefile: Likewise.
855 * sysdeps/gnu/Makefile: Likewise.
856 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
857 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
858 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
859 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
860 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
863 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
864 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
865 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
866 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
867 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
868 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
869 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
870 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
871 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
872 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
873 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
874 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
876 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
877 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
878 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
879 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
880 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
881 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
882 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
883 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
884 * sysdeps/mach/hurd/errnos.awk: Likewise.
885 * sysdeps/mach/hurd/fork.c: Likewise.
886 * sysdeps/mach/hurd/getcwd.c: Likewise.
887 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
888 * sysdeps/mach/hurd/mmap.c: Likewise.
889 * sysdeps/mach/hurd/utimes.c: Likewise.
890 * sysdeps/mach/hurd/xmknod.c: Likewise.
891 * sysdeps/posix/profil.c: Likewise.
892 * sysdeps/posix/readdir_r.c: Likewise.
893 * sysdeps/powerpc/bits/mathdef.h: Likewise.
894 * sysdeps/powerpc/bits/setjmp.h: Likewise.
895 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
896 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
898 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
899 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
900 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
902 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
903 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
904 * sysdeps/pthread/lio_listio.c: Likewise.
905 * sysdeps/sparc/dl-procinfo.h: Likewise.
906 * sysdeps/unix/i386/sysdep.S: Likewise.
907 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
908 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
909 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
910 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
912 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
913 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
914 * sysdeps/unix/sysv/linux/speed.c: Likewise.
915 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
916 * sysdeps/wordsize-32/divdi3.c: Likewise.
917 * time/sys/time.h: Likewise.
918 * wcsmbs/Makefile: Likewise.
919
9202013-01-01 David S. Miller <davem@davemloft.net>
921
922 * po/fr.po: Update from translation team.
923
924 * catgets/gencat.c: Update copyright year.
925 * csu/version.c: Likewise.
926 * debug/catchsegv.sh: Likewise.
927 * debug/pcprofiledump.c: Likewise.
928 * debug/xtrace.sh: Likewise.
929 * elf/ldconfig.c: Likewise.
930 * elf/ldd.bash.in: Likewise.
931 * elf/pldd.c: Likewise.
932 * elf/sotruss.ksh: Likewise.
933 * elf/sprof.c: Likewise.
934 * iconv/iconv_prog.c: Likewise.
935 * iconv/iconvconfig.c: Likewise.
936 * locale/programs/locale.c: Likewise.
937 * locale/programs/localedef.c: Likewise.
938 * login/programs/pt_chown.c: Likewise.
939 * malloc/memusage.sh: Likewise.
940 * malloc/memusagestat.c: Likewise.
941 * malloc/mtrace.pl: Likewise.
942 * nscd/nscd.c: Likewise.
943 * nss/getent.c: Likewise.
944 * nss/makedb.c: Likewise.
945 * posix/getconf.c: Likewise.
946
9472012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
948
949 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
950 numbers.
951
9522012-12-30 Mike Frysinger <vapier@gentoo.org>
953
954 * math/bits/mathcalls.h (modf): Use __nonnull.
955
9562012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
957
958 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
959 (split): Use macro CN instead of the bare value.
960 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
961 could be used.
962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
963 instead of the bare value.
964 (power1): Likewise.
965
9662012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
967
968 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
969 __ATAN_TWOM.
970 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
971
972 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
973 their values.
974 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
975 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
976 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
977 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
978
9792012-12-28 Andreas Jaeger <aj@suse.de>
980
981 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
982 values are from Linux 3.7.
983
984 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
985 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
986
9872012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
988
989 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
990 TRUE case.
991
992 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
993 (norm): Likewise.
994 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
995 variables with preprocessor constants.
996 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
997 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
998 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
999
10002012-12-27 Bruno Haible <bruno@clisp.org>
1001
1002 [BZ #14317]
1003 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1004 only if needed.
1005
10062012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1007
1008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1009 and use variable directly.
1010 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1011
1012 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1013 MPONE.
1014 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1015 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1016 variable MPONE.
1017 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1019 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1020 include directive. Remove local variable MPONE.
1021 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1022 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1024
10252012-12-25 David S. Miller <davem@davemloft.net>
1026
1027 * version.h (RELEASE): Set to "development".
1028 (VERSION): Set to "2.17.90".
1029 * NEWS: Add 2.18 section.
1030
10312012-12-21 David S. Miller <davem@davemloft.net>
1032
1033 * po/hr.po: Update from translation team.
1034
10352012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1036
1037 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1038
10392012-12-19 Steve Ellcey <sellcey@mips.com>
1040
1041 * NEWS: Mention new memcpy for MIPS.
1042
10432012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1044
1045 * manual/contrib.texi (Contributors): Spelling correction.
1046
10472012-12-15 David S. Miller <davem@davemloft.net>
1048
1049 * po/ru.po: Update from translation team.
1050
10512012-12-13 David S. Miller <davem@davemloft.net>
1052
1053 * NEWS: Mention IFUNC testsuite enhancements.
1054
1055 * po/pl.po: Update from translation team.
1056 * po/bg.po: Likewise.
1057
1058 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1059 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1060
10612012-12-11 David S. Miller <davem@davemloft.net>
1062
1063 * po/sv.po: Update from translation team.
1064
1065 * po/vi.po: Update from translation team.
1066
1067 * po/cs.po: Update from translation team.
1068
1069 * po/de.po: Update from translation team.
1070 * po/eo.po: Likewise.
1071 * po/nl.po: Likewise.
1072
10732012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1074
1075 [BZ #14246]
1076 * manual/argp.texi (Argp Helper Functions): Move node to follow
1077 Argp Parsing State.
1078
1079 [BZ #14872]
1080 * manual/conf.texi (Limits on File System Capacity): Mention if
1081 terminating null is included in the max size.
1082
10832012-12-10 Andreas Jaeger <aj@suse.de>
1084
1085 * po/cs.po: Update from translation team.
1086
10872012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1088
1089 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1090 void pointer and cast to uintptr_t.
1091 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1092 path.
1093 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1094 * sysdeps/s390/s390-64/memset.S: Likewise.
1095
10962012-12-08 Benno Schulenberg <bensberg@justemail.net>
1097
1098 [BZ #14833]
1099 * menual/message.texi (Message Translation): Fix typos.
1100 (Helper programs for gettext): Likewise.
1101
11022012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1103
1104 [BZ #14898]
1105 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1106 Change to -1.
1107
11082012-12-07 David S. Miller <davem@davemloft.net>
1109
1110 * po/libc.pot: Update.
1111
11122012-12-07 Richard Henderson <rth@redhat.com>
1113
1114 [BZ #10114]
1115 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1116 normal/normal case to before the switch.
1117 (_FP_DIV): Likewise.
1118
11192012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1120 Mike Frysinger <vapier@gentoo.org>
1121
1122 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1123 check for __NR_fadvise64_64.
1124
11252012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1126
1127 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1128 0, not just to plain "0" as a statement.
1129 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1130 with cw.
1131
11322012-12-06 Joseph Myers <joseph@codesourcery.com>
1133
1134 * NEWS: Use sourceware.org in Bugzilla URL.
1135
11362012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1137
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1139 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1140
1141 * stdio-common/tst-put-error.c (do_test): Add newline to the
1142 padded test to ensure flush.
1143
11442012-12-05 Jeff Law <law@redhat.com>
1145
1146 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1147
11482012-12-05 Joseph Myers <joseph@codesourcery.com>
1149
1150 * README: Don't refer to ports add-on as distributed separately.
1151 Mention AArch64 in list of systems supported in the ports add-on.
1152
1153 * LICENSES: Add more non-FSF copyright and license notices.
1154
1155 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1156 ((unused)).
1157
1158 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1159
1160 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1161 10000 as width of padded output.
1162
11632012-12-04 Joseph Myers <joseph@codesourcery.com>
1164
1165 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1166
1167 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1168 variable LX with __attribute__ ((unused)).
1169 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1170 Likewise.
1171 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1173 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1174 with __attribute__ ((unused)).
1175
11762012-12-04 David S. Miller <davem@abraco.davemloft.net>
1177
1178 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1179
11802012-12-04 Joseph Myers <joseph@codesourcery.com>
1181
1182 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1183 (CFLAGS-nldbl-acos.c): New variable.
1184 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1185 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1186 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1187 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1188 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1189 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1190 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1191 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1192 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1193 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1194 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1195 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1196 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1197 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1198 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1199 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1200 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1201 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1202 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1203 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1204 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1205 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1206 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1207 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1208 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1209 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1210 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1211 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1212 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1213 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1214 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1215 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1216 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1217 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1218 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1219 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1220 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1221 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1222 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1223 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1224 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1225 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1226 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1227 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1228 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1229 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1230 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1231 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1232 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1233 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1234 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1235 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1236 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1237 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1238 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1239 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1240 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1241 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1242 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1243 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1244 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1245 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1246 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1247 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1248 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1249 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1250 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1251 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1252 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1253 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1254 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1255 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1256 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1257 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1258 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1259 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1260 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1261 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1262 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1263 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1264 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1265 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1266 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1267 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1268 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1269 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1270 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1271 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1272 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1273 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1274 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1275 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1276 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1277 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1278 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1279 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1280 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1281
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1283 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1284
1285 [BZ #14914]
1286 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1287 whole low double instead of just low 47 bits when splitting values
1288 into two parts.
1289
12902012-12-03 Allan McRae <allan@archlinux.org>
1291
1292 * manual/stdio.texi (Predefined Printf Handlers): Remove
1293 @hsep and @vsep usage.
1294
12952012-12-03 Mike Frysinger <vapier@gentoo.org>
1296
1297 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1298 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1299
13002012-12-03 Jeff Law <law@redhat.com>
1301
1302 * time/sys/time.h (settimeofday): Do not mark TV argument
1303 as __nonnull.
1304
13052012-12-01 Mike Frysinger <vapier@gentoo.org>
1306
1307 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1308 when currently writing and seek to current position when not.
1309 * libio/Makefile (tests): Remove bug-fclose1.
1310 * libio/bug-fclose1.c: Delete.
1311
13122012-12-01 Joseph Myers <joseph@codesourcery.com>
1313
1314 * manual/arith.texi (feenableexcept): Fix typo.
1315 (fedisableexcept): Likewise.
1316
13172012-11-30 Roland McGrath <roland@hack.frob.com>
1318
1319 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1320 second, differently-typed declaration, rather than a cast.
1321
13222012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1323
1324 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1325 * include/rpc/svc.h: ... here.
1326
13272012-11-30 Aurelien Jarno <aurel32@debian.org>
1328
1329 [BZ #13013]
1330 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1331 depending n and resplen2 to catch cases where answer
1332 equals answerp2.
1333
13342012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1335
1336 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1337 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1338
13392012-11-29 Mike Frysinger <vapier@gentoo.org>
1340
1341 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1342
13432012-11-29 Roland McGrath <roland@hack.frob.com>
1344
1345 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1346
13472012-11-28 Jeff Law <law@redhat.com>
1348
1349 [BZ #13761]
1350 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1351 dataset_temporary. Track alloca usage into alloca_used.
1352 If dataset is large allocate and release it via malloc/free.
1353
13542012-06-04 Florian Weimer <fweimer@redhat.com>
1355
1356 [BZ #14197]
1357 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1358
13592012-11-28 David S. Miller <davem@davemloft.net>
1360
1361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1362
13632012-11-28 Joseph Myers <joseph@codesourcery.com>
1364
1365 [BZ #14803]
1366 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1367 of pi/2 rounded to nearest to 64 bits.
1368 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1369 nearest to 64 bits.
1370 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1371 bits.
1372
13732012-11-28 Jeff Law <law@redhat.com>
1374 Martin Osvald <mosvald@redhat.com>
1375
1376 [BZ #14889]
1377 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1378 * sunrpc/svc.c: Include time.h.
1379 (__svc_accept_failed): New function.
1380 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1381 any reason other than EINTR, call __svc_accept_failed.
1382 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1383 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1384
13852012-11-28 Andreas Schwab <schwab@suse.de>
1386
1387 * scripts/abilist.awk: Also handle indirect functions in .opd
1388 section.
1389
13902012-11-28 Joseph Myers <joseph@codesourcery.com>
1391
1392 [BZ #13881]
1393 * sysdeps/x86/fpu/powl_helper.c: New file.
1394 * sysdeps/x86/fpu/Makefile: Likewise.
1395 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1396 (p3): New object.
1397 (__ieee754_powl): Use __powl_helper for finite arguments except
1398 integer exponents below 8.
1399 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1400 (p3): New object.
1401 (__ieee754_powl): Use __powl_helper for finite arguments except
1402 integer exponents below 8.
1403 * math/libm-test.inc (pow_test): Add more tests and enable some
1404 previously disabled tests.
1405 * sysdeps/i386/fpu/libm-test-ulps: Update.
1406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1407
14082012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1409 Carlos O'Donell <carlos_odonell@mentor.com>
1410
1411 * nss/makedb.c (is_prime): Assert that input is odd and greater
1412 than 4. Note that fact in a comment too.
1413 (next_prime): Add 4 to input.
1414
14152012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1416
1417 [BZ #11741]
1418 * libio/Makefile (tests): Add test case tst-fwrite-error.
1419 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1420 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1421 * libio/tst-fwrite-error.c: New test case.
1422
14232012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1424
1425 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1426 before casting to void *.
1427 * include/libc-internal.h (__pointer_type): New macro.
1428 (__integer_if_pointer_type_sub): Likewise.
1429 (__integer_if_pointer_type): Likewise.
1430 (cast_to_integer): Likewise.
1431 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1432 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1433 before casting to atomic64_t.
1434 (atomic_exchange_acq): Likewise.
1435 (__arch_exchange_and_add_body): Likewise.
1436 (__arch_add_body): Likewise.
1437 (atomic_add_negative): Likewise.
1438 (atomic_add_zero): Likewise.
1439
14402012-11-26 Joseph Myers <joseph@codesourcery.com>
1441
1442 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1443 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1444 (add_fdes): Likewise.
1445 (linear_search_fdes): Likewise.
1446 (binary_search_unencoded_fdes): Likewise.
1447
14482012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1449
1450 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1451
14522012-11-24 Adam Conrad <adconrad@0c3.net>
1453
1454 * configure.in: Autodetect C++ header directories.
1455 * configure: Regenerated.
1456
14572012-11-23 Mike Frysinger <vapier@gentoo.org>
1458
1459 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1460
14612012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1462
1463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1464
14652012-11-22 Joseph Myers <joseph@codesourcery.com>
1466
1467 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1468 LDBL_MANT_DIG == 106]: Disable some tests.
1469 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1470 Likewise.
1471 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1472 Likewise.
1473
1474 [BZ #14871]
1475 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1476 input for small inputs. Return +/- pi/2 for large inputs.
1477 * math/libm-test.inc (atan_test): Add more tests.
1478
1479 * sysdeps/generic/unwind-dw2-fde-glibc.c
1480 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1481 __attribute__ ((unused)).
1482
1483 [BZ #14645]
1484 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1485 x * y if x and y are nonzero and z is zero.
1486
1487 [BZ #14811]
1488 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1489 nonzero exponents with absolute value below 0x1p-117 to +/-
1490 0x1p-117.
1491
1492 [BZ #14869]
1493 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1494 up arguments below 2**-450, not just those below 2**-500.
1495 * math/libm-test.inc (hypot_test): Add another test.
1496
1497 [BZ #14868]
1498 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1499 Return a+b for ratio over 2**120, not 2**60.
1500 * math/libm-test.inc (hypot_test): Add another test.
1501
1502 * math/libm-test.inc (clog_test): Use
1503 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1504 (clog10_test): Likewise.
1505
1506 [BZ #6778]
1507 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1508
15092012-11-22 Andreas Schwab <schwab@suse.de>
1510
1511 * sysdeps/i386/fpu/libm-test-ulps: Update.
1512
15132012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1514
1515 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1516 printf output with newline.
1517
15182012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1519
1520 [BZ #14865]
1521 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1522 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1523 -z nodlopen, -z initfirst and -z execstack support.
1524 * configure: Regenerated.
1525
1526 * elf/elf.h (DF_1_NODIRECT): New macro.
1527 (DF_1_IGNMULDEF): Likewise.
1528 (DF_1_NOKSYMS): Likewise.
1529 (DF_1_NOHDR): Likewise.
1530 (DF_1_EDITED): Likewise.
1531 (DF_1_NORELOC): Likewise.
1532 (DF_1_SYMINTPOSE): Likewise.
1533 (DF_1_GLOBAUDIT): Likewise.
1534 (DF_1_SINGLETON): Likewise.
1535 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1536 DT_1_SUPPORTED_MASK bits.
1537 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1538
15392012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1540
1541 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1542
15432012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1544
1545 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1546 macro.
1547
1548 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1549 (sendmmsg): Move declarations...
1550 * socket/sys/socket.h: ... here.
1551 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1552 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1553 include it from...
1554 * socket/recvmmsg.c: ... this new file.
1555 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1556 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1557 definition of __sendmmsg hidden.
1558 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1559 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1560 Move ENOSYS stub into and include it from...
1561 * socket/sendmmsg.c: ... this new file.
1562 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1563 (sysdep_routines): Move recvmmsg and sendmmsg...
1564 * socket/Makefile (routines): ... here.
1565 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1566 (GLIBC_PRIVATE): Add __sendmmsg.
1567 * include/sys/socket.h (__sendmmsg): Add declarations.
1568 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1569 sendmmsg.
1570
15712012-11-20 Joseph Myers <joseph@codesourcery.com>
1572
1573 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1574 variable I1 with __attribute__ ((unused)).
1575 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1576
15772012-11-19 Joseph Myers <joseph@codesourcery.com>
1578
1579 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1580 DUMMY variables with __attribute__ ((unused)).
1581
1582 * bits/byteswap.h: Include <bits/types.h>.
1583 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1584
15852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1586
1587 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1588 string_t. Do not manually set errno.
1589 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1590 length with __strnlen. Make sure to both set errno and return it on
1591 failure.
1592
15932012-11-19 David S. Miller <davem@davemloft.net>
1594
1595 With help from Joseph Myers.
1596 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1597 very large arguments properly.
1598 * math/libm-test.inc (atan_test): New tests.
1599 (atan2_test): New tests.
1600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1602
16032012-11-19 Joseph Myers <joseph@codesourcery.com>
1604
1605 [BZ #14856]
1606 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1607 Define to 3.
1608
1609 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1610 [POSIX] (EADDRNOTAVAIL): Likewise.
1611 [POSIX] (EAFNOSUPPORT): Likewise.
1612 [POSIX] (EALREADY): Likewise.
1613 [POSIX] (ECONNABORTED): Likewise.
1614 [POSIX] (ECONNREFUSED): Likewise.
1615 [POSIX] (ECONNRESET): Likewise.
1616 [POSIX] (EDESTADDRREQ): Likewise.
1617 [POSIX] (EDQUOT): Likewise.
1618 [POSIX] (EHOSTUNREACH): Likewise.
1619 [POSIX] (EIDRM): Likewise.
1620 [POSIX] (EISCONN): Likewise.
1621 [POSIX] (ELOOP): Likewise.
1622 [POSIX] (EMULTIHOP): Likewise.
1623 [POSIX] (ENETDOWN): Likewise.
1624 [POSIX] (ENETUNREACH): Likewise.
1625 [POSIX] (ENOBUFS): Likewise.
1626 [POSIX] (ENODATA): Likewise.
1627 [POSIX] (ENOLINK): Likewise.
1628 [POSIX] (ENOMSG): Likewise.
1629 [POSIX] (ENOPROTOOPT): Likewise.
1630 [POSIX] (ENOSR): Likewise.
1631 [POSIX] (ENOSTR): Likewise.
1632 [POSIX] (ENOTCONN): Likewise.
1633 [POSIX] (ENOTSOCK): Likewise.
1634 [POSIX] (EOPNOTSUPP): Likewise.
1635 [POSIX] (EOVERFLOW): Likewise.
1636 [POSIX] (EPROTO): Likewise.
1637 [POSIX] (EPROTONOSUPPORT): Likewise.
1638 [POSIX] (EPROTOTYPE): Likewise.
1639 [POSIX] (ESTALE): Likewise.
1640 [POSIX] (ETIME): Likewise.
1641 [POSIX] (ETXTBSY): Likewise.
1642 [POSIX] (EWOULDBLOCK): Likewise.
1643 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1644 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1645 [POSIX] (SEEK_CUR): Likewise.
1646 [POSIX] (SEEK_END): Likewise.
1647 [POSIX || UNIX98] (mode_t): Do not require.
1648 [POSIX] (off_t): Likewise.
1649 [POSIX] (pid_t): Likewise.
1650 [POSIX] (sys/stat.h): Do not allow header.
1651 [POSIX] (unistd.h): Likewise.
1652 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1653 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1654 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1655 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1656 require.
1657 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1658 sigevent): Specify elements.
1659 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1660 entry.
1661 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1662 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1663
1664 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1665 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1666 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1667 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1668 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1669 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1670 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1671 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1672 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1673 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1674 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1675 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1676 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1677 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1678 Likewise.
1679 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1680 Likewise.
1681 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1682 Likewise.
1683 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1684 Likewise.
1685 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1686 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1687 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1688 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1689 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1690 Specify lower bound on value.
1691 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1692 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1693 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1694 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1695 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1696 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1697 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1698 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1699 value.
1700 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1701 as optional.
1702 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1703 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1704 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1705 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1706 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1707 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1708 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1709 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1710 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1711 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1712 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1713 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1714 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1715 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1716 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1717 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1718 entry.
1719 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1720 optional.
1721 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1722 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1723 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1724 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1725 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1726 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1727 Likewise.
1728 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1729 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1730 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1731 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1732 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1733 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1734 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1735 as optional.
1736 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1737 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1738 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1739 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1740 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1741 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1742 specify as optional.
1743 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1744 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1745 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1746 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1747 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1748 [XPG3] (NL_LANGMAX): Likewise.
1749 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1750 [POSIX || XPG3] (NL_NMAX): Likewise.
1751 [POSIX || XPG3] (NL_SETMAX): Likewise.
1752 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1753 [XPG3] (NZERO): Likewise.
1754 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1755 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1756 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1757 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1758 (REG_ERANGE): Expect.
1759 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1760 optional-constant.
1761 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1762 Use (void) in prototype.
1763 [POSIX] (*_t): Allow.
1764 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1765 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1766 (WRDE_BADVAL): Expect.
1767
1768 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1769 expect.
1770 [XPG3 || XPG4] (O_RSYNC): Likewise.
1771 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1772 Likewise.
1773 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1774 [XPG3 || XPG4] (sigqueue): Likewise.
1775 [XPG3 || XPG4] (sigtimedwait): Likewise.
1776 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1777 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1778 [XPG3 || XPG4] (vsnprintf): Likewise.
1779 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1780 Likewise.
1781 [XPG3 || XPG4] (blksize_t): Likewise.
1782 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1783 Likewise.
1784 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1785 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1786 [XPG3 || XPG4] (struct itimerspec): Likewise.
1787 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1788 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1789 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1790 [XPG3 || XPG4] (clockid_t): Likewise.
1791 [XPG3 || XPG4] (timer_t): Likewise.
1792 [XPG3 || XPG4] (clock_getres): Likewise.
1793 [XPG3 || XPG4] (clock_gettime): Likewise.
1794 [XPG3 || XPG4] (clock_settime): Likewise.
1795 [XPG3 || XPG4] (nanosleep): Likewise.
1796 [XPG3 || XPG4] (timer_create): Likewise.
1797 [XPG3 || XPG4] (timer_delete): Likewise.
1798 [XPG3 || XPG4] (timer_gettime): Likewise.
1799 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1800 [XPG3 || XPG4] (timer_settime): Likewise.
1801 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1802 [XPG3 || XPG4] (getlogin_r): Likewise.
1803 [XPG3 || XPG4] (pread): Likewise.
1804 [XPG3 || XPG4] (pthread_atfork): Likewise.
1805 [XPG3 || XPG4] (pwrite): Likewise.
1806
1807 [BZ #14835]
1808 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1809 <bits/siginfo.h>.
1810
18112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1812
1813 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1814 finalizing MALLSTREAM.
1815
1816 * sysdeps/mach/hurd/syncfs.c: New file.
1817
18182012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1819
1820 [BZ #14719]
1821 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1822 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1823 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1824 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1825 (_nss_dns_gethostbyname4_r): Likewise.
1826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1827 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1828
18292012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1830
1831 [BZ #13763]
1832 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1833
18342012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1835
1836 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1837 * elf/cache.c (print_entry): Print ",AArch64" for
1838 FLAG_AARCH64_LIB64
1839
1840 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1841 * elf/cache.c (print_entry): Print ",hard-float" for
1842 FLAG_ARM_LIBHF.
1843
18442012-11-18 David S. Miller <davem@davemloft.net>
1845
1846 With help from Joseph Myers.
1847 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1848 cutoff to 2**-13.
1849 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1850 cutoff to 2**-25.
1851 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1852 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1853 small.
1854 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1855 * math/libm-test.inc (y0_test): New tests.
1856 (y1_test): New tests.
1857 * sysdeps/i386/fpu/libm-test-ulps: Update.
1858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1860
18612012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1862
1863 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1864 64-bit targets.
1865 * configure: Regenerated.
1866
18672012-11-17 David S. Miller <davem@davemloft.net>
1868
1869 [BZ #14811]
1870 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1871 nonzero exponents with absolute value below 0x1p-128 to +/-
1872 0x1p-128.
1873
18742012-11-17 Joseph Myers <joseph@codesourcery.com>
1875
1876 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1877
1878 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1879
1880 * posix/getconf-speclist.c: New file.
1881 * posix/posix-envs.def: Likewise.
1882 * posix/confstr.c (START_ENV_GROUP): New macro.
1883 (END_ENV_GROUP): Likewise.
1884 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1885 (KNOWN_PRESENT_ENV_STRING): Likewise.
1886 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1887 (UNKNOWN_ENVIRONMENT): Likewise.
1888 (confstr): Include posix-envs.def instead of handling
1889 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1890 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1891 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1892 (END_ENV_GROUP): Likewise.
1893 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1894 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1895 (UNKNOWN_ENVIRONMENT): Likewise.
1896 (__sysconf): Include posix-envs.def instead of handling associated
1897 cases directly here.
1898 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1899 preprocessing getconf-speclist.c rather than running getconf or
1900 generating empty file.
1901
19022012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1903
1904 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1905
19062012-11-16 Andrej Lajovic <natrij@gmail.com>
1907
1908 [BZ #14672]
1909 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1910
19112012-11-16 David S. Miller <davem@davemloft.net>
1912
1913 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1914 smaller than LDBL_EPSILON/2.0L, just return xm1.
1915
19162012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1917
1918 * elf/tst-array1.c (init): Set constructor priority to 1000.
1919 (fini): Set destructor priority to 1000.
1920 * elf/tst-array2dep.c: Likewise.
1921
19222012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1923
1924 [BZ #11741]
1925 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1926 (_IO_new_file_xsputn): Also return EOF if none of the input
1927 data was written when overflow failed.
1928 * libio/iopadn.c (_IO_padn): Likewise.
1929 * libio/iowpadn.c (_IO_wpadn): Likewise.
1930 * stdio-common/tst-put-error.c: Add copyright notice.
1931 (do_test): Add case for printing padded string.
1932 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1933 _IO_padn returned error.
1934 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1935 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1936 return EOF.
1937
19382012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1939
1940 * libio/libioP.h: Add comment note that the references to C++
1941 bits are now obsolete.
1942
19432012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1944
1945 * math/libm-test.inc (check_complex): Use asprintf.
1946
19472012-11-14 Joseph Myers <joseph@codesourcery.com>
1948
1949 * debug/pcprofiledump.c (print_version): Update copyright year.
1950 * malloc/memusagestat.c (print_version): Likewise.
1951
19522012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1953
1954 [BZ #14831]
1955 * elf/Makefile (tests): Add tst-audit8.
1956 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1957 ($(objpfx)tst-audit8.out): New target.
1958 (tst-audit8-ENV): New variable.
1959 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1960 audit if l_reloc_result is NULL.
1961 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1962 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1963 * elf/tst-audit8.c: New file.
1964
19652012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1966
1967 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1968 * misc/Makefile (CFLAGS-select.c): Define.
1969 * posix/Makefile (CFLAGS-pause.c): Define.
1970
19712012-11-13 David S. Miller <davem@davemloft.net>
1972
1973 * crypt/Makefile: Move test targets after toplevel Rules
1974 inclusion. Grab any necessary sysdep routines when linking.
1975 * crypt/md5.c (md5_process_block): Remove define, we will always
1976 name it __md5_process_block.
1977 (md5_finish_ctx): Update md5_process_block call.
1978 (md5_stream): Likewise.
1979 (md5_process_bytes): Likewise.
1980 (md5_process_block): Rename to __md5_process_block and move to ...
1981 * crypt/md5-block.c: ... here.
1982 * crypt/sha256.c (sha256_process_block): Move to ...
1983 * crypt/sha256-block.c: ... here.
1984 * crypt/sha512.c (sha512_process_block): Move to ...
1985 * crypt/sha512-block.c: ... here.
1986 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1987 path.
1988 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1989 * sysdeps/sparc/sparc64/multiarch/Makefile
1990 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1991 crypt subdir.
1992 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1993 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1994 multiarch changes.
1995 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1996 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1997 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1998 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1999 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2000 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2001 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2002 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2003 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2004 file.
2005 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2006 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2007 file.
2008 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2009
20102012-11-13 Joseph Myers <joseph@codesourcery.com>
2011
2012 * timezone/tzselect.ksh: Update from tzcode git revision
2013 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2014 * timezone/zdump.c: Likewise.
2015 * timezone/zic.c: Likewise.
2016 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2017 in TZVERSION setting, not $(PKGVERSION).
2018 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2019 REPORT_BUGS_TO settings.
2020
2021 [BZ #14838]
2022 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2023 macro.
2024
20252012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2026
2027 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2028 detection to immediately after _FP_ROUND().
2029 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2030 bits are 0.
2031
20322012-11-11 David S. Miller <davem@davemloft.net>
2033
2034 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2035 inttypes.h
2036 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2037 __close rather than their public counterparts.
2038
20392012-11-10 Joseph Myers <joseph@codesourcery.com>
2040
2041 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2042 file.
2043 [UNIX98] (sem_timedwait): Do not expect.
2044 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2045 [XPG4 || UNIX98] (sockatmark): Do not expect.
2046 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2047 (clock_getcpuclockid): Do not expect.
2048 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2049 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2050 Do not expect.
2051 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2052 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2053 [UNIX98] (vwscanf): Likewise.
2054 [UNIX98] (vswscanf): Likewise.
2055
20562012-11-09 Joseph Myers <joseph@codesourcery.com>
2057
2058 * timezone/version.h: Remove file.
2059 * timezone/README: Do not refer to version.h.
2060 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2061 $(objpfx)version.h.
2062 ($(objpfx)zdump.o): Likewise.
2063 ($(objpfx)version.h): New target.
2064
2065 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2066 2012i.
2067 * timezone/README: Don't mention modification to tzselect.ksh.
2068 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2069 work on unmodified tzselect.ksh. Substitute version numbers in
2070 tzselect.ksh.
2071
2072 * Makefile (format-me): Remove.
2073 (INSTALL): Adjust indentation. Use commands directly instead of
2074 using $(format-me).
2075
2076 * aclocal.m4 (ACX_PKGVERSION): New macro.
2077 (ACX_BUGURL): Likewise.
2078 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2079 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2080 (REPORT_BUGS_TO): Likewise.
2081 * configure: Regenerated.
2082 * config.h.in (PKGVERSION): New macro.
2083 (REPORT_BUGS_TO): Likewise.
2084 * config.make.in (PKGVERSION): New variable.
2085 (PKGVERSION_TEXI): Likewise.
2086 (REPORT_BUGS_TO): Likewise.
2087 (REPORT_BUGS_TEXI): Likewise.
2088 * Makefile (format-me): Use -I$(common-objpfx)manual.
2089 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2090 ($(common-objpfx)manual/%): New target.
2091 (manual/%): Remove target.
2092 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2093 (print_version): Use PKGVERSION.
2094 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2095 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2096 and REPORT_BUGS_TO.
2097 ($(objpfx)xtrace): Likewise.
2098 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2099 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2100 (print_version): Use PKGVERSION.
2101 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2102 (do_version): Use PKGVERSION.
2103 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2104 REPORT_BUGS_TO.
2105 (common-ldd-rewrite): Likewise.
2106 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2107 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2108 (print_version): Use PKGVERSION.
2109 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2110 * elf/pldd.c (argp_program_bug_address): Remove variable.
2111 (more_help): New function.
2112 (argp): Use more_help.
2113 (print_version): Use PKGVERSION.
2114 * elf/sln.c (main): Use PKGVERSION.
2115 (usage): Use REPORT_BUGS_TO.
2116 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2117 (top level): Use PKGVERSION.
2118 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2119 (print_version): Use PKGVERSION.
2120 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2121 (print_version): Use PKGVERSION.
2122 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2123 (print_version): Use PKGVERSION.
2124 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2125 (print_version): Use PKGVERSION.
2126 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2127 (print_version): Use PKGVERSION.
2128 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2129 (print_version): Use PKGVERSION.
2130 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2131 and BUGURL.
2132 ($(objpfx)memusage): Likewise.
2133 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2134 (do_version): Use PKGVERSION.
2135 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2136 (print_version): Use PKGVERSION.
2137 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2138 ($PKGVERSION): New variable.
2139 ($REPORT_BUGS_TO): Likewise.
2140 (usage): Use $REPORT_BUGS_TO.
2141 (top level): Use $PKGVERSION.
2142 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2143 ($(objpfx)pkgvers.texi): New rule.
2144 ($(objpfx)stamp-pkgvers): Likewise.
2145 * manual/install.texi: Include pkgvers.texi.
2146 (--with-pkgversion): Document new configure option.
2147 (--with-bugurl): Likewise.
2148 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2149 than necessarily for this particular distribution. Use
2150 REPORT_BUGS_TO for where to report bugs.
2151 * INSTALL: Regenerated.
2152 * manual/libc.texinfo: Include pkgvers.texi.
2153 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2154 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2155 (print_version): Use PKGVERSION.
2156 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2157 (print_version): Use PKGVERSION.
2158 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2159 (print_version): Use PKGVERSION.
2160 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2161 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2162 macro.
2163 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2164 (print_version): Use PKGVERSION.
2165 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2166 (print_version): Use PKGVERSION.
2167 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2168 and PKGVERSION.
2169
2170 * timezone/checktab.awk: Update from tzcode 2012i.
2171 * timezone/ialloc.c: Likewise.
2172 * timezone/private.h: Likewise.
2173 * timezone/scheck.c: Likewise.
2174 * timezone/tzfile.h: Likewise.
2175 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2176 (TZVERSION): Hardcode tzcode version number.
2177 * timezone/zdump.c: Update from tzcode 2012i.
2178 * timezone/zic.c: Likewise.
2179 * timezone/version.h: New file.
2180 * timezone/README: Describe version.h. Update upstream location.
2181
2182 [BZ #14824]
2183 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2184 (mktemp): Enable declaration.
2185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2186 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2187 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2188 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2189 Likewise.
2190 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2191 Likewise.
2192 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2193 Likewise.
2194 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2195 Likewise.
2196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2197 Likewise.
2198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2199 Likewise.
2200
2201 [BZ #14821]
2202 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2203 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2204 for copies of such integer values.
2205 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2206 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2207
22082012-11-09 Andreas Jaeger <aj@suse.de>
2209
2210 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2211 definitions and declarations that are provided by
2212 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2213
22142012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2215
2216 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2217 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2218 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2219 definition.
2220
22212012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2222
2223 * elf/elf.h: Update comment before AArch64 relocations.
2224
22252012-11-07 David S. Miller <davem@davemloft.net>
2226
2227 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2228 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2229 (__start_context): Declare.
2230 (__makecontext_ret): Delete.
2231 (__makecontext): Hook up __start_context instead of
2232 __makecontext_ret.
2233 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2234 (sysdep_routines): Add __start_context when in stdlib.
2235
22362012-11-07 Joseph Myers <joseph@codesourcery.com>
2237
2238 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2239 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2240 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2241 hardcoded "nm".
2242 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2243 (READELF): New variable. Use it instead of hardcoded "readelf".
2244
22452012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2246
2247 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2248 * sysdeps/x86/Makefile: Here.
2249 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2250 * sysdeps/x86/tst-xmmymm.sh: This.
2251
22522012-11-07 Joseph Myers <joseph@codesourcery.com>
2253
2254 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2255 expectations.
2256 [UNIX98] (pthread_barrier_t): Do not expect.
2257 [UNIX98] (pthread_barrierattr_t): Likewise.
2258 [UNIX98] (pthread_spinlock_t): Likewise.
2259 [UNIX98] (pthread_barrier_destroy): Likewise.
2260 [UNIX98] (pthread_barrier_init): Likewise.
2261 [UNIX98] (pthread_barrier_wait): Likewise.
2262 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2263 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2264 [UNIX98] (pthread_barrierattr_init): Likewise.
2265 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2266 [UNIX98] (pthread_getcpuclockid): Likewise.
2267 [UNIX98] (pthread_mutex_timedlock): Likewise.
2268 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2269 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2270 [UNIX98] (pthread_sigmask): Likewise.
2271 [UNIX98] (pthread_spin_destroy): Likewise.
2272 [UNIX98] (pthread_spin_init): Likewise.
2273 [UNIX98] (pthread_spin_lock): Likewise.
2274 [UNIX98] (pthread_spin_trylock): Likewise.
2275 [UNIX98] (pthread_spin_unlock): Likewise.
2276 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2277 Do not expect.
2278 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2280 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2281 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2282 [XPG3 || XPG4] (pthread_key_t): Likewise.
2283 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2284 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2285 [XPG3 || XPG4] (pthread_once_t): Likewise.
2286 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2287 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2289 [XPG3 || XPG4] (pthread_t): Likewise.
2290
2291 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2292 not expect.
2293 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2294
2295 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2296 Change function return type to int.
2297
2298 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2299 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2300 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2301 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2302 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2303 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2304 [!POSIX] (posix_madvise): Likewise.
2305 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2306 && !UNIX98].
2307 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2308 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2309 (mode_t): Likewise.
2310 (posix_mem_offset): Likewise.
2311 (posix_typed_mem_get_info): Likewise.
2312 (posix_typed_mem_open): Likewise.
2313
2314 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2315 Change condition to [XOPEN2K8].
2316
2317 * conform/conformtest.pl: Preprocess allow-header data with -x c
2318 instead of from stdin.
2319 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2320 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2321 [C99-based standards] (cerfc): Likewise.
2322 [C99-based standards] (cexp2): Likewise.
2323 [C99-based standards] (cexpm1): Likewise.
2324 [C99-based standards] (clog10): Likewise.
2325 [C99-based standards] (clog1p): Likewise.
2326 [C99-based standards] (clog2): Likewise.
2327 [C99-based standards] (clgamma): Likewise.
2328 [C99-based standards] (ctgamma): Likewise.
2329 [C99-based standards] (cerff): Likewise.
2330 [C99-based standards] (cerfcf): Likewise.
2331 [C99-based standards] (cexp2f): Likewise.
2332 [C99-based standards] (cexpm1f): Likewise.
2333 [C99-based standards] (clog10f): Likewise.
2334 [C99-based standards] (clog1pf): Likewise.
2335 [C99-based standards] (clog2f): Likewise.
2336 [C99-based standards] (clgammaf): Likewise.
2337 [C99-based standards] (ctgammaf): Likewise.
2338 [C99-based standards] (cerfl): Likewise.
2339 [C99-based standards] (cerfcl): Likewise.
2340 [C99-based standards] (cexp2l): Likewise.
2341 [C99-based standards] (cexpm1l): Likewise.
2342 [C99-based standards] (clog10l): Likewise.
2343 [C99-based standards] (clog1pl): Likewise.
2344 [C99-based standards] (clog2l): Likewise.
2345 [C99-based standards] (clgammal): Likewise.
2346 [C99-based standards] (ctgammal): Likewise.
2347 * conform/data/inttypes.h-data [C99-based standards]: Include
2348 stdint.h-data. Remove all expectations for stdint.h contents.
2349 [C99-based standards] (PRI*): Do not allow.
2350 [C99-based standards] (SCN*): Likewise.
2351 [C99-based standards] (*_t): Likewise.
2352 [C99-based-standards] (PRId8): Expect macro.
2353 [C99-based-standards] (PRIi8): Likewise.
2354 [C99-based-standards] (PRIo8): Likewise.
2355 [C99-based-standards] (PRIu8): Likewise.
2356 [C99-based-standards] (PRIx8): Likewise.
2357 [C99-based-standards] (PRIX8): Likewise.
2358 [C99-based-standards] (SCNd8): Likewise.
2359 [C99-based-standards] (SCNi8): Likewise.
2360 [C99-based-standards] (SCNo8): Likewise.
2361 [C99-based-standards] (SCNu8): Likewise.
2362 [C99-based-standards] (SCNx8): Likewise.
2363 [C99-based-standards] (PRIdLEAST8): Likewise.
2364 [C99-based-standards] (PRIiLEAST8): Likewise.
2365 [C99-based-standards] (PRIoLEAST8): Likewise.
2366 [C99-based-standards] (PRIuLEAST8): Likewise.
2367 [C99-based-standards] (PRIxLEAST8): Likewise.
2368 [C99-based-standards] (PRIXLEAST8): Likewise.
2369 [C99-based-standards] (SCNdLEAST8): Likewise.
2370 [C99-based-standards] (SCNiLEAST8): Likewise.
2371 [C99-based-standards] (SCNoLEAST8): Likewise.
2372 [C99-based-standards] (SCNuLEAST8): Likewise.
2373 [C99-based-standards] (SCNxLEAST8): Likewise.
2374 [C99-based-standards] (PRIdFAST8): Likewise.
2375 [C99-based-standards] (PRIiFAST8): Likewise.
2376 [C99-based-standards] (PRIoFAST8): Likewise.
2377 [C99-based-standards] (PRIuFAST8): Likewise.
2378 [C99-based-standards] (PRIxFAST8): Likewise.
2379 [C99-based-standards] (PRIXFAST8): Likewise.
2380 [C99-based-standards] (SCNdFAST8): Likewise.
2381 [C99-based-standards] (SCNiFAST8): Likewise.
2382 [C99-based-standards] (SCNoFAST8): Likewise.
2383 [C99-based-standards] (SCNuFAST8): Likewise.
2384 [C99-based-standards] (SCNxFAST8): Likewise.
2385 [C99-based-standards] (PRId16): Likewise.
2386 [C99-based-standards] (PRIi16): Likewise.
2387 [C99-based-standards] (PRIo16): Likewise.
2388 [C99-based-standards] (PRIu16): Likewise.
2389 [C99-based-standards] (PRIx16): Likewise.
2390 [C99-based-standards] (PRIX16): Likewise.
2391 [C99-based-standards] (SCNd16): Likewise.
2392 [C99-based-standards] (SCNi16): Likewise.
2393 [C99-based-standards] (SCNo16): Likewise.
2394 [C99-based-standards] (SCNu16): Likewise.
2395 [C99-based-standards] (SCNx16): Likewise.
2396 [C99-based-standards] (PRIdLEAST16): Likewise.
2397 [C99-based-standards] (PRIiLEAST16): Likewise.
2398 [C99-based-standards] (PRIoLEAST16): Likewise.
2399 [C99-based-standards] (PRIuLEAST16): Likewise.
2400 [C99-based-standards] (PRIxLEAST16): Likewise.
2401 [C99-based-standards] (PRIXLEAST16): Likewise.
2402 [C99-based-standards] (SCNdLEAST16): Likewise.
2403 [C99-based-standards] (SCNiLEAST16): Likewise.
2404 [C99-based-standards] (SCNoLEAST16): Likewise.
2405 [C99-based-standards] (SCNuLEAST16): Likewise.
2406 [C99-based-standards] (SCNxLEAST16): Likewise.
2407 [C99-based-standards] (PRIdFAST16): Likewise.
2408 [C99-based-standards] (PRIiFAST16): Likewise.
2409 [C99-based-standards] (PRIoFAST16): Likewise.
2410 [C99-based-standards] (PRIuFAST16): Likewise.
2411 [C99-based-standards] (PRIxFAST16): Likewise.
2412 [C99-based-standards] (PRIXFAST16): Likewise.
2413 [C99-based-standards] (SCNdFAST16): Likewise.
2414 [C99-based-standards] (SCNiFAST16): Likewise.
2415 [C99-based-standards] (SCNoFAST16): Likewise.
2416 [C99-based-standards] (SCNuFAST16): Likewise.
2417 [C99-based-standards] (SCNxFAST16): Likewise.
2418 [C99-based-standards] (PRId32): Likewise.
2419 [C99-based-standards] (PRIi32): Likewise.
2420 [C99-based-standards] (PRIo32): Likewise.
2421 [C99-based-standards] (PRIu32): Likewise.
2422 [C99-based-standards] (PRIx32): Likewise.
2423 [C99-based-standards] (PRIX32): Likewise.
2424 [C99-based-standards] (SCNd32): Likewise.
2425 [C99-based-standards] (SCNi32): Likewise.
2426 [C99-based-standards] (SCNo32): Likewise.
2427 [C99-based-standards] (SCNu32): Likewise.
2428 [C99-based-standards] (SCNx32): Likewise.
2429 [C99-based-standards] (PRIdLEAST32): Likewise.
2430 [C99-based-standards] (PRIiLEAST32): Likewise.
2431 [C99-based-standards] (PRIoLEAST32): Likewise.
2432 [C99-based-standards] (PRIuLEAST32): Likewise.
2433 [C99-based-standards] (PRIxLEAST32): Likewise.
2434 [C99-based-standards] (PRIXLEAST32): Likewise.
2435 [C99-based-standards] (SCNdLEAST32): Likewise.
2436 [C99-based-standards] (SCNiLEAST32): Likewise.
2437 [C99-based-standards] (SCNoLEAST32): Likewise.
2438 [C99-based-standards] (SCNuLEAST32): Likewise.
2439 [C99-based-standards] (SCNxLEAST32): Likewise.
2440 [C99-based-standards] (PRIdFAST32): Likewise.
2441 [C99-based-standards] (PRIiFAST32): Likewise.
2442 [C99-based-standards] (PRIoFAST32): Likewise.
2443 [C99-based-standards] (PRIuFAST32): Likewise.
2444 [C99-based-standards] (PRIxFAST32): Likewise.
2445 [C99-based-standards] (PRIXFAST32): Likewise.
2446 [C99-based-standards] (SCNdFAST32): Likewise.
2447 [C99-based-standards] (SCNiFAST32): Likewise.
2448 [C99-based-standards] (SCNoFAST32): Likewise.
2449 [C99-based-standards] (SCNuFAST32): Likewise.
2450 [C99-based-standards] (SCNxFAST32): Likewise.
2451 [C99-based-standards] (PRId64): Likewise.
2452 [C99-based-standards] (PRIi64): Likewise.
2453 [C99-based-standards] (PRIo64): Likewise.
2454 [C99-based-standards] (PRIu64): Likewise.
2455 [C99-based-standards] (PRIx64): Likewise.
2456 [C99-based-standards] (PRIX64): Likewise.
2457 [C99-based-standards] (SCNd64): Likewise.
2458 [C99-based-standards] (SCNi64): Likewise.
2459 [C99-based-standards] (SCNo64): Likewise.
2460 [C99-based-standards] (SCNu64): Likewise.
2461 [C99-based-standards] (SCNx64): Likewise.
2462 [C99-based-standards] (PRIdLEAST64): Likewise.
2463 [C99-based-standards] (PRIiLEAST64): Likewise.
2464 [C99-based-standards] (PRIoLEAST64): Likewise.
2465 [C99-based-standards] (PRIuLEAST64): Likewise.
2466 [C99-based-standards] (PRIxLEAST64): Likewise.
2467 [C99-based-standards] (PRIXLEAST64): Likewise.
2468 [C99-based-standards] (SCNdLEAST64): Likewise.
2469 [C99-based-standards] (SCNiLEAST64): Likewise.
2470 [C99-based-standards] (SCNoLEAST64): Likewise.
2471 [C99-based-standards] (SCNuLEAST64): Likewise.
2472 [C99-based-standards] (SCNxLEAST64): Likewise.
2473 [C99-based-standards] (PRIdFAST64): Likewise.
2474 [C99-based-standards] (PRIiFAST64): Likewise.
2475 [C99-based-standards] (PRIoFAST64): Likewise.
2476 [C99-based-standards] (PRIuFAST64): Likewise.
2477 [C99-based-standards] (PRIxFAST64): Likewise.
2478 [C99-based-standards] (PRIXFAST64): Likewise.
2479 [C99-based-standards] (SCNdFAST64): Likewise.
2480 [C99-based-standards] (SCNiFAST64): Likewise.
2481 [C99-based-standards] (SCNoFAST64): Likewise.
2482 [C99-based-standards] (SCNuFAST64): Likewise.
2483 [C99-based-standards] (SCNxFAST64): Likewise.
2484 [C99-based-standards] (PRIdMAX): Likewise.
2485 [C99-based-standards] (PRIiMAX): Likewise.
2486 [C99-based-standards] (PRIoMAX): Likewise.
2487 [C99-based-standards] (PRIuMAX): Likewise.
2488 [C99-based-standards] (PRIxMAX): Likewise.
2489 [C99-based-standards] (PRIXMAX): Likewise.
2490 [C99-based-standards] (SCNdMAX): Likewise.
2491 [C99-based-standards] (SCNiMAX): Likewise.
2492 [C99-based-standards] (SCNoMAX): Likewise.
2493 [C99-based-standards] (SCNuMAX): Likewise.
2494 [C99-based-standards] (SCNxMAX): Likewise.
2495 [C99-based-standards] (PRIdPTR): Likewise.
2496 [C99-based-standards] (PRIiPTR): Likewise.
2497 [C99-based-standards] (PRIoPTR): Likewise.
2498 [C99-based-standards] (PRIuPTR): Likewise.
2499 [C99-based-standards] (PRIxPTR): Likewise.
2500 [C99-based-standards] (PRIXPTR): Likewise.
2501 [C99-based-standards] (SCNdPTR): Likewise.
2502 [C99-based-standards] (SCNiPTR): Likewise.
2503 [C99-based-standards] (SCNoPTR): Likewise.
2504 [C99-based-standards] (SCNuPTR): Likewise.
2505 [C99-based-standards] (SCNxPTR): Likewise.
2506 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2507 allow.
2508 * conform/data/stdint.h-data: Update comments to clarify
2509 requirements.
2510 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2511 type.
2512 [C99-based standards] (INT8_MAX): Likewise.
2513 [C99-based standards] (INT16_MIN): Likewise.
2514 [C99-based standards] (INT16_MAX): Likewise.
2515 [C99-based standards] (INT32_MIN): Likewise.
2516 [C99-based standards] (INT32_MAX): Likewise.
2517 [C99-based standards] (INT64_MIN): Likewise.
2518 [C99-based standards] (INT64_MAX): Likewise.
2519 [C99-based standards] (UINT8_MAX): Likewise.
2520 [C99-based standards] (UINT16_MAX): Likewise.
2521 [C99-based standards] (UINT32_MAX): Likewise.
2522 [C99-based standards] (UINT64_MAX): Likewise.
2523 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2524 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2525 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2526 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2527 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2528 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2529 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2530 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2531 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2532 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2533 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2534 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2535 [C99-based standards] (INT_FAST8_MIN): Likewise.
2536 [C99-based standards] (INT_FAST8_MAX): Likewise.
2537 [C99-based standards] (INT_FAST16_MIN): Likewise.
2538 [C99-based standards] (INT_FAST16_MAX): Likewise.
2539 [C99-based standards] (INT_FAST32_MIN): Likewise.
2540 [C99-based standards] (INT_FAST32_MAX): Likewise.
2541 [C99-based standards] (INT_FAST64_MIN): Likewise.
2542 [C99-based standards] (INT_FAST64_MAX): Likewise.
2543 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2544 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2545 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2546 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2547 [C99-based standards] (INTPTR_MIN): Likewise.
2548 [C99-based standards] (INTPTR_MAX): Likewise.
2549 [C99-based standards] (UINTPTR_MAX): Likewise.
2550 [C99-based standards] (INTMAX_MIN): Likewise.
2551 [C99-based standards] (INTMAX_MAX): Likewise.
2552 [C99-based standards] (UINTMAX_MAX): Likewise.
2553 [C99-based standards] (PTRDIFF_MIN): Likewise.
2554 [C99-based standards] (PTRDIFF_MAX): Likewise.
2555 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2556 [C99-based standards] (SIZE_MAX): Likewise.
2557 [C99-based standards] (WCHAR_MAX): Likewise.
2558 [C99-based standards] (WINT_MAX): Likewise.
2559 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2560 constraint on value.
2561 [C99-based standards] (WCHAR_MIN): Likewise.
2562 [C99-based standards] (WINT_MIN): Likewise.
2563 [C99-based standards] (*_t): Allow.
2564 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2565 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2566 Include math.h-data and complex.h-data. Remove all expectations
2567 of math.h and complex.h contents.
2568 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2569 at end of line.
2570 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2571 (struct tm): Expect tag.
2572 [C99-based-standards] (wcstof): Expect function.
2573 [C99-based-standards] (wcstold): Likewise.
2574 [C99-based-standards] (wcstoll): Likewise.
2575 [C99-based-standards] (wcstoull): Likewise.
2576 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2577 macro-int-constant. Specify type.
2578 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2579 constraint on value.
2580 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2581 Specify type.
2582 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2583 Specify value.
2584 [ISO C standards]: Do not allow headers.
2585 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2586 wcs[abcdefghijklmnopqrstuvwxyz]*.
2587 [ISO C standards] (*_t): Do not allow.
2588 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2589 Expect function.
2590 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2591 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2592 Specify type.
2593 [ISO C standards]: Do not allow headers.
2594 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2595 is[abcdefghijklmnopqrstuvwxyz]*.
2596 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2597 to[abcdefghijklmnopqrstuvwxyz]*.
2598 [ISO C standards] (*_t): Do not allow.
2599 * conform/data/stdalign.h-data: New file.
2600 * conform/data/stdbool.h-data: Likewise.
2601 * conform/data/stdnoreturn.h-data: Likewise.
2602
26032012-11-07 Roland McGrath <roland@hack.frob.com>
2604
2605 [BZ #14815]
2606 * manual/filesys.texi (Directory Entries): Typo fix.
2607 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2608
26092012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2610
2611 * elf/elf.h (EM_AARCH64): New macro.
2612 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2613 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2614 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2615 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2616 (R_AARCH64_TLSDESC): Likewise.
2617 (NT_ARM_TLS): Likewise.
2618 (NT_ARM_HW_BREAK): Likewise.
2619 (NT_ARM_HW_WATCH): Likewise.
2620
26212012-11-07 Joseph Myers <joseph@codesourcery.com>
2622
2623 [BZ #14811]
2624 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2625 (__ieee754_powl): Saturate nonzero exponents with absolute value
2626 below 0x1p-79 to +/- 0x1p-79.
2627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2628 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2629 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2630 nonzero exponents with absolute value below 0x1p-32 to +/-
2631 0x1p-32.
2632 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2633 (__ieee754_powl): Saturate nonzero exponents with absolute value
2634 below 0x1p-79 to +/- 0x1p-79.
2635 * math/libm-test.inc (pow_test): Add more tests.
2636
26372012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2638
2639 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2640 _dl_s390_cap_flags with kernel. Increase string length.
2641 (_dl_s390_platforms): Add z196 and zEC12.
2642
26432012-11-07 Joseph Myers <joseph@codesourcery.com>
2644
2645 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2646 Change XOPEN21K to XOPEN2K.
2647
26482012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2649
2650 * string/memmove.c: Use memcpy when possible.
2651
26522012-11-06 Andreas Jaeger <aj@suse.de>
2653
2654 * po/eo.po: Update from translation team.
2655
26562012-11-06 Joseph Myers <joseph@codesourcery.com>
2657
2658 [BZ #14793]
2659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2660 exponent and small x and y exponents, scale x or y up. Increase
2661 by 2 the exponent used in scaling up.
2662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2663 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2664 * math/libm-test.inc (fma_test): Add more tests.
2665 (fma_test_towardzero): Likewise.
2666 (fma_test_downward): Likewise.
2667 (fma_test_upward): Likewise.
2668
26692012-11-05 Joseph Myers <joseph@codesourcery.com>
2670
2671 [BZ #14805]
2672 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2673 fenv_t *.
2674
2675 [BZ #14801]
2676 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2677 namespace for names of struct fields.
2678 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2679 fenv_t fields.
2680 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2681 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2682
26832012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2684
2685 [BZ #3665]
2686 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2687
26882012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2689
2690 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2691 PTR_DEMANGLE.
2692
2693 [BZ #5246]
2694 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2695 PTR_DEMANGLE.
2696
26972012-11-04 Joseph Myers <joseph@codesourcery.com>
2698
2699 [BZ #14797]
2700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2701 definitely overflow as x * y not x * y + z.
2702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2703 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2704 * math/libm-test.inc (fma_test): Add more tests.
2705 (fma_test_towardzero): Likewise.
2706 (fma_test_downward): Likewise.
2707 (fma_test_upward): Likewise.
2708
27092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2710
2711 [BZ #157]
2712
2713 * include/stub-tag.h: Remove file.
2714 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2715 '#include' of it.
2716 * manual/maint.texi (Porting): Don't reference it.
2717 * Makerules ($(objpfx)stubs): Likewise.
2718 * dirent/closedir.c: Don't include <stub-tag.h>.
2719 * dirent/dirfd.c: Likewise.
2720 * dirent/fdopendir.c: Likewise.
2721 * dirent/getdents.c: Likewise.
2722 * dirent/getdents64.c: Likewise.
2723 * dirent/opendir.c: Likewise.
2724 * dirent/readdir.c: Likewise.
2725 * dirent/readdir64.c: Likewise.
2726 * dirent/readdir64_r.c: Likewise.
2727 * dirent/readdir_r.c: Likewise.
2728 * dirent/rewinddir.c: Likewise.
2729 * dirent/seekdir.c: Likewise.
2730 * dirent/telldir.c: Likewise.
2731 * gmon/profil.c: Likewise.
2732 * grp/setgroups.c: Likewise.
2733 * inet/if_index.c: Likewise.
2734 * io/access.c: Likewise.
2735 * io/chdir.c: Likewise.
2736 * io/chmod.c: Likewise.
2737 * io/chown.c: Likewise.
2738 * io/close.c: Likewise.
2739 * io/dup.c: Likewise.
2740 * io/dup2.c: Likewise.
2741 * io/dup3.c: Likewise.
2742 * io/euidaccess.c: Likewise.
2743 * io/faccessat.c: Likewise.
2744 * io/fchdir.c: Likewise.
2745 * io/fchmod.c: Likewise.
2746 * io/fchmodat.c: Likewise.
2747 * io/fchown.c: Likewise.
2748 * io/fchownat.c: Likewise.
2749 * io/fcntl.c: Likewise.
2750 * io/flock.c: Likewise.
2751 * io/fstatfs.c: Likewise.
2752 * io/fstatfs64.c: Likewise.
2753 * io/fstatvfs.c: Likewise.
2754 * io/fstatvfs64.c: Likewise.
2755 * io/futimens.c: Likewise.
2756 * io/fxstat.c: Likewise.
2757 * io/fxstat64.c: Likewise.
2758 * io/fxstatat.c: Likewise.
2759 * io/fxstatat64.c: Likewise.
2760 * io/getcwd.c: Likewise.
2761 * io/isatty.c: Likewise.
2762 * io/lchmod.c: Likewise.
2763 * io/lchown.c: Likewise.
2764 * io/link.c: Likewise.
2765 * io/linkat.c: Likewise.
2766 * io/lseek.c: Likewise.
2767 * io/lseek64.c: Likewise.
2768 * io/lxstat64.c: Likewise.
2769 * io/mkdir.c: Likewise.
2770 * io/mkdirat.c: Likewise.
2771 * io/mkfifo.c: Likewise.
2772 * io/mkfifoat.c: Likewise.
2773 * io/open.c: Likewise.
2774 * io/open64.c: Likewise.
2775 * io/openat.c: Likewise.
2776 * io/openat64.c: Likewise.
2777 * io/pipe.c: Likewise.
2778 * io/pipe2.c: Likewise.
2779 * io/poll.c: Likewise.
2780 * io/posix_fadvise.c: Likewise.
2781 * io/posix_fadvise64.c: Likewise.
2782 * io/posix_fallocate.c: Likewise.
2783 * io/posix_fallocate64.c: Likewise.
2784 * io/read.c: Likewise.
2785 * io/readlink.c: Likewise.
2786 * io/readlinkat.c: Likewise.
2787 * io/rmdir.c: Likewise.
2788 * io/sendfile.c: Likewise.
2789 * io/sendfile64.c: Likewise.
2790 * io/statfs.c: Likewise.
2791 * io/statfs64.c: Likewise.
2792 * io/statvfs.c: Likewise.
2793 * io/statvfs64.c: Likewise.
2794 * io/symlink.c: Likewise.
2795 * io/symlinkat.c: Likewise.
2796 * io/ttyname.c: Likewise.
2797 * io/ttyname_r.c: Likewise.
2798 * io/umask.c: Likewise.
2799 * io/unlink.c: Likewise.
2800 * io/unlinkat.c: Likewise.
2801 * io/utime.c: Likewise.
2802 * io/utimensat.c: Likewise.
2803 * io/write.c: Likewise.
2804 * io/xmknod.c: Likewise.
2805 * io/xmknodat.c: Likewise.
2806 * io/xstat.c: Likewise.
2807 * io/xstat64.c: Likewise.
2808 * login/getpt.c: Likewise.
2809 * login/grantpt.c: Likewise.
2810 * login/unlockpt.c: Likewise.
2811 * math/e_acoshl.c: Likewise.
2812 * math/e_acosl.c: Likewise.
2813 * math/e_asinl.c: Likewise.
2814 * math/e_atan2l.c: Likewise.
2815 * math/e_atanhl.c: Likewise.
2816 * math/e_coshl.c: Likewise.
2817 * math/e_expl.c: Likewise.
2818 * math/e_fmodl.c: Likewise.
2819 * math/e_gammal_r.c: Likewise.
2820 * math/e_hypotl.c: Likewise.
2821 * math/e_j0l.c: Likewise.
2822 * math/e_j1l.c: Likewise.
2823 * math/e_jnl.c: Likewise.
2824 * math/e_lgammal_r.c: Likewise.
2825 * math/e_log10l.c: Likewise.
2826 * math/e_log2l.c: Likewise.
2827 * math/e_logl.c: Likewise.
2828 * math/e_powl.c: Likewise.
2829 * math/e_rem_pio2l.c: Likewise.
2830 * math/e_sinhl.c: Likewise.
2831 * math/e_sqrtl.c: Likewise.
2832 * math/fclrexcpt.c: Likewise.
2833 * math/fedisblxcpt.c: Likewise.
2834 * math/feenablxcpt.c: Likewise.
2835 * math/fegetenv.c: Likewise.
2836 * math/fegetexcept.c: Likewise.
2837 * math/fegetround.c: Likewise.
2838 * math/feholdexcpt.c: Likewise.
2839 * math/fesetenv.c: Likewise.
2840 * math/fesetround.c: Likewise.
2841 * math/feupdateenv.c: Likewise.
2842 * math/fgetexcptflg.c: Likewise.
2843 * math/fraiseexcpt.c: Likewise.
2844 * math/fsetexcptflg.c: Likewise.
2845 * math/ftestexcept.c: Likewise.
2846 * math/k_cosl.c: Likewise.
2847 * math/k_rem_pio2l.c: Likewise.
2848 * math/k_sinl.c: Likewise.
2849 * math/k_tanl.c: Likewise.
2850 * math/s_asinhl.c: Likewise.
2851 * math/s_atanl.c: Likewise.
2852 * math/s_cbrtl.c: Likewise.
2853 * math/s_erfl.c: Likewise.
2854 * math/s_expm1l.c: Likewise.
2855 * math/s_log1pl.c: Likewise.
2856 * math/s_tanhl.c: Likewise.
2857 * misc/acct.c: Likewise.
2858 * misc/brk.c: Likewise.
2859 * misc/chflags.c: Likewise.
2860 * misc/chroot.c: Likewise.
2861 * misc/fchflags.c: Likewise.
2862 * misc/fgetxattr.c: Likewise.
2863 * misc/flistxattr.c: Likewise.
2864 * misc/fremovexattr.c: Likewise.
2865 * misc/fsetxattr.c: Likewise.
2866 * misc/fsync.c: Likewise.
2867 * misc/ftruncate.c: Likewise.
2868 * misc/futimes.c: Likewise.
2869 * misc/futimesat.c: Likewise.
2870 * misc/getdomain.c: Likewise.
2871 * misc/getdtsz.c: Likewise.
2872 * misc/gethostid.c: Likewise.
2873 * misc/gethostname.c: Likewise.
2874 * misc/getloadavg.c: Likewise.
2875 * misc/getpagesize.c: Likewise.
2876 * misc/getsysstats.c: Likewise.
2877 * misc/getxattr.c: Likewise.
2878 * misc/gtty.c: Likewise.
2879 * misc/ioctl.c: Likewise.
2880 * misc/lgetxattr.c: Likewise.
2881 * misc/listxattr.c: Likewise.
2882 * misc/llistxattr.c: Likewise.
2883 * misc/lremovexattr.c: Likewise.
2884 * misc/lsetxattr.c: Likewise.
2885 * misc/lutimes.c: Likewise.
2886 * misc/madvise.c: Likewise.
2887 * misc/mincore.c: Likewise.
2888 * misc/mlock.c: Likewise.
2889 * misc/mlockall.c: Likewise.
2890 * misc/mmap.c: Likewise.
2891 * misc/mprotect.c: Likewise.
2892 * misc/msync.c: Likewise.
2893 * misc/munlock.c: Likewise.
2894 * misc/munlockall.c: Likewise.
2895 * misc/munmap.c: Likewise.
2896 * misc/preadv.c: Likewise.
2897 * misc/preadv64.c: Likewise.
2898 * misc/ptrace.c: Likewise.
2899 * misc/pwritev.c: Likewise.
2900 * misc/pwritev64.c: Likewise.
2901 * misc/readv.c: Likewise.
2902 * misc/reboot.c: Likewise.
2903 * misc/remap_file_pages.c: Likewise.
2904 * misc/removexattr.c: Likewise.
2905 * misc/revoke.c: Likewise.
2906 * misc/select.c: Likewise.
2907 * misc/setdomain.c: Likewise.
2908 * misc/setegid.c: Likewise.
2909 * misc/seteuid.c: Likewise.
2910 * misc/sethostid.c: Likewise.
2911 * misc/sethostname.c: Likewise.
2912 * misc/setregid.c: Likewise.
2913 * misc/setreuid.c: Likewise.
2914 * misc/setxattr.c: Likewise.
2915 * misc/sstk.c: Likewise.
2916 * misc/stty.c: Likewise.
2917 * misc/swapoff.c: Likewise.
2918 * misc/swapon.c: Likewise.
2919 * misc/sync.c: Likewise.
2920 * misc/syncfs.c: Likewise.
2921 * misc/syscall.c: Likewise.
2922 * misc/truncate.c: Likewise.
2923 * misc/ualarm.c: Likewise.
2924 * misc/usleep.c: Likewise.
2925 * misc/ustat.c: Likewise.
2926 * misc/utimes.c: Likewise.
2927 * misc/vhangup.c: Likewise.
2928 * misc/writev.c: Likewise.
2929 * posix/_exit.c: Likewise.
2930 * posix/alarm.c: Likewise.
2931 * posix/execve.c: Likewise.
2932 * posix/fexecve.c: Likewise.
2933 * posix/fork.c: Likewise.
2934 * posix/fpathconf.c: Likewise.
2935 * posix/getaddrinfo.c: Likewise.
2936 * posix/getegid.c: Likewise.
2937 * posix/geteuid.c: Likewise.
2938 * posix/getgid.c: Likewise.
2939 * posix/getgroups.c: Likewise.
2940 * posix/getlogin.c: Likewise.
2941 * posix/getlogin_r.c: Likewise.
2942 * posix/getpgid.c: Likewise.
2943 * posix/getpid.c: Likewise.
2944 * posix/getppid.c: Likewise.
2945 * posix/getresgid.c: Likewise.
2946 * posix/getresuid.c: Likewise.
2947 * posix/getsid.c: Likewise.
2948 * posix/getuid.c: Likewise.
2949 * posix/glob64.c: Likewise.
2950 * posix/nanosleep.c: Likewise.
2951 * posix/pathconf.c: Likewise.
2952 * posix/pause.c: Likewise.
2953 * posix/posix_madvise.c: Likewise.
2954 * posix/pread.c: Likewise.
2955 * posix/pread64.c: Likewise.
2956 * posix/pwrite.c: Likewise.
2957 * posix/pwrite64.c: Likewise.
2958 * posix/sched_getaffinity.c: Likewise.
2959 * posix/sched_getp.c: Likewise.
2960 * posix/sched_gets.c: Likewise.
2961 * posix/sched_primax.c: Likewise.
2962 * posix/sched_primin.c: Likewise.
2963 * posix/sched_rr_gi.c: Likewise.
2964 * posix/sched_setaffinity.c: Likewise.
2965 * posix/sched_setp.c: Likewise.
2966 * posix/sched_sets.c: Likewise.
2967 * posix/sched_yield.c: Likewise.
2968 * posix/setgid.c: Likewise.
2969 * posix/setlogin.c: Likewise.
2970 * posix/setpgid.c: Likewise.
2971 * posix/setresgid.c: Likewise.
2972 * posix/setresuid.c: Likewise.
2973 * posix/setsid.c: Likewise.
2974 * posix/setuid.c: Likewise.
2975 * posix/sleep.c: Likewise.
2976 * posix/spawni.c: Likewise.
2977 * posix/sysconf.c: Likewise.
2978 * posix/times.c: Likewise.
2979 * posix/wait.c: Likewise.
2980 * posix/wait3.c: Likewise.
2981 * posix/wait4.c: Likewise.
2982 * posix/waitpid.c: Likewise.
2983 * resolv/gai_sigqueue.c: Likewise.
2984 * resource/getpriority.c: Likewise.
2985 * resource/getrlimit.c: Likewise.
2986 * resource/getrusage.c: Likewise.
2987 * resource/nice.c: Likewise.
2988 * resource/setpriority.c: Likewise.
2989 * resource/setrlimit.c: Likewise.
2990 * resource/ulimit.c: Likewise.
2991 * rt/aio_cancel.c: Likewise.
2992 * rt/aio_fsync.c: Likewise.
2993 * rt/aio_read.c: Likewise.
2994 * rt/aio_sigqueue.c: Likewise.
2995 * rt/aio_suspend.c: Likewise.
2996 * rt/aio_write.c: Likewise.
2997 * rt/clock_getres.c: Likewise.
2998 * rt/clock_gettime.c: Likewise.
2999 * rt/clock_nanosleep.c: Likewise.
3000 * rt/clock_settime.c: Likewise.
3001 * rt/lio_listio.c: Likewise.
3002 * rt/mq_close.c: Likewise.
3003 * rt/mq_getattr.c: Likewise.
3004 * rt/mq_notify.c: Likewise.
3005 * rt/mq_open.c: Likewise.
3006 * rt/mq_receive.c: Likewise.
3007 * rt/mq_send.c: Likewise.
3008 * rt/mq_setattr.c: Likewise.
3009 * rt/mq_timedreceive.c: Likewise.
3010 * rt/mq_timedsend.c: Likewise.
3011 * rt/mq_unlink.c: Likewise.
3012 * rt/shm_open.c: Likewise.
3013 * rt/shm_unlink.c: Likewise.
3014 * rt/timer_create.c: Likewise.
3015 * rt/timer_delete.c: Likewise.
3016 * rt/timer_getoverr.c: Likewise.
3017 * rt/timer_gettime.c: Likewise.
3018 * rt/timer_settime.c: Likewise.
3019 * setjmp/__longjmp.c: Likewise.
3020 * setjmp/setjmp.c: Likewise.
3021 * signal/kill.c: Likewise.
3022 * signal/killpg.c: Likewise.
3023 * signal/raise.c: Likewise.
3024 * signal/sigaction.c: Likewise.
3025 * signal/sigaltstack.c: Likewise.
3026 * signal/sigblock.c: Likewise.
3027 * signal/sigignore.c: Likewise.
3028 * signal/sigintr.c: Likewise.
3029 * signal/signal.c: Likewise.
3030 * signal/sigpause.c: Likewise.
3031 * signal/sigpending.c: Likewise.
3032 * signal/sigqueue.c: Likewise.
3033 * signal/sigreturn.c: Likewise.
3034 * signal/sigset.c: Likewise.
3035 * signal/sigsetmask.c: Likewise.
3036 * signal/sigstack.c: Likewise.
3037 * signal/sigsuspend.c: Likewise.
3038 * signal/sigtimedwait.c: Likewise.
3039 * signal/sigvec.c: Likewise.
3040 * signal/sigwait.c: Likewise.
3041 * signal/sigwaitinfo.c: Likewise.
3042 * signal/sysv_signal.c: Likewise.
3043 * socket/accept.c: Likewise.
3044 * socket/accept4.c: Likewise.
3045 * socket/bind.c: Likewise.
3046 * socket/connect.c: Likewise.
3047 * socket/getpeername.c: Likewise.
3048 * socket/getsockname.c: Likewise.
3049 * socket/getsockopt.c: Likewise.
3050 * socket/isfdtype.c: Likewise.
3051 * socket/listen.c: Likewise.
3052 * socket/recv.c: Likewise.
3053 * socket/recvfrom.c: Likewise.
3054 * socket/recvmsg.c: Likewise.
3055 * socket/send.c: Likewise.
3056 * socket/sendmsg.c: Likewise.
3057 * socket/sendto.c: Likewise.
3058 * socket/setsockopt.c: Likewise.
3059 * socket/shutdown.c: Likewise.
3060 * socket/sockatmark.c: Likewise.
3061 * socket/socket.c: Likewise.
3062 * socket/socketpair.c: Likewise.
3063 * stdio-common/ctermid.c: Likewise.
3064 * stdio-common/cuserid.c: Likewise.
3065 * stdio-common/remove.c: Likewise.
3066 * stdio-common/rename.c: Likewise.
3067 * stdio-common/renameat.c: Likewise.
3068 * stdio-common/tempname.c: Likewise.
3069 * stdlib/getcontext.c: Likewise.
3070 * stdlib/makecontext.c: Likewise.
3071 * stdlib/setcontext.c: Likewise.
3072 * stdlib/swapcontext.c: Likewise.
3073 * stdlib/system.c: Likewise.
3074 * streams/fattach.c: Likewise.
3075 * streams/fdetach.c: Likewise.
3076 * streams/getmsg.c: Likewise.
3077 * streams/getpmsg.c: Likewise.
3078 * streams/putmsg.c: Likewise.
3079 * streams/putpmsg.c: Likewise.
3080 * sysdeps/unix/bsd/getpt.c: Likewise.
3081 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3082 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3083 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3085 Likewise.
3086 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3087 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3088 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3089 * sysvipc/msgctl.c: Likewise.
3090 * sysvipc/msgget.c: Likewise.
3091 * sysvipc/msgrcv.c: Likewise.
3092 * sysvipc/msgsnd.c: Likewise.
3093 * sysvipc/semctl.c: Likewise.
3094 * sysvipc/semget.c: Likewise.
3095 * sysvipc/semop.c: Likewise.
3096 * sysvipc/semtimedop.c: Likewise.
3097 * sysvipc/shmat.c: Likewise.
3098 * sysvipc/shmctl.c: Likewise.
3099 * sysvipc/shmdt.c: Likewise.
3100 * sysvipc/shmget.c: Likewise.
3101 * termios/tcdrain.c: Likewise.
3102 * termios/tcflow.c: Likewise.
3103 * termios/tcflush.c: Likewise.
3104 * termios/tcgetattr.c: Likewise.
3105 * termios/tcgetpgrp.c: Likewise.
3106 * termios/tcsendbrk.c: Likewise.
3107 * termios/tcsetattr.c: Likewise.
3108 * termios/tcsetpgrp.c: Likewise.
3109 * time/adjtime.c: Likewise.
3110 * time/clock.c: Likewise.
3111 * time/getitimer.c: Likewise.
3112 * time/gettimeofday.c: Likewise.
3113 * time/setitimer.c: Likewise.
3114 * time/settimeofday.c: Likewise.
3115 * time/stime.c: Likewise.
3116 * time/time.c: Likewise.
3117
31182012-11-04 Pino Toscano <toscano.pino@tiscali.it>
3119
3120 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3121 /usr/old/bin.
3122
3123 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3124 instead of spaces.
3125 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3126
31272012-11-03 Joseph Myers <joseph@codesourcery.com>
3128
3129 [BZ #14796]
3130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3131 FE_TONEAREST before applying Dekker multiplication and Knuth
3132 addition. Clear inexact exceptions and check for exact zero
3133 results afterwards.
3134 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3135 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3137 * math/libm-test.inc (fma_test): Add more tests.
3138 (fma_test_towardzero): Likewise.
3139 (fma_test_downward): Likewise.
3140 (fma_test_upward): Likewise.
3141 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3142 function.
3143 (libc_fesetround): New macro.
3144 (libc_fesetroundf): Likewise.
3145 (libc_fesetroundl): Likewise.
3146 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3147 function.
3148 (libc_fesetround_387): Likewise.
3149 (libc_fesetroundf): New macro.
3150 (libc_fesetround): Likewise.
3151 (libc_fesetroundl): Likewise.
3152 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3153 function.
3154 (libc_fesetroundf): New macro.
3155 (libc_fesetround): Likewise.
3156 (libc_fesetroundl): Likewise.
3157 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3158 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3159 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3160 libm_hidden_ver.
3161 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3162 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3163 libm_hidden_def.
3164 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3165 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3166 libm_hidden_ver.
3167 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3168 libm_hidden_def.
3169
3170 [BZ #3439]
3171 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3172 integer constant usable in #if and use that to give value to enum
3173 constant.
3174 (FE_DIVBYZERO): Likewise.
3175 (FE_UNDERFLOW): Likewise.
3176 (FE_OVERFLOW): Likewise.
3177 (FE_INVALID): Likewise.
3178 (FE_INVALID_SNAN): Likewise.
3179 (FE_INVALID_ISI): Likewise.
3180 (FE_INVALID_IDI): Likewise.
3181 (FE_INVALID_ZDZ): Likewise.
3182 (FE_INVALID_IMZ): Likewise.
3183 (FE_INVALID_COMPARE): Likewise.
3184 (FE_INVALID_SOFTWARE): Likewise.
3185 (FE_INVALID_SQRT): Likewise.
3186 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3187 (FE_TONEAREST): Likewise.
3188 (FE_TOWARDZERO): Likewise.
3189 (FE_UPWARD): Likewise.
3190 (FE_DOWNWARD): Likewise.
3191 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3192 (FE_DIVBYZERO): Likewise.
3193 (FE_OVERFLOW): Likewise.
3194 (FE_UNDERFLOW): Likewise.
3195 (FE_INEXACT): Likewise.
3196 (FE_TONEAREST): Likewise.
3197 (FE_DOWNWARD): Likewise.
3198 (FE_UPWARD): Likewise.
3199 (FE_TOWARDZERO): Likewise.
3200 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3201 (FE_UNDERFLOW): Likewise.
3202 (FE_OVERFLOW): Likewise.
3203 (FE_DIVBYZERO): Likewise.
3204 (FE_INVALID): Likewise.
3205 (FE_TONEAREST): Likewise.
3206 (FE_TOWARDZERO): Likewise.
3207 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3208 (FE_OVERFLOW): Likewise.
3209 (FE_UNDERFLOW): Likewise.
3210 (FE_DIVBYZERO): Likewise.
3211 (FE_INEXACT): Likewise.
3212 (FE_TONEAREST): Likewise.
3213 (FE_TOWARDZERO): Likewise.
3214 (FE_UPWARD): Likewise.
3215 (FE_DOWNWARD): Likewise.
3216 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3217 (FE_DIVBYZERO): Likewise.
3218 (FE_OVERFLOW): Likewise.
3219 (FE_UNDERFLOW): Likewise.
3220 (FE_INEXACT): Likewise.
3221 (FE_TONEAREST): Likewise.
3222 (FE_DOWNWARD): Likewise.
3223 (FE_UPWARD): Likewise.
3224 (FE_TOWARDZERO): Likewise.
3225
32262012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3227
3228 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3229
32302012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3231
3232 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3233 commands. Quote $PWD.
3234 (blacklist_exports): Don't use remove_newlines. Replace "declare
3235 -x" by "export".
3236 (remove_newlines): Remove.
3237
32382012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3239
3240 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3241 * stdlib/stdlib.h (atof): Moved to ...
3242 * include/bits/stdlib-float.h: Here. New file.
3243 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3244 * stdlib/bits/stdlib-float.h: New file.
3245 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3246 -mno-sse -mno-mmx.
3247 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3248 <xmmintrin.h>.
3249
32502012-11-02 Joseph Myers <joseph@codesourcery.com>
3251
3252 * conform/conformtest.pl (@headers): Add fenv.h.
3253 * conform/data/fenv.h-data: New file.
3254 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3255 include of <math/fenv.h>.
3256
3257 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3258 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3259 && !UNIX98]. Enables tests for XOPEN2K8.
3260 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3261 POSIX2008]: Likewise.
3262
3263 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3264 (struct rusage): Do not expect type or its members.
3265
3266 [BZ #3439]
3267 * math/math.h (FP_NAN): Define macro to integer constant usable in
3268 #if and use that to give value to enum constant.
3269 (FP_INFINITE): Likewise.
3270 (FP_ZERO): Likewise.
3271 (FP_SUBNORMAL): Likewise.
3272 (FP_NORMAL): Likewise.
3273
32742012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3275
3276 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3277 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3278 arguments.
3279
32802012-11-02 Roland McGrath <roland@hack.frob.com>
3281
3282 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3283 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3284 autoconf-time if not.
3285 * configure.in: Remove AC_PREREQ.
3286
32872012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3288
3289 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3290 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3291 of the internal implementation.
3292
32932012-11-02 Joseph Myers <joseph@codesourcery.com>
3294
3295 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3296 except include of <misc/sys/syslog.h>.
3297
32982012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3299
3300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3301 function returns with a NULL context exit with zero.
3302
33032012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3304
3305 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3306
33072012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3308
3309 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3310 (run_program_cmd): This.
3311 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3312 (tst_langinfo): New variable. Use it.
3313
33142012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3315
3316 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3317 floating point opcodes.
3318
33192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3320
3321 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3322 variable.
3323
3324 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3325
3326 * sysdeps/mach/hurd/powerpc: Remove directory.
3327 * sysdeps/mach/powerpc: Likewise.
3328
33292012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3330
3331 * scripts/check-local-headers.sh: Ignore c++ headers.
3332
33332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3334
3335 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3336 __libc_cleanup_region_start argument.
3337
33382012-11-01 Joseph Myers <joseph@codesourcery.com>
3339
3340 [BZ #14784]
3341 [BZ #14785]
3342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3343 x * y using scaling, not as x * y + z.
3344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3345 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3346 * math/libm-test.inc (fma_test): Add more tests.
3347 (fma_test_towardzero): Likewise.
3348 (fma_test_downward): Likewise.
3349 (fma_test_upward): Likewise.
3350
33512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3352
3353 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3354
33552012-10-31 Joseph Myers <joseph@codesourcery.com>
3356
3357 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3358 New variable.
3359
33602012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3361
3362 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3363
33642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3365
3366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3367 Fix sort order.
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3369 Likewise.
3370
33712012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3372
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3374 Fix the order of the list for glibc 2.17.
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3376 Likewise.
3377
33782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3379
3380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3381
33822012-10-31 Joseph Myers <joseph@codesourcery.com>
3383
3384 [BZ #14610]
3385 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3386 for low part of x being zero before using __atanl (y).
3387 * math/libm-test.inc (atan2_test): Add another test.
3388
3389 * manual/install.texi (Configuring and compiling): Document
3390 general use of test-wrapper and test-wrapper-env.
3391 * INSTALL: Regenerated.
3392
3393 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3394 (__fma): Do not extract and scale down low bits on after-rounding
3395 systems when result rounded to normal precision would have normal
3396 exponent.
3397 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3398 (__fmal): Do not extract and scale down low bits on after-rounding
3399 systems when result rounded to normal precision would have normal
3400 exponent.
3401 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3402 (__fmal): Do not extract and scale down low bits on after-rounding
3403 systems when result rounded to normal precision would have normal
3404 exponent.
3405 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3406 macro.
3407 (fma_test): Add more tests.
3408 (fma_test_towardzero): Likewise.
3409 (fma_test_downward): Likewise.
3410 (fma_test_upward): Likewise.
3411
34122012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3413
3414 * sysdeps/i386/tininess.h: Renamed to ...
3415 * sysdeps/x86/tininess.h: This.
3416 * sysdeps/x86_64/tininess.h: Removed.
3417
34182012-10-30 Joseph Myers <joseph@codesourcery.com>
3419
3420 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3421 input. Use $(build-program-cmd).
3422 ($(objpfx)tst-array1-static.out): Likewise.
3423 ($(objpfx)tst-array2.out): Likewise.
3424 ($(objpfx)tst-array3.out): Likewise.
3425 ($(objpfx)tst-array4.out): Likewise.
3426 ($(objpfx)tst-array5.out): Likewise.
3427 ($(objpfx)tst-array5-static.out): Likewise.
3428
34292012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3430
3431 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3432 if defined.
3433
3434 * nss/nsswitch.h (nss_interface_function): Provide new
3435 macro for use with NSS functions.
3436 * grp/initgroups.c: Use new macro.
3437 * nss/getXXbyYY.c: Likewise.
3438 * nss/getXXbyYY_r.c: Likewise.
3439 * nss/getXXent.c: Likewise.
3440 * nss/getXXent_r.c: Likewise.
3441 * sysdeps/posix/getaddrinfo.c: Likewise.
3442
34432012-10-30 Andreas Jaeger <aj@suse.de>
3444
3445 * po/ru.po: Update Russion translation from translation project.
3446
34472012-10-30 Joseph Myers <joseph@codesourcery.com>
3448
3449 [BZ #14152]
3450 [BZ #14783]
3451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3452 result and shift together with sticky bit instead of replicating
3453 round-to-nearest rounding.
3454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3456 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3457 missing underflow exceptions.
3458 (fma_test_towardzero): Add more tests.
3459 (fma_test_downward): Likewise.
3460 (fma_test_upward): Likewise.
3461
3462 [BZ #14047]
3463 * sysdeps/generic/tininess.h: New file.
3464 * sysdeps/i386/tininess.h: Likewise.
3465 * sysdeps/sh/tininess.h: Likewise.
3466 * sysdeps/x86_64/tininess.h: Likewise.
3467 * stdlib/tst-strtod-underflow.c: Likewise.
3468 * stdlib/tst-tininess.c: Likewise.
3469 * stdlib/strtod_l.c: Include <tininess.h>.
3470 (round_and_return): Do not set errno for exact underflow cases.
3471 Force an underflow exception when setting errno for underflow.
3472 Determine underflow based on rounding to normal precision if
3473 TININESS_AFTER_ROUNDING.
3474 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3475 ERANGE for exact underflow cases.
3476 * stdlib/Makefile (tests): Add tst-tininess and
3477 tst-strtod-underflow.
3478 ($(objpfx)tst-tininess): Use $(link-libm).
3479 ($(objpfx)tst-strtod-underflow): Likewise.
3480
34812012-10-30 Andreas Jaeger <aj@suse.de>
3482
3483 [BZ#14767]
3484 * elf/Makefile (tests): Remove conditional for have-initfini-array
3485 since this is now always required and the variable does not exist
3486 anymore.
3487 (tests-static): Likewise.
3488 (modules-names): Likewise.
3489
3490 * po/eo.po: Add Esperanto translation from translation project.
3491
3492 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3493 merged with constructor/destructor.
3494 (init_array): Likewise.
3495 * elf/tst-array2dep.c (fini_array): Likewise.
3496 (init_array): Likewise.
3497
34982012-10-29 Mike Frysinger <vapier@gentoo.org>
3499
3500 * manual/message.texi: Delete @cartouche tags.
3501
35022012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3503
3504 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3505 EOPNOTSUPP.
3506 * sysdeps/mach/hurd/fsync.c: Likewise.
3507
3508 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3509 [_POSIX_REALTIME_SIGNALS]: Change condition to
3510 [_POSIX_REALTIME_SIGNALS > 0].
3511
35122012-10-27 Andreas Jaeger <aj@suse.de>
3513
3514 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3515 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3517 [__WORDSIZE != 64]: Likewise.
3518
35192012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3520
3521 * iconvdata/tst-table.sh: Remove ${SHELL}.
3522 * iconvdata/tst-tables.sh: Likewise.
3523
35242012-10-25 David S. Miller <davem@davemloft.net>
3525
3526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3527 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3528 of strtoull.
3529
3530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3531 ifunc-impl-list.c
3532 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3533 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3534 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3535 file.
3536
35372012-10-25 Roland McGrath <roland@hack.frob.com>
3538
3539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3540 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3541 __getdirentries.
3542
35432012-10-25 Joseph Myers <joseph@codesourcery.com>
3544 Jim Blandy <jimb@codesourcery.com>
3545
3546 * scripts/cross-test-ssh.sh: New file.
3547 * manual/install.texi (Configuring and compiling): Document use of
3548 cross-test-ssh.sh.
3549 * INSTALL: Regenerated.
3550
35512012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3552
3553 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3554 EOPNOTSUPP.
3555
35562012-10-25 Joseph Myers <joseph@codesourcery.com>
3557
3558 * Makeconfig (run-program-prefix): Fix comment.
3559
35602012-10-24 Joseph Myers <joseph@codesourcery.com>
3561 Jim Blandy <jimb@codesourcery.com>
3562
3563 * Makeconfig (test-wrapper): New variable,
3564 (test-wrapper-env): Likewise.
3565 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3566 (run-built-tests): Define to yes.
3567 (run-program-prefix): Use $(test-wrapper).
3568 (built-program-cmd): Likewise.
3569 * Rules (make-test-out): Use $(test-wrapper-env) and
3570 $(host-built-program-cmd).
3571 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3572 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3573 tst-pathopt.sh.
3574 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3575 $(test-wrapper-env) to tst-rtld-load-self.sh.
3576 ($(objpfx)order2.out): Use $(test-wrapper).
3577 ($(objpfx)tst-initorder.out): Likewise.
3578 ($(objpfx)tst-initorder2.out): Likewise.
3579 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3580 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3581 (test_wrapper_env): New variable. Use it to run ld.so.
3582 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3583 Use it to run ld.so.
3584 (test_wrapper_env): Likewise.
3585 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3586 $(test-wrapper) to run-iconv-test.sh.
3587 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3588 (ICONV): Use $test_wrapper.
3589 * posix/Makefile ($(objpfx)globtest.out): Pass
3590 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3591 globtest.sh, not $(run-program-prefix).
3592 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3593 (test_wrapper): Likewise.
3594 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3595 set together with run_via_rtld_prefix.
3596 (run_program_prefix): Define in terms of test_wrapper and
3597 run_via_rtld_prefix.
3598
35992012-10-24 Roland McGrath <roland@hack.frob.com>
3600
3601 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3602 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3603 Targets removed.
3604
3605 [BZ #14743]
3606 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3607 Declare __clock_getres, __clock_gettime, __clock_settime,
3608 __clock_nanosleep, and __clock_getcpuclockid.
3609 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3610 Remove librt_hidden_def (clock_gettime).
3611 * sysdeps/unix/clock_gettime.c: Likewise.
3612 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3613 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3614 * rt/clock_getres.c: Define __clock_getres as an alias.
3615 * sysdeps/posix/clock_getres.c: Likewise.
3616 * rt/clock_settime.c: Define __clock_settime as an alias.
3617 * sysdeps/unix/clock_settime.c: Likewise.
3618 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3619 * sysdeps/unix/clock_nanosleep.c: Likewise.
3620 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3621 * rt/clock-compat.c: New file.
3622 * rt/Makefile (librt-routines): Add clock-compat and move
3623 $(clock-routines) to ...
3624 (routines): ... here, new variable.
3625 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3626 Don't add get_clockfreq here.
3627 * rt/Versions (libc: GLIBC_2.17): New version set.
3628 Add clock_* symbols here.
3629 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3630 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3631 (GLIBC_2.17): Add clock_* symbols.
3632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3634 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3636 Likewise.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3638 Likewise.
3639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3643 * NEWS: Mention the move.
3644
3645 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3646 Use __open, __read, __close rather than their public counterparts.
3647 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3648 (__get_clockfreq_via_cpuinfo): Likewise.
3649 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3650 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3651
3652 * config.h.in (HAVE_IFUNC): New #undef.
3653 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3654 was successful.
3655 * configure: Regenerated.
3656
36572012-10-24 Mike Frysinger <vapier@gentoo.org>
3658
3659 * configure.in: Move READELF check to start of file.
3660 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3661 libc_cv_asm_gnu_indirect_function in the process.
3662 * configure: Regenerated.
3663
36642012-10-24 Mike Frysinger <vapier@gentoo.org>
3665
3666 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3667 send the output to /dev/null.
3668 (libc_cv_cc_with_libunwind): Likewise.
3669 (libc_cv_as_noexecstack): Likewise.
3670 * configure: Regenerate.
3671
36722012-10-24 Joseph Myers <joseph@codesourcery.com>
3673
3674 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3675
3676 * posix/globtest.sh (TMPDIR): Do not set.
3677 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3678 (testout): Likewise.
3679
36802012-10-24 Andreas Jaeger <aj@suse.de>
3681
3682 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3683 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3684 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3685 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3686 posix_fadvise64, posix_fallocate64.
3687
3688 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3689 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3690 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3691 Likewise.
3692 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3693 Likewise.
3694 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3695
3696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3697 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3698 <bits/fcntl-linux.h>.
3699 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3700
3701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3702 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3703 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3704 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3705 [__WORDSIZE != 64]: Likewise.
3706
37072012-10-23 Joseph Myers <joseph@codesourcery.com>
3708
3709 * Makeconfig (run-built-tests): New variable.
3710 * Rules [$(cross-compiling) = yes]: Change condition to
3711 [$(run-built-tests) = no].
3712 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3713 to [$(run-built-tests) = yes].
3714 * elf/Makefile [$(cross-compiling) = no]: Likewise
3715 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3716 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3717 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3718 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3719 * io/Makefile [$(cross-compiling) = no]: Likewise.
3720 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3721 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3722 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3723 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3724 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3725 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3726 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3727 * string/Makefile [$(cross-compiling) = no]: Likewise.
3728
3729 * posix/Makefile ($(objpfx)globtest.out): Pass
3730 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3731 $(rtld-installed-name).
3732 * posix/globtest.sh (elf_objpfx): Remove variable.
3733 (rtld_installed_name): Likewise.
3734 (library_path): Likewise.
3735 (run_program_prefix): New variable. Use for running globtest
3736 binary.
3737
37382012-10-23 Jim Blandy <jimb@codesourcery.com>
3739 Joseph Myers <joseph@codesourcery.com>
3740
3741 * Makeconfig (host-built-program-cmd): New variable.
3742 * elf/Makefile (tst-stackguard1-ARGS): Use
3743 $(host-built-program-cmd).
3744 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3745 (tst-spawn-ARGS): Likewise.
3746 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3747
37482012-10-23 Joseph Myers <joseph@codesourcery.com>
3749 Jim Blandy <jimb@codesourcery.com>
3750
3751 * Makeconfig (run-via-rtld-prefix): New variable.
3752 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3753 (built-program-cmd): Likewise.
3754
37552012-10-22 Andreas Jaeger <aj@suse.de>
3756
3757 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3758 __O_RSYNC if it exists, otherwise to O_SYNC.
3759
37602012-10-22 Jim Blandy <jimb@codesourcery.com>
3761 Joseph Myers <joseph@codesourcery.com>
3762
3763 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3764 /dev/null.
3765 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3766 from /dev/null
3767 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3768 /dev/null.
3769
37702012-10-22 Andreas Jaeger <aj@suse.de>
3771
3772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3773 Define always.
3774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3775
3776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3777 bits/fcntl-linux.h.
3778
3779 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3780 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3781
3782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3783 to __O_LARGEFILE.
3784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3785 to __O_LARGEFILE.
3786
37872012-10-21 Jim Blandy <jimb@codesourcery.com>
3788 Joseph Myers <joseph@codesourcery.com>
3789
3790 * config.make.in (NM): New variable.
3791
37922012-10-21 Andreas Jaeger <aj@suse.de>
3793
3794 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3795 definitions and declarations that are provided by
3796 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3797
37982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3799
3800 [BZ #14683]
3801 * elf/Makefile (tests-static): Add tst-leaks1-static.
3802 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3803 ($(objpfx)tst-leaks1-static): New rule.
3804 ($(objpfx)tst-leaks1-static-mem): Likewise.
3805 (tst-leaks1-static-ENV): New macro.
3806 * elf/dl-open.c (dl_open_worker): Check the main application
3807 only if SHARED is defined.
3808 * elf/tst-leaks1-static.c: New file.
3809
38102012-10-20 Andreas Jaeger <aj@suse.de>
3811
3812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3813 generic values for Linux.
3814 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3815 and declarations that are provided by <bits/fcntl-linux.h> and
3816 include <bits/fcntl-linux.h>.
3817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3818 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3819
38202012-10-20 Roland McGrath <roland@hack.frob.com>
3821
3822 * io/fcntl.h: Move include of <bits/types.h> to the top and
3823 include it unconditionally.
3824
38252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3826
3827 * wcsmbs/Makefile (tests-ifunc): New variable.
3828 (tests): Add $(tests-ifunc).
3829 * wcsmbs/test-wcschr-ifunc.c: New file.
3830 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3831 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3832 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3833 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3834 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3835
3836 * string/Makefile (tests-ifunc): New variable.
3837 (tests): Add $(tests-ifunc).
3838 * string/test-memccpy.c (TEST_NAME): New macro.
3839 * string/test-memchr.c (TEST_NAME): Likewise.
3840 * string/test-memcmp.c (TEST_NAME): Likewise.
3841 * string/test-memcpy.c (TEST_NAME): Likewise.
3842 * string/test-memmem.c (TEST_NAME): Likewise.
3843 * string/test-memmove.c (TEST_NAME): Likewise.
3844 * string/test-memset.c (TEST_NAME): Likewise.
3845 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3846 * string/test-stpcpy.c (TEST_NAME): Likewise.
3847 * string/test-stpncpy.c (TEST_NAME): Likewise.
3848 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3849 * string/test-strcasestr.c (TEST_NAME): Likewise.
3850 * string/test-strcat.c (TEST_NAME): Likewise.
3851 * string/test-strchr.c (TEST_NAME): Likewise.
3852 * string/test-strcmp.c(TEST_NAME): Likewise.
3853 * string/test-strcpy.c (TEST_NAME): Likewise.
3854 * string/test-strcspn.c (TEST_NAME): Likewise.
3855 * string/test-strlen.c (TEST_NAME): Likewise.
3856 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3857 * string/test-strncmp.c (TEST_NAME): Likewise.
3858 * string/test-strncpy.c (TEST_NAME): Likewise.
3859 * string/test-strnlen.c (TEST_NAME): Likewise.
3860 * string/test-strpbrk.c (TEST_NAME): Likewise.
3861 * string/test-strrchr.c (TEST_NAME): Likewise.
3862 * string/test-strspn.c (TEST_NAME): Likewise.
3863 * string/test-strstr.c (TEST_NAME): Likewise.
3864 * string/test-bcopy-ifunc.c: New file.
3865 * string/test-bzero-ifunc.c: Likewise.
3866 * string/test-memccpy-ifunc.c: Likewise.
3867 * string/test-memchr-ifunc.c: Likewise.
3868 * string/test-memcmp-ifunc.c: Likewise.
3869 * string/test-memcpy-ifunc.c: Likewise.
3870 * string/test-memmem-ifunc.c: Likewise.
3871 * string/test-memmove-ifunc.c: Likewise.
3872 * string/test-mempcpy-ifunc.c: Likewise.
3873 * string/test-memset-ifunc.c: Likewise.
3874 * string/test-rawmemchr-ifunc.c: Likewise.
3875 * string/test-stpcpy-ifunc.c: Likewise.
3876 * string/test-stpncpy-ifunc.c: Likewise.
3877 * string/test-strcasecmp-ifunc.c: Likewise.
3878 * string/test-strcasestr-ifunc.c: Likewise.
3879 * string/test-strcat-ifunc.c: Likewise.
3880 * string/test-strchr-ifunc.c: Likewise.
3881 * string/test-strchrnul-ifunc.c: Likewise.
3882 * string/test-strcmp-ifunc.c: Likewise.
3883 * string/test-strcpy-ifunc.c: Likewise.
3884 * string/test-strcspn-ifunc.c: Likewise.
3885 * string/test-strlen-ifunc.c: Likewise.
3886 * string/test-strncasecmp-ifunc.c: Likewise.
3887 * string/test-strncat-ifunc.c: Likewise.
3888 * string/test-strncmp-ifunc.c: Likewise.
3889 * string/test-strncpy-ifunc.c: Likewise.
3890 * string/test-strnlen-ifunc.c: Likewise.
3891 * string/test-strpbrk-ifunc.c: Likewise.
3892 * string/test-strrchr-ifunc.c: Likewise.
3893 * string/test-strspn-ifunc.c: Likewise.
3894 * string/test-strstr-ifunc.c: Likewise.
3895
3896 * debug/Makefile (tests-ifunc): New variable.
3897 (tests): Add $(tests-ifunc).
3898 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3899 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3900 * debug/test-stpcpy_chk-ifunc.c: New file.
3901 * debug/test-strcpy_chk-ifunc.c: Likewise.
3902
39032012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3904
3905 [BZ #13601]
3906 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3907 header is not read in.
3908
39092012-10-19 Joseph Myers <joseph@codesourcery.com>
3910
3911 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3912 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3913 directly. Pass built executable to script as
3914 $(built-program-cmd).
3915 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3916 $testprogram without using LD_LIBRARY_PATH and $ldso.
3917
3918 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3919 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3920 $(rtld-installed-name).
3921 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3922 (rtld_installed_name): Likewise.
3923 (library_path): Likewise.
3924 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3925 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3926 $(run-program-prefix) to tst-tables.sh.
3927 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3928 it to run tst-table-from and tst-table-to.
3929 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3930 Pass it to tst-table.sh.
3931 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3932 $(run-program-prefix) to tst-gettext.sh.
3933 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3934 tst-translit.sh.
3935 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3936 tst-gettext2.sh.
3937 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3938 to run tst-gettext.
3939 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3940 to run tst-gettext2.
3941 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3942 to run tst-translit.
3943 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3944 $(run-program-prefix) to tst-mtrace.sh.
3945 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3946 to run tst-mtrace.
3947 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3948 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3949 $(rtld-installed-name).
3950 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3951 (rtld_installed_name): Likewise.
3952 (run_program_prefix): New variable. Use it to run wordexp-test.
3953
3954 * Makeconfig (ARCH): Remove all definitions.
3955 (machine): Likewise.
3956 [ARCH]: Remove conditional code.
3957 [!objdir]: Give error.
3958 [!objdir] (objpfx): Remove.
3959 [!objdir] (common-objpfx): Likewise.
3960 [!objdir] (common-objdir): Likewise.
3961 * configure.in (config_makefile): Remove. Hardcode Makefile in
3962 AC_CONFIG_FILES call.
3963 * configure: Regenerated.
3964
3965 [BZ #13888]
3966 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3967 or TMPDIR.
3968 (testout): Likewise.
3969
3970 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3971 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3972 $(rtld-installed-name).
3973 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3974 (rtld_installed_name): Likwise.
3975 (runit): Remove function.
3976 (run_getconf): New variable, Use it for running getconf binary.
3977
39782012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3979
3980 [BZ #14716]
3981 * string/test-memmem.c (check_result): New function.
3982 (do_one_test): Use it.
3983 (check1): New function.
3984 (test_main): Use it.
3985
39862012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3987
3988 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3989
39902012-10-18 Joseph Myers <joseph@codesourcery.com>
3991
3992 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3993 (_G_LSEEK64): Likewise.
3994 (_G_MMAP64): Likewise.
3995 (_G_FSTAT64): Likewise.
3996 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3997 (_G_LSEEK64): Likewise.
3998 (_G_MMAP64): Likewise.
3999 (_G_FSTAT64): Likewise.
4000 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4001 unconditional. Call __mmap64 directly.
4002 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4003 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4004 __lseek64 directly.
4005 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4006 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4007 __mmap64 directly.
4008 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4009 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4010 __lseek64 directly.
4011 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4012 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4013 __lseek64 directly.
4014 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4015 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4016 __lseek64 directly.
4017 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4018 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4019 __fxstat64 directly.
4020 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4021 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4022 unconditional.
4023 (freopen64) [!_G_OPEN64]: Remove conditional code.
4024 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4025 unconditional.
4026 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4027 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4028 unconditional.
4029 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4030 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4031 unconditional.
4032 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4033 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4034 unconditional.
4035 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4036 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4037 unconditional.
4038 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4039 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4040 unconditional.
4041 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4042 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4043 unconditional.
4044 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4045
40462012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4047
4048 [BZ #12140]
4049 * manual/memory.texi (Malloc Tunable Parameters): Add note
4050 about free list pointers overwriting some perturb bytes.
4051 Wording suggested by Roland McGrath.
4052
40532012-10-17 Joseph Myers <joseph@codesourcery.com>
4054
4055 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4056 (lgamma_test): Likewise.
4057 (tgamma_test): Likewise.
4058
40592012-10-16 Florian Weimer <fweimer@redhat.com>
4060
4061 [BZ #14700]
4062 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4063 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4064
40652012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4066
4067 * NEWS: Mention BZ #14716.
4068 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4069 when removing AVAILABLE1_USES_J macro.
4070
40712012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4072
4073 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4074 (__bswap_64): __uint64_t for unsigned 64-bit int.
4075
40762012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4077
4078 * include/string.h (memmem): Declare libc hidden alias.
4079 * string/memmem.c (memmem): Define libc hidden alias.
4080 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4081 __read, __close instead of open, read, close.
4082
40832012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4084
4085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4086 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4087 global and hidden.
4088 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4089 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4090 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4091 Likewise.
4092 (__rawmemchr_sse2): Likewise.
4093 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4094 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4095 (__strchr_sse2): Likewise.
4096 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4097 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4098 (__strcasecmp_sse2): Likewise.
4099 (__strncasecmp_sse2): Likewise.
4100 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4101 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4102 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4103 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4104 (__strrchr_sse2): Likewise.
4105 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4106 ifunc-impl-list.c.
4107 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4108 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4109 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4110 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4111 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4112 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4113 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4114 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4115 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4116 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4117 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4118 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4119 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4120 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4121 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4122 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4123 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4124 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4125 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4126 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4127 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4128 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4129 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4130 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4131 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4132 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4133 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4134 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4135 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4136 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4137
4138 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4139 global and hidden.
4140 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4141 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4142 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4143 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4144 Likewise.
4145 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4146 Likewise.
4147 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4148 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4149 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4150 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4151 ifunc-impl-list.c.
4152 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4153 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4154 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4155 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4156 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4157 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4158 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4159 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4160 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4161 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4162 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4163 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4164 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4165 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4166 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4167 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4168 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4169 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4170 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4171 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4172 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4173 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4174 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4175 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4176 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4177 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4178 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4179 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4180 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4181 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4182 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4183 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4184 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4185 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4186 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4187 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4188 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4189 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4190 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4191 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4192 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4193
4194 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4195 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4196 * include/ifunc-impl-list.h: New file.
4197 * misc/ifunc-impl-list.c: Likewise.
4198 * misc/Makefile (routines): Add ifunc-impl-list.
4199 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4200 * string/test-string.h: Include <ifunc-impl-list.h>.
4201 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4202 impl_array): New variables.
4203 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4204 are defined.
4205 (test_init): Call __libc_ifunc_impl_list to initialize
4206 func_list if TEST_IFUNC and TEST_NAME are defined.
4207
4208 * string/Makefile (strop-tests): Add bcopy and bzero.
4209 * string/test-bcopy.c: New file.
4210 * string/test-bzero.c: Likewise.
4211 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4212 defined.
4213 * string/test-memset.c: Support bzero test if TEST_BZERO is
4214 defined.
4215 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4216 __libc_memmove.
4217 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4218 __libc_memset.
4219 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4220 of memset.
4221
42222012-10-10 Joseph Myers <joseph@codesourcery.com>
4223
4224 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4225 * configure: Regenerated.
4226
4227 * Makeconfig (+link-static-before-libc): Don't include
4228 $(link-static-libc).
4229
4230 * libio/libio.h (_IO_pos_t): Remove.
4231
42322012-10-10 Alexandre Oliva <aoliva@redhat.com>
4233
4234 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4235 McGrath.
4236
42372012-10-10 Alexandre Oliva <aoliva@redhat.com>
4238
4239 * crypt/crypt-entry.c: Include fips-private.h.
4240 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4241 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4242 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4243 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4244
42452012-10-10 Alexandre Oliva <aoliva@redhat.com>
4246
4247 * crypt/crypt-private.h: Include stdbool.h.
4248 (_ufc_setup_salt_r): Return bool.
4249 * crypt/crypt-entry.c: Include errno.h.
4250 (__crypt_r): Return NULL with EINVAL for bad salt.
4251 * crypt/crypt_util.c (bad_for_salt): New.
4252 (_ufc_setup_salt_r): Check that salt is long enough and within
4253 the specified alphabet.
4254 * crypt/badsalttest.c: New file.
4255 * crypt/Makefile (tests): Add it.
4256 ($(objpfx)badsalttest): New.
4257
42582012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4259
4260 * NEWS: Add entry for BZ #14602.
4261
42622012-10-09 Joseph Myers <joseph@codesourcery.com>
4263
4264 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4265 type-generic.
4266 * math/libm-test.inc: Update comment listing what functions and
4267 macros are tested.
4268 (isgreater_test): New function.
4269 (isgreaterequal_test): Likewise.
4270 (isless_test): Likewise.
4271 (islessequal_test): Likewise.
4272 (islessgreater_test): Likewise.
4273 (isunordered_test): Likewise.
4274 (main): Call the new functions.
4275
42762012-10-09 Roland McGrath <roland@hack.frob.com>
4277
4278 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4279 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4280 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4281 * sysdeps/i386/configure: Regenerated.
4282 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4283 * sysdeps/mach/configure: Regenerated.
4284 * sysdeps/mach/hurd/configure: Regenerated.
4285 * sysdeps/powerpc/configure: Regenerated.
4286 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4287 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4288 * sysdeps/s390/s390-32/configure: Regenerated.
4289 * sysdeps/s390/s390-64/configure: Regenerated.
4290 * sysdeps/sh/configure: Regenerated.
4291 * sysdeps/sparc/configure: Regenerated.
4292 * sysdeps/unix/sysv/linux/configure: Regenerated.
4293 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4294 * sysdeps/x86_64/configure: Regenerated.
4295
4296 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4297 defined. Don't check if MAP is NULL.
4298
42992012-10-09 Joseph Myers <joseph@codesourcery.com>
4300
4301 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4302 (_G_stat64): Likewise.
4303 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4304 (_G_stat64): Likewise.
4305 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4306 instead of struct _G_stat64.
4307 * libio/fileops.c (mmap_remap_check): Likewise.
4308 (decide_maybe_mmap): Likewise.
4309 (_IO_new_file_seekoff): Likewise.
4310 (_IO_file_stat): Likewise.
4311 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4312 _G_off64_t.
4313 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4314 instead of struct _G_stat64.
4315 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4316
43172012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4318
4319 [BZ #14602]
4320 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4321 Replace with ...
4322 (CHECK_EOL): New macro.
4323 (two_way_short_needle): Check beginning of haystack for EOL. Use
4324 CHECK_EOL.
4325 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4326 Replace with CHECK_EOL.
4327 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4328 Replace with CHECK_EOL.
4329
43302012-10-08 Joseph Myers <joseph@codesourcery.com>
4331
4332 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4333 type-generic.
4334 * math/libm-test.inc: Update comment listing what functions and
4335 macros are tested.
4336 (finite_test): New function.
4337 (isinf_test): Likewise.
4338 (isnan_test): Likewise.
4339 (fpclassify_test): Test subnormal input.
4340 (isfinite_test): Likewise.
4341 (isnormal_test): Likewise.
4342 (main): Call the new functions.
4343
43442012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4345
4346 [BZ #14660]
4347 * Makerules (%.dynsym): Force C locale when running
4348 $(OBJDUMP) --dynamic-syms.
4349
43502012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4351
4352 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4353 <stdint.h>.
4354
43552012-10-06 David S. Miller <davem@davemloft.net>
4356
4357 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4358 upper 32-bits of the length value in %o2 since we use branch-on-register
4359 tests which consider the entire 64-bit register.
4360
43612012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4362
4363 * string/test-strstr.c (check2): Add a test for page boundary.
4364
43652012-10-05 David S. Miller <davem@davemloft.net>
4366
4367 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4368 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4369 file.
4370 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4371 sysdep_routines.
4372 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4373 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4374 and bzero when HWCAP_SPARC_CRYPTO is present.
4375
43762012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4377
4378 [BZ #14602]
4379 * string/test-strstr.c (check2): New function.
4380 (test_main): Call check2.
4381
4382 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4383 and bug-strchr1.
4384 * string/bug-strcasestr1.c (do_test): Moved to ...
4385 * string/test-strcasestr.c (check1): Here. New function.
4386 (do_one_test): Break out result checking code into ...
4387 (check_result): This. New function.
4388 (do_one_test): Call check_result.
4389 (test_main): Call check1.
4390 * string/bug-strchr1.c (do_test): Moved to ...
4391 * string/test-strchr.c (check1): Here. New function.
4392 (do_one_test): Break out result checking code into ...
4393 (check_result): This. New function.
4394 (do_one_test): Call check_result.
4395 (test_main): Call check1.
4396 * string/bug-strstr1.c (main): Moved to ...
4397 * string/test-strchr.c (check1): Here. New function.
4398 (do_one_test): Break out result checking code into ...
4399 (check_result): This. New function.
4400 (do_one_test): Call check_result.
4401 (test_main): Call check1.
4402 * string/bug-strcasestr1.c: Removed.
4403 * string/bug-strchr1.c: Likewise.
4404 * string/bug-strstr1.c: Likewise.
4405
4406 * elf/Makefile (dl-routines): Add hwcaps.
4407 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4408 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4409 (_dl_important_hwcaps): Moved to ...
4410 * elf/dl-hwcaps.c: Here. New file.
4411 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4412
4413 [BZ #14557]
4414 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4415 if IS_IN_rtld isn't defined.
4416
4417 * elf/dl-support.c (_dl_sysinfo_map): New.
4418 Include "get-dynamic-info.h" and "setup-vdso.h".
4419 (_dl_non_dynamic_init): Call setup_vdso.
4420 * elf/dynamic-link.h: Don't include <assert.h>.
4421 (elf_get_dynamic_info): Moved to ...
4422 * elf/get-dynamic-info.h: Here. New file.
4423 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4424 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4425 * elf/setup-vdso.h: Here. New file.
4426 * elf/rtld.c: Include "setup-vdso.h".
4427 (dl_main): Call setup_vdso.
4428
44292012-10-05 Joseph Myers <joseph@codesourcery.com>
4430
4431 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4432 creal in comment listing functions tested. List finite, isinf,
4433 isnan, isless, islessequal, isgreater, isgreaterequal,
4434 islessgreater, isunordered, lgamma_r and pow10 as functions and
4435 macros not tested. Mention which functions not tested are aliases
4436 for other functions. Fix typo. Note that signs of NaNs are not
4437 tested.
4438
4439 * scripts/config.guess: Update from config.git.
4440 * scripts/config.sub: Likewise.
4441
44422012-10-04 Roland McGrath <roland@hack.frob.com>
4443
4444 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4445 * misc/madvise.c (madvise): Renamed to __madvise.
4446 Make madvise a weak alias.
4447 * include/sys/mman.h: Declare __madvise.
4448 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4449 * sysdeps/unix/syscalls.list
4450 (madvise): Make __madvise the strong name, and madvise a weak alias.
4451 * sysdeps/unix/sysv/linux/syscalls.list
4452 (madvise, mmap): Remove redundant entries.
4453 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4454 * malloc/malloc.c (mtrim): Likewise.
4455 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4456
44572012-10-03 Roland McGrath <roland@hack.frob.com>
4458
4459 * sysdeps/mach/hurd/dl-cache.c: File removed.
4460 * config.h.in (USE_LDCONFIG): New #undef.
4461 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4462 * configure: Regenerated.
4463 * elf/Makefile (dl-routines): Add dl-cache only under
4464 [$(use-ldconfig) = yes].
4465 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4466 cache on [USE_LDCONFIG].
4467 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4468 [USE_LDCONFIG].
4469 * elf/rtld.c (dl_main): Likewise.
4470
44712012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4472
4473 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4474 _SC_LEVEL4_CACHE_LINESIZE.
4475
44762012-10-03 Roland McGrath <roland@hack.frob.com>
4477
4478 * sysdeps/unix/bsd/confstr.h: File removed.
4479
44802012-10-02 Alexandre Oliva <aoliva@redhat.com>
4481
4482 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4483 sys/sdt-config.h.
4484
44852012-10-02 Roland McGrath <roland@hack.frob.com>
4486
4487 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4488 Make 'mapoff' field ElfW(Off) rather than off_t.
4489
44902012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4491
4492 * nscd/Makefile: Remove nscd-cflags and all its users.
4493 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4494 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4495
4496 [BZ #10631]
4497 * malloc.c (malloc_printerr): Clarify error message.
4498
44992012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4500
4501 [BZ #14648]
4502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4503 Set bit_FMA_Usable if FMA is supported.
4504 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4505 macro.
4506 (bit_FMA4_Usable): Updated.
4507 (index_FMA_Usable): New macro.
4508 (CPUID_FMA): Likewise
4509 (HAS_FMA): Defined with bit_FMA_Usable.
4510
45112012-10-01 Roland McGrath <roland@hack.frob.com>
4512
4513 * bits/types.h (__swblk_t): Type removed.
4514 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4515 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4516 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4517 (__SWBLK_T_TYPE): Likewise.
4518 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4519 (__SWBLK_T_TYPE): Likewise.
4520 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4521 (__SWBLK_T_TYPE): Likewise.
4522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4523 (__SWBLK_T_TYPE): Likewise.
4524
45252012-10-01 Patsy Franklin <pfrankli@redhat.com>
4526 Honza Horak <hhorak@redhat.com>
4527
4528 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4529 (xdr_mapname): Use YPMAXMAP as maxsize.
4530 (xdr_peername): Use YPMAXPEER as maxsize.
4531 (xdr_keydat): Use YPAXRECORD as maxsize.
4532 (xdr_valdat): Use YPMAXRECORD as maxsize.
4533
45342012-10-01 Roland McGrath <roland@hack.frob.com>
4535
4536 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4537
4538 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4539 * csu/init-first.c: ... here.
4540 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4541 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4542 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4543 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4544 * sysdeps/i386/init-first.c: File removed.
4545 * sysdeps/sh/init-first.c: File removed.
4546
45472012-10-01 Joseph Myers <joseph@codesourcery.com>
4548
4549 [BZ #14645]
4550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4551 if x * y might underflow to zero and z is zero.
4552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4554 * math/libm-test.inc (min_subnorm_value): New variable.
4555 (fma_test): Add more tests.
4556 (fma_test_towardzero): Likewise.
4557 (fma_test_downward): Likewise
4558 (fma_test_upward): Likewise.
4559 (initialize): Set min_subnorm_value.
4560
45612012-09-29 Joseph Myers <joseph@codesourcery.com>
4562
4563 [BZ #14638]
4564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4565 0 + 0.
4566 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4567 mode for addition resulting in exact zero.
4568 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4569 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4570 exact 0 + 0.
4571 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4572 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4573 * math/libm-test.inc (fma_test): Add more tests.
4574 (fma_test_towardzero): New function.
4575 (fma_test_downward): Likewise.
4576 (fma_test_upward): Likewise.
4577 (main): Call the new functions.
4578
45792012-09-28 David S. Miller <davem@davemloft.net>
4580
4581 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4582
45832012-09-28 Roland McGrath <roland@hack.frob.com>
4584
4585 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4586 instead of SIGALRM.
4587
4588 * sysdeps/gnu/_G_config.h: Moved to ...
4589 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4590 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4591 * sysdeps/generic/_G_config.h: ... here.
4592
4593 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4594
4595 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4596
4597 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4598 Conditionalize target on [libnss_test1.so-version].
4599
4600 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4601
4602 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4603 (elfobjdir): Move out of conditionals.
4604
4605 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4606 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4607 (__nss_lookup_function): Conditionalize label remove_from_tree on
4608 [!DO_STATIC_NSS || SHARED], matching its only use.
4609
46102012-09-28 David S. Miller <davem@davemloft.net>
4611
4612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4613 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4614 file.
4615 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4616 sysdep_routines.
4617 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4618 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4619 when HWCAP_SPARC_CRYPTO is present.
4620
46212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4622
4623 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4624
46252012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4626
4627 [BZ #6530]
4628 * stdio-common/vfprintf.c (process_string_arg): Revert
4629 2000-07-22 change.
4630
46312011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4632
4633 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4634 for testcase.
4635 * stdio-common/tst-sprintf.c: Include <locale.h>
4636 (main): Test sprintf's handling of incomplete multibyte
4637 characters.
4638
46392012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4640
4641 * elf/dl-runtime.c (VERSYMIDX): Removed.
4642 * elf/dl-version.c (VERSYMIDX): Likewise.
4643 * elf/do-rel.h (VERSYMIDX): Likewise.
4644 (VALIDX): Likewise.
4645 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4646 * elf/rtld.c (VALIDX): Likewise.
4647 (ADDRIDX): Likewise.
4648 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4649 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4650 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4651 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4652 (VALIDX): Likewise.
4653 (ADDRIDX): Likewise.
4654
46552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4656
4657 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4658
46592012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4660
4661 [BZ #11438]
4662 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4663 to global scope.
4664 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4665 addresses are in the same scope as 192.0.2/24.
4666 * posix/gai.conf: Document new scope table defaults.
4667
46682012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4669
4670 [BZ #5298]
4671 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4672 for ftell. Compute offsets from write pointers instead.
4673 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4674
46752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4676
4677 [BZ #14543]
4678 * libio/Makefile (tests): New test case tst-fseek.
4679 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4680 combination works in wide mode.
4681 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4682 state when the external buffer state changes.
4683
46842012-09-27 David S. Miller <davem@davemloft.net>
4685
4686 [BZ #14376]
4687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4688 pass reloc->r_addend in as the 'high' argument to
4689 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4690
4691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4692
46932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4694
4695 * rt/tst-aio2.c: Include <pthread.h>.
4696 * rt/tst-aio3.c: Likewise.
4697
46982012-09-27 Steve Ellcey <sellcey@mips.com>
4699
4700 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4701
47022012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4703
4704 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4705 contents on [SHARED].
4706
47072012-09-26 Marek Polacek <polacek@redhat.com>
4708
4709 [BZ #14530]
4710 [BZ #13741]
4711 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4712 for C++ and GCC <4.3 as well as for non GCC compilers.
4713
47142012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4715
4716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4717
47182012-09-25 Roland McGrath <roland@hack.frob.com>
4719
4720 * Makefile.in (all, install): Declare with .PHONY.
4721 Reported by Michael Hope <michael.hope@linaro.org>.
4722
47232012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4724
4725 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4726 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4727 system header.
4728 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4729 Likewise.
4730 (sydep_routines): Add the new and the internal functions.
4731 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4732 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4734 (GLIBC_2.17): Add the new function.
4735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4736 (GLIBC_2.17): Likewise.
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4738 (GLIBC_2.17): Likewise.
4739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4740 (GLIBC_2.17): Likewise.
4741 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4742
47432012-09-25 Alan Modra <amodra@gmail.com>
4744
4745 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4746 Add release barrier before setting once_control to say
4747 initialisation is done. Add hints on lwarx. Use macro in
4748 place of isync.
4749 (clear_once_control): Add release barrier.
4750
47512012-09-25 Joseph Myers <joseph@codesourcery.com>
4752
4753 [BZ #13629]
4754 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4755 specially.
4756 * math/s_clog10.c (__clog10): Likewise.
4757 * math/s_clog10f.c (__clog10f): Likewise.
4758 * math/s_clog10l.c (__clog10l): Likewise.
4759 * math/s_clogf.c (__clogf): Likewise.
4760 * math/s_clogl.c (__clogl): Likewise.
4761 * math/Makefile (libm-calls): Add x2y2m1.
4762 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4763 (__x2y2m1): Likewise.
4764 (__x2y2m1l): Likewise.
4765 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4766 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4767 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4769 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4770 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4771 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4772 * sysdeps/i386/fpu/libm-test-ulps: Update.
4773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4774
4775 [BZ #14621]
4776 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4777 int as type of variable DEPTH.
4778 (glob): Use size_t instead of int as type of variables NEWCOUNT
4779 and OLD_PATHC.
4780
47812012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4782
4783 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4784 Add s_sincosf-sse2.
4785 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4786 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4787 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4788 macros for using routine as __sincosf_ia32.
4789 Use macro for function declaration and weak_alias.
4790 * sysdeps/i386/fpu/libm-test-ulps: Update.
4791
4792 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4794
4795 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4796 subnormal argument.
4797 * math/s_cexpf.c (__cexpf): Likewise.
4798 * math/s_csinf.c (__csinf): Likewise.
4799 * math/s_csinhf.c (__csinhf): Likewise.
4800 * math/s_ctanf.c (__ctanf): Likewise.
4801 * math/s_ctanhf.c (__ctanhf): Likewise.
4802 * math/s_ccosh.c (__ccoshf): Likewise.
4803 * math/s_cexp.c (__cexpl): Likewise.
4804 * math/s_csin.c (__csin): Likewise.
4805 * math/s_csinh.c (__csinh): Likewise.
4806 * math/s_ctan.c (__ctan): Likewise.
4807 * math/s_ctanh.c (ctanh): Likewise.
4808 * math/s_ccoshl.c (__ccoshl): Likewise.
4809 * math/s_cexpl.c (__cexpl): Likewise.
4810 * math/s_csinl.c (__csinl): Likewise.
4811 * math/s_csinhl.c (__csinhl): Likewise.
4812 * math/s_ctanl.c (__ctanl): Likewise.
4813 * math/s_ctanhl.c (__ctanhl): Likewise.
4814
48152012-09-25 Joseph Myers <joseph@codesourcery.com>
4816
4817 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4818 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4819 (_IO_off_t): Define to __off_t, not _G_off_t.
4820 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4821 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4822 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4823 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4824 type of __dummy and __dummy2 fields.
4825 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4826 (_G_ssize_t): Likewise.
4827 (_G_off_t): Likewise.
4828 (_G_pid_t): Likewise.
4829 (_G_uid_t): Likewise.
4830 (_G_wchar_t): Likewise.
4831 (_G_wint_t): Likewise.
4832 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4833 (_G_ssize_t): Likewise.
4834 (_G_off_t): Likewise.
4835 (_G_pid_t): Likewise.
4836 (_G_uid_t): Likewise.
4837 (_G_wchar_t): Likewise.
4838 (_G_wint_t): Likewise.
4839 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4840 (_G_ssize_t): Likewise.
4841 (_G_off_t): Likewise.
4842 (_G_pid_t): Likewise.
4843 (_G_uid_t): Likewise.
4844 (_G_wchar_t): Likewise.
4845 (_G_wint_t): Likewise.
4846
48472012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4848
4849 * malloc/arena.c: Include malloc-sysdep.h.
4850 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4851 is sufficient to shrink the heap or an unmap is needed.
4852 * sysdeps/generic/malloc-sysdep.h: New file. Define
4853 new function check_may_shrink_heap.
4854 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4855 new function check_may_shrink_heap.
4856
48572012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4858
4859 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4860 comments.
4861
48622012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4863
4864 * catgets/test-gencat.sh: Add "set -e".
4865 * elf/tst-pathopt.sh: Likewise.
4866 * grp/tst_fgetgrent.sh: Likewise.
4867 * iconvdata/run-iconv-test.sh: Likewise.
4868 * intl/tst-gettext.sh: Likewise.
4869 * intl/tst-gettext2.sh: Likewise.
4870 * intl/tst-gettext4.sh: Likewise.
4871 * intl/tst-gettext6.sh: Likewise.
4872 * intl/tst-translit.sh: Likewise.
4873 * io/ftwtest-sh: Likewise.
4874 * libio/test-freopen.sh: Likewise.
4875 * malloc/tst-mtrace.sh: Likewise.
4876 * posix/globtest.sh: Likewise.
4877 * posix/tst-getconf.sh: Likewise.
4878 * posix/wordexp-tst.sh: Likewise.
4879 * stdio-common/tst-printf.sh: Likewise.
4880 * stdio-common/tst-unbputc.sh: Likewise.
4881 * stdlib/tst-fmtmsg.sh: Likewise.
4882 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4883 * catgets/Makefile: Do not specify -e option when running
4884 testsuite shell scripts.
4885 * elf/Makefile: Likewise.
4886 * grp/Makefile: Likewise.
4887 * iconvdata/Makefile: Likewise.
4888 * intl/Makefile: Likewise.
4889 * io/Makefile: Likewise.
4890 * libio/Makefile: Likewise.
4891 * malloc/Makefile: Likewise.
4892 * posix/Makefile: Likewise.
4893 * stdio-common/Makefile: Likewise.
4894 * stdlib/Makefile: Likewise.
4895 * sysdeps/x86_64/Makefile: Likewise.
4896
4897 * io/ftwtest-sh: Add copyright header.
4898 * posix/globtest.sh: Likewise.
4899 * posix/tst-getconf.sh: Likewise.
4900 * posix/wordexp-tst.sh: Likewise.
4901 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4902
49032012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4904
4905 [BZ #13679]
4906 * Makeconfig (+link): Defined as $(+link-static) if
4907 $(build-shared) isn't yes.
4908 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4909 isn't yes.
4910 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4911
4912 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4913
4914 [BZ #14562]
4915 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4916 new chunk size with MALLOC_ALIGN_MASK.
4917
49182012-09-24 Joseph Myers <joseph@codesourcery.com>
4919
4920 [BZ #5044]
4921 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4922 <rounding-mode.h>.
4923 (__printf_fphex): Determine rounding using get_rounding_mode and
4924 round_away.
4925 * stdio-common/tst-printf-round.c (struct hex_test): New
4926 structure.
4927 (hex_tests): New variable.
4928 (test_hex_in_one_mode): New function.
4929 (do_test): Also run tests for hex float output.
4930
49312012-09-21 Joseph Myers <joseph@codesourcery.com>
4932
4933 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4934 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4935 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4936 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4937 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4938 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4939 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4940 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4941
49422012-09-20 Joseph Myers <joseph@codesourcery.com>
4943
4944 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4945 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4946 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4947 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4948
49492012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4950
4951 [BZ #14579]
4952 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4953 mode only.
4954 * elf/tst-rtld-load-self.sh: New test.
4955 * elf/Makefile: Run it.
4956
49572012-09-18 Joseph Myers <joseph@codesourcery.com>
4958
4959 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4960 (tst-writev-ENV): Remove.
4961 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4962
49632012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4964
4965 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4966
49672012-09-17 Joseph Myers <joseph@codesourcery.com>
4968
4969 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4970 unconditional.
4971 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4972 Likewise.
4973 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4974 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4975 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4976 Likewise.
4977
49782012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4979
4980 [BZ #14587]
4981 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4982 * config.make.in (have-cpp-asm-debuginfo): Removed.
4983 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4984 * configure: Regenerated.
4985
49862012-09-14 Joseph Myers <joseph@codesourcery.com>
4987
4988 [BZ #5044]
4989 * stdio-common/printf_fp.c: Include <stdbool.h> and
4990 <rounding-mode.h>.
4991 (___printf_fp): Determine rounding using get_rounding_mode and
4992 round_away.
4993 * stdio-common/tst-printf-round.c: New file.
4994 * stdio-common/Makefile (tests): Add tst-printf-round.
4995 (link-libm): New variable.
4996 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4997
49982012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4999
5000 [BZ #14576]
5001 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5002 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5003 Likewise.
5004 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5005 Likewise.
5006
50072012-09-13 Joseph Myers <joseph@codesourcery.com>
5008
5009 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5010 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5011 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5012 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5013
50142012-09-12 Joseph Myers <joseph@codesourcery.com>
5015
5016 [BZ #14518]
5017 * include/rounding-mode.h: New file.
5018 * sysdeps/generic/get-rounding-mode.h: Likewise.
5019 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5020 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5021 (MAX_VALUE): New macro.
5022 (MIN_VALUE): Likewise.
5023 (overflow_value): New function.
5024 (underflow_value): Likewise.
5025 (round_and_return): Use overflow_value and underflow_value to
5026 determine return values in overflow and underflow cases. Use
5027 round_away to determine rounding depending on rounding mode.
5028 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5029 determine return values in overflow and underflow cases.
5030 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5031 (struct test_results): New structure.
5032 (struct test): Use struct test_results to store expected results
5033 for all rounding modes.
5034 (TEST): Include expected results for all rounding modes.
5035 (test_in_one_mode): New function.
5036 (do_test): Use test_in_one_mode to compute and check results.
5037 Check results for all rounding modes.
5038 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5039 $(link-libm).
5040
50412012-12-09 Allan McRae <allan@archlinux.org>
5042
5043 * sysdeps/i386/fpu/libm-test-ulps: Update
5044
50452012-09-11 Joseph Myers <joseph@codesourcery.com>
5046
5047 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5048 (_G_int32_t): Likewise.
5049 (_G_uint16_t): Likewise.
5050 (_G_uint32_t): Likewise.
5051 (_G_HAVE_BOOL): Likewise.
5052 (_G_HAVE_ATEXIT): Likewise.
5053 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5054 (_G_HAVE_IO_FILE_OPEN): Likewise.
5055 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5056 (_G_int32_t): Likewise.
5057 (_G_uint16_t): Likewise.
5058 (_G_uint32_t): Likewise.
5059 (_G_HAVE_BOOL): Likewise.
5060 (_G_HAVE_ATEXIT): Likewise.
5061 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5062 (_G_HAVE_IO_FILE_OPEN): Likewise.
5063 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5064 (_G_int32_t): Likewise.
5065 (_G_uint16_t): Likewise.
5066 (_G_uint32_t): Likewise.
5067 (_G_HAVE_BOOL): Likewise.
5068 (_G_HAVE_ATEXIT): Likewise.
5069 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5070 (_G_HAVE_IO_FILE_OPEN): Likewise.
5071
50722012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5073
5074 * csu/libc-tls.c: Update copyright years.
5075
50762012-09-10 Joseph Myers <joseph@codesourcery.com>
5077
5078 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5079 [!_G_USING_THUNKS]: Remove conditional code.
5080 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5081 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5082
5083 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5084 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5085 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5086 (_G_VTABLE_LABEL_PREFIX): Likewise.
5087 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5088 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5089 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5090 (_G_VTABLE_LABEL_PREFIX): Likewise.
5091 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5092 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5093 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5094 (_G_VTABLE_LABEL_PREFIX): Likewise.
5095 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5096
50972012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5098
5099 * libio/Makefile: Include ../Makeconfig before tests.
5100 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5101 only if $(build-shared) is yes.
5102
5103 * iconv/gconv_db.c: Update copyright years.
5104
51052012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5106
5107 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5108 unwind info if defined PIC. Fix special cases description.
5109 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5110
5111 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5112 DP_HI_MASK entry.
5113 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5114
51152012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5116
5117 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5118
5119 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5120 is NULL.
5121
5122 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5123 (LDLIBS-tst-chk4): This.
5124 (LDFLAGS-tst-chk5): Renamed to ...
5125 (LDLIBS-tst-chk5): This.
5126 (LDFLAGS-tst-chk6): Renamed to ...
5127 (LDLIBS-tst-chk6): This.
5128 (LDFLAGS-tst-lfschk4): Renamed to ...
5129 (LDLIBS-tst-lfschk4): This.
5130 (LDFLAGS-tst-lfschk5): Renamed to ...
5131 (LDLIBS-tst-lfschk5): This.
5132 (LDFLAGS-tst-lfschk6): Renamed to ...
5133 (LDLIBS-tst-lfschk6): This.
5134
5135 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5136 on $(common-objpfx)soversions.mk.
5137
51382012-09-07 Joseph Myers <joseph@codesourcery.com>
5139
5140 [BZ #10014]
5141 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5142 example host name.
5143
51442012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5145
5146 * malloc/arena.c (arena_get_retry): New function that gets
5147 another arena for the caller to try its request on.
5148 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5149 current arena cannot fulfill the request.
5150 (__libc_memalign): Likewise.
5151 (__libc_memalign): Likewise.
5152 (__libc_pvalloc): Likewise.
5153 (__libc_calloc): Likewise.
5154
51552012-09-05 John Tobey <john.tobey@gmail.com>
5156
5157 [BZ #13542]
5158 * manual/arith.texi (Operations on Complex): Fix description
5159 of carg branch cut.
5160
51612012-09-06 Joseph Myers <joseph@codesourcery.com>
5162
5163 [BZ #10014]
5164 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5165 host name.
5166
5167 [BZ #10038]
5168 * manual/memory.texi (Memory): Make order of menu items match
5169 order of sections.
5170
51712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5172
5173 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5174 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5175 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5176
51772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5178
5179 * csu/libc-tls.c (static_dtv): Renamed to ...
5180 (_dl_static_dtv): This. Make it global.
5181 (_dl_initial_dtv): Removed.
5182 (__libc_setup_tls): Updated.
5183 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5184 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5185 DL_INITIAL_DTV.
5186
51872012-09-06 Petr Machata <pmachata@redhat.com>
5188
5189 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5190 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5191 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5192 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5193
51942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5195
5196 [BZ #14545]
5197 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5198 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5199 freeing dtv[-1].
5200
52012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5202
5203 [BZ #14544]
5204 * Makeconfig (link-static-before-libc): Replace $(+prector)
5205 with $(+prectorT).
5206 (link-static-after-libc): Replace $(+postctor) with
5207 $(+postctorT).
5208 (link-bounded): Replace $(+prector)/$(+postctor) with
5209 $(+prectorT)/$(+postctorT).
5210 (+prectorT): New macro.
5211 (+postctorT): Likewise.
5212
52132012-09-06 Joseph Myers <joseph@codesourcery.com>
5214
5215 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5216 (round_str): Handle values above the maximum for IBM long double
5217 as inexact.
5218 * stdlib/tst-strtod-round.c (tests): Regenerated.
5219
52202012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5221
5222 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5223 assembler flag.
5224 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5225 zarch_nohighgprs around the zarch optimized routines.
5226 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5227 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5228 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5229 for zarch.
5230
52312012-09-05 David S. Miller <davem@davemloft.net>
5232
5233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5234
5235 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5236 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5237 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5238 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5239 entries.
5240
52412012-09-05 Alexandre Oliva <aoliva@redhat.com>
5242
5243 * malloc/arena.c: Fold copyright years.
5244 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5245
52462012-09-05 Alexandre Oliva <aoliva@redhat.com>
5247
5248 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5249
52502012-09-05 Alexandre Oliva <aoliva@redhat.com>
5251
5252 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5253
52542012-09-05 Alexandre Oliva <aoliva@redhat.com>
5255
5256 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5257 change internal state upon failure.
5258
52592012-09-05 Alexandre Oliva <aoliva@redhat.com>
5260
5261 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5262 * malloc/memusage.c (mmap): Likewise.
5263 (mmap64, mremap): Likewise. Adjust name in comment.
5264
52652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5266
5267 * libio/fileops.c: Fix typos in comments.
5268 * libio/oldfileops.c: Likewise.
5269 * libio/wfileops.c: Likewise.
5270
52712012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5272
5273 [BZ #1349]
5274 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5275 (tst-malloc-usable-ENV): Set environment for test case.
5276 * malloc/hooks.c (malloc_check_get_size): New function to get
5277 requested size.
5278 * malloc/malloc.c (musable): Use malloc_check_get_size.
5279 * malloc/tst-malloc-usable.c: New test case.
5280
52812012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5282
5283 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5284
52852012-09-05 Allan McRae <allan@archlinux.org>
5286
5287 [BZ #13966]
5288 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5289 determine header location.
5290 * configure: Regenerated.
5291
52922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5293
5294 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5295 float format.
5296 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5297 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5298 format.
5299 (test): Regenerate.
5300
53012012-09-04 David S. Miller <davem@davemloft.net>
5302
5303 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5304 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5305 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5306
53072012-09-04 Florian Weimer <fweimer@redhat.com>
5308
5309 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5310 failures.
5311
5312 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5313
53142012-09-04 Joseph Myers <joseph@codesourcery.com>
5315
5316 [BZ #9914]
5317 * libio/iogetdelim.c: Include <limits.h>.
5318 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5319 + len + 1 would overflow.
5320
53212012-09-03 Andreas Jaeger <aj@suse.de>
5322
5323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5324 * sysdeps/i386/fpu/libm-test-ulps: Update.
5325
53262012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5327
5328 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5329 Add s_sinf-sse2, s_conf-sse2.
5330
5331 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5332 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5333 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5334 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5335
5336 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5337 for using routine as __sinf_ia32.
5338 Use macro for function declaration and weak_alias.
5339 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5340 for using routine as __cosf_ia32.
5341 Use macro for function declaration and weak_alias.
5342
5343 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5344 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5345
5346 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5347 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5349
5350 * math/libm-test.inc (cos_test): Add more test cases.
5351 (sin_test): Likewise.
5352 (sincos_test): Likewise.
5353
53542012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5355
5356 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5357 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5358 hidden.
5359 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5360
53612012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5362
5363 [BZ #14538]
5364 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5365 first element of the GOT.
5366 (elf_machine_load_address): Return the difference between
5367 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5368
53692012-09-01 Allan McRae <allan@archlinux.org>
5370
5371 [BZ #13412]
5372 * configure.in (AWK): Require gawk version 3.0 or later.
5373 * configure: Regenerated.
5374
53752012-09-01 Joseph Myers <joseph@codesourcery.com>
5376
5377 * sysdeps/unix/sysv/linux/kernel-features.h
5378 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5379 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5380 [__NR_clock_getres]: Make code unconditional.
5381 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5382 (clock_getcpuclockid): Remove code left unreachable by removal of
5383 conditionals.
5384 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5385 code unconditional.
5386 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5387 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5388 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5389 Make code unconditional.
5390 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5391 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5392 * sysdeps/unix/sysv/linux/clock_settime.c
5393 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5394 conditional code.
5395 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5396 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5397
53982012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5399
5400 [BZ #14476]
5401 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5402 scripts/test-installation.pl.
5403
5404 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5405 and $ld_so_version if it is set.
5406
54072012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5408
5409 [BZ #14516]
5410 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5411 failure if reading from procfs failed.
5412 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5413
54142012-08-27 Joseph Myers <joseph@codesourcery.com>
5415
5416 * sysdeps/unix/sysv/linux/kernel-features.h
5417 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5418 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5419 Remove conditional code.
5420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5421 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5422 Remove conditional code.
5423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5424 * sysdeps/unix/sysv/linux/i386/fxstat.c
5425 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5427 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5428 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5430 * sysdeps/unix/sysv/linux/i386/lxstat.c
5431 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5433 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5434 Remove conditional code.
5435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5436 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5437 Remove conditional code.
5438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5439 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5440 <kernel-features.h>.
5441 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5442 Remove.
5443 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5444 Remove conditional code.
5445 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5446 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5447 Remove conditional.
5448
54492012-08-27 Mike Frysinger <vapier@gentoo.org>
5450
5451 [BZ #5400]
5452 * NEWS: Add fixed bug number.
5453
54542012-08-27 Joseph Myers <joseph@codesourcery.com>
5455
5456 [BZ #14519]
5457 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5458 underflowing exponent in case of negative sign.
5459 * stdlib/tst-strtod-round-data: Add more tests.
5460 * stdlib/tst-strtod-round.c (tests): Regenerated.
5461
5462 [BZ #3479]
5463 * stdlib/strtod_l.c (NDIG): Remove.
5464 (HEXNDIG): Likewise.
5465 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5466 smallest representable value.
5467 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5468 lie within an exact representation of 1/2 ulp of the result.
5469 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5470 unconditionally.
5471 (TENS_P9_IDX): Define unconditionally.
5472 (TENS_P9_SIZE): Likewise.
5473 (TENS_P10_IDX): Likewise.
5474 (TENS_P10_SIZE): Likewise.
5475 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5476 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5477 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5478 entries for 10^2^13 and 10^2^14.
5479 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5480 (TENS_P13_IDX): Define.
5481 (TENS_P13_SIZE): Likewise.
5482 (TENS_P14_IDX): Likewise.
5483 (TENS_P14_SIZE): Likewise.
5484 (_fpioconst_pow10): Change array size to
5485 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5486 unconditional.
5487 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5488 1024]: Add entries for 10^2^13 and 10^2^14.
5489 [LAST_POW10 > _LAST_POW10]: Remove #error.
5490 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5491 (_fpioconst_pow10): Change array size to
5492 FPIOCONST_POW10_ARRAY_SIZE.
5493 * stdlib/gen-fpioconst.c: New file.
5494 * stdlib/gen-tst-strtod-round.c: Likewise.
5495 * stdlib/tst-strtod-round-data: Likewise.
5496 * stdlib/tst-strtod-round.c: Likewise.
5497 * stdlib/Makefile (tests): Add tst-strtod-round.
5498
5499 [BZ #14459]
5500 * stdlib/strtod_l.c: Include <stdint.h>.
5501 (NDEBUG): Do not define.
5502 (round_and_return): Change EXPONENT parameter to type intmax_t.
5503 Rearrange calculations to avoid internal overflow possibilities.
5504 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5505 Rearrange calculations to avoid internal overflow possibilities.
5506 Assert that number fits inside MPNSIZE limbs.
5507 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5508 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5509 calculations and add assertions to avoid internal overflow
5510 possibilities. Add casts to avoid signed/unsigned operations.
5511 * stdlib/tst-strtod-overflow.c: New file.
5512 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5513
55142012-08-25 Marek Polacek <polacek@redhat.com>
5515
5516 * time/time.h: Fix some typos in comments.
5517
55182012-08-23 Roland McGrath <roland@hack.frob.com>
5519
5520 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5521 * posix/tst-rfc3484-2.c: Likewise.
5522 * posix/tst-rfc3484-3.c: Likewise.
5523
55242012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5525
5526 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5527 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5528
55292012-08-23 Joseph Myers <joseph@codesourcery.com>
5530
5531 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5532 #include of fxstatat64.c.
5533
55342012-08-22 Roland McGrath <roland@hack.frob.com>
5535
5536 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5537 * shadow/getspent_r.c: Likewise.
5538 * shadow/getspnam.c: Likewise.
5539 * shadow/getspnam_r.c: Likewise.
5540 * gshadow/getsgent.c: Likewise.
5541 * gshadow/getsgent_r.c: Likewise.
5542 * gshadow/getsgnam.c: Likewise.
5543 * gshadow/getsgnam_r.c: Likewise.
5544 * inet/getnetbyad.c: Likewise.
5545 * inet/getnetbyad_r.c: Likewise.
5546 * inet/getnetbynm.c: Likewise.
5547 * inet/getnetbynm_r.c: Likewise.
5548 * inet/getnetent.c: Likewise.
5549 * inet/getnetent_r.c: Likewise.
5550 * inet/getproto.c: Likewise.
5551 * inet/getproto_r.c: Likewise.
5552 * inet/getprtent.c: Likewise.
5553 * inet/getprtent_r.c: Likewise.
5554 * inet/getprtname.c: Likewise.
5555 * inet/getprtname_r.c: Likewise.
5556 * inet/getrpcbyname.c: Likewise.
5557 * inet/getrpcbyname_r.c: Likewise.
5558 * inet/getrpcbynumber.c: Likewise.
5559 * inet/getrpcbynumber_r.c: Likewise.
5560 * inet/getrpcent.c: Likewise.
5561 * inet/getrpcent_r.c: Likewise.
5562 * inet/getaliasent.c: Likewise.
5563 * inet/getaliasent_r.c: Likewise.
5564 * inet/getaliasname.c: Likewise.
5565 * inet/getaliasname_r.c: Likewise.
5566 * nscd/getgrgid_r.c: Likewise.
5567 * nscd/getgrnam_r.c: Likewise.
5568 * nscd/gethstbyad_r.c: Likewise.
5569 * nscd/gethstbynm3_r.c: Likewise.
5570 * nscd/getpwnam_r.c: Likewise.
5571 * nscd/getpwuid_r.c: Likewise.
5572 * nscd/getsrvbynm_r.c: Likewise.
5573 * nscd/getsrvbypt_r.c: Likewise.
5574 * nscd/gai.c: Likewise.
5575
5576 * configure.in (build_nscd): New substituted variable, set
5577 by --disable-build-nscd and defaults to $use_nscd.
5578 * configure: Regenerated.
5579 * config.make.in (build-nscd): New substituted variable.
5580 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5581 Change conditional to require [$(build-nscd) = yes] as well.
5582 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5583
5584 [BZ# 13696]
5585 * configure.in (use_nscd): New substituted variable, set by
5586 --disable-nscd. If enabled, define USE_NSCD.
5587 * configure: Regenerated.
5588 * config.h.in: Add USE_NSCD.
5589 * config.make.in (use-nscd): New substituted variable.
5590 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5591 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5592 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5593 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5594 (CFLAGS-getgrnam_r.c): Likewise.
5595 (CFLAGS-initgroups.c): Likewise.
5596 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5597 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5598 Variables removed.
5599 * inet/getnetgrent_r.c
5600 (nscd_setnetgrent): New function, broken out of ...
5601 (setnetgrent): ... here. Call it.
5602 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5603 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5604 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5605 * nscd/Makefile (routines, aux): Move definitions after include of
5606 Makeconfig. Conditionalize on [$(use-nscd) != no].
5607 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5608 Conditionalize on [USE_NSCD].
5609 (is_nscd, nscd_init_cb): Likewise.
5610 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5611 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5612 * nss/nss_db/db-init.c: Likewise.
5613 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5614 [USE_NSCD].
5615 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5616 (make_request): Use it.
5617 (cache_valid_p): New function.
5618 (__check_pf): Use it.
5619 * NEWS: Add item for --disable-nscd.
5620
56212012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5622
5623 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5624 to support sed >= 4.2.1-20-ga9bf076.
5625 * configure: Regenerated.
5626
56272012-08-22 Roland McGrath <roland@hack.frob.com>
5628
5629 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5630 Conditionalize whole body on [IREL].
5631
56322012-08-22 Jeff Law <law@redhat.com>
5633
5634 [BZ #14505]
5635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5636 if the family is PF_UNSPEC.
5637
56382012-08-22 Mike Frysinger <vapier@gentoo.org>
5639
5640 * Makerules (lib-version): Rename from V.
5641 (install-lib-nosubdir): Change V to lib-version.
5642
56432012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5644
5645 [BZ #14252]
5646 * powerpc32/power6/wcschr.c: New file.
5647 * powerpc32/power6/wcscpy.c: New file.
5648 * powerpc32/power6/wcsrchr.c: New file.
5649 * powerpc64/power6/wcschr.c: New file.
5650 * powerpc64/power6/wcscpy.c: New file.
5651 * powerpc64/power6/wcsrchr.c: New file.
5652
56532012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5654
5655 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5656 (two_way_short_needle): Use it.
5657 * string/strstr.c (AVAILABLE1_USES_J): Define.
5658 * string/strcasestr.c: Likewise.
5659
5660 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5661 array references.
5662 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5663
5664 [BZ #11607]
5665 * NEWS: Add an entry.
5666 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5667 define their defaults.
5668 (two_way_short_needle): Detect end-of-string on-the-fly.
5669 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5670 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5671 * string/bug-strcasestr1.c: New test.
5672 * string/Makefile: Run it.
5673
56742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5675
5676 [BZ #11607]
5677 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5678 the first character.
5679
56802012-08-21 Roland McGrath <roland@hack.frob.com>
5681
5682 * csu/elf-init.c (__libc_csu_irel): Function removed.
5683 * csu/libc-start.c (apply_irel): New function.
5684 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5685
56862012-08-21 Joseph Myers <joseph@codesourcery.com>
5687
5688 * sysdeps/unix/sysv/linux/kernel-features.h
5689 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5690 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5691 <kernel-features.h>.
5692 [__NR_fadvise64_64]: Make code unconditional.
5693 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5694 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5695 !__NR_fadvise64_64)]: Likewise.
5696 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5697 !__NR_fadvise64_64))]: Likewise.
5698 [__NR_fadvise64]: Make code unconditional.
5699 [!__NR_fadvise64]: Remove conditional code.
5700 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5701 <kernel-features.h>.
5702 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5703 unconditional.
5704 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5705 conditional code.
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5707 not include <kernel-features.h>.
5708 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5709 unconditional.
5710 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5711 conditional code.
5712 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5713 include <kernel-features.h>.
5714 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5715 unconditional.
5716 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5717 conditional code.
5718
57192012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5720
5721 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5722 slight instruction rearrangements per scrollpipe analysis.
5723 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5724
57252012-08-20 Roland McGrath <roland@hack.frob.com>
5726
5727 * manual/syslog.texi (syslog; vsyslog, closelog):
5728 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5729 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5730
5731 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5732 DSOCAPS to match condition on defining it.
5733
57342012-08-20 Joseph Myers <joseph@codesourcery.com>
5735
5736 * sysdeps/unix/sysv/linux/kernel-features.h
5737 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5739 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5740 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5742 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5743 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5745 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5746 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5747
5748 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5749 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5750
5751 * sysdeps/unix/sysv/linux/kernel-features.h
5752 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5753 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5754 unconditional.
5755 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5756 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5757 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5758 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5759 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5760 Make code unconditional.
5761 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5762 (__mmap64) [!__NR_mmap2]: Likewise.
5763 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5764 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5765 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5766 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5767 [__NR_mmap2]: Make code unconditional.
5768 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5769 (__mmap64) [!__NR_mmap2]: Likewise.
5770
57712012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5772
5773 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5774
57752012-08-18 Andreas Jaeger <aj@suse.de>
5776
5777 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5778
57792012-08-18 Mike Frysinger <vapier@gentoo.org>
5780
5781 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5782 * include/unistd.h (__have_sock_cloexec): Likewise.
5783 (__have_pipe2): Likewise.
5784 (__have_dup3): Likewise.
5785
57862012-08-18 Mike Frysinger <vapier@gentoo.org>
5787
5788 [BZ #9685]
5789 * include/unistd.h (__have_pipe2): Change define into an extern int.
5790 (__have_dup3): Likewise.
5791 * socket/have_sock_cloexec.c: Include fcntl.h.
5792 (__have_pipe2): New variable.
5793 (__have_dup3): Likewise.
5794
57952012-08-17 Mike Frysinger <vapier@gentoo.org>
5796
5797 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5798
57992012-08-17 Marek Polacek <polacek@redhat.com>
5800
5801 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5802 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5803
58042012-08-17 Roland McGrath <roland@hack.frob.com>
5805
5806 * configure.in: Add AC_SUBST for sysheaders.
5807 * configure: Regenerated.
5808 * config.make.in (sysheaders): New substituted variable.
5809
5810 * sysdeps/unix/mkfifo.c: Moved ...
5811 * sysdeps/posix/mkfifo.c: ... here.
5812 * sysdeps/unix/mkfifoat.c: Moved ...
5813 * sysdeps/posix/mkfifoat.c: ... here.
5814
5815 * sysdeps/unix/utime.c: Moved ...
5816 * sysdeps/posix/utime.c: ... here.
5817
5818 * sysdeps/unix/time.c: Moved ...
5819 * sysdeps/posix/time.c: ... here.
5820 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5821 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5822
5823 * sysdeps/unix/nice.c: Moved ...
5824 * sysdeps/posix/nice.c: ... here.
5825
5826 * sysdeps/unix/alarm.c: Moved ...
5827 * sysdeps/posix/alarm.c: ... here.
5828
5829 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5830
58312012-08-17 Jeff Law <law@redhat.com>
5832
5833 * intl/Makefile (codeset_mo): New variable.
5834 ($(codeset_mo)): New target.
5835 (tst-codeset.out): Depend on that. Remove explicit rule.
5836 (tst-gettext3.out, tst-gettext5.out): Likewise.
5837 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5838 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5839 * intl/tst-codeset.sh: Remove.
5840 * intl/tst-gettext3.sh: Likewise.
5841 * intl/tst-gettext5.sh: Likewise.
5842
58432012-08-17 Roland McGrath <roland@hack.frob.com>
5844
5845 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5846 * sysdeps/unix/syscalls.list: ... here.
5847
5848 * sysdeps/posix/getaddrinfo.c
5849 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5850 (gaiconf_init, gaiconf_reload): Use them.
5851 [!_STATBUF_ST_NSEC]
5852 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5853 Define using time_t rather than struct timespec.
5854
5855 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5856 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5857 Macros removed.
5858 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5859 [!NO_THREADS].
5860 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5861 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5862 Likewise.
5863
5864 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5865 __libc_cleanup_push argument.
5866
5867 * bits/param.h: New file.
5868 * misc/sys/param.h: New file.
5869 * include/sys/param.h: New file.
5870 * misc/Makefile (headers): Add bits/param.h.
5871 * sysdeps/generic/sys/param.h: File removed.
5872 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5873 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5874 * sysdeps/mach/hurd/bits/param.h: New file.
5875 * sysdeps/mach/hurd/sys/param.h: File removed.
5876
5877 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5878 last change.
5879
5880 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5881 [_IO_MTSAFE_IO].
5882 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5883 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5884 New macros.
5885
5886 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5887 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5888 rather than -D_IO_MTSAFE_IO conditionally.
5889 * stdio-common/Makefile (CPPFLAGS): Likewise.
5890 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5891 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5892 Use $(libio-mtsafe).
5893 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5894 of -D_IO_MTSAFE_IO.
5895 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5896 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5897 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5898 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5899 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5900 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5901 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5902 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5903 (CFLAGS-fread_u_chk.c): Likewise.
5904 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5905 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5906 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5907 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5908 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5909 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5910 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5911 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5912 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5913
5914 * libio/Makefile: Test [$(libc-reentrant) = yes]
5915 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5916
5917 * Makeconfig
5918 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5919 * sysdeps/pthread/configure: File removed.
5920 * sysdeps/pthread/Makeconfig: New file.
5921 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5922 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5923
59242012-08-16 Gary Benson <gbenson@redhat.com>
5925
5926 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5927 unmapping the first object in a namespace.
5928
59292012-08-16 Roland McGrath <roland@hack.frob.com>
5930
5931 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5932 (__internal_setnetgrent): ... this. Add internal_function to
5933 definition. Add libc_hidden_def.
5934 (setnetgrent): Update caller.
5935 (internal_endnetgrent): Renamed to ...
5936 (__internal_endnetgrent): ... this. Add internal_function to
5937 definition. Add libc_hidden_def.
5938 (endnetgrent): Update caller.
5939 (internal_getnetgrent_r): Renamed to ...
5940 (__internal_getnetgrent_r): ... this. Add internal_function to
5941 definition. Add libc_hidden_def.
5942 (__getnetgrent_r): Update caller.
5943 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5944
59452012-08-16 Joseph Myers <joseph@codesourcery.com>
5946
5947 * stdlib/longlong.h: Update from GCC.
5948
59492012-08-16 Roland McGrath <roland@hack.frob.com>
5950
5951 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5952 on _QL, which is set by umul_ppmm but never used.
5953 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5954 variables, which are set by GMP macros but never used.
5955 * stdio-common/_itowa.c (_itowa): Likewise.
5956 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5957 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5958
59592012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5960
5961 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5962 struct La_sh_regs is not constant.
5963 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5964 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5965 and struct La_sparc64_regs are not constant.
5966
59672012-08-16 Joseph Myers <joseph@codesourcery.com>
5968
5969 * sysdeps/unix/sysv/linux/kernel-features.h
5970 (__ASSUME_POSIX_TIMERS): Remove.
5971 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5972 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5973 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5974 Make code unconditional.
5975 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5976 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5977 Make code unconditional.
5978 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5979 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5980 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5981 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5982 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5983 Make code unconditional.
5984 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5985 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5986 (__libc_missing_posix_timers): Remove.
5987
59882012-08-15 Roland McGrath <roland@hack.frob.com>
5989
5990 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5991 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5992
5993 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5994
5995 * elf/dl-sym.c: Include <stdlib.h>.
5996
5997 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5998 constants, which avoids warnings in 32-bit builds.
5999
6000 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6001 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6002
6003 * misc/lseek.c: File moved to ...
6004 * io/lseek.c: ... here.
6005
6006 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6007
6008 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6009 shifting LEN more than 31 bits at once.
6010
60112012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6012
6013 [BZ #14195]
6014 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6015 segmentation fault for a case of two empty input strings.
6016 * string/test-strncasecmp.c (check1): Renamed to...
6017 (bz12205): ...this.
6018 (bz14195): Add new testcase for two empty input strings and N > 0.
6019 (test_main): Call new testcase, adapt for renamed function.
6020
60212012-08-15 Andreas Jaeger <aj@suse.de>
6022
6023 [BZ #14090]
6024 * crypt/md5test2.c: New test, based on test supplied by Serge
6025 Belyshev <belyshev@depni.sinp.msu.ru>.
6026 * crypt/Makefile (xtests): Add md5test-giant..
6027 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6028
60292012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6030
6031 [BZ #14090]
6032 * crypt/md5.c (md5_process_block): Don't assume the buffer
6033 length is less than 2**32.
6034 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6035 length is less than 2**64.
6036
60372012-08-15 Roland McGrath <roland@hack.frob.com>
6038
6039 * string/str-two-way.h: Include <sys/param.h>.
6040 (MAX): Macro removed.
6041
6042 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6043 Move #define and #undef of memmove to just before and after
6044 including <string.h>.
6045
6046 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6047 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6048 and after including <string.h>. Move declarations of
6049 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6050 to before #include "string/memmove.c".
6051
6052 * include/dirent.h: Declare __getdirentries.
6053
6054 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6055 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6056
60572012-08-14 Mike Frysinger <vapier@gentoo.org>
6058
6059 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6060 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6061 * sysdeps/i386/configure: Regenerated.
6062 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6063 STABS_CURRENT_FILE, and STABS_FUN.
6064 (END): Remove call to STABS_FUN_END.
6065 (STABS_CURRENT_FILE1): Delete.
6066 (STABS_CURRENT_FILE): Likewise.
6067 (STABS_FUN): Likewise.
6068 (STABS_FUN_END): Likewise.
6069 (STABS_FUN2): Likewise.
6070 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6071 * sysdeps/x86_64/configure: Regenerated.
6072
60732012-08-14 Roland McGrath <roland@hack.frob.com>
6074
6075 * elf/dl-open.c: Include <atomic.h>.
6076 * elf/dl-lookup.c: Likewise.
6077
60782012-08-14 Joseph Myers <joseph@codesourcery.com>
6079
6080 * sysdeps/unix/sysv/linux/kernel-features.h
6081 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6082 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6083 unconditionally.
6084 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6085 unconditionally.
6086 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6087 condition on __ASSUME_CLONE_THREAD_FLAGS.
6088
60892012-08-14 Andreas Jaeger <aj@suse.de>
6090
6091 * sysdeps/i386/fpu/libm-test-ulps: Update.
6092
60932012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6094
6095 * include/atomic.h (atomic_exchange_and_add): Split into ...
6096 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6097 New atomic macros.
6098
60992012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6100
6101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6102
61032012-08-13 Jeff Law <law@redhat.com>
6104
6105 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6106 null byte in the output string.
6107
61082012-08-10 Joseph Myers <joseph@codesourcery.com>
6109
6110 * sysdeps/unix/sysv/linux/kernel-features.h
6111 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6112 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6113 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6114 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6115 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6116 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6117 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6118
61192012-08-09 Jeff Law <law@redhat.com>
6120
6121 [BZ #13939]
6122 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6123 When avoid_arena is set, don't retry in the that arena. Pick the
6124 next one, whatever it might be.
6125 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6126 (arena_lock): Pass in new parameter to arena_get2.
6127 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6128 arena_get2.
6129 (__libc_malloc): Unify retrying after main arena failure with
6130 __libc_memalign version.
6131 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6132
61332012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6134
6135 [BZ #14166]
6136 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6137 to __redirect_strstr.
6138 (__strstr_sse42): Use typeof __redirect_strstr.
6139 (__strstr_ia32): Likewise.
6140 (__libc_strstr): New prototype.
6141 (strstr): Renamed to ...
6142 (__libc_strstr): This.
6143 (strstr): New strong alias of __libc_strstr.
6144 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6145 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6146 __redirect_time.
6147 Include <time.h>.
6148 (__libc_time): New prototype.
6149 (time_ifunc): Replace time with __libc_time.
6150 (time): New strong alias and hidden definition of __libc_time.
6151 (__GI_time): Remove strong alias.
6152 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6153 Include <stddef.h>.
6154 (memmove): Redefined to __redirect_memmove.
6155 (__memmove_sse2): Use typeof __redirect_memmove.
6156 (__memmove_ssse3): Likewise.
6157 (__memmove_ssse3_back): Likewise.
6158 (__libc_memmove): New prototype.
6159 (memmove): Renamed to ...
6160 (__libc_memmove): This.
6161 (memmove): New strong alias of __libc_memmove.
6162
61632012-08-08 Mark Salter <msalter@redhat.com>
6164
6165 * elf/elf.h
6166 (R_MN10300_TLS_GD): Define.
6167 (R_MN10300_TLS_LD): Likewise.
6168 (R_MN10300_TLS_LDO): Likewise.
6169 (R_MN10300_TLS_GOTIE): Likewise.
6170 (R_MN10300_TLS_IE): Likewise.
6171 (R_MN10300_TLS_LE): Likewise.
6172 (R_MN10300_TLS_DTPMOD): Likewise.
6173 (R_MN10300_TLS_DTPOFF): Likewise.
6174 (R_MN10300_TLS_TPOFF): Likewise.
6175 (R_MN10300_SYM_DIFF): Likewise.
6176 (R_MN10300_ALIGN): Likewise.
6177 (R_MN10300_NUM): Update.
6178
61792012-08-08 Joseph Myers <joseph@codesourcery.com>
6180
6181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6182 Remove.
6183
61842012-08-08 Roland McGrath <roland@hack.frob.com>
6185
6186 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6187
6188 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6189 sysdeps/unix -> sysdeps/posix move.
6190 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6191
61922012-08-07 Allan McRae <allan@archlinux.org>
6193
6194 [BZ #14303]
6195 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6196 (SUNOS_CPP): Likewise.
6197 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6198 not found.
6199 (open_input): Call CPP using execvp.
6200
62012012-08-07 Joseph Myers <joseph@codesourcery.com>
6202
6203 * sysdeps/unix/sysv/linux/kernel-features.h
6204 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6205 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6206 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6207 (__ASSUME_WAITID_SYSCALL): Likewise.
6208 * sysdeps/unix/sysv/linux/dl-execstack.c
6209 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6210 code unconditional.
6211 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6212 conditional code.
6213 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6214 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6215 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6216 code.
6217 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6218 unconditional.
6219 [__ASSUME_WAITID_SYSCALL]: Likewise.
6220 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6221
62222012-08-07 Roland McGrath <roland@hack.frob.com>
6223
6224 * sysdeps/unix/closedir.c: Renamed to ...
6225 * sysdeps/posix/closedir.c: ... here.
6226 * sysdeps/unix/dirfd.c: Renamed to ...
6227 * sysdeps/posix/dirfd.c: ... here.
6228 * sysdeps/unix/dirstream.h: Renamed to ...
6229 * sysdeps/posix/dirstream.h: ... here.
6230 * sysdeps/unix/fdopendir.c: Renamed to ...
6231 * sysdeps/posix/fdopendir.c: ... here.
6232 * sysdeps/unix/opendir.c: Renamed to ...
6233 * sysdeps/posix/opendir.c: ... here.
6234 * sysdeps/unix/readdir.c: Renamed to ...
6235 * sysdeps/posix/readdir.c: ... here.
6236 * sysdeps/unix/readdir_r.c: Renamed to ...
6237 * sysdeps/posix/readdir_r.c: ... here.
6238 * sysdeps/unix/rewinddir.c: Renamed to ...
6239 * sysdeps/posix/rewinddir.c: ... here.
6240 * sysdeps/unix/seekdir.c: Renamed to ...
6241 * sysdeps/posix/seekdir.c: ... here.
6242 * sysdeps/unix/telldir.c: Renamed to ...
6243 * sysdeps/posix/telldir.c: ... here.
6244 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6245 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6246 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6247 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6248
6249 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6250 * bits/fcntl.h: ... here.
6251
6252 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6253 not 0.
6254 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6255 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6256 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6257 (struct flock): Move l_start, l_len to the beginning.
6258 Use __pid_t for l_pid.
6259 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6260 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6261 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6262 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6263 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6264 [__USE_LARGEFILE64] (struct flock64): New type.
6265 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6266
6267 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6268 * bits/dirent.h: ... here.
6269
6270 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6271 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6272
62732012-08-07 Joseph Myers <joseph@codesourcery.com>
6274
6275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6276 Change from 2.6.0 to 2.6.16.
6277 * sysdeps/unix/sysv/linux/configure: Regenerated.
6278 * sysdeps/unix/sysv/linux/kernel-features.h
6279 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6280 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6281 version.
6282 (__ASSUME_UTIMES): Likewise.
6283 (__ASSUME_CLONE_STOPPED): Remove.
6284 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6285 architectures, not kernel version.
6286 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6287 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6288 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6289 (__ASSUME_WAITID_SYSCALL): Likewise.
6290 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6291 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6292 * README: State 2.6.16 as minimum Linux kernel version. Do not
6293 refer to older versions.
6294
62952012-08-06 Roland McGrath <roland@hack.frob.com>
6296
6297 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6298 Define alphasort64 as an alias.
6299 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6300 Define versionsort64 as an alias.
6301 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6302 Define scandir64 as an alias.
6303 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6304 Define scandirat64 as an alias.
6305 * dirent/alphasort64.c (alphasort64):
6306 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6307 * dirent/versionsort64.c: Likewise.
6308 * dirent/scandir64.c: Likewise.
6309 * dirent/scandirat64.c: Likewise.
6310 * sysdeps/wordsize-64/alphasort.c: File removed.
6311 * sysdeps/wordsize-64/alphasort64.c: File removed.
6312 * sysdeps/wordsize-64/scandir.c: File removed.
6313 * sysdeps/wordsize-64/scandir64.c: File removed.
6314 * sysdeps/wordsize-64/scandirat.c: File removed.
6315 * sysdeps/wordsize-64/scandirat64.c: File removed.
6316 * sysdeps/wordsize-64/versionsort.c: File removed.
6317 * sysdeps/wordsize-64/versionsort64.c: File removed.
6318 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6319 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6320 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6321 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6322 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6323 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6324 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6325 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6326
6327 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6329 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6330 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6331 [defined __arch64__ || defined __sparcv9]
6332 (__INO_T_MATCHES_INO64_T): New macro.
6333 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6334 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6335 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6336 * sysdeps/unix/sysv/linux/bits/dirent.h
6337 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6338 (_DIRENT_MATCHES_DIRENT64): New macro.
6339
6340 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6341 Define lockf64 as an alias.
6342 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6343 Define fseeko64 as an alias.
6344 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6345 Define ftello64 as an alias.
6346 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6347 Define _IO_fgetpos64 and fgetpos64 as aliases.
6348 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6349 Define _IO_fsetpos64 and fsetpos64 as aliases.
6350 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6351 Conditionalize body on this.
6352 * libio/fseeko64.c: Likewise.
6353 * libio/ftello64.c: Likewise.
6354 * libio/iofgetpos64.c: Likewise.
6355 * libio/iofsetpos64.c: Likewise.
6356 * sysdeps/wordsize-64/lockf.c: File removed.
6357 * sysdeps/wordsize-64/lockf64.c: File removed.
6358 * sysdeps/wordsize-64/fseeko.c: File removed.
6359 * sysdeps/wordsize-64/fseeko64.c: File removed.
6360 * sysdeps/wordsize-64/ftello.c: File removed.
6361 * sysdeps/wordsize-64/ftello64.c: File removed.
6362 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6363 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6364 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6365 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6366 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6367 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6368 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6369 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6370 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6371 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6372 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6373 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6374 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6375 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6376
6377 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6378 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6379 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6380 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6381 [defined __arch64__ || defined __sparcv9]
6382 (__OFF_T_MATCHES_OFF64_T): New macro.
6383 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6384 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6386 (__OFF_T_MATCHES_OFF64_T): New macro.
6387
63882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6389
6390 * stdlib/secure-getenv.c (__secure_getenv): Replace
6391 GLIBC_2_16 with GLIBC_2_17.
6392
63932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6394
6395 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6396 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6397
63982012-08-03 David S. Miller <davem@davemloft.net>
6399
6400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6401
64022012-08-03 Joseph Myers <joseph@codesourcery.com>
6403
6404 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6405 Remove.
6406 (__ASSUME_CORRECT_SI_PID): Likewise.
6407 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6408 (__ASSUME_TMPFS_NAME): Likewise.
6409 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6410 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6411 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6412 (HAVE_AUX_SECURE): Make definition unconditional.
6413 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6414 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6415
64162012-08-03 Roland McGrath <roland@hack.frob.com>
6417
6418 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6419 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6420 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6421 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6422 __eloop_threshold instead of SYMLOOP_MAX.
6423
6424 * sysdeps/generic/eloop-threshold.h: New file.
6425 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6426 of MAXSYMLINKS.
6427 * elf/chroot_canon.c (chroot_canon): Likewise.
6428
64292012-08-03 Joseph Myers <joseph@codesourcery.com>
6430
6431 [BZ #13717]
6432 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6433 Change to 2.6.0 everywhere.
6434 * sysdeps/unix/sysv/linux/configure: Regenerated.
6435 * sysdeps/unix/sysv/linux/kernel-features.h
6436 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6437 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6438 kernel versions.
6439 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6440 (__ASSUME_FUTEX_REQUEUE): Remove.
6441 (__ASSUME_STATFS64): Define unconditionally.
6442 (__ASSUME_AT_SECURE): Likewise.
6443 (__ASSUME_CORRECT_SI_PID): Likewise.
6444 (__ASSUME_TGKILL): Define without depending on kernel version for
6445 i386.
6446 (__ASSUME_UTIMES): Likewise.
6447 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6448 kernel version.
6449 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6450 (__ASSUME_TMPFS_NAME): Likewise.
6451 * README: Update reference to Linux kernel versions.
6452
64532012-08-02 Marek Polacek <polacek@redhat.com>
6454
6455 [BZ# 14150]
6456 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6457 libc_cv_asm_type_prefix with %.
6458 * configure: Regenerated.
6459 * include/libc-symbols.h: Remove comment about
6460 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6461 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6462 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6463 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6464 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6465 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6466 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6467 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6468 * elf/tst-unique2mod1.c: Likewise.
6469 * elf/tst-unique1mod2.c: Likewise.
6470 * elf/tst-unique1mod1.c: Likewise.
6471 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6472 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6473 Replace ASM_TYPE_DIRECTIVE with .type.
6474 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6475 * sysdeps/i386/sysdep.h: Likewise.
6476 * sysdeps/x86_64/sysdep.h: Likewise.
6477 * sysdeps/sh/sysdep.h: Likewise.
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6479 Do not define ASM_TYPE_DIRECTIVE.
6480 * sysdeps/powerpc/sysdep.h: Likewise.
6481 * sysdeps/powerpc/powerpc32/sysdep.h:
6482 Replace ASM_TYPE_DIRECTIVE with .type.
6483 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6484 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6485 * sysdeps/i386/fpu/e_powf.S: Likewise.
6486 * sysdeps/i386/fpu/e_expl.S: Likewise.
6487 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6488 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6489 * sysdeps/i386/fpu/e_pow.S: Likewise.
6490 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6491 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6492 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6493 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6494 * sysdeps/i386/fpu/e_log2.S: Likewise.
6495 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6496 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6497 * sysdeps/i386/fpu/e_powl.S: Likewise.
6498 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6499 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6500 * sysdeps/i386/fpu/e_logl.S: Likewise.
6501 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6502 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6503 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6504 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6505 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6506 * sysdeps/i386/fpu/e_log.S: Likewise.
6507 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6508 * sysdeps/i386/fpu/e_logf.S: Likewise.
6509 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6510 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6511 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6512 * sysdeps/i386/fpu/e_log10.S: Likewise.
6513 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6514 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6515 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6516 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6517 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6518 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6519 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6520 * sysdeps/i386/i686/strtok.S: Likewise.
6521 * sysdeps/i386/i386-mcount.S: Likewise.
6522 * sysdeps/i386/strtok.S: Likewise.
6523 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6524 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6525 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6526 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6527 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6528 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6529 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6530 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6531 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6532 * sysdeps/x86_64/_mcount.S: Likewise.
6533 * sysdeps/x86_64/strtok.S: Likewise.
6534 * sysdeps/sh/_mcount.S: Likewise.
6535
65362012-08-01 Roland McGrath <roland@hack.frob.com>
6537
6538 * libio/iofopen.c: Include <fcntl.h>.
6539 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6540 (_IO_fopen64, fopen64): Define as aliases.
6541 * libio/iofopen64.c: Include <fcntl.h>.
6542 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6543 Conditionalize body on this.
6544 * sysdeps/wordsize-64/iofopen.c: File removed.
6545 * sysdeps/wordsize-64/iofopen64.c: File removed.
6546
65472012-08-01 Marek Polacek <polacek@redhat.com>
6548
6549 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6550 Use dlfcn directly instead of a variable.
6551 (binfmt-subdir): Do not define.
6552 (dlfcn): Likewise.
6553
65542012-08-01 Joseph Myers <joseph@codesourcery.com>
6555
6556 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6557 Remove all definitions.
6558 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6559 <kernel-features.h>.
6560 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6561 (miss_F_GETOWN_EX): Remove all definitions.
6562 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6563 macro definition.
6564 [!__ASSUME_FCNTL64]: Remove conditional code.
6565 [__ASSUME_FCNTL64]: Make code unconditional.
6566 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6567 <kernel-features.h>.
6568 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6569 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6570 (lockf64) [__NR_fcntl64]: Make code unconditional.
6571 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6572
6573 * sysdeps/unix/sysv/linux/kernel-features.h
6574 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6575 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6576 Make code unconditional.
6577 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6578 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6580 [__NR_vfork]: Make code unconditional.
6581 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6582 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6584 [__NR_vfork]: Make code unconditional.
6585 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6586 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6587
65882012-08-01 Roland McGrath <roland@hack.frob.com>
6589
6590 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6591 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6592
6593 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6594 Define mkstemp64 as an alias.
6595 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6596 Define mkstemps64 as an alias.
6597 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6598 Define mkostemp64 as an alias.
6599 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6600 Define mkostemps64 as an alias.
6601 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6602 Conditionalize body on this.
6603 * misc/mkostemp64.c: Likewise.
6604 * misc/mkostemps64.c: Likewise.
6605 * misc/mkstemps64.c: Likewise.
6606 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6607 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6608 * sysdeps/wordsize-64/mkostemp.c: File removed.
6609 * sysdeps/wordsize-64/mkstemp.c: File removed.
6610 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6611 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6612 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6614
6615 [BZ #14138]
6616 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6617 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6618 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6619 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6620
6621 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6622 compat_symbol macros from <shlib-compat.h> rather than the underlying
6623 default_symbol_version and symbol_version macros, so that DEFAULT
6624 lines in shlib-versions are respected.
6625 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6626
66272012-08-01 Florian Weimer <fweimer@redhat.com>
6628
6629 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6630 Declare with warn_unused_result.
6631 (setgid, setregid, setegid, setresgid): Likewise.
6632 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6633 Likewise.
6634 * WUR-REPORT: Remove set*id functions.
6635
66362012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6637
6638 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6639
66402012-07-31 Roland McGrath <roland@hack.frob.com>
6641
6642 * include/sys/socket.h (__libc_accept, __libc_accept4):
6643 Add attribute_hidden.
6644 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6645
6646 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6647 use of PTR_MANGLE.
6648 * inet/getnetgrent_r.c (setup): Likewise.
6649
6650 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6651
66522012-07-31 David S. Miller <davem@davemloft.net>
6653
6654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6655
66562012-07-31 Joseph Myers <joseph@codesourcery.com>
6657
6658 [BZ #13629]
6659 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6660 value between 1.0 and 2.0 and smaller part has absolute value less
6661 than 1.0.
6662 * math/s_clog10.c (__clog10): Likewise.
6663 * math/s_clog10f.c (__clog10f): Likewise.
6664 * math/s_clog10l.c (__clog10l): Likewise.
6665 * math/s_clogf.c (__clogf): Likewise.
6666 * math/s_clogl.c (__clogl): Likewise.
6667 * math/libm-test.inc (clog_test): Add more tests.
6668 (clog10_test): Likewise.
6669 * sysdeps/i386/fpu/libm-test-ulps: Update.
6670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6671
66722012-07-31 Florian Weimer <fweimer@redhat.com>
6673
6674 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6675 Exit with zero in case no suitable GID is found, and write a
6676 message to standard error.
6677
66782012-07-30 Roland McGrath <roland@hack.frob.com>
6679
6680 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6681 rather than to 1.
6682 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6683 (MAXPATHLEN): Removed.
6684 (NOGROUP, NODEV): New macros.
6685 (setbit, clrbit, isset, isclr): New macros.
6686 (howmany, roundup, powerof2): New macros.
6687 (DEV_BSIZE): New macro.
6688
6689 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6690 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6691
6692 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6693 definition on [!__NO_LONG_DOUBLE_MATH].
6694
6695 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6696 PTR_MANGLE and PTR_DEMANGLE.
6697
6698 * socket/accept4.c (accept4): Rename to __libc_accept4.
6699 Define accept4 as a weak alias.
6700
6701 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6702 on [_DIRENT_HAVE_D_TYPE].
6703 * io/ftw.c (ftw_dir): Likewise.
6704
6705 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6706
6707 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6708
6709 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6710 Use the BSD numbers rather than the arbitrary ones we had.
6711 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6712 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6713 (SIGXCPU, SIGXFSZ): New macros.
6714 (_NSIG): Now 32.
6715
6716 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6717 initializer on [_LIBC_REENTRANT].
6718
6719 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6720 definitions inside [_POSIX_MAPPED_FILES].
6721
6722 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6723
6724 * dirent/opendir.c: Include <fcntl.h>.
6725
6726 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6727 (__libc_getspecific): Likewise.
6728 (__libc_key_create): Likewise.
6729
6730 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6731 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6732 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6733 (tmpfile64): Define as alias.
6734 * sysdeps/wordsize-64/tmpfile.c: File removed.
6735 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6736 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6737 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6738
6739 * stdio-common/vfscanf.c: Include <stdbool.h>.
6740 * nss/makedb.c: Likewise.
6741 * stdio-common/_i18n_number.h: Likewise.
6742 * argp/argp-help.c: Likewise.
6743 * posix/wordexp.c: Likewise.
6744 * sysdeps/posix/spawni.c: Likewise.
6745 * nss/nss_files/files-initgroups.c: Likewise.
6746 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6747 * nss/nss_files/files-initgroups.c: Likewise.
6748 * nss/nss_db/db-netgrp.c: Likewise.
6749 * nss/nss_db/db-initgroups.c: Likewise.
6750 * io/fchmodat.c: Include <sys/stat.h>.
6751
6752 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6753 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6754
6755 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6756 [HAVE_MMAP].
6757
6758 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6759 Add multiple inclusion protection.
6760
67612012-07-27 David S. Miller <davem@davemloft.net>
6762
6763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6764
67652012-07-27 Gary Benson <gbenson@redhat.com>
6766
6767 [BZ #14298]
6768 * elf/rtld.c: Include <stap-probe.h>.
6769 (dl_main): Added static probes "init_start" and "init_complete".
6770 * elf/dl-load.c: Include <stap-probe.h>.
6771 (lose): Take new parameter "nsid".
6772 Added static probe "map_failed".
6773 (_dl_map_object_from_fd): Pass namespace id to lose.
6774 Added static probe "map_start".
6775 (open_verify): Pass namespace id to lose.
6776 * elf/dl-open.c: Include <stap-probe.h>.
6777 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6778 and "reloc_complete".
6779 * elf/dl-close.c: Include <stap-probe.h>.
6780 (_dl_close_worker): Added static probes "unmap_start" and
6781 "unmap_complete".
6782 * elf/rtld-debugger-interface.txt: New file documenting the above.
6783
67842012-07-26 Roland McGrath <roland@hack.frob.com>
6785
6786 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6787 rather than a string variable.
6788 * sunrpc/rpc_main.c (h_output): Likewise.
6789 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6790
67912012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6792
6793 * inet/check_native.c: New file.
6794
67952012-07-26 Joseph Myers <joseph@codesourcery.com>
6796
6797 [BZ #13629]
6798 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6799 if larger part has absolute value 1.0.
6800 * math/s_clog10.c (__clog10): Likewise.
6801 * math/s_clog10f.c (__clog10f): Likewise.
6802 * math/s_clog10l.c (__clog10l): Likewise.
6803 * math/s_clogf.c (__clogf): Likewise.
6804 * math/s_clogl.c (__clogl): Likewise.
6805 * math/libm-test.inc (clog_test): Add more tests.
6806 (clog10_test): Likewise.
6807 * sysdeps/i386/fpu/libm-test-ulps: Update.
6808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6809
6810 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6811 (pltexit): Likewise.
6812 (La_regs): Likewise.
6813 (La_retval): Likewise.
6814 (int_retval): Likewise.
6815 Update #error for removed macros to refer only to definitions in
6816 tst-audit.h.
6817 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6818 macro.
6819 (pltexit): Likewise.
6820 (La_regs): Likewise.
6821 (La_retval): Likewise.
6822 (int_retval): Likewise.
6823 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6824 macro.
6825 (pltexit): Likewise.
6826 (La_regs): Likewise.
6827 (La_retval): Likewise.
6828 (int_retval): Likewise.
6829 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6830 macro.
6831 (pltexit): Likewise.
6832 (La_regs): Likewise.
6833 (La_retval): Likewise.
6834 (int_retval): Likewise.
6835 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6836 macro.
6837 (pltexit): Likewise.
6838 (La_regs): Likewise.
6839 (La_retval): Likewise.
6840 (int_retval): Likewise.
6841 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6842 macro.
6843 (pltexit): Likewise.
6844 (La_regs): Likewise.
6845 (La_retval): Likewise.
6846 (int_retval): Likewise.
6847 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6848 macro.
6849 (pltexit): Likewise.
6850 (La_regs): Likewise.
6851 (La_retval): Likewise.
6852 (int_retval): Likewise.
6853 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6854 macro definitions in tst-audit.h.
6855 * sysdeps/i386/tst-audit.h: New file.
6856 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6857 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6858 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6859 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6860 * sysdeps/sh/tst-audit.h: Likewise.
6861 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6862 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6863 * sysdeps/x86_64/tst-audit.h: Likewise.
6864
68652012-07-26 Andreas Jaeger <aj@suse.de>
6866
6867 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6868 ptrace.
6869
6870 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6871 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6872 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6873 PTRACE_O_MASK.
6874 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6875 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6876 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6877
6878 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6879 value.
6880
6881 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6882 _sigsys.
6883 (si_call_addr, si_syscall, si_arch): Define new macro.
6884 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6885 _sigsys.
6886 (si_call_addr, si_syscall, si_arch): Define new marcro.
6887 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6888 _sigsys.
6889 (si_call_addr, si_syscall, si_arch): Define new macro.
6890 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6891 _sigsys.
6892 (si_call_addr, si_syscall, si_arch): Define new macro.
6893
68942012-07-25 Joseph Myers <joseph@codesourcery.com>
6895
6896 [BZ #13717]
6897 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6898 Change to 2.4.21 where previously 2.4.1.
6899 * sysdeps/unix/sysv/linux/configure: Regenerated.
6900 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6901 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6902 Linux kernel version.
6903 (__ASSUME_STD_AUXV): Remove.
6904 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6905 kernel version.
6906 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6907 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6908 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6909 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6910 (__ASSUME_NETLINK_SUPPORT): Likewise.
6911 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6912 (__no_netlink_support): Remove conditional definition.
6913 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6914 Remove.
6915 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6916 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6917 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6918 (if_nameindex_ioctl): Remove.
6919 (if_nameindex_netlink): Do not handle __no_netlink_support.
6920 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6921 code.
6922 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6923 Remove conditional code.
6924 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6925 code.
6926 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6927 unconditional.
6928 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6929 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6930 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6931 Remove.
6932 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6933 [!__ASSUME_STD_AUXV]: Remove conditional code.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6935 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6936 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6938 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6939 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6940 code.
6941 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6943 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6944 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6945 conditional code.
6946 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6948 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6949 code.
6950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6951 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6952 conditional code.
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6954 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6955 code unconditional.
6956 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6957 conditional code.
6958 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6959 unconditional.
6960 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6961 conditional code.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6963 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6964 unconditional.
6965 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6966 conditional code.
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6968 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6969 code unconditional.
6970 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6971 conditional code.
6972 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6973 unconditional.
6974 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6975 conditional code.
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6977 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6978 code unconditional.
6979 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6980 conditional code.
6981 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6982 unconditional.
6983 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6984 conditional code.
6985
69862012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6987
6988 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6989 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6990 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6991 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6992 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6993 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6994 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6995 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6996 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6997 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6998 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6999 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7000 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7001 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7002 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7003 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7004 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7005 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7006 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7008 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7009 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7010 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7011
70122012-07-25 Florian Weimer <fweimer@redhat.com>
7013
7014 * Versions.def: Add GLIBC_2.17.
7015 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7016 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7017 Introduce __libc_secure_getenv.
7018 * stdlib/Versions (2.17): Add secure_getenv
7019 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7020 * stdlib/secure-getenv.c: Rename __secure_getenv to
7021 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7022 symbol __secure_getenv for GLIBC_2.0.
7023 * stdlib/tst-secure-getenv.c: New.
7024 * stdlib/Makefile (tests): Add testcase.
7025 * manual/startup.texi (Environment Access): Document
7026 secure_getenv.
7027 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7028 __libc_secure_getenv.
7029 * inet/ruserpass.c (ruserpass): Likewise.
7030 * malloc/mtrace.c (mtrace): Likewise.
7031 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7032 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7033 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7034 * sysdeps/posix/tempname.c: Likewise. Evaluate
7035 HAVE_SECURE_GETENV.
7036 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7037 __secure_getenv to __libc_secure_getenv.
7038 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7040 Likewise.
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7042 Likewise.
7043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7045 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7050
70512012-07-25 Joseph Myers <joseph@codesourcery.com>
7052
7053 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7054 (struct La_i86_retval): Likewise.
7055 (struct La_x86_64_regs): Likewise.
7056 (struct La_x86_64_retval): Likewise.
7057 (struct La_x32_regs): Likewise.
7058 (struct La_x32_retval): Likewise.
7059 (struct La_ppc32_regs): Likewise.
7060 (struct La_ppc32_retval): Likewise.
7061 (struct La_ppc64_regs): Likewise.
7062 (struct La_ppc64_retval): Likewise.
7063 (struct La_sh_regs): Likewise.
7064 (struct La_sh_retval): Likewise.
7065 (struct La_s390_32_regs): Likewise.
7066 (struct La_s390_32_retval): Likewise.
7067 (struct La_s390_64_regs): Likewise.
7068 (struct La_s390_64_retval): Likewise.
7069 (struct La_sparc32_regs): Likewise.
7070 (struct La_sparc32_retval): Likewise.
7071 (struct La_sparc64_regs): Likewise.
7072 (struct La_sparc64_retval): Likewise.
7073 (struct audit_ifaces): Remove architecture-specific pltenter and
7074 pltexit members.
7075 * sysdeps/i386/ldsodefs.h: New file.
7076 * sysdeps/powerpc/ldsodefs.h: Likewise.
7077 * sysdeps/s390/ldsodefs.h: Likewise.
7078 * sysdeps/sh/ldsodefs.h: Likewise.
7079 * sysdeps/sparc/ldsodefs.h: Likewise.
7080 * sysdeps/x86_64/ldsodefs.h: Likewise.
7081
70822012-07-25 Marek Polacek <polacek@redhat.com>
7083
7084 [BZ #6808]
7085 * math/libm-test.inc (yn_test): Add another test.
7086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7087 to ERANGE when the result is +-Inf.
7088 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7089 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7090 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7091 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7092
70932012-07-24 Joseph Myers <joseph@codesourcery.com>
7094
7095 * conform/data/time.h-data (NULL): Use macro-constant. Require
7096 equal to 0.
7097 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7098 clock_t.
7099 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7100
71012012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7102
7103 * configure.in <sysdeps resolving>: Correct printing
7104 Implies_before.
7105 * configure: Regenerate.
7106
71072012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7108
7109 * math/w_ilogb.c: Include <limits.h>.
7110 * math/w_ilogbl.c: Likewise.
7111
71122012-07-20 Joseph Myers <joseph@codesourcery.com>
7113
7114 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7115 va_copy. Document allowing for unavailable va_copy only as
7116 pre-C99 compatibility.
7117 * manual/string.texi (Copying and Concatenation): Use va_copy
7118 instead of __va_copy in concat example.
7119
71202012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7121
7122 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7123 (__sendto): Use create_address_port. Initialize APORT and deallocate
7124 it if not null.
7125
7126 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7127 with O_NOLINK passed to __file_name_lookup.
7128
7129 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7130 with O_NOLINK passed to __file_name_lookup.
7131
7132 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7133 negative N or less than NGIDS.
7134
7135 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7136 type to string_t. Set ERANGE as errno and return it if NAME is not big
7137 enough. Use memcpy instead of strncpy.
7138
71392012-07-20 Joseph Myers <joseph@codesourcery.com>
7140
7141 * elf/Makefile (check-data): Remove.
7142 (localplt.data): New vpath directive.
7143 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7144 instead of $(check-data).
7145 * scripts/data/localplt-generic.data: Move to ...
7146 * sysdeps/generic/localplt.data: ... here.
7147 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7148 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7149 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7151 ... here.
7152 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7154 ... here.
7155 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7157 ... here.
7158 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7160 ... here.
7161 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7163 ... here.
7164 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7166 ... here.
7167
71682012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7169
7170 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7171 PPC32 and PPC64 files.
7172 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7173 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7174
71752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7176
7177 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7178 __makecontext_ret to ...
7179 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7180 ... here and call exit if uc_link is NULL. New file.
7181 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7182 __makecontext_ret.S.
7183 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7184 __makecontext_ret to ...
7185 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7186 ... here and call exit if uc_link is NULL. New file.
7187 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7188 __makecontext_ret.S.
7189
71902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7191
7192 * elf/elf.h (R_390_IRELATIVE): New definition.
7193 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7194 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7195 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7196 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7197 (elf_machine_lazy_rel): Likewise.
7198 * sysdeps/s390/dl-irel.h: New file.
7199 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7200 * sysdeps/s390/s390-64/memset.S: New asm code.
7201 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7202 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7203 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7204 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7205 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7206 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7207 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7208 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7209 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7210 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7211 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7212 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7213 * sysdeps/s390/s390-32/memset.S: New asm code.
7214 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7215
72162012-07-17 Marek Polacek <polacek@redhat.com>
7217
7218 [BZ #14349]
7219 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7220 * sysdeps/s390/s390-64/configure.in: Likewise.
7221 * sysdeps/sparc/configure.in: Likewise.
7222 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7223 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7224 * sysdeps/i386/configure.in: Likewise.
7225 * sysdeps/x86_64/configure.in: Likewise.
7226 * sysdeps/sh/configure.in: Likewise.
7227 * sysdeps/s390/s390-32/configure: Regenerated.
7228 * sysdeps/s390/s390-64/configure: Likewise.
7229 * sysdeps/x86_64/configure: Likewise.
7230 * sysdeps/sh/configure: Likewise.
7231 * sysdeps/powerpc/powerpc64/configure: Likewise.
7232 * sysdeps/powerpc/powerpc32/configure: Likewise.
7233 * sysdeps/sparc/configure: Likwise.
7234 * sysdeps/i386/configure: Likewise.
7235
7236 * elf/dl-open.c: Comment fixes.
7237
72382012-07-17 Joseph Myers <joseph@codesourcery.com>
7239
7240 * Makefile [CXX] (check-data): Remove.
7241 [CXX] (c++-types.data): New vpath directive.
7242 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7243 vpath. Do not allow for C++ type data being missing.
7244 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7245 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7246 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7247 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7248 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7249 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7250 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7252 ... here.
7253 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7255 ... here.
7256 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7258 ... here.
7259 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7261 ... here.
7262 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7264 ... here.
7265 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7267 ... here.
7268 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7270 ... here.
7271 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7273
7274 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7275 definitions to architecture-specific files.
7276 (TLS_IE): Likewise.
7277 (TLS_LD): Likewise.
7278 (TLS_GD): Likewise.
7279 * sysdeps/i386/tls-macros.h: New file.
7280 * sysdeps/powerpc/tls-macros.h: Likewise.
7281 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7282 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7283 * sysdeps/sh/tls-macros.h: Likewise.
7284 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7285 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7286 * sysdeps/x86_64/tls-macros.h: Likewise.
7287
72882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7289
7290 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7291 zero value for regular exit case.
7292
7293 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7294 (__start_context): Preserve zero value for regular exit case.
7295
72962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7297 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7298
7299 * manual/setjmp.texi (setcontext): Clarify normal process
7300 termination when uc_link is the null pointer.
7301 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7302 exit call.
7303
73042012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7305
7306 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7307 preprocessor. Test for each exception mask separately.
7308
73092012-07-16 Andreas Jaeger <aj@suse.de>
7310
7311 * po/ru.po: Update from translation team.
7312
73132012-07-15 Joseph Myers <joseph@codesourcery.com>
7314
7315 * conform/data/string.h-data (NULL): Use macro-constant. Require
7316 equal to 0.
7317 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7318 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7319 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7320 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7321 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7322
73232012-07-13 Andreas Jaeger <aj@suse.de>
7324
7325 * po/fr.po: Update from translation team.
7326
73272012-07-12 Marek Polacek <polacek@redhat.com>
7328
7329 [BZ #14173]
7330 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7331 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7332 loop condition.
7333
73342012-07-12 Joseph Myers <joseph@codesourcery.com>
7335
7336 [BZ #13717]
7337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7338 Change to 2.4.1 where previously 2.4.0.
7339 * sysdeps/unix/sysv/linux/configure: Regenerated.
7340 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7341 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7342 version.
7343 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7344 (__ASSUME_AT_CLKTCK): Remove.
7345 (__ASSUME_AT_PAGESIZE): Likewise.
7346 (__ASSUME_AT_XID): Likewise.
7347 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7348 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7349 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7350 unconditionally.
7351 (HAVE_AUX_PAGESIZE): Likewise.
7352 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7353 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7354 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7355
73562012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7357
7358 [BZ #14307]
7359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7360 the temporary buffer used to invoke __gethostbyname2_r,
7361 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7362 host_data / struct gaih_addrtuple.
7363 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7364 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7365 header file nss/nsswitch.h.
7366 * nss/nsswitch.h (global scope): Add definition of implementation
7367 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7368 resolv/nss_dns/dns-host.c).
7369
73702012-07-11 Andreas Jaeger <aj@suse.de>
7371
7372 * po/fr.po: Update from translation team.
7373
7374 * po/sv.po: Update from translation team
7375 * po/fr.po: Another update from translation team.
7376
73772012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7378
7379 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7380 for subnormals or multiply small sinh result by itself.
7381 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7383
73842012-07-11 David S. Miller <davem@davemloft.net>
7385
7386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7387
73882012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7389
7390 [BZ #14347]
7391 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7392 (INTERNAL_MARK): Shift it here.
7393
73942012-07-10 Marek Polacek <polacek@redhat.com>
7395
7396 [BZ #14151]
7397 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7398 libc_cv_asm_global_directive with .globl.
7399 * configure: Regenerated.
7400 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7401 with .globl.
7402 * sysdeps/i386/configure: Regenerated.
7403 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7404 with .globl.
7405 * sysdeps/x86_64/configure: Regenerated.
7406 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7407 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7408 * elf/tst-unique2mod2.c: Likewise.
7409 * elf/tst-unique2mod1.c: Likewise.
7410 * elf/tst-unique1mod2.c: Likewise.
7411 * elf/tst-unique1mod1.c: Likewise.
7412 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7413 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7414 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7415 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7416 * sysdeps/mach/sysdep.h: Likewise.
7417 * sysdeps/i386/sysdep.h: Likewise.
7418 * sysdeps/i386/i386-mcount.S: Likewise.
7419 * sysdeps/x86_64/_mcount.S: Likewise.
7420 * sysdeps/x86_64/sysdep.h: Likewise.
7421 * sysdeps/sh/_mcount.S: Likewise.
7422 * sysdeps/sh/sysdep.h: Likewise.
7423 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7424 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7425 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7426 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7427 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7428 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7429 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7430 * locale/localeinfo.h: Likewise.
7431 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7432 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7433
74342012-07-09 Roland McGrath <roland@hack.frob.com>
7435
7436 [BZ #14336]
7437 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7438 system".
7439 * manual/message.texi (The Uniforum approach): Likewise.
7440 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7441 (glibc iconv Implementation): Likewise.
7442
74432012-07-09 Joseph Myers <joseph@codesourcery.com>
7444
7445 [BZ #14337]
7446 * math/s_clog.c (__clog): Avoid scaling a value down where that
7447 could result in underflow.
7448 * math/s_clog10.c (__clog10): Likewise.
7449 * math/s_clog10f.c (__clog10f): Likewise.
7450 * math/s_clog10l.c (__clog10l): Likewise.
7451 * math/s_clogf.c (__clogf): Likewise.
7452 * math/s_clogl.c (__clogl): Likewise.
7453 * math/libm-test.inc (clog_test): Add more tests.
7454 (clog10_test): Likewise.
7455 * sysdeps/i386/fpu/libm-test-ulps: Update.
7456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7457
74582012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7459
7460 [BZ #14283]
7461 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7462 by 7 not 8 to examine high bit of fractional part.
7463
7464 [BZ #14042]
7465 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7466 for call to __mcount_internal.
7467 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7468 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7469 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7470
74712012-07-06 Joseph Myers <joseph@codesourcery.com>
7472
7473 [BZ #14154]
7474 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7475 approximation for values within 0x1p-13f of an odd multiple of
7476 pi/4.
7477 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7478 exception. Add more tests.
7479 * sysdeps/i386/fpu/libm-test-ulps: Update.
7480
7481 [BZ #6778]
7482 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7483 inputs and return -1 for them. Do not check for +Inf in case not
7484 reachable for +Inf.
7485 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7486 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7487 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7488 and return -1 for them. Do not check for +Inf in case not
7489 reachable for +Inf.
7490 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7491 define.
7492 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7493 and return -1 for them. Do not check for +Inf in case not
7494 reachable for +Inf.
7495 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7496 spurious underflow.
7497 * sysdeps/i386/fpu/libm-test-ulps: Update.
7498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7499
75002012-07-06 Mike Frysinger <vapier@gentoo.org>
7501
7502 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7503
75042012-07-05 Joseph Myers <joseph@codesourcery.com>
7505
7506 [BZ #14157]
7507 [BZ #14331]
7508 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7509 could result in spurious underflow. Scale down values above
7510 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7511 * math/s_csqrtf.c (__csqrtf): Likewise.
7512 * math/s_csqrtl.c (__csqrtl): Likewise.
7513 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7514 spurious underflow.
7515 * sysdeps/i386/fpu/libm-test-ulps: Update.
7516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517
75182012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7519
7520 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7521 xopen-msg.sed.
7522 * catgets/xopen-msg.awk: New file.
7523 * catgets/xopen-msg.sed: Removed.
7524
7525 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7526 po2text.sed.
7527 * intl/po2test.awk: New file.
7528 * intl/po2test.sed: Removed.
7529
75302012-07-04 Joseph Myers <joseph@codesourcery.com>
7531
7532 [BZ #14328]
7533 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7534 or multiply small sinh result by itself.
7535 * math/s_ctanf.c (__ctanf): Likewise.
7536 * math/s_ctanh.c (__ctanh): Likewise.
7537 * math/s_ctanhf.c (__ctanhf): Likewise.
7538 * math/s_ctanhl.c (__ctanhl): Likewise.
7539 * math/s_ctanl.c (__ctanl): Likewise.
7540 * math/libm-test.inc (ctan_test_tonearest): New function.
7541 (ctan_test_towardzero): Likewise.
7542 (ctan_test_downward): Likewise.
7543 (ctan_test_upward): Likewise.
7544 (ctanh_test_tonearest): Likewise.
7545 (ctanh_test_towardzero): Likewise.
7546 (ctanh_test_downward): Likewise.
7547 (ctanh_test_upward): Likewise.
7548 (main): Call these new functions.
7549 * sysdeps/i386/fpu/libm-test-ulps: Update.
7550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7551
75522012-07-03 Mike Frysinger <vapier@gentoo.org>
7553
7554 * .gitignore: Delete /ports entry.
7555
75562012-07-03 Andreas Jaeger <aj@suse.de>
7557
7558 * po/bg.po: Update from translation team.
7559 * po/cs.po: Likewise.
7560 * po/de.po: Likewise.
7561 * po/hr.po: Likewise.
7562 * po/nl.pl: Likewise.
7563 * po/pl.po: Likewise.
7564 * po/vi.po: Likewise.
7565
75662012-07-03 Joseph Myers <joseph@codesourcery.com>
7567
7568 * Makeconfig [!+link] (+link-before-libc): New variable.
7569 [!+link] (+link-after-libc): Likewise.
7570 [!+link] (+link-tests): Likewise.
7571 [!+link] (+link): Define in terms of $(+link-before-libc) and
7572 $(+link-after-libc).
7573 [!+link-static] (+link-static-before-libc): New variable.
7574 [!+link-static] (+link-static-after-libc): Likewise.
7575 [!+link-static] (+link-static-tests): Likewise.
7576 [!+link-static] (+link-static): Define in terms of
7577 $(+link-static-before-libc) and $(+link-static-after-libc).
7578 [build-shared] (link-libc-before-gnulib): New variable.
7579 [build-shared] (link-libc-tests): Likewise.
7580 [build-shared] (link-libc): Define in terms of
7581 $(link-libc-before-gnulib).
7582 [!build-shared] (link-libc-tests): New variable.
7583 (link-libc-static-tests): New variable.
7584 [!gnulib] (gnulib-arch): New variable.
7585 [!gnulib] (gnulib-tests): Likewise.
7586 [!gnulib] (static-gnulib-arch): Likewise.
7587 [!gnulib] (static-gnulib-tests): Likewise.
7588 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7589 Define with "=" instead of ":=".
7590 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7591 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7592 * Rules (binaries-all-notests): New variable.
7593 (binaries-all-tests): Likewise.
7594 (binaries-static-notests): Likewise.
7595 (binaries-static-tests): Likewise.
7596 (binaries-all): Define using $(binaries-all-notests) and
7597 $(binaries-all-tests).
7598 (binaries-static): Define using $(binaries-static-notests) and
7599 $(binaries-static-tests).
7600 (binaries-shared-tests): New variable.
7601 (binaries-shared-notests): Likewise.
7602 (binaries-shared): Remove variable.
7603 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7604 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7605 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7606 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7607 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7608 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7609 * elf/Makefile (sln-modules): New variable.
7610 (extra-objs): Add $(sln-modules:=.o).
7611 (ldconfig-modules): Add static-stubs.
7612 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7613 * elf/static-stubs.c: New file.
7614
7615 [BZ #14283]
7616 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7617 by 7 not 8 to examine high bit of fractional part. Use volatile
7618 variables when splitting into final array of floats if
7619 __FLT_EVAL_METHOD__ != 0.
7620 * math/libm-test.inc (cos_test): Add another test.
7621 (sin_test): Likewise.
7622 * sysdeps/i386/fpu/libm-test-ulps: Update.
7623
7624 [BZ #14273]
7625 * math/libm-test.inc (cosh_test): Add more tests.
7626
7627 * version.h (RELEASE): Set to "development".
7628 (VERSION): Set to "2.16.90".
7629
76302012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7631
7632 * NEWS: Update copyright. Remove last-updated date.
7633 Mention math library bug fixes and timezone data changes.
7634 * README: Mention GNU/Hurd, x32, and HPPA support status.
7635
76362012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7637
7638 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7639
76402012-06-27 Andreas Jaeger <aj@suse.de>
7641
7642 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7643
76442012-06-25 Andreas Jaeger <aj@suse.de>
7645
7646 * sysdeps/s390/fpu/libm-test-ulps: Update.
7647
76482012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7649 Thomas Schwinge <thomas@codesourcery.com>
7650
7651 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7652 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7654 fanotify_mark.
7655
76562012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7657
7658 * sysdeps/mach/start.c: Remove file.
7659 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7660 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7661 * sysdeps/sh/init-first.c: Likewise.
7662
7663 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7664 registers for frame unwinding purposes, add CFI directives.
7665 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7666 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7667 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7668 Likewise.
7669
7670 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7671 __fortify_fail returning.
7672 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7673
7674 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7675 sysdeps/sh/____longjmp_chk.S.
7676 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7677 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7678 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7679 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7680
7681 * sysdeps/sh/abort-instr.h: New file.
7682 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7683 process in case exit returns.
7684
7685 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7686 initialize the GOT register before use.
7687
7688 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7689 calculation of ARGC > 4.
7690
7691 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7692 meaningful names to some local labels.
7693
76942012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7695 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7696
7697 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7698 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7699 (__arch_compare_and_exchange_val_16_acq): Likewise.
7700 (__arch_compare_and_exchange_val_32_acq): Likewise.
7701 (atomic_exchange_and_add): Fix gUSA sequence.
7702 (atomic_add): Likewise.
7703 (atomic_add_negative): Likewise.
7704 (atomic_add_zero): Likewise.
7705 (atomic_bit_test_set): Likewise.
7706
77072012-06-22 Andreas Schwab <schwab@redhat.com>
7708
7709 [BZ #13579]
7710 * include/link.h (struct link_map): Add l_free_initfini.
7711 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7712 l_initfini.
7713 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7714 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7715 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7716 set.
7717
77182012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7719
7720 * configure.in: Use AC_LANG_SOURCE.
7721 * configure: Regenerate.
7722
77232012-06-22 Roland McGrath <roland@hack.frob.com>
7724
7725 * configure.in (libc_cv_localstatedir): New substituted variable.
7726 * configure: Regenerated.
7727 * config.make.in (localstatedir): New variable, substituted from
7728 libc_cv_localstatedir.
7729 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7730 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7731 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7732 * sysdeps/gnu/configure: Regenerated.
7733
77342012-06-21 Jeff Law <law@redhat.com>
7735
7736 [BZ #14277]
7737 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7738 free. Simplify list management for _LIBC case.
7739
77402012-06-21 Joseph Myers <joseph@codesourcery.com>
7741
7742 [BZ #14273]
7743 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7744 Clear sign bit of 64-bit integer value before comparing against
7745 overflow value.
7746
7747 * sysdeps/mach/configure: Regenerated.
7748
77492012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7750
7751 [BZ #14278]
7752 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7753
77542012-06-21 Jeff Law <law@redhat.com>
7755
7756 [BZ #13882]
7757 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7758 uint16_t for elements in the "seen" array to avoid char overflows.
7759 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7760 * elf/dl-open.c (dl_open_worker): Likewise.
7761
77622012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7763
7764 * scripts/list-sources.sh: Scan PORTS for translations.
7765 * po/libc.pot: Regenerated.
7766
77672012-06-21 Andreas Jaeger <aj@suse.de>
7768
7769 [BZ #12194]
7770 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7771 warning.
7772 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7773 * bits/byteswap-16.h (__bswap_16): Likewise.
7774 * bits/byteswap.h (__bswap_constant_16): Likewise.
7775
77762012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7777
7778 [BZ #14117]
7779 * sysdeps/i386/fpu_control.h: Removed.
7780 * sysdeps/x86_64/fpu_control.h: Moved to ...
7781 * sysdeps/x86/fpu_control.h: Here.
7782
7783 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7784 (_FPU_SETCW): Likewise.
7785
77862012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 [BZ #14117]
7789 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7790 * sysdeps/x86/fpu/bits/mathinline.h: This.
7791 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7792
7793 [BZ #14050]
7794 [BZ #14117]
7795 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7796 functions if __x86_64__ is defined.
7797
77982012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7799
7800 * string/endian.h: Add !__ASSEMBLER__ condition for including
7801 conversion interfaces.
7802
78032012-06-15 Joseph Myers <joseph@codesourcery.com>
7804
7805 [BZ #14241]
7806 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7807 of ABS(x) in calculating zero to negative powers other than odd
7808 integers.
7809 * math/libm-test.inc (pow_test): Add more tests.
7810
78112012-06-15 Andreas Jaeger <aj@suse.de>
7812
7813 * manual/contrib.texi (Contributors): Update entry of Liubov
7814 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7815 Machado Filho.
7816
78172012-06-15 Cyril Hrubis <metan@ucw.cz>
7818
7819 * string/string.h: Add __wur to GNU version of strerror_r.
7820
78212012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7822
7823 [BZ #14229]
7824 * string/Makefile (tests): Add tst-strtok_r.
7825 * string/tst-strtok_r.c: New file.
7826 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7827 RAX_LP/RDX_LP on SAVE_PTR.
7828
78292012-06-14 Roland McGrath <roland@hack.frob.com>
7830
7831 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7832
78332012-06-14 Joseph Myers <joseph@codesourcery.com>
7834
7835 * libm_test.inc (csqrt_test): Allow more spurious underflow
7836 exceptions.
7837 (j0_test): Likewise.
7838 (j1_test): Likewise.
7839 (y0_test): Likewise.
7840 (y1_test): Likewise.
7841
78422012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7843
7844 * po/Makefile (libc.pot): Use UTF-8 charset.
7845
78462012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7847
7848 [BZ #14210]
7849 Suppress sign-conversion warning from FD_SET.
7850 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7851 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7852 not unsigned long int.
7853 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7854
78552012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7856
7857 [BZ #14050]
7858 [BZ #14117]
7859 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7860 __extern_always_inline instead of __extern_inline.
7861 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7862 (__signbit): Likewise.
7863 (__signbitl): Support C++ namespace.
7864 (lrintf): New inline function.
7865 (lrint): Likewise.
7866 (llrintf): Likewise.
7867 (llrint): Likewise.
7868 (fmaxf): Likewise.
7869 (fmax): Likewise.
7870 (fminf): Likewise.
7871 (fmin): Likewise.
7872 (rint): Likewise.
7873 (rintf): Likewise.
7874 (ceil): Likewise.
7875 (ceilf): Likewise.
7876 (floor): Likewise.
7877 (floorf): Likewise.
7878 (nearbyint): Likewise.
7879 (nearbyintf): Likewise.
7880
78812012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7882
7883 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7884 non-default versions.
7885
78862012-06-11 Roland McGrath <roland@hack.frob.com>
7887
7888 [BZ #14218]
7889 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7890
78912012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7892
7893 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7894 (FE_UPWARD, FE_DOWNWARD): Don't define.
7895 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7896 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7897
7898 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7899 reading it.
7900 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7901 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7902
79032012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7904
7905 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7906 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7907 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7908 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7909
79102012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7911
7912 [BZ #14117]
7913 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7914 * sysdeps/i386/fpu/Implies: New file.
7915 * sysdeps/x86_64/fpu/Implies: Likewise.
7916 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7917 * sysdeps/x86/fpu/bits/fenv.h: This.
7918
7919 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7920 __SSE_MATH__.
7921
79222012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7923
7924 [BZ #14134]
7925 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7926 character 0xffff that matches the last element of the
7927 conversion table.
7928
79292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7930
7931 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7932 fmodl commit.
7933
79342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7935
7936 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7937 values higher than 25.6283.
7938
79392012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7940
7941 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7942 subnormal exponent extraction and add some __builtin_expect.
7943 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7944 Fix for subnormal mantissa calculation.
7945
79462012-06-04 Mike Frysinger <vapier@gentoo.org>
7947
7948 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7949 cpu2 is -1 and errno is not ENOSYS.
7950
79512012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7952
7953 [BZ #14117]
7954 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7955 * sysdeps/x86/bits/string.h: This.
7956 * sysdeps/x86_64/bits/string.h: Removed.
7957
7958 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7959 if not compiling for x86-64, but compiling for >= i486.
7960
7961 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7962 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7963
7964 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7965 New macro from Linux kernel 3.4.0.
7966 (FP_XSTATE_MAGIC2): Likewise.
7967 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7968 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7969 (struct _fpx_sw_bytes): New struct.
7970 (struct _xsave_hdr): Likewise.
7971 (struct _ymmh_state): Likewise.
7972 (struct _xstate): Likewise.
7973
7974 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7975 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7976 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7977 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7978 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7979 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7980
7981 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7982 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7983 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7984 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7985 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7986 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7987
79882012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7989
7990 [BZ #13743]
7991 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7992 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7993 (sysdep_headers): Include sys/platform/ppc.h.
7994 * sysdeps/powerpc/test-gettimebase.c: Test for
7995 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7996 * manual/Makefile (appendices): Include platform.texi.
7997 * manual/contrib.texi (Contributors): Update @node pointers.
7998 * manual/maint.texi (Maintenance): Likewise.
7999 (Platform): New node.
8000 * manual/platform.texi: New file. Document the new features.
8001
80022012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8003 Jakub Jelinek <jakub@redhat.com>
8004
8005 [BZ #14188]
8006 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8007 where __builtin_expect is unavailable.
8008
80092012-06-03 David S. Miller <davem@davemloft.net>
8010
8011 * stdlib/longlong.h: Updated from GCC.
8012
80132012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8014
8015 [BZ #14042]
8016 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8017 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8018 __mcount_internal.
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8020 (GLIBC_2.16): Likewise.
8021
80222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8023
8024 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8025
80262012-06-01 Joseph Myers <joseph@codesourcery.com>
8027
8028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8029 (default-abi): New variable.
8030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8031 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8032 variable.
8033 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8034 Likewise.
8035 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8036 Likewise.
8037 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8038 Likewise.
8039
8040 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8041 definition. Document in comment.
8042
80432012-06-01 David S. Miller <davem@davemloft.net>
8044
8045 * stdlib/longlong.h: Updated from GCC.
8046
80472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8048
8049 [BZ #14117]
8050 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8051 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8052 sys/debugreg.h sys/io.h here.
8053 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8054 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8055 sys/io.h.
8056 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8057 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8058 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8059 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8060 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8061 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8062
8063 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8064 Define only if __x86_64__ is defined.
8065
80662012-06-01 Joseph Myers <joseph@codesourcery.com>
8067
8068 [BZ #14048]
8069 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8070 Use int64_t for variable i.
8071 * math/libm-test.inc (fmod_test): Add more tests.
8072
8073 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8074 z computation is not scheduled after fetestexcept.
8075 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8076 Use math_force_eval instead of asm to ensure calculation scheduled
8077 before exception test.
8078 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8079 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8080
80812012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8082
8083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8084 computation is not scheduled after fetestexcept.
8085
80862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8087
8088 [BZ #14117]
8089 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8090 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8091
80922012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8093
8094 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8095 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8096
80972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8098
8099 [BZ #14117]
8100 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8101 <bits/wordsize.h>.
8102 (__WCHAR_MIN): Support __WORDSIZE == 64.
8103 (__WCHAR_MAX): Likewise.
8104
8105 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8106 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8107
8108 [BZ #14183]
8109 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8110 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8111
8112 [BZ #14117]
8113 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8114 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8115
8116 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8117 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8118
8119 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8120 Defined to 1 if __x86_64__ isn't defined.
8121 (_STAT_VER_LINUX_OLD): New.
8122 (st_atime): Remove duplicate.
8123 (st_mtime): Likewise.
8124 (st_ctime): Likewise.
8125
81262012-05-31 David S. Miller <davem@davemloft.net>
8127
8128 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8129 entries.
8130
81312012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8132
8133 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8134 gen-libm-test.pl.
8135
8136 [BZ #14132]
8137 * elf/dl-reloc.c: Include <_itoa.h>.
8138 (_dl_reloc_bad_type): Remove use of INTUSE.
8139 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8140 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8141 * stdio-common/psiginfo.c (psiginfo): Likewise.
8142 * stdio-common/psignal.c (psignal): Likewise.
8143 * string/strsignal.c (strsignal): Likewise.
8144 * include/signal.h (_sys_siglist): Declare hidden proto.
8145 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8146 INTVARDEF with libc_hidden_data_def.
8147 * stdio-common/itoa-udigits.c: Likewise.
8148 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8149 (_itoa_lower_digits_internal): Remove declaration.
8150 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8151 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8152 (_sys_sigabbrev_internal): Remove aliases.
8153 (_sys_siglist): Define hidden alias.
8154
81552012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8156
8157 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8158 bits/sysctl.h.
8159
81602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8161
8162 [BZ #14117]
8163 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8164 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8165
8166 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8167 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8168 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8169 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8170 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8171 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8172
8173 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8174 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8175 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8176
8177 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8178 with __addr.
8179 (insw): Likewise.
8180 (insl): Likewise.
8181 (outsb): Likewise.
8182 (outsw): Likewise.
8183 (outsl): Likewise.
8184
8185 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8186 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8187 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8188
8189 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8190 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8191 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8192 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8193 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8194 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8195
8196 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8197 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8198
8199 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8200 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8201
8202 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8204 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8205
8206 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8207 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8208 to ...
8209 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8210
8211 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8212 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8213 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8214
8215 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8216 for x86-64.
8217 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8218
82192012-05-31 Joseph Myers <joseph@codesourcery.com>
8220
8221 * math/math.h (M_El): Use two more decimal places.
8222 (M_LOG2El): Likewise.
8223 (M_LOG10El): Likewise.
8224 (M_LN2l): Likewise.
8225 (M_LN10l): Likewise.
8226 (M_PIl): Likewise.
8227 (M_PI_2l): Likewise.
8228 (M_PI_4l): Likewise.
8229 (M_1_PIl): Likewise.
8230 (M_2_PIl): Likewise.
8231 (M_2_SQRTPIl): Likewise.
8232 (M_SQRT2l): Likewise.
8233 (M_SQRT1_2l): Likewise.
8234
82352012-05-31 David S. Miller <davem@davemloft.net>
8236
8237 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8238 values between float registers.
8239 * sysdeps/sparc/sparc64/memset.S: Likewise.
8240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8241
82422012-05-31 Mike Frysinger <vapier@gentoo.org>
8243
8244 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8245 -D_FORTIFY_SOURCE=1.
8246 (CPPFLAGS-tst-longjmp_chk.c): Define.
8247 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8248 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8249 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8250 CFLAGS-tst-wchar-h.c.
8251
82522012-05-31 Marek Polacek <polacek@redhat.com>
8253
8254 [BZ #14132]
8255 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8256 __endmntent_internal): Remove declaration.
8257 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8258 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8259 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8260
82612012-05-30 David S. Miller <davem@davemloft.net>
8262
8263 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8264 (___Q_simulate_exceptions): Use real FP ops rather than writing
8265 into the %fsr.
8266 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8267 Likewise.
8268
82692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8270
8271 [BZ #14117]
8272 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8273 * sysdeps/x86/bits/xtitypes.h: This.
8274
8275 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8276 * sysdeps/x86/bits/wordsize.h: This.
8277
8278 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8279 * sysdeps/x86/bits/huge_vall.h: This.
8280
8281 * sysdeps/i386/bits/select.h: Removed.
8282 * sysdeps/x86_64/bits/select.h: Renamed to ...
8283 * sysdeps/x86/bits/select.h: This.
8284
8285 * sysdeps/i386/bits/setjmp.h: Removed.
8286 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8287 * sysdeps/x86/bits/setjmp.h: This.
8288
8289 * sysdeps/i386/bits/mathdef.h: Removed.
8290 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8291 * sysdeps/x86/bits/mathdef.h: This.
8292
82932012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8294
8295 [BZ #14132]
8296 * include/sys/socket.h (__connect_internal)
8297 (__libc_sa_len_internal): Remove declaration.
8298 (__connect, __libc_sa_len): Declare hidden_proto.
8299 (SA_LEN): Remove use of INTUSE.
8300 * socket/connect.c: Add libc_hidden_def.
8301 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8302 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8303 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8304 alias.
8305 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8306 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8307 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8308 of adding _internal alias.
8309
83102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8311
8312 [BZ #14117]
8313 * sysdeps/i386/bits/link.h: Removed.
8314 * sysdeps/i386/bits/linkmap.h: Likewise.
8315 * sysdeps/x86_64/bits/link.h: Renamed to ...
8316 * sysdeps/x86/bits/link.h: This.
8317 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8318 * sysdeps/x86/bits/linkmap.h: This.
8319
8320 * sysdeps/i386/bits/endian.h: Removed.
8321 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8322 * sysdeps/x86/bits/endian.h: This.
8323
8324 * sysdeps/i386/bits/byteswap.h: Removed.
8325 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8326 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8327 * sysdeps/x86/bits/byteswap.h: This.
8328 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8329 * sysdeps/x86/bits/byteswap-16.h: This.
8330 * sysdeps/i386/Implies: Add x86.
8331 * sysdeps/x86_64/Implies: Likewise.
8332
83332012-05-30 David S. Miller <davem@davemloft.net>
8334
8335 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8336 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8337 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8338 (FP_TRAPPING_EXCEPTIONS): Define.
8339 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8340 (FP_TRAPPING_EXCEPTIONS): Define.
8341 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8342 subnormals only when inexact has been signalled or underflow
8343 exceptions are enabled.
8344 (_FP_PACK_CANONICAL): Likewise.
8345
83462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8347
8348 [BZ #14183]
8349 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8350 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8351
83522012-05-30 Richard Henderson <rth@twiddle.net>
8353
8354 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8355 with #ifndef NOT_IN_libc.
8356
8357 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8358 marked to avoid plt entry.
8359
83602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8361
8362 [BZ #14112]
8363 * Makeconfig (default-abi): New macro.
8364 (abi-includes): Likewise.
8365 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8366 $(abi-$(default-abi)-lib-soname) for soname if defined.
8367 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8368 abi-variants.
8369 * Makefile (installed-stubs): Likewise.
8370 * include/stubs-biarch.h: Removed.
8371 * scripts/lib-names.awk: Only handle one library at a time.
8372 * scripts/soversions.awk: Remove WORDSIZE support.
8373 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8374 entries.
8375 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8376 Removed.
8377 (syscall-list-default-condition): Likewise.
8378 (syscall-list-default-condition): Likewise.
8379 (syscall-list-includes): Likewise.
8380 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8381 syscall-list-* with abi-*. Handle undefined abi-variants.
8382 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8383 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8384 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8385 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8386 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8387 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8388 Removed.
8389 (syscall-list-32-options): Likewise.
8390 (syscall-list-32-condition): Likewise.
8391 (syscall-list-64-options): Likewise.
8392 (syscall-list-64-condition): Likewise.
8393 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8394 macro.
8395 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8396 Renamed to ...
8397 (abi-*): This.
8398 (abi-64-ld-soname): New macro.
8399 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8400 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8401 Renamed to ...
8402 (abi-*): This.
8403 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8404 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8405
84062012-05-30 Joseph Myers <joseph@codesourcery.com>
8407
8408 * sysdeps/unix/sysv/linux/kernel-features.h
8409 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8410 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8411 include <kernel-features.h>.
8412 [!__NR_ftruncate64]: Remove conditional code.
8413 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8414 [__NR_ftruncate64]: Make code unconditional.
8415 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8416 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8417 include <kernel-features.h>.
8418 [!__NR_ftruncate64]: Remove conditional code.
8419 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8420 [__NR_ftruncate64]: Make code unconditional.
8421 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8423 include <kernel-features.h>.
8424 [!__NR_ftruncate64]: Remove conditional code.
8425 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8426 [__NR_ftruncate64]: Make code unconditional.
8427 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8429 include <kernel-features.h>.
8430 [!__NR_ftruncate64]: Remove conditional code.
8431 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8432 [__NR_ftruncate64]: Make code unconditional.
8433 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8434
8435 * configure.in (libc_cv_fpie): Weaken to a compile test using
8436 LIBC_TRY_CC_OPTION.
8437 * configure: Regenerated.
8438
84392012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8440
8441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8445 Refreshed.
8446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8452 Refreshed.
8453
84542012-05-27 David S. Miller <davem@davemloft.net>
8455
8456 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8457 (___Q_zero): New.
8458 (__Q_simulate_exceptions): Return void. Change to simulate
8459 exceptions by writing into the %fsr.
8460 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8461 (__Qp_handle_exceptions): Likewise.
8462 (numbers): Delete.
8463 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8464 __Qp_handle_exceptions.
8465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8466 __Qp_handle_exceptions.
8467 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8468 as unused and give dummy FP_RND_NEAREST initializer.
8469 (FP_INHIBIT_RESULTS): Define.
8470 (___Q_simulate_exceptions): Update declaration.
8471 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8472 formatting.
8473 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8474 as unused and give dummy FP_RND_NEAREST initializer.
8475 (__Qp_handle_exceptions): Update declaration.
8476 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8477 formatting.
8478
84792012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8480
8481 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8482 the temporary FPU control word.
8483 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8484 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8485 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8486 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8487 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8488 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8489 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8490 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8491 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8492 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8493 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8494
84952012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8496
8497 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8498 fields.
8499
85002012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8501
8502 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8503 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8504 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8505 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8506 Likewise.
8507 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8508 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8509 Likewise.
8510
85112012-05-27 Ulrich Drepper <drepper@gmail.com>
8512
8513 * po/h.po: Update from translation team.
8514
85152012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8516
8517 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8518
8519 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8520 handling of denormals.
8521 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8522 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8523 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8524 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8525 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8527 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8528 Likewise.
8529
85302012-05-26 Marek Polacek <polacek@redhat.com>
8531
8532 [BZ #14152]
8533 * math/libm-test.inc (fma_test): Don't always expect underflow
8534 exception.
8535
85362012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8537
8538 [BZ #12416]
8539 * elf/tst-execstack.c: Include stackinfo.h.
8540 (do_test): Adjust test case to ensure that pthread_getattr_np
8541 behaviour remains the same after marking stack executable.
8542
85432012-05-25 Joseph Myers <joseph@codesourcery.com>
8544
8545 * sysdeps/unix/sysv/linux/kernel-features.h
8546 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8547 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8548 kernel-features.h.
8549 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8550 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8551 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8552 kernel-features.h.
8553 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8554 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8555
85562012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8557
8558 * configure.in: Define the default includes to being none.
8559 * configure: Regenerated.
8560
85612012-05-25 Roland McGrath <roland@hack.frob.com>
8562
8563 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8564 * sysdeps/x86_64/setjmp.S: Likewise.
8565 * sysdeps/i386/bsd-setjmp.S: Likewise.
8566 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8567 * sysdeps/i386/setjmp.S: Likewise.
8568 * sysdeps/i386/__longjmp.S: Likewise.
8569 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8570 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8571
8572 * include/stap-probe.h: New file.
8573 * configure.in: Handle --enable-systemtap.
8574 * configure: Regenerated.
8575 * config.h.in (USE_STAP_PROBE): New #undef.
8576 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8577 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8578 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8579
85802012-05-25 Joseph Myers <joseph@codesourcery.com>
8581
8582 [BZ #13717]
8583 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8584 to 2.4.0 where earlier.
8585 * sysdeps/unix/sysv/linux/configure: Regenerated.
8586 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8587 <kernel-features.h>.
8588 [__ASSUME_32BITUIDS]: Make code unconditional.
8589 [!__ASSUME_32BITUIDS]: Remove conditional code.
8590 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8591 <kernel-features.h>.
8592 [__ASSUME_32BITUIDS]: Make code unconditional.
8593 [!__ASSUME_32BITUIDS]: Remove conditional code.
8594 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8595 [__ASSUME_32BITUIDS]: Make code unconditional.
8596 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8597 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8598 <kernel-features.h>.
8599 [__ASSUME_32BITUIDS]: Make code unconditional.
8600 [!__ASSUME_32BITUIDS]: Remove conditional code.
8601 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8602 <kernel-features.h>.
8603 [__ASSUME_32BITUIDS]: Make code unconditional.
8604 [!__ASSUME_32BITUIDS]: Remove conditional code.
8605 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8606 <kernel-features.h>.
8607 [__ASSUME_32BITUIDS]: Make code unconditional.
8608 [!__ASSUME_32BITUIDS]: Remove conditional code.
8609 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8610 <kernel-features.h>.
8611 [__ASSUME_32BITUIDS]: Make code unconditional.
8612 [!__ASSUME_32BITUIDS]: Remove conditional code.
8613 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8614 <kernel-features.h>.
8615 [__ASSUME_32BITUIDS]: Make code unconditional.
8616 [!__ASSUME_32BITUIDS]: Remove conditional code.
8617 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8618 <kernel-features.h>.
8619 [__ASSUME_32BITUIDS]: Make code unconditional.
8620 [!__ASSUME_32BITUIDS]: Remove conditional code.
8621 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8622 <kernel-features.h>.
8623 [__ASSUME_32BITUIDS]: Make code unconditional.
8624 [!__ASSUME_32BITUIDS]: Remove conditional code.
8625 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8626 <kernel-features.h>.
8627 [__ASSUME_32BITUIDS]: Make code unconditional.
8628 [!__ASSUME_32BITUIDS]: Remove conditional code.
8629 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8630 <kernel-features.h>.
8631 [__ASSUME_32BITUIDS]: Make code unconditional.
8632 [!__ASSUME_32BITUIDS]: Remove conditional code.
8633 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8634 <kernel-features.h>.
8635 [__ASSUME_32BITUIDS]: Make code unconditional.
8636 [!__ASSUME_32BITUIDS]: Remove conditional code.
8637 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8638 <kernel-features.h>.
8639 [__NR_setresgid] (__setresgid): Do not declare.
8640 [__ASSUME_32BITUIDS]: Make code unconditional.
8641 [!__ASSUME_32BITUIDS]: Remove conditional code.
8642 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8643 <kernel-features.h>.
8644 [__NR_setresuid] (__setresuid): Do not declare.
8645 [__ASSUME_32BITUIDS]: Make code unconditional.
8646 [!__ASSUME_32BITUIDS]: Remove conditional code.
8647 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8648 <kernel-features.h>.
8649 [__ASSUME_32BITUIDS]: Make code unconditional.
8650 [!__ASSUME_32BITUIDS]: Remove conditional code.
8651 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8652 <kernel-features.h>.
8653 [__ASSUME_32BITUIDS]: Make code unconditional.
8654 [!__ASSUME_32BITUIDS]: Remove conditional code.
8655 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8656 <kernel-features.h>.
8657 [__ASSUME_32BITUIDS]: Make code unconditional.
8658 [!__ASSUME_32BITUIDS]: Remove conditional code.
8659 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8660 <kernel-features.h>.
8661 [__ASSUME_32BITUIDS]: Make code unconditional.
8662 [!__ASSUME_32BITUIDS]: Remove conditional code.
8663 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8664 <kernel-features.h>.
8665 [__ASSUME_32BITUIDS]: Make code unconditional.
8666 [!__ASSUME_32BITUIDS]: Remove conditional code.
8667 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8668 <kernel-features.h>.
8669 [__ASSUME_32BITUIDS]: Make code unconditional.
8670 [!__ASSUME_32BITUIDS]: Remove conditional code.
8671 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8672 <kernel-features.h>.
8673 [__ASSUME_32BITUIDS]: Make code unconditional.
8674 [!__ASSUME_32BITUIDS]: Remove conditional code.
8675 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8676 <kernel-features.h>.
8677 [__ASSUME_32BITUIDS]: Make code unconditional.
8678 [!__ASSUME_32BITUIDS]: Remove conditional code.
8679 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8680 <kernel-features.h>.
8681 [__ASSUME_32BITUIDS]: Make code unconditional.
8682 [!__ASSUME_32BITUIDS]: Remove conditional code.
8683 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8684 <kernel-features.h>.
8685 [__ASSUME_32BITUIDS]: Make code unconditional.
8686 [!__ASSUME_32BITUIDS]: Remove conditional code.
8687 * sysdeps/unix/sysv/linux/kernel-features.h
8688 (__ASSUME_SETRESUID_SYSCALL): Remove.
8689 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8690 (__ASSUME_32BITUIDS): Likewise.
8691 (__ASSUME_LDT_WORKS): Likewise.
8692 (__ASSUME_O_DIRECTORY): Likewise.
8693 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8694 architecture but not kernel version.
8695 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8696 (__ASSUME_MMAP2_SYSCALL): Likewise.
8697 (__ASSUME_STAT64_SYSCALL): Likewise.
8698 (__ASSUME_IPC64): Likewise.
8699 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8700 <kernel-features.h>.
8701 [__ASSUME_32BITUIDS]: Make code unconditional.
8702 [!__ASSUME_32BITUIDS]: Remove conditional code.
8703 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8704 <kernel-features.h>.
8705 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8706 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8707 132096]: Remove conditional code.
8708 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8709 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8710 <kernel-features.h>.
8711 [__ASSUME_32BITUIDS]: Make code unconditional.
8712 [!__ASSUME_32BITUIDS]: Remove conditional code.
8713 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8714 <kernel-features.h>.
8715 [__ASSUME_32BITUIDS]: Make code unconditional.
8716 [!__ASSUME_32BITUIDS]: Remove conditional code.
8717 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8718 <kernel-features.h>.
8719 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8720 unconditional.
8721 (__setresgid): Do not declare.
8722 [__ASSUME_32BITUIDS]: Make code unconditional.
8723 [!__ASSUME_32BITUIDS]: Remove conditional code.
8724 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8725 <kernel-features.h>.
8726 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8727 unconditional.
8728 (__setresuid): Do not declare.
8729 [__ASSUME_32BITUIDS]: Make code unconditional.
8730 [!__ASSUME_32BITUIDS]: Remove conditional code.
8731 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
8736 <kernel-features.h>.
8737 [__ASSUME_32BITUIDS]: Make code unconditional.
8738 [!__ASSUME_32BITUIDS]: Remove conditional code.
8739
87402012-05-25 Richard Henderson <rth@twiddle.net>
8741
8742 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8743 dl_hwcap to ifunc resolver.
8744 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8745 elf_ifunc_invoke.
8746 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8747 dl_hwcap to ifunc resolver.
8748 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8749
87502012-05-24 Joseph Myers <joseph@codesourcery.com>
8751
8752 [BZ #14153]
8753 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8754 for |x| <= 2**-26, not 2**-57.
8755 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8756 exception.
8757
87582012-05-24 Jeff Law <law@redhat.com>
8759
8760 * stdio-common/Makefile (tests): Add bug25.
8761 * stdio-common/bug25.c: New test.
8762
87632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8764
8765 [BZ #13576]
8766 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8767 multiple of MALLOC_ALIGNMENT in size.
8768 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8769
87702012-05-24 Joseph Myers <joseph@codesourcery.com>
8771
8772 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8773 Require >= 256.
8774 (FILENAME_MAX): Use macro-int-constant.
8775 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8776 (_IOFBF): Use macro-int-constant.
8777 (_IOLBF): Likewise.
8778 (_IONBF): Likewise.
8779 (SEEK_CUR): Likewise.
8780 (SEEK_END): Likewise.
8781 (SEEK_SET): Likewise.
8782 (TMP_MAX): Likewise.
8783 (EOF): Use macro-int-constant. Require < 0.
8784 (NULL): Use macro-constant. Require == 0.
8785 (stdin): Require type to be FILE *.
8786 (stdout): Likewise.
8787 (stderr): Likewise.
8788 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8789 macro-int-constant.
8790 (EXIT_SUCCESS): Likewise.
8791 (NULL): Use macro-constant. Require == 0.
8792 (RAND_MAX): Use macro-int-constant.
8793 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8794 [C99-based standards] (strtof): Require function.
8795 [C99-based standards] (strtold): Likewise.
8796 [C99-based standards] (strtoll): Likewise.
8797 [C99-based standards] (strtoull): Likewise.
8798 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8799 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8800 [ISO || ISO99 || ISO11] (math.h): Likewise.
8801 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8802 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8803 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8804
88052012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8806
8807 [BZ #14132]
8808 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8809 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8810 * intl/dgettext.c (DCGETTEXT): Likewise.
8811 * intl/gettext.c (DCGETTEXT): Likewise.
8812 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8813 * posix/regex_internal.h (gettext): Likewise.
8814 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8815 Remove declaration.
8816 * include/argz.h (__argz_count_internal)
8817 (__argz_stringify_internal): Remove declaration.
8818 (__argz_count, __argz_stringify): Declare hidden proto.
8819 * intl/dcgettext.c: Remove use of INTDEF.
8820 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8821 * string/argz-stringify.c: Likewise.
8822 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8823 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8824 Declare hidden proto.
8825 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8826 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8827 Declare hidden proto.
8828 * include/stdio.h (__asprintf_internal): Don't declare.
8829 (__asprintf): Don't define as macro. Declare hidden proto.
8830 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8831 (__fsetlocking): Declare hidden proto.
8832 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8833 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8834 hidden proto.
8835 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8836 (_IO_setlinebuf): Remove use of INTUSE.
8837 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8838 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8839 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8840 Remove declaration.
8841 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8842 (_IO_do_flush): Remove use of INTUSE.
8843 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8844 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8845 (_IO_adjust_column, _IO_least_wmarker)
8846 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8847 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8848 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8849 (_IO_default_doallocate, _IO_wdefault_doallocate)
8850 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8851 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8852 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8853 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8854 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8855 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8856 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8857 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8858 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8859 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8860 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8861 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8862 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8863 proto.
8864 (_IO_flush_all_internal, _IO_adjust_column_internal)
8865 (_IO_default_uflow_internal, _IO_default_finish_internal)
8866 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8867 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8868 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8869 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8870 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8871 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8872 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8873 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8874 (_IO_file_close_internal, _IO_file_close_it_internal)
8875 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8876 (_IO_file_init_internal, _IO_file_attach_internal)
8877 (_IO_file_fopen_internal, _IO_file_read_internal)
8878 (_IO_file_sync_internal, _IO_file_seek_internal)
8879 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8880 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8881 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8882 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8883 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8884 (_IO_list_all_internal, _IO_link_in_internal)
8885 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8886 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8887 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8888 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8889 (_IO_do_write_internal, _IO_padn_internal)
8890 (_IO_getline_info_internal, _IO_getline_internal)
8891 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8892 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8893 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8894 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8895 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8896 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8897 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8898 with libc_hidden_ver, remove use of INTUSE.
8899 * libio/genops.c: Likewise.
8900 * libio/freopen.c: Likewise.
8901 * libio/freopen64.c: Likewise.
8902 * libio/iofclose.c: Likewise.
8903 * libio/iofdopen.c: Likewise.
8904 * libio/iofflush.c: Likewise.
8905 * libio/iofflush_u.c: Likewise.
8906 * libio/iofgets.c: Likewise.
8907 * libio/iofgets_u.c: Likewise.
8908 * libio/iofopen.c: Likewise.
8909 * libio/iofopncook.c: Likewise.
8910 * libio/iofread.c: Likewise.
8911 * libio/iofread_u.c: Likewise.
8912 * libio/ioftell.c: Likewise.
8913 * libio/iofwrite.c: Likewise.
8914 * libio/iogetline.c: Likewise.
8915 * libio/iogets.c: Likewise.
8916 * libio/iogetwline.c: Likewise.
8917 * libio/iopadn.c: Likewise.
8918 * libio/iopopen.c: Likewise.
8919 * libio/ioseekoff.c: Likewise.
8920 * libio/ioseekpos.c: Likewise.
8921 * libio/iosetbuffer.c: Likewise.
8922 * libio/iosetvbuf.c: Likewise.
8923 * libio/ioungetc.c: Likewise.
8924 * libio/ioungetwc.c: Likewise.
8925 * libio/iovdprintf.c: Likewise.
8926 * libio/iovsprintf.c: Likewise.
8927 * libio/iovsscanf.c: Likewise.
8928 * libio/memstream.c: Likewise.
8929 * libio/obprintf.c: Likewise.
8930 * libio/oldfileops.c: Likewise.
8931 * libio/oldiofclose.c: Likewise.
8932 * libio/oldiofdopen.c: Likewise.
8933 * libio/oldiofopen.c: Likewise.
8934 * libio/oldiopopen.c: Likewise.
8935 * libio/oldstdfiles.c: Likewise.
8936 * libio/putc.c: Likewise.
8937 * libio/setbuf.c: Likewise.
8938 * libio/setlinebuf.c: Likewise.
8939 * libio/stdfiles.c: Likewise.
8940 * libio/strops.c: Likewise.
8941 * libio/vasprintf.c: Likewise.
8942 * libio/vscanf.c: Likewise.
8943 * libio/vsnprintf.c: Likewise.
8944 * libio/vswprintf.c: Likewise.
8945 * libio/wfiledoalloc.c: Likewise.
8946 * libio/wfileops.c: Likewise.
8947 * libio/wgenops.c: Likewise.
8948 * libio/wmemstream.c: Likewise.
8949 * libio/wstrops.c: Likewise.
8950 * libio/__fpurge.c: Likewise.
8951 * libio/__fsetlocking.c: Likewise.
8952 * assert/assert.c: Likewise.
8953 * debug/fgets_chk.c: Likewise.
8954 * debug/fgets_u_chk.c: Likewise.
8955 * debug/fread_chk.c: Likewise.
8956 * debug/fread_u_chk.c: Likewise.
8957 * debug/gets_chk.c: Likewise.
8958 * debug/obprintf_chk.c: Likewise.
8959 * debug/vasprintf_chk.c: Likewise.
8960 * debug/vdprintf_chk.c: Likewise.
8961 * debug/vsnprintf_chk.c: Likewise.
8962 * debug/vsprintf_chk.c: Likewise.
8963 * malloc/mtrace.c: Likewise.
8964 * misc/error.c: Likewise.
8965 * misc/syslog.c: Likewise.
8966 * stdio-common/asprintf.c: Likewise.
8967 * stdio-common/fxprintf.c: Likewise.
8968 * stdio-common/getw.c: Likewise.
8969 * stdio-common/isoc99_fscanf.c: Likewise.
8970 * stdio-common/isoc99_scanf.c: Likewise.
8971 * stdio-common/isoc99_vfscanf.c: Likewise.
8972 * stdio-common/isoc99_vscanf.c: Likewise.
8973 * stdio-common/isoc99_vsscanf.c: Likewise.
8974 * stdio-common/printf-prs.c: Likewise.
8975 * stdio-common/printf_fp.c: Likewise.
8976 * stdio-common/printf_fphex.c: Likewise.
8977 * stdio-common/printf_size.c: Likewise.
8978 * stdio-common/putw.c: Likewise.
8979 * stdio-common/scanf.c: Likewise.
8980 * stdio-common/sprintf.c: Likewise.
8981 * stdio-common/tmpfile.c: Likewise.
8982 * stdio-common/vfprintf.c: Likewise.
8983 * stdio-common/vfscanf.c: Likewise.
8984 * stdlib/strfmon_l.c: Likewise.
8985 * sunrpc/openchild.c: Likewise.
8986 * sunrpc/xdr_stdio.c: Likewise.
8987 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8988 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8989
89902012-05-24 Roland McGrath <roland@hack.frob.com>
8991
8992 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8993
8994 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8995 in the third column, to generate for the shared library an IFUNC
8996 that uses _dl_vdso_vsym.
8997 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8998 * Makeconfig (object-suffixes-noshared): New variable.
8999
9000 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9001 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9002 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9003 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9004
9005 [BZ #14132]
9006 * include/sys/time.h (__gettimeofday): Remove macro.
9007 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9008 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9009 Remove INTDEF.
9010 (__gettimeofday): Add libc_hidden_def.
9011 (gettimeofday): Add libc_hidden_weak.
9012 * sysdeps/mach/gettimeofday.c: Likewise.
9013 * sysdeps/posix/gettimeofday.c: Likewise.
9014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9015 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9017 (__gettimeofday_internal): Remove strong_alias.
9018 (__gettimeofday): Add libc_hidden_def.
9019 (gettimeofday): Add libc_hidden_weak.
9020 * sysdeps/unix/syscalls.list (gettimeofday):
9021 Remove __gettimeofday_internal alias.
9022
90232012-05-24 Daniel Jacobowitz <drow@false.org>
9024 H.J. Lu <hongjiu.lu@intel.com>
9025
9026 [BZ #12495]
9027 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9028 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9029 (largebin_index_32_big): New.
9030 (largebin_index): Use it for 16-byte alignment.
9031 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9032 correction with front_misalign.
9033
90342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9035
9036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9038 Likewise.
9039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9040 Likewise.
9041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9042 Likewise.
9043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9044 Likewise.
9045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9046 Likewise.
9047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9048 Likewise.
9049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9050 Likewise.
9051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9052 Likewise.
9053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9054 Likewise.
9055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9056 Likewise.
9057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9058 Likewise.
9059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9060 Likewise.
9061
9062 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9063 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9064
90652012-05-24 Joseph Myers <joseph@codesourcery.com>
9066
9067 [BZ #10846]
9068 [BZ #14036]
9069 * math/libm-test.inc (exp_test): Add test from bug 14036.
9070 (pow_test): Add test from bug 10846.
9071
9072 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9073 and other flags.
9074 (special_function): Do not include flags in test name.
9075 (parse_args): Likewise.
9076 * sysdeps/i386/fpu/libm-test-ulps: Update.
9077 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9078 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9079 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9081
9082 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9083 exceptions.
9084 * math/libm-test.inc ("Philosophy"): Update comment about
9085 exception testing.
9086 (UNDERFLOW_EXCEPTION): New macro.
9087 (UNDERFLOW_EXCEPTION_OK): Likewise.
9088 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9089 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9090 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9091 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9092 (INVALID_EXCEPTION_OK): Update value.
9093 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9094 (OVERFLOW_EXCEPTION_OK): Likewise.
9095 (IGNORE_ZERO_INF_SIGN): Likewise.
9096 (test_exceptions): Handle underflow exceptions.
9097 (acos_test): Update for underflow exception expectations.
9098 (cexp_test): Likewise.
9099 (clog_test): Likewise.
9100 (clog10_test): Likewise.
9101 (csqrt_test): Likewise.
9102 (ctan_test): Likewise.
9103 (ctanh_test): Likewise.
9104 (exp_test): Likewise.
9105 (exp10_test): Likewise.
9106 (exp2_test): Likewise.
9107 (expm1_test): Likewise.
9108 (fma_test): Likewise.
9109 (j0_test): Likewise.
9110 (jn_test): Likewise.
9111 (nexttoward_test): Likewise.
9112 (pow_test): Likewise.
9113 (scalbn_test): Likewise.
9114 (scalbln_test): Likewise.
9115 (tan_test): Likewise.
9116 (y1_test): Likewise.
9117 * sysdeps/i386/fpu/libm-test-ulps: Update.
9118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9119
91202012-05-23 David S. Miller <davem@davemloft.net>
9121
9122 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9123 (__libc_sigaction): Remove unused local variables.
9124
91252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9126
9127 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9128
91292012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9130
9131 mktime: avoid signed integer overflow
9132 * time/mktime.c (__mktime_internal): Do not mishandle the case
9133 where diff == INT_MIN.
9134
9135 mktime: simplify computation of average
9136 * time/mktime.c (ranged_convert): Use new time_t_avg function
9137 instead of rolling our own (probably-slower) code.
9138
9139 mktime: do not assume signed right shift propagates sign bit
9140 * time/mktime.c (isdst_differ): New static function.
9141 (__mktime_internal): No need to normalize tm_isdst now.
9142 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9143 tm_isdst values.
9144
9145 mktime: merge another wrapv change from gnulib
9146 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9147 from some compilers.
9148
9149 mktime: remove incorrect attempt at unusual arithmetics
9150 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9151 The code didn't really work on such machines anyway.
9152 (TYPE_MINIMUM): Assume two's complement.
9153 (twos_complement_arithmetic): Verify that long_int and time_t
9154 are two's complement (or unsigned, in the latter case).
9155
9156 mktime: check signed shifts on long_int and time_t, too
9157 * time/mktime.c (SHR): Check that shifts work as desired
9158 on the types long_int and time_t too, as SHR is used on
9159 such types.
9160
9161 mktime: do not assume 'long' is wide enough
9162 * time/mktime.c (verify): Move decl up.
9163 (long_int): New type.
9164 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9165 to remove assumption in the code that 'long' is wide enough to
9166 store year values. This assumption is not true on x32 and on
9167 some non-glibc platforms.
9168
9169 mktime: merge wrapv change from gnulib
9170 * time/mktime.c (WRAPV): New macro.
9171 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9172 (guess_time_tm, __mktime_internal): Do not assume that signed
9173 integer overflow wraps around; modern compilers generate code
9174 where this assumption is no longer valid.
9175
91762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9177
9178 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9179 Replace "jmp L(pseudo_end)" with "ret".
9180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9181 Likewise.
9182
91832012-05-23 Andreas Jaeger <aj@suse.de>
9184
9185 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9186 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9187
91882012-05-23 Andreas Jaeger <aj@suse.de>
9189 Maximilian Attems <max@stro.at>
9190
9191 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9192 New macros.
9193
91942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9195
9196 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9197 code so that pseudo_end is just ret and the stack pointer is
9198 correct also for static library in error case.
9199
92002012-05-23 Joseph Myers <joseph@codesourcery.com>
9201
9202 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9203 move to syscalls.list.
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9208
9209 * manual/install.texi (Running make install): Do not mention Linux
9210 kernel version for which pt_chown is not needed.
9211 (Linux): Do not mention problems with nscd with 2.0 kernels.
9212 * INSTALL: Regenerated.
9213
92142012-05-23 Andreas Jaeger <aj@suse.de>
9215
9216 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9217 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9218 macro.
9219 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9220 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9221 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9222 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9223 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9224 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9225 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9226 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9227 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9228 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9229 * sysdeps/unix/sysv/linux/bits/in.h
9230 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9231
92322012-05-22 Roland McGrath <roland@hack.frob.com>
9233
9234 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9235 (PREPARE_VERSION): Just use assert instead, it will be elided
9236 under [NDEBUG] anyway.
9237
92382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9239
9240 * sysdeps/unix/sysv/linux/Makefile: Include
9241 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9242 (sysdep_routines): Remove sysctl.
9243 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9244 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9245 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9246 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9247 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9248
92492012-05-22 Andreas Jaeger <aj@suse.de>
9250
9251 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9252 that pseudo_end is just ret and the stack pointer is correct also
9253 for static library in error case.
9254
92552012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9256
9257 [BZ #14122]
9258 * nss/nsswitch.c (defconfig_entries): New variable.
9259 (__nss_database_lookup): Don't leak defconfig entries.
9260 (nss_parse_service_list): Don't leak on error paths.
9261 (free_database_entries): New function.
9262 (free_defconfig): New function.
9263 (free_mem): Move common code to free_database_entries.
9264
92652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9266
9267 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9268 Add arch_prctl.
9269 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9270
9271 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9272 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9274 New macro.
9275 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9276 (INTERNAL_SYSCALL_TYPES): Likewise.
9277 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9278 (LOAD_REGS_TYPES_[1-6]): Likewise.
9279 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9280 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9281
92822012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9283
9284 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9285 copysignl for GLIBC_2_0.
9286 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9287 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9288 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9289 logbl for GLIBC_2_0.
9290 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9291 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9292
92932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9294
9295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9296 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9297
9298 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9299 Use "neg %eax".
9300
9301 * time/mktime.c: Update copyright years.
9302
93032012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9304
9305 mktime: merge comment-quoting-style change from gnulib
9306 * time/mktime.c: Quote 'like this' in comments.
9307 The GNU coding standards suggest that we no longer quote `like this',
9308 as "`" and "'" are typically rendered asymmetrically nowadays.
9309 The typical gnulib style is to quote 'like this' when quoting
9310 code, and "like this" when quoting English.
9311
9312 * time/mktime.c (compile-command): Add "-I.".
9313
9314 mktime: merge mktime-internal.h change from gnulib
9315 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9316
9317 mktime: merge time_r change from gnulib
9318 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9319
9320 mktime: merge DEBUG change from gnulib
9321 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9322 case system <time.h> has a #define.
9323
9324 mktime: merge <sys/types.h> change from gnulib
9325 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9326 since <time.t> is now guaranteed to define time_t.
9327
9328 mktime: merge HAVE_CONFIG_H change from gnulib
9329 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9330
93312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9332
9333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9334 Use "neg %eax".
9335
9336 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9337 __rlim_t cast.
9338 (struct rusage): Use anonymous union to pad each field to
9339 __syscall_slong_t.
9340
93412012-05-21 David S. Miller <davem@davemloft.net>
9342
9343 * Makefules (o-iterator): Remove .s cases.
9344 (compile-command.s): Delete.
9345 (COMPILE.s): Delete.
9346 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9347
93482012-05-21 Joseph Myers <joseph@codesourcery.com>
9349
9350 * configure.in (libc_cv_predef_stack_protector): Only consider
9351 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9352 * configure: Regenerated.
9353
93542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9355
9356 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9357 New macro. Use R*LP on int and pointer.
9358 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9359 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9360 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9361 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9362
9363 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9364 [__WORDSIZE_TIME64_COMPAT32] instead of
9365 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9366 (struct utmp): Likewise.
9367 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9368 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9369 Renamed to ...
9370 (__WORDSIZE_TIME64_COMPAT32): This.
9371 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9372 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9373 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9374 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9375 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9376 (__WORDSIZE_TIME64_COMPAT32): New macro.
9377
93782012-05-21 Andreas Jaeger <aj@suse.de>
9379
9380 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9381 only if [SHARED]. Add prototype for __wcschr_ia32.
9382
93832012-05-21 Roland McGrath <roland@hack.frob.com>
9384
9385 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9386 of %rbp unmolested in the jmp_buf while mangling the low bits.
9387 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9388 unmolested high bits of %rbp while demangling the low bits.
9389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9390
93912012-05-21 Andreas Jaeger <aj@suse.de>
9392
9393 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9394 * sunrpc/svc_simple.c: Use it for registerrpc.
9395 * sunrpc/xcrypt.c: Use it for passwd2des.
9396
9397 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9398
93992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9400
9401 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9402 Don't define if [__SYSCALL_WORDSIZE != 32].
9403 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9404 New macro.
9405
94062012-05-21 Bruno Haible <bruno@clisp.org>
9407 Andreas Jaeger <aj@suse.de>
9408
9409 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9410 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9411 inptr and inend for must_buffer_ch.
9412 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9413 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9414 * stdio-common/Makefile (tests): Remove bug15.
9415 (bug15-ENV): Remove macro.
9416 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9417 anymore.
9418
94192012-05-19 Andreas Jaeger <aj@suse.de>
9420 Roland McGrath <roland@hack.frob.com>
9421
9422 * manual/contrib.texi: Completely rewritten. It contains now an
9423 alphabetical list of contributors and their contributions.
9424
94252012-05-21 Richard Henderson <rth@twiddle.net>
9426
9427 * misc/getauxval.c (__getauxval): Use unsigned long int.
9428 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9429 (getauxval): Use unsigned long int.
9430
94312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9432
9433 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9434
94352012-05-21 Roland McGrath <roland@hack.frob.com>
9436
9437 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9438 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9439 __alignof__ (long double).
9440
94412012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9442
9443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9444
94452012-05-20 Richard Henderson <rth@twiddle.net>
9446
9447 * misc/getauxval.c: New file.
9448 * misc/sys/auxv.h: New file.
9449 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9450 (routines): Add getauxval.
9451 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9452 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9453 * elf/dl-sysdep.c (_dl_auxv): Remove.
9454 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9455 * elf/dl-support.c (_dl_auxv): New variable.
9456 (_dl_aux_init): Initialize it.
9457 * manual/startup.texi (Auxiliary Vector): New node.
9458 * sysdeps/generic/bits/hwcap.h: New file.
9459 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9460 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9461 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9462 * sysdeps/sparc/sysdep.h: ... here. Include it.
9463 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9464 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9466 Update.
9467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9475
94762012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9477
9478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9479
94802012-05-19 David S. Miller <davem@davemloft.net>
9481
9482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9483
94842012-05-19 Joseph Myers <joseph@codesourcery.com>
9485
9486 [BZ #14123]
9487 * math/s_ccosh.c: Include <float.h>
9488 (__ccosh): Avoid internal overflow calculating sinh and cosh
9489 values before multiplying by sin and cos values.
9490 * math/s_ccoshf.c: Likewise.
9491 * math/s_ccoshl.c: Likewise.
9492 * math/s_csin.c: Likewise.
9493 * math/s_csinf.c: Likewise.
9494 * math/s_csinl.c: Likewise.
9495 * math/s_csinh.c: Likewise.
9496 * math/s_csinhf.c: Likewise.
9497 * math/s_csinhl.c: Likewise.
9498 * math/libm-test.inc (ccos_test): Add more tests.
9499 (ccosh_test): Likewise.
9500 (csin_test): Likewise.
9501 (csinh_test): Likewise.
9502 * sysdeps/i386/fpu/libm-test-ulps: Update.
9503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9504
95052012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9506
9507 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9508 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9509
9510 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9511
95122012-05-19 Joseph Myers <joseph@codesourcery.com>
9513
9514 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9515 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9516 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9517 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9518 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9519 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9520 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9521 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9522 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9523 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9524 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9525 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9526 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9527 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9528 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9529 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9530 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9531 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9532 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9533 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9534 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9535 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9536 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9537 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9538 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9539 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9540 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9541 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9542 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9543 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9544 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9545
95462012-05-18 Andreas Jaeger <aj@suse.de>
9547
9548 * csu/.gitignore: Delete.
9549
95502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9551
9552 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9553 (timex): Use __syscall_slong_t.
9554
95552012-05-18 Andreas Jaeger <aj@suse.de>
9556 Carlos O'Donell <carlos_odonell@mentor.com>
9557
9558 * manual/install.texi (Configuring and compiling): Update
9559 description about files modified in the source directory.
9560 * INSTALL: Regenerated.
9561
95622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9563
9564 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9565 value. Use "or" to set return value to -1.
9566 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9567 negate return value.
9568
95692012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9570
9571 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9572 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9573 failure if the compiler has Graphite support disabled.
9574 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9575 Likewise.
9576 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9577 CFLAGS-memmove.c): Likewise.
9578 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9579 Likewise.
9580
95812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9582
9583 * sysdeps/x86_64/x32/_itoa.h: New file.
9584
9585 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9586 getdents system call only if kernel and user dirents have the
9587 same d_ino and d_off.
9588
9589 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9590 LLONG_MAX != LONG_MAX.
9591 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9592 (_fitoa_word): Likewise.
9593
9594 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9595 years.
9596 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9597 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9598 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9599
9600 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9601 include <bits/wordsize.h>. Check __x86_64__ instead of
9602 __WORDSIZE.
9603 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9604 if __x86_64__ is defined. Use anonymous union on fpstate.
9605
9606 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9607 anonymous union.
9608
96092012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9610
9611 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9612 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9613 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9614 Refer to _rtld_local_ro instead of _rtld_global_ro.
9615 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9616 Likewise.
9617 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9618 Likewise.
9619 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9620 Likewise.
9621 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9622 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9623 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9624
9625 * sysdeps/powerpc/powerpc32/dl-machine.c
9626 (__elf_machine_runtime_setup) [PROF]: Don't reference
9627 _dl_prof_resolve.
9628
96292012-05-18 Andreas Jaeger <aj@suse.de>
9630
9631 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9632 function only available for GCCs before 3.4 since GCC 3.4
9633 introduced a builtin.
9634 (lrint): Likewise.
9635 (llrintf): Likewise.
9636 (llrint): Likewise.
9637 (fmaxf): Likewise.
9638 (fmax): Likewise.
9639 (fminf): Likewise.
9640 (fmin): Likewise.
9641 (rint): Likewise.
9642 (rintf): Likewise.
9643 (nearbyint): Likewise.
9644 (nearbyintf): Likewise.
9645 (ceil): Likewise.
9646 (ceilf): Likewise.
9647 (floor): Likewise.
9648 (floorf): Likewise.
9649
96502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9651
9652 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9653 on both fields and cast pointer to __syscall_ulong_t.
9654
9655 * bits/types.h (__fsword_t): New type.
9656 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9657 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9658 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9659 (__FSWORD_T_TYPE): Likewise.
9660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9661 (__FSWORD_T_TYPE): Likewise.
9662 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9663 (__FSWORD_T_TYPE): Likewise.
9664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9665 (__FSWORD_T_TYPE): Likewise.
9666 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9667 __SWORD_TYPE with __fsword_t.
9668 (statfs64): Likewise.
9669
96702012-05-17 David S. Miller <davem@davemloft.net>
9671
9672 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9673
96742012-05-17 Andreas Jaeger <aj@suse.de>
9675
9676 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9677 warning.
9678
96792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9680
9681 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9682
96832012-05-17 Andreas Jaeger <aj@suse.de>
9684
9685 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9686 when it is used.
9687
96882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9689
9690 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9691
96922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9693
9694 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9695 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9696
96972012-05-17 Andreas Jaeger <aj@suse.de>
9698 Carlos O'Donell <carlos_odonell@mentor.com>
9699
9700 [BZ #14059]
9701 * sysdeps/x86_64/multiarch/init-arch.h
9702 (bit_YMM_Usable): Rename to...
9703 (bit_AVX_Usable): ... this.
9704 (bit_FMA4_Usable): New macro.
9705 (bit_XMM_state): New macro.
9706 (bit_YMM_state): New macro.
9707 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9708 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9709 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9710 (CPUID_OSXSAVE): New macro.
9711 (CPUID_AVX): New macro.
9712 (CPUID_FMA4): New macro.
9713 (index_YMM_Usable): Rename to...
9714 (index_AVX_Usable): ... this.
9715 (HAS_AVX): Use HAS_ARCH_FEATURE.
9716 (HAS_FMA4): Likewise.
9717 (HAS_YMM_USABLE): Remove.
9718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9719 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9720 are present.
9721 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9722 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9723 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9724 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9725 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9726
97272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9728
9729 * math/libm-test.c: Support platforms without multiple rounding modes.
9730 * math/bug-nextafter.c: Support platforms without FP exceptions.
9731 * math/bug-nexttoward.c: Likewise.
9732 * math/test-fenv.c: Likewise.
9733 * math/test-misc.c: Likewise.
9734 * stdlib/bug-getcontext.c: Likewise.
9735
97362012-05-17 Andreas Jaeger <aj@suse.de>
9737
9738 * manual/examples/search.c (critter_cmp): Change signature to
9739 avoid warnings.
9740 * manual/string.texi (Collation Functions): Likewise.
9741
97422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9743
9744 * bits/types.h: Fold copyright years.
9745 * bits/typesizes.h: Likewise.
9746 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9747 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9750 * time/time.h: Likewise.
9751
97522012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9753
9754 [BZ #208]
9755 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9756 in instead of returning them. Return void.
9757 (__libc_mallinfo): Accumulate over all arenas.
9758 (__malloc_stats): Adjust for change in int_mallinfo interface.
9759
97602012-05-16 Roland McGrath <roland@hack.frob.com>
9761
9762 [BZ #10375]
9763 * configure.in (NM): Add AC_CHECK_TOOL for it.
9764 (libc_extra_cflags): New substituted variable.
9765 Check for -fstack-protector being used implicitly.
9766 * configure: Regenerated.
9767 * config.make.in (config-extra-cflags): New variable,
9768 gets @libc_extra_cflags@.
9769 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9770
9771 [BZ #10375]
9772 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9773 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9774 * configure: Regenerated.
9775 * config.make.in (CPPUNDEFS): New substituted variable.
9776 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9777 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9778 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9779
97802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9781
9782 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9783 (mq_attr): Use __syscall_slong_t.
9784
97852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9786
9787 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9788 Check __x86_64__ instead of __WORDSIZE.
9789 (_STAT_VER_LINUX): Likewise.
9790 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9791 __syscall_ulong_t and __syscall_slong_t.
9792 (stat64): Likewise.
9793
97942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9795
9796 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9797
97982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9799
9800 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9801
98022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9803
9804 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9805 __syscall_ulong_t.
9806
9807 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9808 include <bits/wordsize.h>. Check __x86_64__ instead of
9809 __WORDSIZE.
9810 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9811 defined.
9812 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9813
9814 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9815 include <bits/wordsize.h>. Check __x86_64__ instead of
9816 __WORDSIZE.
9817 (user_regs_struct): Use "__extension__ unsigned long long"
9818 instead of "unsigned long" if __x86_64__ is defined.
9819 (user): Likewise. Pad after pointer field if __ILP32__ is
9820 defined.
9821
98222012-05-16 Joseph Myers <joseph@codesourcery.com>
9823
9824 * configure.in (makeinfo): Require version 4.5 or later. Allow
9825 versions 5 to 9.
9826 * configure: Regenerated.
9827 * manual/install.texi (texinfo): Increase version requirement to
9828 4.5 or later.
9829 * INSTALL: Regenerated.
9830
9831 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9832
98332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9834
9835 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9836
9837 * sysdeps/x86_64/x32/ffs.c: New file.
9838
9839 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9840 __syscall_ulong_t.
9841 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9842 defined. Use __syscall_ulong_t.
9843 (shminfo): Use __syscall_ulong_t.
9844 (shm_info): Likewise.
9845
9846 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9847 __syscall_ulong_t.
9848
9849 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9850 <bits/wordsize.h>.
9851 (msgqnum_t): Use __syscall_ulong_t.
9852 (msglen_t): Likewise.
9853 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9854 __syscall_ulong_t.
9855
9856 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9857 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9858
9859 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9860
9861 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9862 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9863
9864 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9865 __syscall_slong_t.
9866
9867 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9868 include <bits/wordsize.h>. Check __x86_64__ instead of
9869 __WORDSIZE.
9870
9871 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9872 "unsigned long long int" if __x86_64__ is defined.
9873 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9874
9875 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9876 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9877 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9878
9879 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9880 <stdint.h>.
9881 (GET_PC): Cast to uintptr_t first.
9882 (GET_FRAME): Likewise.
9883 (GET_STACK): Likewise.
9884
9885 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9886 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9887 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9888 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9889 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9890 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9891 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9892 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9893 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9894 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9895 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9896 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9897 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9898 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9899 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9900 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9901 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9902 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9903 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9904 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9905 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9906 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9907 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9908 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9909 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9910 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9911 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9912 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9913 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9914
99152012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9916
9917 * Makerules (+depfiles): Also collect depfiles from .oS in
9918 $(extra-objs).
9919 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9920 .oS, $(libnldbl-routines)).
9921
9922 * Makerules (native-compile-mkdep-flags): Define.
9923 * sunrpc/Makefile (extra-objs): Add $(addprefix
9924 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9925 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9926 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9927 calling $(make-target-directory).
9928
99292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9930
9931 * bits/types.h (__snseconds_t): Removed.
9932 * time/time.h (struct timespec): Replace __snseconds_t with
9933 __syscall_slong_t.
9934 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9935 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9936 Likewise.
9937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9938 (__SNSECONDS_T_TYPE): Likewise.
9939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9940 (__SNSECONDS_T_TYPE): Likewise.
9941 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9942 (__SNSECONDS_T_TYPE): Likewise.
9943
99442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9945
9946 * sysdeps/mach/hurd/bits/typesizes.h
9947 (__SYSCALL_SLONG_TYPE): New macro.
9948 (__SYSCALL_ULONG_TYPE): Likewise.
9949
99502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9951
9952 * bits/types.h (__syscall_slong_t): New type.
9953 (__syscall_ulong_t): Likewise.
9954
9955 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9956 (__SYSCALL_ULONG_TYPE): Likewise.
9957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9958 (__SYSCALL_SLONG_TYPE): Likewise.
9959 (__SYSCALL_ULONG_TYPE): Likewise.
9960 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9961 (__SYSCALL_SLONG_TYPE): Likewise.
9962 (__SYSCALL_ULONG_TYPE): Likewise.
9963 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9964 (__SYSCALL_SLONG_TYPE): Likewise.
9965 (__SYSCALL_ULONG_TYPE): Likewise.
9966
99672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9968
9969 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9970 Add sigaltstack-offsets.sym.
9971 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9972 <sigaltstack-offsets.h>.
9973 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9974 longjmp_msg pointer.
9975 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9976 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9977 signal stack.
9978 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9979
99802012-05-15 Joseph Myers <joseph@codesourcery.com>
9981
9982 * elf/stackguard-macros.h: Remove file.
9983 * sysdeps/generic/stackguard-macros.h: New file.
9984 * sysdeps/i386/stackguard-macros.h: Likewise.
9985 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9986 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9987 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9988 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9989 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9990 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9991 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9992 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9993 <elf/stackguard-macros.h>.
9994
9995 [BZ #14109]
9996 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9997 __aligned__ in attribute.
9998 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9999 (gregset_t): Likewise.
10000
100012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10002
10003 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10004 * sysdeps/x86_64/64/Implies-after: Here. New file.
10005 * sysdeps/x86_64/x32/Implies-after: New file.
10006
100072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10008
10009 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10010 and access return value for _dl_profile_fixup. Use R10_LP to
10011 load frame size.
10012
100132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10014
10015 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10016
100172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10018
10019 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10020 * sysdeps/x86_64/x32/sysdep.h: New file.
10021
100222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10023
10024 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10025 * sysdeps/x86_64/setjmp.S: Likewise.
10026
100272012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10028
10029 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10030 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10031 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10032 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10033 remove unused global constant.
10034
100352012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10036
10037 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10038 include of <not-cancel.h>.
10039
100402012-05-15 Roland McGrath <roland@hack.frob.com>
10041
10042 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10043
100442012-05-15 Jeff Law <law@redhat.com>
10045 Andreas Jaeger <aj@suse.de>
10046
10047 [BZ #13594]
10048 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10049 out from...
10050 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10051 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10052 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10053 code changing __hst_map_handle.map.
10054
100552012-05-15 Roland McGrath <roland@hack.frob.com>
10056
10057 * configure.in (sysnames): Look for Implies-before and Implies-after
10058 files.
10059 * configure: Regenerated.
10060
100612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10062
10063 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10064 8-byte data alignment with LP_SIZE alignment.
10065
100662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10067
10068 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10069 into R10_LP.
10070
100712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10072
10073 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10074
100752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10076
10077 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10078 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10079 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10080 Likewise.
10081 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10082
100832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10084
10085 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10086 (stackinfo_sub_sp): Likewise.
10087
100882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10089
10090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10091 RAX_LP.
10092
100932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10094
10095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10096 into R*_LP.
10097
100982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10099
10100 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10101 sizes into R*_LP.
10102
101032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10104
10105 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10106
101072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10108
10109 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10110 into R11_LP and load __x86_64_shared_cache_size_half into
10111 R8_LP.
10112
101132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10114
10115 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10116 R8_LP.
10117
101182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10119
10120 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10121 logb for POWER7.
10122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10123 logbf for POWER7.
10124 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10125 logbl for POWER7.
10126 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10127 powerpc32/power7/fpu/s_logb.c via #include.
10128 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10129 powerpc32/power7/fpu/s_logbf.c via #include.
10130 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10131 powerpc32/power7/fpu/s_logbl.c via #include.
10132
101332012-05-15 Joseph Myers <joseph@codesourcery.com>
10134
10135 * README.libm: Remove file.
10136
101372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10138
10139 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10140 count for x32. Use R*_LP and omit operand-size suffix.
10141
101422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10143
10144 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10145 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10146 * sysdeps/x86_64/x32/shlib-versions: New file.
10147
101482012-05-14 Roland McGrath <roland@hack.frob.com>
10149
10150 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10151 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10152 Use _dl_fatal_printf instead.
10153
101542012-05-14 Joseph Myers <joseph@codesourcery.com>
10155
10156 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10157 set if not set by the user. Do not allow for being unset.
10158 * sysdeps/unix/sysv/linux/configure: Regenerated.
10159
101602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10161
10162 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10163 the `q' suffix from lea and replace .quad with ASM_ADDR.
10164
101652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10166
10167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10168 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10169 instead of $17.
10170 (PTR_DEMANGLE): Likewise.
10171
101722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10173
10174 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10175 (LP_OP): Likewise.
10176 (ASM_ADDR): Likewise.
10177 (RAX_LP): Likewise.
10178 (RBP_LP): Likewise.
10179 (RBX_LP): Likewise.
10180 (RCX_LP): Likewise.
10181 (RDI_LP): Likewise.
10182 (RSI_LP): Likewise.
10183 (RSP_LP): Likewise.
10184 (R8_LP): Likewise.
10185 (R9_LP): Likewise.
10186 (R10_LP): Likewise.
10187 (R10_LP): Likewise.
10188 (R11_LP): Likewise.
10189 (R12_LP): Likewise.
10190 (R13_LP): Likewise.
10191 (R14_LP): Likewise.
10192 (R15_LP): Likewise.
10193
101942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10195
10196 * sysdeps/x86_64/x32/dl-machine.h: New file.
10197
101982012-05-14 Andreas Jaeger <aj@suse.de>
10199
10200 * manual/Makefile (subdir): Remove export of subdir.
10201 (all): Remove target.
10202 (.PHONY): Remove all from list.
10203 (mkinstalldirs): Remove.
10204 (.PHONY): Remove installdirs from list.
10205 ($(inst_infodir)/libc.info): Use make-target-directory.
10206 (installdirs): Remove.
10207 (subdir_%): Remove.
10208 (glibc-targets): Remove.
10209 (lib): Remove.
10210 (stubs): Remove.
10211 ($(objpfx)stubs ../po/manual.pot): Remove.
10212 ($(objpfx)stamp%): Remove.
10213 (make-target-directory): Remove.
10214 (subdir_install): Remove.
10215 (routines): Remove.
10216 (aux): Remove.
10217 (sources): Remove.
10218 (objects): Remove.
10219 (headers): Remove.
10220
10221 [BZ #13750]
10222 * manual/.gitignore: Remove, it's not needed anymore.
10223 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10224 all files in it.
10225 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10226 directory.
10227 (texis): Renamed to $(objpfx)texis.
10228 (texis-path): New, contains path to generated files.
10229 (chapters.%): Use texis-path for complete path, add extra argument
10230 libc-texinfo.sh.
10231 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10232 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10233 (summary,texi, stamp-summary): Use complete path of
10234 files. Generate files in build dir.
10235 (dir-add.texi): Build in build dir.
10236 (libm-err.texi,stamp-libm-err): Likewise.
10237 (version.texi, stamp-version): Likewise.
10238 (.%c.texi): Likewise.
10239 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10240 (mostlyclean): Remove target.
10241 (realclean): Remove target.
10242 (generated): Add new variable with contents from mostlyclean and
10243 realclean, remove entries duplicated in common-mostlyclean, add
10244 stamp-libm-err and stamp-version.
10245 (generated-dirs): Add libc directory.
10246 ($(inst_infodir)/libc.info): Install files from build dir.
10247
10248 * manual/install.texi (Configuring and compiling): Adjust since
10249 the info files are not part of the tar ball anymore.
10250
102512012-05-14 Andreas Jaeger <aj@suse.de>
10252
10253 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10254 variable.
10255
102562012-05-14 Joseph Myers <joseph@codesourcery.com>
10257
10258 [BZ #13717]
10259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10260 to 2.2.0 where earlier.
10261 * sysdeps/unix/sysv/linux/configure: Regenerated.
10262 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10263 Remove conditional code.
10264 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10265 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10266 Remove conditional code.
10267 [!__NR_lchown]: Likewise.
10268 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10269 [__NR_lchown]: Likewise.
10270 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10271 comment referencing __ASSUME_LCHOWN_SYSCALL.
10272 * sysdeps/unix/sysv/linux/i386/sigaction.c
10273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10275 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10276 Remove conditional code.
10277 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10278 (__protocol_available): Remove #if 0 code.
10279 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10280 conditional code.
10281 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10282 * sysdeps/unix/sysv/linux/kernel-features.h
10283 (__ASSUME_GETCWD_SYSCALL): Don't define.
10284 (__ASSUME_REALTIME_SIGNALS): Likewise.
10285 (__ASSUME_PREAD_SYSCALL): Likewise.
10286 (__ASSUME_PWRITE_SYSCALL): Likewise.
10287 (__ASSUME_POLL_SYSCALL): Likewise.
10288 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10289 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10290 non-SPARC.
10291 (__ASSUME_SIOCGIFNAME): Don't define.
10292 (__ASSUME_MSG_NOSIGNAL): Likewise.
10293 (__ASSUME_SENDFILE): Define unconditionally.
10294 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10295 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10296 conditional code.
10297 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10298 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10299 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10300 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10301 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10302 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10303 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10305 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10308 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10311 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10317 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10318 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10320 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10323 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10324 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10326 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10328 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10329 Remove conditional code.
10330 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10331 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10332 Remove conditional code.
10333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10334 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10335 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10336 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10337 Remove conditional code.
10338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10339 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10340 Remove conditional code.
10341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10342 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10343 Remove conditional code.
10344 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10345 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10346 Remove conditional code.
10347 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10348 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10349 Remove conditional code.
10350 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10351 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10352 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10353 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10354 * sysdeps/unix/sysv/linux/sigaction.c
10355 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10356 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10357 * sysdeps/unix/sysv/linux/sigpending.c
10358 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10359 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10360 * sysdeps/unix/sysv/linux/sigprocmask.c
10361 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10362 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10363 * sysdeps/unix/sysv/linux/sigsuspend.c
10364 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10365 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10366 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10367 (__libc_missing_rt_sigs): Remove.
10368 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10369 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10370 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10371 Remove conditional code.
10372 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10373 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10374 return 1.
10375 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10376 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10377 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10378 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10379
103802012-05-14 Andreas Jaeger <aj@suse.de>
10381
10382 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10383 it's not used in glibc.
10384 (__coshm1): Likewise.
10385 (__acosh1p): Likewise.
10386 (__sgn): Likewise.
10387
10388 * manual/string.texi (Copying and Concatenation): Add missing
10389 variable in concat example.
10390 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10391
103922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10393
10394 [BZ #14103]
10395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10396 __builtin_clzl with __builtin_clzll.
10397
103982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10399
10400 [BZ #14104]
10401 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10402 libc_freeres_ptr.
10403
104042012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10405
10406 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10407 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10408 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10409 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10410
104112012-05-14 Mike Frysinger <vapier@gentoo.org>
10412
10413 * NEWS: Update ia64 info.
10414
104152012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10416
10417 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10418 used as bcopy.
10419
104202012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10421
10422 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10423 * sysdeps/unix/syscalls.list (dup3): Likewise.
10424 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10425 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10426
104272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10428
10429 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10430 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10431
104322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10433
10434 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10435 thread pointer.
10436 (TLS_IE): Use mov/add instead of movq/addq to load thread
10437 pointer.
10438 (TLS_GD_PREFIX): New.
10439 (TLS_GD): Use it.
10440
104412012-05-11 David S. Miller <davem@davemloft.net>
10442
10443 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10444 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10445 (_FPU_SETCW): Likewise.
10446
104472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10448
10449 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10450 is 32-byte aligned.
10451
104522012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10453
10454 [BZ #11837]
10455 * iconvdata/gb18030.c: Update tables.
10456 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10457 characters specially.
10458 (BODY for TO_LOOP): Add encoding of missing ranges.
10459
104602012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10461
10462 [BZ #13673]
10463 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10464 * sysdeps/mach/hurd/dup3.c: Likewise.
10465 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10466 * sysdeps/powerpc/memmove.c:: Likewise.
10467
104682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10469
10470 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10471 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10472
104732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10474
10475 * elf/elf.h (R_X86_64_RELATIVE64): New.
10476 (R_X86_64_NUM): Updated.
10477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10478 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10479 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10480 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10481 tst-quad1pie tst-quad2pie
10482 (modules-names): Add tst-quadmod1 tst-quadmod2.
10483 ($(objpfx)tst-quad1): New dependency.
10484 ($(objpfx)tst-quad2): Likewise.
10485 ($(objpfx)tst-quad1pie): Likewise.
10486 ($(objpfx)tst-quad2pie): Likewise.
10487 * sysdeps/x86_64/tst-quad1.c: New file.
10488 * sysdeps/x86_64/tst-quad1pie.c: New file.
10489 * sysdeps/x86_64/tst-quad2.c: Likewise.
10490 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10491 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10492 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10493 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10494 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10495
104962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10497
10498 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10499 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10500 * streams/stropts.h (t_scalar_t): Define type.
10501
10502 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10503 (_PATH_PRESERVE): Set to "/var/lib".
10504 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10505
10506 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10507 instead of int.
10508
10509 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10510 if __dir_mkfile succeeded.
10511
10512 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10513 checking for _hurd_dtablesize. Unlock it right after having
10514 finished _hurd_dtable allocation.
10515
105162012-05-10 Thomas Schwinge <thomas@schwinge.name>
10517
10518 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10519 * sysdeps/mach/hurd/configure: Regenerated.
10520 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10521 special-casing to...
10522 * sysdeps/gnu/configure.in: ... this new file.
10523 * sysdeps/unix/sysv/linux/configure: Regenerated.
10524 * sysdeps/gnu/configure: New generated file.
10525
10526 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10527 for Linux: use nsec instead of usec, as well as:
10528 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10529 members of type struct timespec.
10530 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10531 New macros.
10532 (struct stat64): Likewise.
10533 (_STATBUF_ST_NSEC): New macro.
10534 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10535
10536 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10537 __strtoul_internal rather than strtoul.
10538
105392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10540
10541 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10542 and reject them.
10543
105442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10545
10546 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10547 which preserves existing values.
10548 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10549
105502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10551
10552 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10553 TIMEOUT values. Return EINVAL for NFDS values either negative or
10554 greater than FD_SETSIZE.
10555
105562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10557
10558 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10559 allocated, call __vm_protect to finish enabling the existing space, and
10560 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10561 allocate the remainder.
10562
105632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10564
10565 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10566 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10567
105682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10569
10570 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10571 sysdeps/mach/hurd/readlink.c.
10572
10573 * posix/tst-sysconf.c (posix_options): Only use
10574 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10575 _POSIX_SYNCHRONIZED_IO when they are defined
10576 * sysdeps/mach/hurd/bits/posix_opt.h:
10577 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10578 (_XOPEN_REALTIME): Undefine macro.
10579 (_XOPEN_REALTIME_THREADS): Undefine macro.
10580 (_XOPEN_SHM): Undefine macro.
10581 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10582 macro to -1.
10583 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10584 macro to -1.
10585 (_POSIX_ASYNC_IO): Undefine macro.
10586 (_POSIX_PRIORITIZED_IO): Undefine macro.
10587 (_POSIX_SPIN_LOCKS): Define macro to -1.
10588
10589 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10590 SA_NODEFER, SA_RESETHAND.
10591 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10592 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10593 F_DUPFD_CLOEXEC.
10594
105952012-05-10 Thomas Schwinge <thomas@schwinge.name>
10596
10597 * elf/Makefile (pldd-modules): Define unconditionally.
10598
105992012-05-10 Thomas Schwinge <thomas@schwinge.name>
10600
10601 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10602
106032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10604
10605 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10606 Return ENOENT when name is empty.
10607 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10608
106092012-05-10 Thomas Schwinge <thomas@schwinge.name>
10610
10611 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10612
10613 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10614
106152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10616
10617 Fix mlock in all cases except non-readable pages.
10618 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10619 instead of VM_PROT_ALL as parameter to __vm_wire function.
10620
10621 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10622 (__mkdir): When path is `/', just fail with EEXIST.
10623 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10624
106252012-05-10 Thomas Schwinge <thomas@schwinge.name>
10626
10627 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10628 <sys/uio.h> (for writev).
10629 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10630 and <sys/param.h> (for MIN).
10631
106322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10633
10634 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10635 REQUESTED_TIME. Properly set the remaining time and return EINTR
10636 if interrupted.
10637
106382012-05-10 Thomas Schwinge <thomas@schwinge.name>
10639
10640 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10641 Depend on against $(link-rpcuserlibs).
10642
106432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10644
10645 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10646 (__libc_stack_end): Do not use attribute_relro.
10647 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10648 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10649 to libthread-provided value.
10650 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10651 attribute_relro.
10652
106532012-05-10 Thomas Schwinge <thomas@schwinge.name>
10654
10655 [BZ #3748]
10656 * bits/libc-lock.h (__libc_once_get): New macro.
10657 * sysdeps/mach/bits/libc-lock.h: Likewise.
10658 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10660 instead of using implementation details.
10661
10662 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10663 * libio/freopen.c: Likewise.
10664 * libio/freopen64.c: Likewise.
10665 * misc/syslog.c: Likewise.
10666 * nscd/connections.c: Likewise.
10667 * nscd/netgroupcache.c: Likewise.
10668 * sysdeps/posix/getcwd.c: Likewise.
10669
106702012-05-10 Roland McGrath <roland@hack.frob.com>
10671
10672 * math/w_ilogbf.c: Add #include <limits.h>.
10673
106742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10675
10676 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10677 path instead of returning without unlocking.
10678
10679 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10680 immediate-write ioctls.
10681 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10682
106832012-05-10 Thomas Schwinge <thomas@schwinge.name>
10684
10685 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10686 __builtin_frame_address instead of making assumptions about the
10687 location of the return address relative to DATA. Force early load of
10688 the return address.
10689 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10690 __builtin_frame_address.
10691
10692 dup3 for GNU Hurd.
10693 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10694 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10695 implement dup3 and do some further code clean-ups.
10696 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10697 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10698
106992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10700
10701 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10702
10703 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10704 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10705 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10706 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10707 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10708 d->port.lock.
10709
10710 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10711 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10712 when handler == SIG_ERR, not when handler != SIG_ERR.
10713
107142012-05-10 Thomas Schwinge <thomas@schwinge.name>
10715
10716 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10717 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10718 definitions.
10719
10720 accept4 for GNU Hurd.
10721 * include/sys/socket.h (__libc_accept4): New prototype.
10722 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10723 to implement __libc_accept4.
10724 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10725 __libc_accept4.
10726 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10727
10728 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10729 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10730 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10731 signal-defines.sym.
10732
107332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10734
10735 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10736
107372012-05-10 Thomas Schwinge <thomas@schwinge.name>
10738
10739 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10740 assertion on O_CLOEXEC flag.
10741 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10742 * hurd/intern-fd.c: Likewise.
10743 * hurd/port2fd.c: Likewise.
10744
107452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10746
10747 [BZ #3906]
10748 * bits/in.h (IPV6_PKTINFO): Define new macro.
10749 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10750
107512012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10752
10753 [BZ #13954]
10754 [BZ #13955]
10755 [BZ #13956]
10756 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10757 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10758 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10759 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10761 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10762 * math/libm-test.inc (logb_test) : Additional logb tests.
10763
107642012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10765 Andreas Jaeger <aj@suse.de>
10766
10767 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10768 * configure: Regenerated.
10769 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10770 * config.make.in (link-obsolete-rpc): New substituted variable.
10771 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10772 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10773 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10774 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10775 so that libc.a contains the symbols.
10776 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10777 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10778 * sunrpc/auth_none.c: Likewise.
10779 * sunrpc/auth_unix.c: Likewise.
10780 * sunrpc/authdes_prot.c: Likewise.
10781 * sunrpc/authuxprot.c: Likewise.
10782 * sunrpc/clnt_gen.c: Likewise.
10783 * sunrpc/clnt_perr.c: Likewise.
10784 * sunrpc/clnt_raw.c: Likewise.
10785 * sunrpc/clnt_simp.c: Likewise.
10786 * sunrpc/clnt_tcp.c: Likewise.
10787 * sunrpc/clnt_udp.c: Likewise.
10788 * sunrpc/clnt_unix.c: Likewise.
10789 * sunrpc/des_crypt.c: Likewise.
10790 * sunrpc/des_soft.c: Likewise.
10791 * sunrpc/get_myaddr.c: Likewise.
10792 * sunrpc/key_call.c: Likewise.
10793 * sunrpc/key_prot.c: Likewise.
10794 * sunrpc/netname.c: Likewise.
10795 * sunrpc/pm_getmaps.c: Likewise.
10796 * sunrpc/pm_getport.c: Likewise.
10797 * sunrpc/pmap_clnt.c: Likewise.
10798 * sunrpc/pmap_prot.c: Likewise.
10799 * sunrpc/pmap_prot2.c: Likewise.
10800 * sunrpc/pmap_rmt.c: Likewise.
10801 * sunrpc/publickey.c: Likewise.
10802 * sunrpc/rpc_cmsg.c: Likewise.
10803 * sunrpc/rpc_common.c: Likewise.
10804 * sunrpc/rpc_dtable.c: Likewise.
10805 * sunrpc/rpc_prot.c: Likewise.
10806 * sunrpc/rpc_thread.c: Likewise.
10807 * sunrpc/rtime.c: Likewise.
10808 * sunrpc/svc.c: Likewise.
10809 * sunrpc/svc_auth.c: Likewise.
10810 * sunrpc/svc_raw.c: Likewise.
10811 * sunrpc/svc_run.c: Likewise.
10812 * sunrpc/svc_tcp.c: Likewise.
10813 * sunrpc/svc_udp.c: Likewise.
10814 * sunrpc/svc_unix.c: Likewise.
10815 * sunrpc/svcauth_des.c: Likewise.
10816 * sunrpc/xcrypt.c: Likewise.
10817 * sunrpc/xdr.c: Likewise.
10818 * sunrpc/xdr_array.c: Likewise.
10819 * sunrpc/xdr_float.c: Likewise.
10820 * sunrpc/xdr_intXX_t.c: Likewise.
10821 * sunrpc/xdr_mem.c: Likewise.
10822 * sunrpc/xdr_rec.c: Likewise.
10823 * sunrpc/xdr_ref.c: Likewise.
10824 * sunrpc/xdr_sizeof.c: Likewise.
10825 * sunrpc/xdr_stdio.c: Likewise.
10826
108272012-05-10 Roland McGrath <roland@hack.frob.com>
10828
10829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10830 change. Update copyright years.
10831
108322012-05-10 Joseph Myers <joseph@codesourcery.com>
10833
10834 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10835
108362012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10837 Joseph Myers <joseph@codesourcery.com>
10838 Paul Pluzhnikov <ppluzhnikov@google.com>
10839
10840 [BZ #14012]
10841 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10842 requiring rpcgen.
10843 [cross-compiling] (extra-libs): Likewise.
10844 [cross-compiling] (extra-libs-others): Likewise.
10845 [cross-compiling] (librpcsvc-routines): Likewise.
10846 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10847 [cross-compiling] (omit-deps): Likewise.
10848 (sunrpc-CPPFLAGS): New variable.
10849 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10850 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10851 (cross-rpcgen-objs): New variable.
10852 (extra-objs): Append $(cross-rpcgen-objs).
10853 ($(cross-rpcgen-objs)): New rule.
10854 ($(objpfx)cross-rpcgen): Likewise.
10855 (rpcgen-cmd): Define to use $(built-program-file). Expand
10856 comment.
10857 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10858 ($(objpfx)x%.stmp): Likewise.
10859 * sunrpc/proto.h [IS_IN_build] (_): Define.
10860 [IS_IN_build] (_libc_intl_domainname): Likewise.
10861
108622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10863
10864 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10865 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10866 and R_X86_64_TPOFF64.
10867
108682012-05-10 Joseph Myers <joseph@codesourcery.com>
10869
10870 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10871 sysdeps/unix/sysv/syscalls.list.
10872 (stime): Likewise.
10873 (utime): Likewise.
10874 * sysdeps/unix/sysv/syscalls.list: Remove file.
10875
108762012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10877
10878 [BZ #3440]
10879 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10880 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10881 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10882 (__LC_IDENTIFICATION): Make these macros useful in #if
10883 expressions, as required by C99.
10884
108852012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10886
10887 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10888 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10889 after this.
10890
108912012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10892
10893 * stdlib/longlong.h: Updated from GCC.
10894
108952012-05-09 Andreas Jaeger <aj@suse.de>
10896
10897 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10898 default is first entry.
10899 (run_mode): Set type.
10900 (main): Remove informal message about syslog.
10901 (options): Fix typo.
10902
10903 [BZ #14053]
10904 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10905 to asm.
10906 (lrint): Likewise.
10907 (llrintf): Likewise.
10908 (llrint): Likewise.
10909 (rint): Likewise.
10910 (rintf): Likewise.
10911 (nearbyint): Likewise.
10912 (nearbyintf): Likewise.
10913
109142012-05-09 Andreas Jaeger <aj@suse.de>
10915 Pedro Alves <palves@redhat.com>
10916
10917 * nscd/nscd.c (run_mode): Use enum.
10918 (main): Cleanup coding style issue.
10919
109202012-05-09 Alexandre Oliva <aoliva@redhat.com>
10921 Andreas Jaeger <aj@suse.de>
10922
10923 * nscd/nscd.c (go_background): Replaced with...
10924 (run_mode): ... this.
10925 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10926 (options): Add -F --foreground.
10927 (main): Implement it.
10928 (parse_opt): Parse it.
10929
109302012-05-09 Andreas Jaeger <aj@suse.de>
10931
10932 [BZ #14083]
10933 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10934 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10935 -Wconversion warning.
10936 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10937 Likewise.
10938
109392012-05-09 Joseph Myers <joseph@codesourcery.com>
10940
10941 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10942 == 0.
10943 (LC_ALL): Use macro-int-constant.
10944 (LC_COLLATE): Likewise.
10945 (LC_CTYPE): Likewise.
10946 (LC_MESSAGES): Likewise.
10947 (LC_MONETARY): Likewise.
10948 (LC_NUMERIC): Likewise.
10949 (LC_TIME): Likewise.
10950 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10951 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10952 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10953 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10954 Specify type.
10955 [C99-based standards] (float_t): Expect type.
10956 [C99-based standards] (double_t): Expect type.
10957 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10958 type.
10959 [C99-based standards] (HUGE_VALL): Likewise.
10960 [C99-based standards] (INFINITY): Likewise.
10961 [C99-based standards] (NAN): Likewise.
10962 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10963 [C99-based standards] (FP_NAN): Likewise.
10964 [C99-based standards] (FP_NORMAL): Likewise.
10965 [C99-based standards] (FP_SUBNORMAL): Likewise.
10966 [C99-based standards] (FP_ZERO): Likewise.
10967 [C99-based standards] (FP_FAST_FMA): Use
10968 optional-macro-int-constant. Specify type. Require == 1.
10969 [C99-based standards] (FP_FAST_FMAF): Likewise.
10970 [C99-based standards] (FP_FAST_FMAL): Likewise.
10971 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10972 [C99-based standards] (FP_ILOGBNAN): Likewise.
10973 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10974 Specify type.
10975 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10976 [C99-based standards] (math_errhandling): Specify type.
10977 [ISO99 || ISO11] (signgam): Do not allow.
10978 [non-C99-based standards] (copysignf): Do not allow.
10979 [non-C99-based standards] (exp2f): Likewise.
10980 [non-C99-based standards] (log2f): Likewise.
10981 [non-C99-based standards] (modff): Allow.
10982 [non-C99-based standards] (erff): Do not allow.
10983 [non-C99-based standards] (erfcf): Likewise.
10984 [non-C99-based standards] (gammaf): Likewise.
10985 [non-C99-based standards] (hypotf): Likewise.
10986 [non-C99-based standards] (j0f): Likewise.
10987 [non-C99-based standards] (j1f): Likewise.
10988 [non-C99-based standards] (jnf): Likewise.
10989 [non-C99-based standards] (lgammaf): Likewise.
10990 [non-C99-based standards] (tgammaf): Likewise.
10991 [non-C99-based standards] (y0f): Likewise.
10992 [non-C99-based standards] (y1f): Likewise.
10993 [non-C99-based standards] (ynf): Likewise.
10994 [non-C99-based standards] (isnanf): Likewise.
10995 [non-C99-based standards] (acoshf): Likewise.
10996 [non-C99-based standards] (asinhf): Likewise.
10997 [non-C99-based standards] (atanhf): Likewise.
10998 [non-C99-based standards] (cbrtf): Likewise.
10999 [non-C99-based standards] (expm1f): Likewise.
11000 [non-C99-based standards] (ilogbf): Likewise.
11001 [non-C99-based standards] (log1pf): Likewise.
11002 [non-C99-based standards] (logbf): Likewise.
11003 [non-C99-based standards] (nextafterf): Likewise.
11004 [non-C99-based standards] (remainderf): Likewise.
11005 [non-C99-based standards] (rintf): Likewise.
11006 [non-C99-based standards] (scalbf): Likewise.
11007 [non-C99-based standards] (copysignl): Likewise.
11008 [non-C99-based standards] (exp2l): Likewise.
11009 [non-C99-based standards] (log2l): Likewise.
11010 [non-C99-based standards] (modfl): Allow.
11011 [non-C99-based standards] (erfl): Do not allow.
11012 [non-C99-based standards] (erfcl): Likewise.
11013 [non-C99-based standards] (gammal): Likewise.
11014 [non-C99-based standards] (hypotl): Likewise.
11015 [non-C99-based standards] (j0l): Likewise.
11016 [non-C99-based standards] (j1l): Likewise.
11017 [non-C99-based standards] (jnl): Likewise.
11018 [non-C99-based standards] (lgammal): Likewise.
11019 [non-C99-based standards] (tgammal): Likewise.
11020 [non-C99-based standards] (y0l): Likewise.
11021 [non-C99-based standards] (y1l): Likewise.
11022 [non-C99-based standards] (ynl): Likewise.
11023 [non-C99-based standards] (isnanl): Likewise.
11024 [non-C99-based standards] (acoshl): Likewise.
11025 [non-C99-based standards] (asinhl): Likewise.
11026 [non-C99-based standards] (atanhl): Likewise.
11027 [non-C99-based standards] (cbrtl): Likewise.
11028 [non-C99-based standards] (expm1l): Likewise.
11029 [non-C99-based standards] (ilogbl): Likewise.
11030 [non-C99-based standards] (log1pl): Likewise.
11031 [non-C99-based standards] (logbl): Likewise.
11032 [non-C99-based standards] (nextafterl): Likewise.
11033 [non-C99-based standards] (remainderl): Likewise.
11034 [non-C99-based standards] (rintl): Likewise.
11035 [non-C99-based standards] (scalbl): Likewise.
11036 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11037 [non-C99-based standards] (FP_*): Do not allow.
11038 [C99-based standards] (FP_*): Change to
11039 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11040 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11041 allow.
11042 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11043 (SIG_ERR): Likewise.
11044 [X/Open-based standards] (SIG_HOLD): Likewise.
11045 (SIG_IGN): Likewise.
11046 (SIGABRT): Use macro-int-constant. Specify type. Require
11047 positive value.
11048 (SIGFPE): Likewise.
11049 (SIGILL): Likewise.
11050 (SIGINT): Likewise.
11051 (SIGSEGV): Likewise.
11052 (SIGTER): Likewise.
11053 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11054 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11055 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11056 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11057 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11058 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11059 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11060 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11061 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11062 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11063 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11064 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11065 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11066 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11067 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11068 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11069 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11070 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11071 [X/Open-based standards] (SIGTRAP): Likewise.
11072 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11073 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11074 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11075 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11076 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11077 allow.
11078
110792012-05-08 Ian Wienand <ianw@vmware.com>
11080
11081 [BZ #14080]
11082 * time/tzset.c (__tzset_parse_tz): Update default rules for
11083 daylight time changes in the Energy Policy Act of 2005.
11084
110852012-05-09 Andreas Jaeger <aj@suse.de>
11086
11087 [BZ #13983]
11088 * elf/ldconfig.c (parse_conf): Change string to make clear that
11089 ldconfig only issued a warning if ld.so.conf does not exist.
11090
110912012-05-08 David S. Miller <davem@davemloft.net>
11092
11093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11094 movxtod instead of popping the value on the stack.
11095
11096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11097
110982012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11099
11100 * config.h.in: Add HAVE_ARM_PCS_VFP.
11101
111022012-05-08 Roland Mc Grath <roland@hack.frob.com>
11103
11104 [BZ #13979]
11105 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11106 checking but the checks are disabled for any reason.
11107
111082012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11111 and ELF64_R_TYPE with ELFW(R_TYPE).
11112
111132012-05-08 Joseph Myers <joseph@codesourcery.com>
11114
11115 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11116 (ulimit): Likewise.
11117
11118 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11119 (settimeofday): Likewise.
11120
111212012-05-08 Mike Frysinger <vapier@gentoo.org>
11122
11123 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11124 a struct th_u2 inside the union, and move tu_block/tu_code into
11125 a new th_u3 union of tu_block/tu_code inside of that. Move
11126 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11127 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11128 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11129 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11130 (th_stuff): Change to th_u1.tu_stuff.
11131 (th_data): Define.
11132 (th_msg): Change to th_u1.th_u2.tu_data.
11133
111342012-05-07 David S. Miller <davem@davemloft.net>
11135
11136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11137
11138 [BZ #14074]
11139 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11140 (SETUP_PIC_REG): Use it.
11141 (SETUP_PIC_REG_LEAF): Use it.
11142
111432012-05-07 Joseph Myers <joseph@codesourcery.com>
11144
11145 [BZ #13885]
11146 [BZ #13923]
11147 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11148 USE_AS_EXPM1L.
11149 (EXPL_FINITE): Likewise.
11150 (FLDLOG): Likewise.
11151 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11152 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11153 e_expl.S.
11154 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11155 USE_AS_EXPM1L.
11156 (EXPL_FINITE): Likewise.
11157 (FLDLOG): Likewise.
11158 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11159 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11160 e_expl.S.
11161 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11162 test of -max_value argument for long double.
11163 * sysdeps/i386/fpu/libm-test-ulps: Update.
11164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11165
111662012-05-06 David S. Miller <davem@davemloft.net>
11167
11168 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11169 quad soft-float symbols whose references which are compiler
11170 generated.
11171 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11172
111732012-05-06 Joseph Myers <joseph@codesourcery.com>
11174
11175 [BZ #13884]
11176 [BZ #13914]
11177 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11178 USE_AS_EXP10L.
11179 (EXPL_FINITE): Likewise.
11180 (FLDLOG): Likewise.
11181 (c0): Likewise.
11182 (c1): Likewise.
11183 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11184 Adjust comments for base varying.
11185 (__expl_finite): Change alias to EXPL_FINITE.
11186 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11187 e_expl.S.
11188 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11189 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11191 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11192 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11193 USE_AS_EXP10L.
11194 (EXPL_FINITE): Likewise.
11195 (FLDLOG): Likewise.
11196 (c0): Likewise.
11197 (c1): Likewise.
11198 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11199 Adjust comments for base varying.
11200 (__expl_finite): Change alias to EXPL_FINITE.
11201 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11202 tests for bugs.
11203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11204
11205 [BZ #14064]
11206 * math/libm-test.inc (check_float_internal): Correct ulp
11207 calculation for subnormal expected results.
11208
112092012-05-06 Andreas Jaeger <aj@suse.de>
11210
11211 * Makeconfig (+math-flags): New, set to -frounding-math.
11212 (+cflags): Add +math-flags so that all of glibc gets compiled with
11213 it.
11214
11215 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11216
112172012-05-05 Joseph Myers <joseph@codesourcery.com>
11218
11219 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11220 Disable one test.
11221
11222 [BZ #13787]
11223 [BZ #13922]
11224 [BZ #14036]
11225 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11226 (__ieee754_expl): Allow for and saturate large arguments.
11227 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11228 (u_threshold): Likewise.
11229 (__exp): Call __ieee754_exp before checking for overflow and
11230 underflow.
11231 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11232 (u_threshold): Likewise.
11233 (__expf): Call __ieee754_expf before checking for overflow and
11234 underflow.
11235 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11236 (u_threshold): Likewise.
11237 (__expl): Call __ieee754_expl before checking for overflow and
11238 underflow.
11239 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11240 (__ieee754_expl): Allow for and saturate large arguments.
11241 * math/libm-test.inc (exp_test): Add another test. Do not allow
11242 missing overflow exception on overflow.
11243 (expm1_test): Do not allow missing overflow exception on overflow.
11244
11245 * sysdeps/i386/fpu/e_expl.c: Move to ...
11246 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11247 rather than using inline asm.
11248 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11249 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11250 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11251
11252 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11253 (nice): Likewise.
11254 (poll): Likewise.
11255 (signal): Likewise.
11256 (time): Likewise.
11257 (times): Likewise.
11258
112592012-05-04 Joseph Myers <joseph@codesourcery.com>
11260
11261 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11262 sysdeps/unix/common/syscalls.list.
11263 (fchmod): Likewise.
11264 (fchown): Likewise.
11265 (ftruncate): Likewise.
11266 (getrusage): Likewise.
11267 (gettimeofday): Likewise.
11268 (setpgid): Likewise.
11269 (setregid): Likewise.
11270 (setreuid): Likewise.
11271 (sigaction): Likewise.
11272 (truncate): Likewise.
11273 (vhangup): Likewise.
11274 * sysdeps/unix/common/syscalls.list: Remove file.
11275 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11276 * sysdeps/unix/sysv/linux/Implies: Likewise.
11277
112782012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11279
11280 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11282 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11283 Moved to ...
11284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11285 Here.
11286 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11287 to ...
11288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11289 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11290 to ...
11291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11292 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11293 to ...
11294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11295 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11296 to ...
11297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11298 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11299 to ...
11300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11301 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11302 to ...
11303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11304 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11305 to ...
11306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11307 Here.
11308 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11309 to ...
11310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11311 Here.
11312 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11313 to ...
11314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11315 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11316 Moved to ...
11317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11318 Here.
11319 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11320 to ...
11321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11322
113232012-05-04 Joseph Myers <joseph@codesourcery.com>
11324
11325 * sysdeps/unix/common/bits/dirent.h: Remove file.
11326 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11327
11328 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11329 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11330 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11331 * sysdeps/unix/bsd/isatty.c: Likewise.
11332 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11333 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11334 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11335
113362012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11337
11338 [BZ #13563]
11339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11340 long double comparison inaccuracies.
11341 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11343
113442012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11345
11346 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11347 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11348
113492012-05-04 Joseph Myers <joseph@codesourcery.com>
11350
11351 [BZ #14049]
11352 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11353 nonzero digits before rounding a hex value.
11354 * stdlib/tst-strtod.c (tests): Add another test.
11355
113562012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11357
11358 * sysdeps/s390/fpu/libm-test-ulps: Update.
11359
113602012-05-03 Andreas Jaeger <aj@suse.de>
11361
11362 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11363 does not get optimized out.
11364 (malloc_opt_barrier): New.
11365
113662012-05-03 Andreas Jaeger <aj@suse.de>
11367 Roland McGrath <roland@hack.frob.com>
11368
11369 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11370 intermediate file deletion.
11371 (generated): Add .symlist files.
11372
113732012-05-03 Joseph Myers <joseph@codesourcery.com>
11374
11375 [BZ #13775]
11376 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11377 Redirect under this condition.
11378 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11379 [__USE_GNU] (__dprintf_chk): Not under this condition.
11380 [__USE_GNU] (__vdprintf_chk): Likewise.
11381 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11382 under this condition.
11383 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11384 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11385 [__USE_XOPEN2K8] (vdprintf): Likewise.
11386 [__USE_GNU] (__dprintf_chk): Not under this condition.
11387 [__USE_GNU] (__vdprintf_chk): Likewise.
11388 [__USE_GNU] (dprintf): Likewise.
11389 [__USE_GNU] (vdprintf): Likewise.
11390
113912012-05-03 Roland McGrath <roland@hack.frob.com>
11392
11393 * elf/Makefile (common-generated): Set this instead of generated for
11394 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11395 $(all-built-dso)-derived lists.
11396
113972012-05-03 Andreas Jaeger <aj@suse.de>
11398
11399 * sysdeps/i386/fpu/libm-test-ulps: Update.
11400
11401 * FAQ: Removed.
11402 * FAQ.in: Likewise.
11403 * scripts/gen-FAQ.pl: Likewise.
11404 * manual/install.texi (Installation): Point to online location of
11405 FAQ.
11406 * Makefile (files-for-dist): Remove FAQ.
11407 (FAQ): Remove.
11408
114092012-05-02 Allan McRae <allan@archlinux.org>
11410
11411 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11412 (LDFLAGS-reldepmod5.so): Likewise.
11413 (LDFLAGS-reldep6mod1.so): Likewise.
11414 (LDFLAGS-reldep6mod4.so): Likewise.
11415 (LDFLAGS-reldep8mod3.so): Likewise.
11416 (LDFLAGS-unload4mod1.so): Likewise.
11417 (LDFLAGS-unload4mod2.so): Likewise.
11418 (LDFLAGS-tst-initorder): Likewise.
11419 (LDFLAGS-tst-initordera2.so): Likewise.
11420 (LDFLAGS-tst-initordera3.so): Likewise.
11421 (LDFLAGS-tst-initordera4.so): Likewise.
11422 (LDFLAGS-tst-initorderb2.so): Likewise.
11423 (LDFLAGS-noload): Likewise.
11424 (LDFLAGS-next): Likewise.
11425 (LDFLAGS-order2mod1.so): Likewise.
11426 (LDFLAGS-order2mod2.so): Likewise.
11427 (LDFLAGS-tst-initorder2): Likewise.
11428 (LDFLAGS-tst-initorder2a.so): Likewise.
11429 (LDFLAGS-tst-initorder2b.so): Likewise.
11430 (LDFLAGS-tst-initorder2c.so): Likewise.
11431 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11432
114332012-05-02 David S. Miller <davem@davemloft.net>
11434
11435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11436
114372012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11438
11439 [BZ #14055]
11440 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11441
114422012-05-02 Andreas Jaeger <aj@suse.de>
11443
11444 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11445 since we manipulate rounding mode.
11446 (CPPFLAGS-test-idouble.c): Likewise.
11447 (CPPFLAGS-test-ifloat.c): Likewise.
11448 (CFLAGS-test-ldouble.c): Likewise.
11449 (CFLAGS-test-double.c): Likewise.
11450 (CFLAGS-test-float.c): Likewise.
11451 (CFLAGS-test-misc.c): Likewise.
11452 (CFLAGS-test-test-fenv.c): Likewise.
11453
114542012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11455
11456 [BZ #2550]
11457 [BZ #2570]
11458 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11459 comparisons to determine direction to adjust input.
11460
114612012-05-01 Roland McGrath <roland@hack.frob.com>
11462
11463 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11464 output to the target.
11465
11466 * scripts/localplt.awk: New file.
11467 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11468 (check-localplt-CFLAGS): Variable removed.
11469 ($(all-built-dso:=.jmprel)): New static pattern rule.
11470 (generated): Add those targets.
11471 (localplt-built-dso): New variable.
11472 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11473
11474 * elf/check-localplt.c: File removed.
11475
11476 * scripts/check-execstack.awk: New file.
11477 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11478 (check-execstack-CFLAGS): Variable removed.
11479 ($(objpfx)check-execstack.h): Target removed.
11480 ($(objpfx)execstack-default): New target.
11481 (generated): Add that instead of check-execstack.h.
11482 ($(all-built-dso:=.phdr)): New static pattern rule.
11483 (generated): Add those targets.
11484 * elf/check-execstack.c: File removed.
11485
11486 * scripts/check-textrel.awk: New file.
11487 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11488 (check-textrel-CFLAGS): Variable removed.
11489 (all-built-dso): Use := to define.o
11490 ($(all-built-dso:=.dyn)): New static pattern rule.
11491 (generated): Add those targets.
11492 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11493 * config.make.in (READELF): New substituted variable.
11494 * elf/check-textrel.c: File removed.
11495
114962012-05-01 Joseph Myers <joseph@codesourcery.com>
11497
11498 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11499 allow.
11500 * conform/data/ctype.h-data [C99-based standards] (isblank):
11501 Expect function.
11502 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11503 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11505 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11506 Specify type. Require positive value.
11507 (EILSEQ): Likewise.
11508 (ERANGE): Likewise.
11509 [ISO || POSIX] (EILSEQ): Do not expect.
11510 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11511 Specify type. Require positive value.
11512 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11513 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11514 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11515 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11516 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11517 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11518 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11519 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11520 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11521 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11522 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11523 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11524 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11525 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11526 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11527 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11528 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11529 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11530 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11531 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11532 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11533 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11534 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11535 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11536 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11537 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11538 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11539 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11540 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11541 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11542 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11543 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11544 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11545 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11546 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11547 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11548 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11549 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11550 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11551 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11552 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11553 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11554 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11555 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11556 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11557 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11558 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11559 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11560 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11561 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11562 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11563 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11564 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11565 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11566 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11567 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11568 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11569 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11570 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11571 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11572 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11573 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11574 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11575 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11576 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11577 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11578 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11579 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11580 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11581 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11582 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11583 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11584 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11585 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11586 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11587 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11588 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11589 Require >= 2.
11590 (FLT_ROUNDS): Expect as macro, not constant.
11591 (FLT_MANT_DIG): Use macro-int-constant.
11592 (DBL_MANT_DIG): Likewise.
11593 (LDBL_MANT_DIG): Likewise.
11594 (FLT_DIG): Likewise.
11595 (DBL_DIG): Likewise.
11596 (LDBL_DIG): Likewise.
11597 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11598 (DBL_MIN_EXP): Likewise.
11599 (LDBL_MIN_EXP): Likewise.
11600 (FLT_MAX_EXP): Use macro-int-constant.
11601 (DBL_MAX_EXP): Likewise.
11602 (LDBL_MAX_EXP): Likewise.
11603 (FLT_MAX_10_EXP): Likewise.
11604 (DBL_MAX_10_EXP): Likewise.
11605 (LDBL_MAX_10_EXP): Likewise.
11606 (FLT_MAX): Use macro-constant.
11607 (DBL_MAX): Likewise.
11608 (LDBL_MAX): Likewise.
11609 (FLT_EPSILON): Use macro-constant. Give upper bound.
11610 (DBL_EPSILON): Likewise.
11611 (LDBL_EPSILON): Likewise.
11612 (FLT_MIN): Likewise.
11613 (DBL_MIN): Likewise.
11614 (LDBL_MIN): Likewise.
11615 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11616 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11617 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11618 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11619 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11620 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11621 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11622 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11623 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11624 [ISO11] (FLT_TRUE_MIN): Likewise.
11625 [ISO11] (LDBL_TRUE_MIN): Likewise.
11626 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11627 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11628 (SCHAR_MIN): Use macro-int-constant. Specify type.
11629 (SCHAR_MAX): Likewise.
11630 (UCHAR_MAX): Likewise.
11631 (CHAR_MIN): Likewise.
11632 (CHAR_MAX): Likewise.
11633 (MB_LEN_MAX): Use macro-int-constant.
11634 (SHRT_MIN): Use macro-int-constant. Specify type.
11635 (SHRT_MAX): Likewise.
11636 (USHRT_MAX): Likewise.
11637 (INT_MAX): Likewise.
11638 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11639 bound negative.
11640 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11641 bound with "U".
11642 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11643 bound with "L".
11644 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11645 bound negative. Suffix upper bound with "L".
11646 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11647 bound with "UL".
11648 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11649 Specify type.
11650 [C99-based standards] (LLONG_MAX): Likewise.
11651 [C99-based standards] (ULLONG_MAX): Likewise.
11652 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11653 == 0.
11654 [ISO11] (max_align_t): Require type.
11655 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11656
11657 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11658 from $CFLAGS, without defining away __attribute__ calls.
11659 (checknamespace): Use $CFLAGS_namespace.
11660
11661 * conform/conformtest.pl (@keywords): Only include C99 keywords
11662 for standards based on C99 or C11.
11663
11664 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11665 Disable tests.
11666 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11667 UNIX98]: Likewise.
11668
11669 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11670 usability of symbols in #if.
11671
11672 * conform/conformtest.pl: If macro or constant types start
11673 "promoted:", expect the symbol to be of the following type
11674 promoted by the integer promotions.
11675
11676 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11677 in one place. Also handle "macro-constant".
11678
11679 * conform/conformtest.pl: Only accept expected macro values with
11680 "==". Parse all "macro" lines in one place.
11681 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11682
11683 * conform/conformtest.pl: Handle braced types on "constant" lines
11684 instead of handling "typed-constant".
11685 * conform/data/signal.h-data: Use "constant" instead of
11686 "typed-constant".
11687
11688 * conform/conformtest.pl: Handle "optional-" at start of lines in
11689 one place rather than duplicating several cases. Handle each
11690 format of "macro" line with initial "optional-".
11691
11692 * conform/conformtest.pl: Only accept expected constant or
11693 optional-constant values with "==". Parse all "constant" lines in
11694 one place. Parse all "optional-constant" lines in one place.
11695 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11696 * conform/data/fmtmsg.h-data: Likewise.
11697 * conform/data/netinet/in.h-data: Likewise.
11698 * conform/data/tar.h-data: Likewise.
11699 * conform/data/limits.h-data: Use "==" form on "constant" and
11700 "optional-constant" lines.
11701
11702 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11703 Use -std=c99 for XOPEN2K.
11704 (@knownproblems): Remove.
11705 (newtoken): Don't check %isknown.
11706
11707 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11708 Do not expect macro.
11709 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11710 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11711 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11712 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11713 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11714 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11715 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11716 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11717 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11718 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11719 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11720 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11721 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11722 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11723 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11724 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11725 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11726 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11727 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11728 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11729 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11730 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11731 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11732 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11733 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11734 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11735 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11736 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11737 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11738 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11739 [XPG3] (acosh): Likewise.
11740 [XPG3] (asinh): Likewise.
11741 [XPG3] (atanh): Likewise.
11742 [XPG3] (cbrt): Likewise.
11743 [XPG3] (expm1): Likewise.
11744 [XPG3] (ilogb): Likewise.
11745 [XPG3] (log1p): Likewise.
11746 [XPG3] (logb): Likewise.
11747 [XPG3] (nextafter): Likewise.
11748 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11749 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11750 [XPG3] (remainder): Likewise.
11751 [XPG3] (rint): Likewise.
11752 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11753 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11754 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11755 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11756 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11757 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11758 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11759 [UNIX98 || XOPEN2K] (scalb): Expect.
11760 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11761 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11762 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11763 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11764 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11765 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11766 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11767 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11768 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11769 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11770 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11771 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11772 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11773 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11774 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11775 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11776 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11777 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11778 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11779 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11780 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11781 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11782 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11783 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11784 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11785 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11786 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11787 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11788 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11789 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11790 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11791 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11792 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11793 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11794 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11795 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11796 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11797 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11798 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11799 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11800 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11801 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11802 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11803 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11804 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11805 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11806 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11807 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11808 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11809 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11810 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11811 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11812 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11813 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11814 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11815 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11816 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11817 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11818 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11819 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11820 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11821 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11822 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11823 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11824 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11825 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11826 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11827 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11828 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11829 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11830 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11831 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11832 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11833 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11834 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11835 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11836 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11837 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11838 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11839 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11840 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11841 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11842 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11843 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11844 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11845 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11846 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11847 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11848 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11849 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11850 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11851 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11852 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11853 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11854 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11855 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11856 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11857 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11858 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11859 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11860 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11861 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11862 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11863 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11864 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11865 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11866 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11867 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11868 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11869 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11870 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11871 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11872 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11873 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11874 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11875 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11876 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11877 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11878 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11879 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11880 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11881 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11882 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11883 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11884 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11885 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11886 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11887 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11888 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11889 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11890 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11891 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11892 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11893 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11894 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11895 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11896 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11897
11898 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11899 _XOPEN_SOURCE_EXTENDED for XPG4.
11900
11901 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11902
11903 * Makeconfig (localtime): Remove variable.
11904 (inst_localtime-file): Likewise.
11905
119062012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11907
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11909 Update.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11911 Update.
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11913 Update.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11915 Update.
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11917 Update.
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11919 Update.
11920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11921 Update.
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11923 Update.
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11925 Update.
11926
119272012-05-01 Joseph Myers <joseph@codesourcery.com>
11928
11929 [BZ #2550]
11930 [BZ #2570]
11931 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11932 comparisons to determine direction to adjust input.
11933 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11934 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11935 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11936 Likewise.
11937 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11938 Likewise.
11939 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11940 Likewise.
11941 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11942 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11943 Likewise.
11944 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11945 Likewise.
11946 * math/libm-test.inc (nexttoward_test): Add more tests.
11947
119482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11949
11950 [BZ #14040]
11951 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11952 in version GLIBC_2.1, not GLIBC_2.0.
11953 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11954 Likewise.
11955
119562012-04-30 Joseph Myers <joseph@codesourcery.com>
11957
11958 [BZ #13942]
11959 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11960 (1 - x) * (1 + x).
11961 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11962 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11963 * math/libm-test.inc (acos_test): Add more tests.
11964 (asin_test): Likewise.
11965 * sysdeps/i386/fpu/libm-test-ulps: Update.
11966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11967
11968 [BZ #14034]
11969 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11970 of square root.
11971 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11972 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11973 * math/libm-test.inc (acos_test_tonearest): New function.
11974 (acos_test_towardzero): Likewise.
11975 (acos_test_downward): Likewise.
11976 (acos_test_upward): Likewise.
11977 (asin_test_tonearest): Likewise.
11978 (asin_test_towardzero): Likewise.
11979 (asin_test_downward): Likewise.
11980 (asin_test_upward): Likewise.
11981 (main): Call the new functions.
11982 * sysdeps/i386/fpu/libm-test-ulps: Update.
11983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11984
11985 [BZ #13884]
11986 [BZ #13924]
11987 * math/e_exp10.c: Include <float.h>.
11988 (__ieee754_exp10): Handle underflow here rather than multiplying
11989 large negative argument by M_LN10.
11990 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11991 of __ieee754_expf.
11992 * math/e_exp10l.c: Include <float.h>.
11993 (__ieee754_exp10l): Handle underflow here rather than multiplying
11994 large negative argument by M_LN10l.
11995 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11996 spurious overflow exception on underflow.
11997
119982012-04-29 Marek Polacek <polacek@redhat.com>
11999
12000 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12001 (__fortify_function): New macro.
12002 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12003 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12004 __extern_always_inline.
12005 * libio/bits/stdio2.h: Likewise.
12006 * libio/bits/stdio.h: Likewise.
12007 * string/string.h: Likewise.
12008 * string/bits/string3.h: Likewise.
12009 * include/stdio.h: Likewise.
12010 * stdlib/bits/stdlib.h: Likewise.
12011 * stdlib/stdlib.h: Likewise.
12012 * rt/bits/mqueue2.h: Likewise.
12013 * rt/mqueue.h: Likewise.
12014 * posix/bits/unistd.h: Likewise.
12015 * posix/unistd.h: Likewise.
12016 * io/bits/poll2.h: Likewise.
12017 * io/bits/fcntl2.h: Likewise.
12018 * io/fcntl.h: Likewise.
12019 * io/sys/poll.h: Likewise.
12020 * misc/bits/syslog.h: Likewise.
12021 * misc/bits/syslog-ldbl.h: Likewise.
12022 * misc/sys/syslog.h: Likewise.
12023 * socket/bits/socket2.h: Likewise.
12024 * socket/sys/socket.h: Likewise.
12025 * debug/tst-chk1.c: Likewise.
12026 * wcsmbs/bits/wchar2.h: Likewise.
12027 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12028 * wcsmbs/wchar.h: Likewise.
12029
120302012-04-29 Andreas Jaeger <aj@suse.de>
12031
12032 * Makerules (tests): Remove enable-check-abi protection.
12033 (check-abi-warn): Remove.
12034 (check-abi-%): Remove check-abi-warn usage.
12035
12036 * configure.in: Remove check-abi configure option.
12037 * configure: Regenerated.
12038 * config.make.in (enable-check-abi): Remove.
12039
120402012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12041
12042 [BZ #14033]
12043 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12044 double functions to double *_finite functions.
12045
12046 [BZ #13941]
12047 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12048 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12049 LDBL_MIN_EXP.
12050 * stdio-common/Makefile (tests): Add tst-sprintf3.
12051 * stdio-common/tst-sprintf3.c: New file.
12052
12053 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12054 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12055
120562012-04-28 Joseph Myers <joseph@codesourcery.com>
12057
12058 * conform/conformtest.pl: Remove duplicate typed-constant
12059 handling.
12060
120612012-04-28 David S. Miller <davem@davemloft.net>
12062
12063 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12064 (check-abi-%): Remove AWK script prerequisite and explicit
12065 abilist directory.
12066 (check-abi): Rewrite to just diff the symlist with the abilist.
12067 (config-tls, config-abi-config): Delete, no longer used.
12068 (update-abi-%): Remove AWK script and explicit abilist directory.
12069 (update-abi): Rewrite to simply compare and conditionally copy the
12070 symlist and the sysdep abilist file. Remove update-abi-config
12071 checks.
12072 * abilist/ld.abilist: Remove.
12073 * abilist/libBrokenLocale.abilist: Remove.
12074 * abilist/libanl.abilist: Remove.
12075 * abilist/libcrypt.abilist: Remove.
12076 * abilist/libdl.abilist: Remove.
12077 * abilist/librt.abilist: Remove.
12078 * abilist/libthread_db.abilist: Remove.
12079 * abilist/libutil.abilist: Remove.
12080 * scripts/extract-abilist.awk: Remove.
12081 * scripts/merge-abilist.awk: Remove.
12082 * sysdeps/generic/libcidn.abilist: New file.
12083 * sysdeps/generic/libnss_compat.abilist: New file.
12084 * sysdeps/generic/libnss_db.abilist: New file.
12085 * sysdeps/generic/libnss_dns.abilist: New file.
12086 * sysdeps/generic/libnss_files.abilist: New file.
12087 * sysdeps/generic/libnss_hesiod.abilist: New file.
12088 * sysdeps/generic/libnss_nis.abilist: New file.
12089 * sysdeps/generic/libnss_nisplus.abilist: New file.
12090 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12091 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12092 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12093 file.
12094 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12095 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12096 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12097 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12098 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12099 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12100 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12101 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12102 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12103 file.
12104 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12105 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12106 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12107 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12108 file.
12109 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12110 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12111 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12112 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12113 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12114 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12115 file.
12116 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12117 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12118 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12119 file.
12120 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12122 New file.
12123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12124 New file.
12125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12126 New file.
12127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12128 New file.
12129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12130 New file.
12131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12132 New file.
12133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12134 New file.
12135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12136 New file.
12137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12138 New file.
12139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12140 New file.
12141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12142 New file.
12143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12144 New file.
12145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12146 New file.
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12148 file.
12149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12150 New file.
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12152 New file.
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12154 file.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12156 New file.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12158 New file.
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12160 file.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12162 New file.
12163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12164 New file.
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12166 New file.
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12168 New file.
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12170 New file.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12172 New file.
12173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12175 file.
12176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12177 New file.
12178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12179 file.
12180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12181 file.
12182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12183 file.
12184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12185 file.
12186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12187 file.
12188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12189 New file.
12190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12191 file.
12192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12193 file.
12194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12195 New file.
12196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12197 file.
12198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12200 file.
12201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12202 New file.
12203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12204 file.
12205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12206 file.
12207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12208 file.
12209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12210 file.
12211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12212 file.
12213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12214 New file.
12215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12216 file.
12217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12218 file.
12219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12220 New file.
12221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12222 file.
12223 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12224 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12225 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12226 file.
12227 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12228 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12229 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12230 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12231 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12232 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12233 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12234 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12235 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12236 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12239 file.
12240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12241 New file.
12242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12243 file.
12244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12245 file.
12246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12247 file.
12248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12249 file.
12250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12251 file.
12252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12253 New file.
12254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12255 New file.
12256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12257 file.
12258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12259 New file.
12260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12261 file.
12262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12264 file.
12265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12266 New file.
12267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12268 file.
12269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12270 file.
12271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12272 file.
12273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12274 file.
12275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12276 file.
12277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12278 New file.
12279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12280 New file.
12281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12282 file.
12283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12284 New file.
12285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12286 file.
12287
122882012-04-28 Joseph Myers <joseph@codesourcery.com>
12289
12290 * conform/conformtest.pl: Fix typo in handling typed-constant from
12291 allow-header.
12292
122932012-04-27 Joseph Myers <joseph@codesourcery.com>
12294
12295 * README: Cut down references to pre-2.6 Linux kernels and
12296 Linuxthreads. Update lists of configurations in libc and ports
12297 and sort alphabetically. Say "or newer" with Linux kernel version
12298 requirements.
12299
12300 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12301
123022012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12303
12304 [BZ #887]
12305 * math/libm-test.inc (logb_test_downward): New test to expose
12306 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12307 rounding mode.
12308
123092012-04-27 Joseph Myers <joseph@codesourcery.com>
12310
12311 [BZ #14027]
12312 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12313 to be done.
12314 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12315 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12316
123172012-04-26 Joseph Myers <joseph@codesourcery.com>
12318
12319 * sysdeps/unix/i386/brk.S: Remove file.
12320 * sysdeps/unix/i386/dl-brk.S: Likewise.
12321 * sysdeps/unix/i386/pipe.S: Likewise.
12322 * sysdeps/unix/i386/sigreturn.S: Likewise.
12323 * sysdeps/unix/i386/syscall.S: Likewise.
12324 * sysdeps/unix/i386/vfork.S: Likewise.
12325 * sysdeps/unix/i386/wait.S: Likewise.
12326
12327 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12328 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12329
12330 * configure.in (arm*-none*): Do not allow without
12331 --enable-hacker-mode.
12332 (netbsd*): Remove case setting base_os.
12333 (386bsd*): Likewise.
12334 (freebsd*): Likewise.
12335 (bsdi*): Likewise.
12336 (osf*): Likewise.
12337 (sunos*): Likewise.
12338 (ultrix*): Likewise.
12339 (newsos*): Likewise.
12340 (dynix*): Likewise.
12341 (*bsd*): Likewise.
12342 (sysv*): Likewise.
12343 (isc*): Likewise.
12344 (esix*): Likewise.
12345 (sco*): Likewise.
12346 (minix*): Likewise.
12347 (irix4*): Likewise.
12348 (irix6*): Likewise.
12349 (solaris[2-9]*): Likewise.
12350 (none): Likewise.
12351 * configure: Regenerated.
12352
123532012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12354
12355 [BZ #11521]
12356 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12357 overflow or cancellation in calculating denominator.
12358 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12360 down expression to avoid unexpected rounding in newer GCCs.
12361 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12362
123632012-04-26 David S. Miller <davem@davemloft.net>
12364
12365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12366 long-double compat symbols.
12367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12380
123812012-04-25 David S. Miller <davem@davemloft.net>
12382
12383 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12384 HWCAP_* values only after the memory barriers have been defined.
12385 (atomic_full_barrier): Define.
12386 (atomic_read_barrier): Define.
12387 (atomic_write_barrier): Define.
12388
123892012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12390
12391 * shlib-versions: Add libgcc_s version information.
12392 * sysdeps/generic/libgcc_s.h: Remove.
12393 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12394 libgcc_s.h.
12395 * sysdeps/gnu/unwind-resume.c: Likewise.
12396 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12397
123982012-04-25 David S. Miller <davem@davemloft.net>
12399
12400 * sysdeps/unix/sparc/brk.S: Delete.
12401 * sysdeps/unix/sparc/dl-brk.S: Delete.
12402 * sysdeps/unix/sparc/pipe.S: Delete.
12403 * sysdeps/unix/sparc/sysdep.S: Delete.
12404 * sysdeps/unix/sparc/sysdep.h: Delete.
12405 * sysdeps/unix/sparc/vfork.S: Delete.
12406 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12407 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12408 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12409 ret_ERRVAL, r0, r1, MOVE): Define.
12410 (JUMPTARGET): Remove.
12411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12412 sysdeps/unix/sparc/sysdep.h
12413 (ENTRY, END): Remove.
12414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12415
124162012-04-25 Joseph Myers <joseph@codesourcery.com>
12417
12418 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12419 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12420 -DIS_IN_build.
12421
12422 * timezone/README: Update upstream location and email address for
12423 tzcode and tzdata.
12424 * timezone/zdump.c: Update from tzcode 2012b.
12425 * timezone/zic.c: Likewise.
12426
12427 * configure.in (libc_cv_as_needed): Remove test.
12428 * configure: Regenerated.
12429 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12430 conditional definition.
12431 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12432 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12433 * config.make.in (have-as-needed): Remove variable.
12434
124352012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12436 Paul Pluzhnikov <ppluzhnikov@google.com>
12437
12438 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12439 strings correctly.
12440
124412012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12442
12443 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12444 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12445 * sysdeps/sh/strlen.S: Likewise.
12446
124472012-04-24 Joseph Myers <joseph@codesourcery.com>
12448
12449 * sysdeps/unix/fork.S: Remove file.
12450 * sysdeps/unix/i386/fork.S: Likewise.
12451 * sysdeps/unix/sparc/fork.S: Likewise.
12452
12453 * sysdeps/unix/system.c: Remove file.
12454 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12455
12456 * sysdeps/unix/getegid.S: Remove file.
12457 * sysdeps/unix/geteuid.S: Likewise.
12458
124592012-04-24 Roland McGrath <roland@hack.frob.com>
12460
12461 * scripts/check-localplt.awk: New file.
12462 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12463 of diff.
12464 * scripts/data/localplt-generic.data: Add a comment.
12465
12466 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12467 NODE when __dir_mkfile failed.
12468 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12469 Reported by Ludovic Courtès <ludo@gnu.org>.
12470
124712012-04-24 Andreas Jaeger <aj@suse.de>
12472
12473 * Makerules (common-clean): Also remove gen-as-const-headers
12474 files.
12475
124762012-04-24 Joseph Myers <joseph@codesourcery.com>
12477
12478 * Makerules (native-compile): Do not change working directory for
12479 build. Use $(OUTPUT_OPTION) in command.
12480 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12481
124822012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12483
12484 [BZ #13886]
12485 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12486 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12487 * math/libm-test.inc (floor_test): Add more tests.
12488 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12489
124902012-04-24 Joseph Myers <joseph@codesourcery.com>
12491
12492 * sysdeps/unix/getdents.c: Remove file.
12493 * sysdeps/unix/sysv/getdents.c: Likewise.
12494 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12495
12496 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12497 sysdeps/unix/mman/syscalls.list.
12498 (mmap): Likewise.
12499 (mprotect): Likewise.
12500 (msync): Likewise.
12501 (munmap): Likewise.
12502 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12503 * sysdeps/unix/mman/syscalls.list: Remove.
12504 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12505
12506 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12507 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12508 * configure: Regenerated.
12509 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12510 $(libgcc_s_suffix).
12511 * config.make.in (libgcc_s_suffix): Remove variable.
12512
125132012-04-23 Joseph Myers <joseph@codesourcery.com>
12514
12515 * sysdeps/unix/sysv/gethostname.c: Move to ...
12516 * sysdeps/posix/gethostname.c: ... here.
12517
12518 * sysdeps/unix/execve.S: Remove file.
12519
12520 * sysdeps/unix/_exit.S: Remove file.
12521
125222012-04-23 Andreas Jaeger <aj@suse.de>
12523
12524 [BZ #13739]
12525 * manual/Makefile: Remove make dist support, there's no
12526 need for a stand-alone documentation tar ball.
12527 (TEXI2DVI): Define always, it's not in Makeconfig.
12528 (dist): Removed.
12529 (tar-it): Removed.
12530 (edition): Removed.
12531 (glibc-doc-$(edition).tar): Removed
12532 (%.Z): Removed.
12533 (%.gz): Removed.
12534 (%.uu): Removed.
12535 (ETAGS): Remove, it's in Makeconfig.
12536 (move-if-change): Remove, it's in Makeconfig.
12537
125382012-04-23 Paul Eggert <eggert@cs.ucla.edu>
12539
12540 [BZ #13970]
12541 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12542 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12543 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12544 (strtod_l, strtof_l, strtold_l): Remove __wur.
12545 It is not necessarily an error to ignore strtol's return value.
12546 One can reliably look at the stored endptr to decide whether
12547 the number had valid syntax.
12548
125492012-04-21 Andreas Jaeger <aj@suse.de>
12550
12551 [BZ #13739]
12552 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12553
125542012-04-21 Joseph Myers <joseph@codesourcery.com>
12555
12556 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12557 * sysdeps/unix/sysv/Versions: Remove file.
12558
125592012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12560
12561 [BZ #13927]
12562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12563
125642012-04-21 Nick Alcock <nick.alcock@oracle.com>
12565
12566 [BZ #7064]
12567 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12568 version from __vm86.
12569
125702012-04-20 Joseph Myers <joseph@codesourcery.com>
12571
12572 * sysdeps/unix/common/lxstat.c: Remove file.
12573 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12574
12575 * sysdeps/unix/sysv/Makefile: Remove file.
12576
12577 * sysdeps/unix/sysv/direct.h: Remove file.
12578
12579 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12580 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12581 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12582 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12583 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12584 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12585 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12586
12587 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12588
12589 * sysdeps/unix/xmknod.c: Remove file.
12590 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12591
12592 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12593
12594 * sysdeps/unix/sysv/i386/time.S: Remove file.
12595
12596 * sysdeps/unix/fxstat.c: Remove file.
12597 * sysdeps/unix/xstat.c: Likewise.
12598 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12599
12600 * sysdeps/unix/sysv/sigaction.c: Remove file.
12601
12602 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12603 (sysdep_headers): Remove variable.
12604 [termio.h not in sysdep_headers] (generated): Likewise.
12605 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12606 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12607 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12608 * sysdeps/unix/sysv/tcflow.c: Likewise.
12609 * sysdeps/unix/sysv/tcflush.c: Likewise.
12610 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12611 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12612 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12613 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12614 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12615
12616 * sysdeps/unix/siglist.c: Remove file.
12617
12618 * sysdeps/unix/getppid.S: Remove file.
12619
12620 * sysdeps/unix/mkdir.c: Remove file.
12621 * sysdeps/unix/rmdir.c: Likewise.
12622
126232012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12624
12625 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12626 ERR_MAX value.
12627 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12628 errlist-compat value.
12629
126302012-04-18 David S. Miller <davem@davemloft.net>
12631
12632 * sysdeps/generic/memcopy.h (reg_char): Delete.
12633 * debug/strcat_chk.c: Use char, not reg_char.
12634 * debug/strcpy_chk.c: Likewise.
12635 * debug/strncat_chk.c: Likewise.
12636 * debug/strncpy_chk.c: Likewise.
12637 * string/memchr.c: Likewise.
12638 * string/memrchr.c: Likewise.
12639 * string/rawmemchr.c: Likewise.
12640 * string/strcat.c: Likewise.
12641 * string/strchr.c: Likewise.
12642 * string/strchrnul.c: Likewise.
12643 * string/strcmp.c: Likewise.
12644 * string/strcpy.c: Likewise.
12645 * string/strncat.c: Likewise.
12646 * string/strncmp.c: Likewise.
12647 * string/strncpy.c: Likewise.
12648
126492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12650
12651 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12652 __builtin_memcopy is called when src and dest ranges are known to not
12653 overlap.
12654
126552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12656
12657 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12658 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12659 fwd_align_merge macro call.
12660 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12661 bwd_align_merge macro call.
12662 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12663
126642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12665
12666 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12667 bwd_align_merge macros.
12668 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12669 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12670 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12671
126722012-04-18 David S. Miller <davem@davemloft.net>
12673
12674 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12675
126762012-04-18 Andreas Jaeger <aj@suse.de>
12677
12678 [BZ# 6794]
12679 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12680 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12681 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12682
12683 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12684 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12685 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12686
12687 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12688 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12689 Adjust for changed ldbl-128 files.
12690
12691 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12692 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12693 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12694
126952012-04-17 David S. Miller <davem@davemloft.net>
12696
12697 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12698
126992012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12700
12701 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12702 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12703 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12704 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12705 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12706 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12707
127082012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12709
12710 [BZ #6794]
12711 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12712 * math/libm-test.inc: Add ilogb errno and exception tests.
12713 * math/w_ilogb.c: New file: ilogb wrapper.
12714 * math/w_ilogbf.c: New file: ilogbf wrapper.
12715 * math/w_ilogbl.c: New file: ilogbl wrapper.
12716 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12717 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12718 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12719 exception being thrown with 0.0 as argument.
12720 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12721 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12722 exception being thrown with 0.0 as argument.
12723 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12724 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12725 exception being thrown with 0.0 as argument.
12726 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12727 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12728 exception being thrown with 0.0 as argument.
12729 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12730 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12731 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12732 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12733 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12734 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12735 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12736 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12737 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12738
127392012-04-17 Petr Baudis <pasky@ucw.cz>
12740
12741 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12742 with altivec.
12743
127442012-04-16 Marek Polacek <polacek@redhat.com>
12745
12746 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12747
127482012-04-16 Marek Polacek <polacek@redhat.com>
12749
12750 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12751 operands of fdivp instruction.
12752
127532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12754
12755 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12756 * elf/tst-auditmod3b.c: Likewise.
12757 * elf/tst-auditmod4b.c: Likewise.
12758 * elf/tst-auditmod5b.c: Likewise.
12759 * elf/tst-auditmod6b.c: Likewise.
12760 * elf/tst-auditmod6c.c: Likewise.
12761 * elf/tst-auditmod7b.c: Likewise.
12762 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12763 * sysdeps/x86_64/preconfigure.in: Likewise.
12764 * sysdeps/x86_64/preconfigure: Regenerated.
12765
127662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12767
12768 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12769 __ILP32__.
12770
127712012-04-13 Antoine Balestrat <merkil33@gmail.com>
12772
12773 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12774 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12775
127762012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12777
12778 [BZ #13973]
12779 * locale/iso-639.def: Fix gl language name. Spotted by
12780 Yaron Shahrabani.
12781
127822012-04-12 Roland McGrath <roland@hack.frob.com>
12783
12784 [BZ #2074]
12785 * libio/libio.h (__io_write_fn): Update comment.
12786
127872012-04-12 Petr Baudis <pasky@ucw.cz>
12788
12789 [BZ #2074]
12790 * stdio.texi (Hook Functions): The user provided writer function
12791 is not allowed to return -1.
12792
127932012-04-11 David S. Miller <davem@davemloft.net>
12794
12795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12796
127972012-04-11 Mike Frysinger <vapier@gentoo.org>
12798
12799 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12800 Add a leading slash to rtkaio.
12801
128022012-04-11 Jim Meyering <meyering@redhat.com>
12803
12804 [BZ #11959]
12805 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12806 It is not necessarily an error to ignore fwrite's return
12807 value. One can reliably use ferror to test for errors after
12808 the fact.
12809
128102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12811
12812 * bits/types.h (__snseconds_t): New type.
12813 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12814
12815 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12816 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12817 (__SNSECONDS_T_TYPE): Likewise.
12818 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12819 (__SNSECONDS_T_TYPE): Likewise.
12820 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12821 (__SNSECONDS_T_TYPE): Likewise.
12822
128232012-04-10 Andreas Jaeger <aj@suse.de>
12824
12825 [BZ #2636]
12826 * manual/time.texi (Processor Time): Return type of times is
12827 elapsed real time since an arbitrary point in the past.
12828 (CPU Time): Move CLK_TCK from here...
12829 (Processor Time): ...to here. Correct description.
12830 * manual/conf.texi (Constants for Sysconf): Correct description of
12831 _SC_CLK_TCK.
12832
128332012-04-10 David S. Miller <davem@davemloft.net>
12834
12835 [BZ #13967]
12836 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12837 where the is a gap between DT_REL(A) and DT_JMPREL.
12838
128392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12840
12841 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12842 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12843 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12844
128452012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12846
12847 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12848 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12849 (dl_main): Handle --inhibit-cache.
12850 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12851 _dl_inhibit_cache.
12852 * elf/dl-load.c (_dl_map_object): Use it.
12853 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12854
128552012-04-09 Joseph Myers <joseph@codesourcery.com>
12856
12857 [BZ #13872]
12858 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12859 (__ieee754_powl): Saturate large exponents rather than testing for
12860 overflow of y*log2(x).
12861 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12862 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12863 exceptions.
12864
12865 [BZ #11521]
12866 * math/s_ctan.c: Include <float.h>.
12867 (__ctan): Avoid internal overflow or cancellation in calculating
12868 denominator.
12869 * math/s_ctanf.c: Likewise.
12870 * math/s_ctanl.c: Likewise.
12871 * math/s_ctanh.c: Likewise.
12872 * math/s_ctanhf.c: Likewise.
12873 * math/s_ctanhl.c: Likewise.
12874 * math/libm-test.inc (ctan_test): Add more tests.
12875 (ctanh_test): Likewise.
12876 * sysdeps/i386/fpu/libm-test-ulps: Update.
12877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12878
128792012-04-09 Andreas Jaeger <aj@suse.de>
12880
12881 [BZ #6894]
12882 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12883 is an optional BSD extension.
12884
12885 [BZ #10254]
12886 * manual/stdio.texi (Opening Streams): Document additional fopen
12887 parameters.
12888
128892012-04-09 Roland McGrath <roland@hack.frob.com>
12890
12891 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12892 %eax without telling the compiler.
12893
128942012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12895
12896 [BZ # 13963]
12897 * manual/install.texi: Use sourceware.org.
12898
128992012-04-09 Joseph Myers <joseph@codesourcery.com>
12900
12901 [BZ #13873]
12902 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12903 (__ieee754_pow): Generate overflow and underflow using huge*huge
12904 and tiny*tiny rather than just returning constant infinity or zero
12905 for large exponents.
12906 * math/libm-test.inc (pow_test): Require overflow exceptions for
12907 applicable cases of large exponents.
12908
12909 [BZ #706]
12910 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12911 (__ieee754_pow): Use iterative multiplication algorithm only for
12912 integer exponents with absolute value below 1024. Check for odd
12913 integer exponents when using algorithm for real exponents.
12914 * math/libm-test.inc (pow_test): Add more tests.
12915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12916
129172012-04-08 Joseph Myers <joseph@codesourcery.com>
12918
12919 [BZ #13705]
12920 * math/libm-test.inc (exp_test): Do not allow overflow exception
12921 on underflow test.
12922
129232012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12924
12925 [BZ #13705]
12926 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12927 instead of __kernel_standard_f.
12928
129292012-04-08 Mike Frysinger <vapier@gentoo.org>
12930
12931 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12932 * sysdeps/x86_64/memset_chk.S: Likewise.
12933
129342012-04-08 Andreas Jaeger <aj@suse.de>
12935
12936 [BZ #10153]
12937 * manual/startup.texi (Environment Access): Describe return value
12938 for putenv and setenv.
12939
12940 [BZ #6895]
12941 * manual/filesys.texi (Directory Entries): Add description for
12942 DT_LNK.
12943
12944 [BZ #6890]
12945 * manual/filesys.texi (Directory Entries): Clarify that it's file
12946 system not operating system in the description of DT_UNKNOWN.
12947
12948 [BZ #6578]
12949 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12950
129512012-04-08 Stephen Compall <s11@member.fsf.org>
12952
12953 [BZ #6649]
12954 * manual/llio.texi (Opening and Closing Files): Add cross
12955 reference to explain mode argument.
12956
129572012-04-07 Mike Frysinger <vapier@gentoo.org>
12958
12959 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12960 * sysdeps/x86_64/memset_chk.S: Likewise.
12961
129622012-04-07 David S. Miller <davem@davemloft.net>
12963
12964 * elf/elf.h (R_SPARC_WDISP10): Define.
12965 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12966 R_SPARC_SIZE32.
12967 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12968 R_SPARC_SIZE64 and R_SPARC_H34.
12969
129702012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12971
12972 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12973 conditions and remove no longer applicable assertion.
12974
129752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12976
12977 * bits/byteswap.h: Include <features.h>.
12978 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12979 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12980
129812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12982
12983 * bits/byteswap.h (__bswap_16): Removed.
12984 Include <bits/byteswap-16.h> to get __bswap_16.
12985 * sysdeps/i386/bits/byteswap.h: Likewise.
12986 * sysdeps/s390/bits/byteswap.h: Likewise.
12987 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12988 * bits/byteswap-16.h: New file.
12989 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12990 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12991 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12992 * string/Makefile (headers): Add bits/byteswap-16.h.
12993
129942012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12995
12996 [BZ #13895]
12997 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12998 extra indirection.
12999 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13000 * nss/tst-nss-static.c: New.
13001
130022012-04-06 Robert Millan <rmh@gnu.org>
13003
13004 [BZ #6486]
13005 * manual/llio.texi (File Position Primitive): lseek
13006 refers to WHENCE when it really means OFFSET.
13007
130082012-04-06 Andreas Jaeger <aj@suse.de>
13009
13010 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13011 strncmp declarations.
13012
13013 * abilist/libc.abilist: Add __poll and __ppoll.
13014
130152012-04-05 David S. Miller <davem@davemloft.net>
13016
13017 * scripts/check-local-headers.sh: Accept a host triplet in the
13018 path matched by the exclude regexp.
13019
13020 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13021 definition.
13022 * sysdeps/powerpc/powerpc32/dl-machine.h
13023 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13024 * sysdeps/s390/s390-32/dl-machine.h
13025 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13026 * sysdeps/sparc/sparc32/dl-machine.h
13027 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13028 * sysdeps/sparc/sparc64/dl-machine.h
13029 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13030
13031 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13032 lazy binding.
13033 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13034 undefined symbol errors.
13035
13036 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13037 DT_NEEDED entries.
13038
130392012-04-05 Michael Matz <matz@suse.de>
13040
13041 [BZ #13592]
13042 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13043
130442012-04-05 Andreas Jaeger <aj@suse.de>
13045
13046 [BZ #13908]
13047 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13048 comment.
13049
130502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13051
13052 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13053 which ROUND is no valid rounding mode.
13054
130552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13056
13057 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13058 read again.
13059 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13060
130612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13062
13063 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13064 an exception using FPU order intentionally.
13065
130662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13067
13068 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13069 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13070 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13071 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13072
130732012-04-05 Simon Josefsson <simon@josefsson.org>
13074
13075 [BZ #12340]
13076 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13077 EINVAL when BUFLEN is too smal.
13078
130792012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13080
13081 [BZ #13553]
13082 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13083 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13084
130852012-04-03 Andreas Jaeger <aj@suse.de>
13086
13087 [BZ #13938]
13088 * manual/setjmp.texi (System V contexts): Fix sentence.
13089
13090 [BZ #13926]
13091 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13092 New macro for this case.
13093 [!__GNUC__] (__bswap_64): New inline function for this case.
13094 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13095 * bits/byteswap.h: Likewise.
13096 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13097 ull, guard with __GLIBC_HAVE_LONG_LONG.
13098
13099 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13100 __GLIBC_HAVE_LONG_LONG.
13101
13102 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13103 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13104
131052012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13106
13107 [BZ #13691]
13108 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13109 inptr and inend, rather than using last_ch.
13110
131112012-04-02 David S. Miller <davem@davemloft.net>
13112
13113 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13114 * stdio-common/printf-parse.h (read_int): Change return type to
13115 'int', return -1 on INT_MAX overflow.
13116 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13117 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13118 overflows INT_MAX. Check for overflow of in-format-string precision
13119 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13120 SIZE_MAX not INT_MAX for integer overflow test.
13121 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13122 skip the construct in the format string but do not record anything.
13123 * stdio-common/bug22.c: Adjust to test both width/prevision
13124 INT_MAX overflow as well as total length INT_MAX overflow. Check
13125 explicitly for proper errno values.
13126
131272012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13128
13129 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13130 CHAR_MAX.
13131 * string/test-strcmp.c [! WIDE]: Likewise.
13132 * time/tst-mktime2.c: Likewise for INT_MAX.
13133 * string/test-string.h: #include <sys/param.h> for MIN.
13134
13135 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13136 * sysdeps/i386/init-first.c (init): Likewise.
13137 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13138 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13139 * sysdeps/sh/init-first.c (init): Likewise.
13140
131412012-04-01 Ulrich Drepper <drepper@gmail.com>
13142
13143 * po/ru.po: Update from translation team.
13144 * po/vi.po: Likewise.
13145
131462012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13147
13148 * resolv/nss_dns/dns-host.c: Merge copyright years.
13149
131502012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13151
13152 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13153 Optimize memcpy with prefetch if
13154 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13155 src, dst pointers have unequal 16 byte alignments.
13156
131572012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13158
13159 [BZ #13928]
13160 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13161 from a CNAME entry and return the minimum ttl for the query.
13162 (gaih_getanswer_slice): Likewise.
13163
131642012-03-30 Jeff Law <law@redhat.com>
13165
13166 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13167 due to long keys.
13168 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13169 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13170
13171 * resolv/nss_dns/dns-host.c: Update copyright year.
13172
131732012-03-30 Ulrich Drepper <drepper@gmail.com>
13174
13175 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13176 requests to save a system call. Fix check that all bytes are sent.
13177
13178 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13179 comments for sendmmsg.
13180
131812012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13182
13183 [BZ #13691]
13184 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13185 with only 1 character between 0x0041 and 0x01b0.
13186 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13187 * wcsmbs/tst-mbsnrtowcs.c: New file.
13188
131892012-03-29 David S. Miller <davem@davemloft.net>
13190
13191 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13192 small copies by hand.
13193
131942012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13195
13196 [BZ #13761]
13197 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13198 _nss_compat_initgroups_dyn): Fall back to malloc/free
13199 for large group memberships.
13200
132012012-03-28 David S. Miller <davem@davemloft.net>
13202
13203 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13204 that branches into memcpy.
13205 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13206 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13207 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13208 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13210 bits.
13211 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13212 implementation too.
13213 * sysdeps/sparc/mempcpy.S: New file.
13214
13215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13216 the IFUNC routine in the libc case.
13217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13218
13219 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13220 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13221 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13222 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13223 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13224 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13225 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13226 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13227
13228 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13229 loop to 256 bytes instead of 64 bytes and fix test signedness.
13230
13231 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13232 * sysdeps/sparc/sparc32/Makefile: rather than here...
13233 * sysdeps/sparc/sparc64/Makefile: and here.
13234
132352012-03-28 Ulrich Drepper <drepper@gmail.com>
13236
13237 * malloc/mallocbug.c: Avoid warnings about unused variables.
13238
132392012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13240
13241 [BZ #13760]
13242 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13243 in the right place. Discard and retry query if response is
13244 larger than input buffer size.
13245
132462012-03-28 Joseph Myers <joseph@codesourcery.com>
13247
13248 [BZ #369]
13249 [BZ #2678]
13250 [BZ #3866]
13251 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13252 x for large integer exponent.
13253 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13254 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13255 sign of result as needed afterwards.
13256 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13257 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13258 result for underflowing pow the same as for overflow.
13259 (__kernel_standard_l): Handle powl overflow and underflow here
13260 rather than calling __kernel_standard.
13261 * math/libm-test.inc (pow_test): Add more tests.
13262
13263 [BZ #3868]
13264 [BZ #13879]
13265 [BZ #13910]
13266 [BZ #13911]
13267 [BZ #13912]
13268 [BZ #13913]
13269 [BZ #13915]
13270 [BZ #13916]
13271 [BZ #13917]
13272 [BZ #13918]
13273 [BZ #13919]
13274 [BZ #13920]
13275 [BZ #13921]
13276 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13277 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13278 (__kernel_standard_l): New function.
13279 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13280 __kernel_standard.
13281 * math/w_acosl.c (__acosl): Likewise.
13282 * math/w_asinl.c (__asinl): Likewise.
13283 * math/w_atan2l.c (__atan2l): Likewise.
13284 * math/w_atanhl.c (__atanhl): Likewise.
13285 * math/w_coshl.c (__coshl): Likewise.
13286 * math/w_exp10l.c (__exp10l): Likewise.
13287 * math/w_exp2l.c (__exp2l): Likewise.
13288 * math/w_fmodl.c (__fmodl): Likewise.
13289 * math/w_hypotl.c (__hypotl): Likewise.
13290 * math/w_j0l.c (__j0l, __y0l): Likewise.
13291 * math/w_j1l.c (__j1l, __y1l): Likewise.
13292 * math/w_jnl.c (__jnl, __ynl): Likewise.
13293 * math/w_lgammal.c (__lgammal): Likewise.
13294 * math/w_log10l.c (__log10l): Likewise.
13295 * math/w_log2l.c (__log2l): Likewise.
13296 * math/w_logl.c (__logl): Likewise.
13297 * math/w_powl.c (__powl): Likewise.
13298 * math/w_remainderl.c (__remainderl): Likewise.
13299 * math/w_scalbl.c (sysv_scalbl): Likewise.
13300 * math/w_sinhl.c (__sinhl): Likewise.
13301 * math/w_sqrtl.c (__sqrtl): Likewise.
13302 * math/w_tgammal.c (__tgammal): Likewise.
13303 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13304 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13305 * math/libm-test.inc (acos_test): Add more tests.
13306 (acosh_test): Likewise.
13307 (asin_test): Likewise.
13308 (atanh_test): Likewise.
13309 (exp_test): Likewise.
13310 (exp10_test): Likewise.
13311 (exp2_test): Likewise.
13312 (expm1_test): Likewise.
13313 (lgamma_test): Likewise.
13314 (log_test): Likewise.
13315 (log10_test): Likewise.
13316 (log1p_test): Likewise.
13317 (log2_test): Likewise.
13318 (pow_test): Do not allow some spurious overflow exceptions.
13319 (sqrt_test): Add more tests.
13320 (tgamma_test): Likewise.
13321 (y0_test): Likewise.
13322 (y1_test): Likewise.
13323 (yn_test): Likewise.
13324
133252012-03-27 Anton Blanchard <anton@samba.org>
13326
13327 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13328 MAP_HUGETLB.
13329 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13330 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13331 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13332
133332012-03-27 David S. Miller <davem@davemloft.net>
13334
13335 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13336
13337 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13338 have-as-vis3 check.
13339
133402012-03-27 Andreas Jaeger <aj@suse.de>
13341
13342 * sysdeps/x86_64/elf/configure.in: Moved to ...
13343 * sysdeps/x86_64/configure.in: ... here.
13344 * sysdeps/x86_64/elf/start.S: Moved to ...
13345 * sysdeps/x86_64/start.S: ... here.
13346 * sysdeps/x86_64/elf/configure: Delete.
13347
13348 * sysdeps/x86_64/configure.in: Merge contents from
13349 sysdeps/i386/configure.in (without i686 check).
13350
13351 * sysdeps/i386/elf/Versions: Merge into ...
13352 * sysdeps/i386/Versions: ... this.
13353 * sysdeps/i386/elf/Versions: Delete file.
13354 * sysdeps/i386/elf/start.S: Moved to ...
13355 * sysdeps/i386/start.S: ...here.
13356 * sysdeps/i386/elf/configure.in: Merge into...
13357 * sysdeps/i386/configure.in: ...here.
13358 * sysdeps/i386/elf/configure.in: Delete file.
13359 * sysdeps/i386/elf/configure: Delete file.
13360
13361 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13362 * debug/backtracesyms.c: ... here.
13363 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13364 * debug/backtracesymsfd.c: ... here.
13365 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13366 * sysdeps/generic/ifunc-sel.h: ... here.
13367
13368 * sysdeps/unix/i386/start.c: Delete file.
13369 * sysdeps/unix/sparc/start.c: Delete file.
13370 * sysdeps/unix/start.c: Delete file.
13371
13372 * sysdeps/sh/elf/configure.in: Moved to ...
13373 * sysdeps/sh/configure.in: ... here.
13374 * sysdeps/sh/elf/start.S: Moved to ...
13375 * sysdeps/sh/start.S: ... here.
13376 * sysdeps/sh/elf/configure: Delete file.
13377
13378 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13379 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13380 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13381 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13382 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13383 * sysdeps/powerpc/powerpc64/start.S: here.
13384 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13385 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13386 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13387 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13388 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13389
13390 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13391 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13392 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13393 * sysdeps/powerpc/powerpc32/start.S: ... here.
13394 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13395 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13396 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13397
13398 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13399 * sysdeps/powerpc/ifunc-sel.h: ... here.
13400 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13401 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13402
13403 * sysdeps/sparc/elf/configure.in: Moved to ...
13404 * sysdeps/sparc/configure.in: ... here.
13405 * sysdeps/sparc/elf/configure: Delete file.
13406 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13407 * sysdeps/sparc/sparc32/start.S: ... here.
13408 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13409 * sysdeps/sparc/sparc64/start.S: ... here.
13410 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13411 * sysdeps/sparc/sparc32/Makefile: ... this.
13412 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13413 * sysdeps/sparc/sparc64/Makefile: ... this.
13414
13415 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13416 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13417 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13418 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13419 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13420 * sysdeps/s390/s390-32/setjmp.S: ... here.
13421 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13422 * sysdeps/s390/s390-32/configure.in: ... here.
13423 * sysdeps/s390/s390-32/elf/configure: Delete file.
13424 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13425 * sysdeps/s390/s390-32/start.S: ... here.
13426
13427 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13428 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13429 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13430 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13431 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13432 * sysdeps/s390/s390-64/setjmp.S: ... here.
13433 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13434 * sysdeps/s390/s390-64/configure.in: ... here
13435 * sysdeps/s390/s390-64/elf/configure: Delete file.
13436 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13437 * sysdeps/s390/s390-64/start.S: ... here.
13438 * sysdeps/s390/s390-64/elf/configure: Delete.
13439
13440 * configure.in: Remove support for elf directories in sysdeps.
13441
13442 * configure: Regenerated.
13443 * sysdeps/i386/configure: Regenerated.
13444 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13445 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13446 * sysdeps/s390/s390-32/configure: Regenerated.
13447 * sysdeps/s390/s390-64/configure: Regenerated.
13448 * sysdeps/sh/configure: Regenerated.
13449 * sysdeps/sparc/configure: Regenerated.
13450 * sysdeps/x86_64/configure: Regenerated.
13451
134522012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13453
13454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13455
13456 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13457 denormal result into account.
13458
134592012-03-25 Roland McGrath <roland@hack.frob.com>
13460
13461 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13462 Reported by Allan McRae <allan@archlinux.org>.
13463
134642012-03-23 Jeff Law <law@redhat.com>
13465
13466 * nss/getnssent.c (__nss_getent): Fix typo.
13467
134682012-03-23 David S. Miller <davem@davemloft.net>
13469
13470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13471
134722012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13473
13474 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13475 to pad to uint64_t for each field.
13476 (dl_tls_index): Replace unsigned long with uint64_t.
13477
134782012-03-23 Daniel Jacobowitz <dmj@google.com>
13479 Paul Pluzhnikov <ppluzhnikov@google.com>
13480
13481 [BZ #6528]
13482 * grp/Makefile (otherlibs): Don't set it.
13483 * inet/Makefile (otherlibs): Likewise.
13484 * login/Makefile (otherlibs): Likewise.
13485 * nscd/Makefile (otherlibs): Likewise.
13486 * posix/Makefile (otherlibs): Likewise.
13487 * pwd/Makefile (otherlibs): Likewise.
13488 * rt/Makefile (otherlibs): Likewise.
13489 * sunrpc/Makefile (otherlibs): Likewise.
13490 * nss/Makefile (otherlibs): Likewise.
13491 Add libnss_files to routines and static-only-routines.
13492 ($(objpfx)getent): Remove rule.
13493 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13494 static-only-routines.
13495
134962012-03-22 Joseph Myers <joseph@codesourcery.com>
13497
13498 [BZ #13892]
13499 * math/s_cexp.c: Include <float.h>.
13500 (__cexp): Handle exp result overflowing not necessarily
13501 overflowing both real and imaginary parts of result.
13502 * math/s_cexpf.c: Likewise.
13503 * math/s_cexpl.c: Likewise.
13504 * math/libm-test.inc (cexp_test): Add more tests.
13505 * sysdeps/i386/fpu/libm-test-ulps: Update.
13506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13507
135082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13509
13510 * include/link.h (ELFW): New macro.
13511 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13512 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13513
135142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13515
13516 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13517 with uint64_t.
13518
135192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13520
13521 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13522 declaration.
13523 (struct La_x32_retval): Likewise.
13524
135252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13526
13527 * sysdeps/x86_64/preconfigure.in: New file.
13528 * sysdeps/x86_64/preconfigure: New generated file.
13529
135302012-03-22 Joseph Myers <joseph@codesourcery.com>
13531
13532 [BZ #13824]
13533 * math/e_exp2l.c: Include <float.h>.
13534 (__ieee754_exp2l): Handle overflow and underflow cases
13535 separately. Only pass fractional part of argument to
13536 __ieee754_expl.
13537 * math/libm-test.inc (exp2_test): Add more tests.
13538
13539 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13540 negating x to take absolute value.
13541 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13542 Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13544 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13545 Likewise.
13546 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13547 computing low part if x was negated.
13548 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13549
135502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13551
13552 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13553 la_x32_gnu_pltexit.
13554 (pltexit): Cast int_retval to ptrdiff_t.
13555 * elf/tst-auditmod3b.c: Likewise.
13556 * elf/tst-auditmod4b.c: Likewise.
13557 * elf/tst-auditmod5b.c: Likewise.
13558 * elf/tst-auditmod6b.c: Likewise.
13559 * elf/tst-auditmod6c.c: Likewise.
13560 * elf/tst-auditmod7b.c: Likewise.
13561
13562 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13563 and x32_gnu_pltexit.
13564
13565 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13566 __ELF_NATIVE_CLASS.
13567 (La_x32_regs): New macro.
13568 (La_x32_retval): Likewise.
13569 (la_x32_gnu_pltenter): New function prototype.
13570 (la_x32_gnu_pltexit): Likewise.
13571
135722012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13573
13574 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13575 exponent.
13576
13577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13578
13579 * configure.in (libc_cv_cc_nofma): Check for option to disable
13580 generation of FMA instructions.
13581 * configure: Regenerate.
13582 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13583 * sysdeps/ieee754/dbl-64/Makefile: New file.
13584 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13585 Remove brandred-fma4.
13586 (CFLAGS-brandred-fma4.c): Remove.
13587 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13588 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13589 define.
13590 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13591 define.
13592
135932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13594
13595 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13596 LLONG_MAX != LONG_MAX.
13597 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13598 (_fitoa_word): Likewise.
13599 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13600 LLONG_MAX != LONG_MAX.
13601 * stdio-common/_itowa.h: Include <_itoa.h>.
13602 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13603 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13604 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13605 only if not defined.
13606 (_ITOA_WORD_TYPE): Likewise.
13607 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13608 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13609
136102012-03-21 David S. Miller <davem@davemloft.net>
13611
13612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13613
136142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13615
13616 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13617 of x86_64 when setting libc_cv_slibdir, libdir and
13618 libc_cv_localedir.
13619 * sysdeps/unix/sysv/linux/configure: Regenerated.
13620
136212012-03-21 Joseph Myers <joseph@codesourcery.com>
13622
13623 * manual/lang.texi (Old Varargs): Remove section.
13624 (How Variadic): Update menu.
13625 (va_start): Do not mention varargs.h.
13626
136272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13628 Joseph Myers <joseph@codesourcery.com>
13629
13630 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13631 link test.
13632 * configure: Regenerated.
13633
136342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13635
13636 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13637 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13638 conformtest.pl
13639
136402012-03-21 Joseph Myers <joseph@codesourcery.com>
13641
13642 * NOTES: Remove.
13643 * Makefile (files-for-dist): Remove NOTES.
13644 (NOTES): Remove rule.
13645 * README: Don't refer to NOTES.
13646 * manual/creature.texi: Don't include macros.texi.
13647 * manual/intro.texi (creature.texi): Remove comment referring to
13648 NOTES.
13649
13650 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13651 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13652 * configure: Regenerated.
13653 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13654 LIBC_TRY_CC_OPTION.
13655 (libc_cv_as_i686): Likewise.
13656 (libc_cv_cc_avx): Likewise.
13657 (libc_cv_cc_sse2avx): Likewise.
13658 (libc_cv_cc_fma4): Likewise.
13659 (libc_cv_cc_novzeroupper): Likewise.
13660 * sysdeps/i386/configure: Regenerated.
13661
13662 [BZ #13883]
13663 * sysdeps/i386/fpu/s_cexp.S: Remove.
13664 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13665 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13666 * math/libm-test.inc (cexp_test): Add more tests.
13667 * sysdeps/i386/fpu/libm-test-ulps: Update.
13668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13669
136702012-03-21 Allan McRae <allan@archlinux.org>
13671
13672 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13673
136742012-03-21 Joseph Myers <joseph@codesourcery.com>
13675
13676 [BZ #13871]
13677 * math/w_exp2.c: Do not include <float.h>.
13678 (o_threshold, u_threshold): Remove.
13679 (__exp2): Calculate result before checking finiteness and calling
13680 __kernel_standard.
13681 * math/w_exp2f.c: Likewise.
13682 * math/w_exp2l.c: Likewise.
13683 * math/libm-test.inc (exp2_test): Require overflow exception for
13684 1e6 input.
13685
13686 [BZ #3866]
13687 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13688 range of signed 64-bit integers before using fistpll. Remove
13689 checks for whether integers fit in mantissa bits.
13690 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13691 the range of signed 32-bit integers before using fistpl. Remove
13692 checks for whether integers fit in mantissa bits.
13693 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13694 (__ieee754_powl): Test for y outside the range of signed 64-bit
13695 integers before using fistpll. Reduce 64-bit values to 63-bit
13696 ones as needed.
13697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13698 divide-by-zero is raised for zero to large negative powers.
13699 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13700 (__ieee754_powl): Test for y outside the range of signed 64-bit
13701 integers before using fistpll. Reduce 64-bit values to 63-bit
13702 ones as needed.
13703 * math/libm-test.inc (pow_test): Add more tests.
13704
137052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13706
13707 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13708 <stdio-common/_itoa.h>.
13709 * debug/segfault.c: Likewise.
13710 * elf/dl-cache.c: Likewise.
13711 * elf/dl-minimal.c: Likewise.
13712 * elf/dl-misc.c: Likewise.
13713 * elf/dl-sysdep.c: Likewise.
13714 * elf/dl-version.c: Likewise.
13715 * elf/rtld.c: Likewise.
13716 * hurd/hurdsock.c: Likewise.
13717 * hurd/lookup-retry.c: Likewise.
13718 * malloc/malloc.c: Likewise.
13719 * malloc/mtrace.c: Likewise.
13720 * nscd/nscd_getgr_r.c: Likewise.
13721 * nscd/nscd_getpw_r.c: Likewise.
13722 * nscd/nscd_getserv_r.c: Likewise.
13723 * posix/getopt_init.c: Likewise.
13724 * posix/wordexp.c: Likewise.
13725 * stdio-common/_itoa.c: Likewise.
13726 * stdio-common/printf_fphex.c: Likewise.
13727 * stdio-common/vfprintf.c: Likewise.
13728 * string/_strerror.c: Likewise.
13729 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13730 * sysdeps/i386/i686/hp-timing.h: Likewise.
13731 * sysdeps/mach/_strerror.c: Likewise.
13732 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13733 * sysdeps/mach/hurd/sethostid.c: Likewise.
13734 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13735 * sysdeps/mach/xpg-strerror.c: Likewise.
13736 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13737 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13738 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13739 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13740 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13741 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13742 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13743 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13744 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13745 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13746 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13747 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13748 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13749 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13750 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13751 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13752 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13753 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13754 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13755 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13756 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13757
13758 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13759
13760 * stdio-common/_itoa.h: Moved to ...
13761 * sysdeps/generic/_itoa.h: Here.
13762
13763 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13764
13765 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13766 instead of "_itoa.h" and "_itowa.h".
13767 * stdio-common/vfprintf.: Likewise.
13768
137692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13770
13771 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13772 <bits/wordsize.h>.
13773 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13774 (__signbit): Likwise.
13775 (llrintf): Likwise.
13776 (llrint): Likwise.
13777
137782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13779
13780 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13781 __WORDSIZE != 64.
13782
137832012-03-20 Joseph Myers <joseph@codesourcery.com>
13784
13785 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13786 OVERFLOW_EXCEPTION_OK.
13787 * math/libm-test.inc ("Philosophy"): Update comment about
13788 exception testing.
13789 (OVERFLOW_EXCEPTION): Define.
13790 (OVERFLOW_EXCEPTION_OK): Likewise.
13791 (INVALID_EXCEPTION_OK): Renumber.
13792 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13793 (IGNORE_ZERO_INF_SIGN): Likewise.
13794 (test_exceptions): Handle FE_OVERFLOW.
13795 (exp10_test): Expect overflow exceptions.
13796 (exp2_test): Likewise.
13797 (expm1_test): Likewise.
13798 (nextafter_test): Likewise.
13799 (pow_test): Likewise.
13800 (scalbn_test): Likewise.
13801 (scalbln_test): Likewise.
13802
138032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13804
13805 * sysdeps/x86_64/bits/atomic.h
13806 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13807 64bit integer.
13808 (atomic_exchange_acq): Likewise.
13809 (__arch_exchange_and_add_body): Likewise.
13810 (__arch_add_body): Likewise.
13811 (atomic_add_negative): Likewise.
13812 (atomic_add_zero): Likewise.
13813
138142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13815
13816 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13817 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13818
138192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13820
13821 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13822 Check __x86_64__ instead of __WORDSIZE.
13823
138242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13825
13826 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13827
138282012-03-19 David S. Miller <davem@davemloft.net>
13829
13830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13831
13832 * sysdeps/sparc/fpu/fenv_private.h: New file.
13833 * sysdeps/sparc/fpu/math_private.h: Use it.
13834 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13835 Remove.
13836 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13837 (libc_feholdexcept_setroundl): Remove.
13838 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13839 Remove.
13840 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13841 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13842
138432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13844
13845 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13846 int64_t instead of long int.
13847 (INSERT_WORDS64): Likwise.
13848
138492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13850
13851 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13852 _Unwind_GetCFA return to _Unwind_Ptr first.
13853
138542012-03-19 Joseph Myers <joseph@codesourcery.com>
13855
13856 [BZ #13629]
13857 * math/s_clog.c: Include <float.h>.
13858 (__clog): Scale large or subnormal inputs.
13859 * math/s_clogf.c: Likewise.
13860 * math/s_clogl.c: Likewise.
13861 * math/s_clog10.c: Include <float.h>.
13862 (M_LOG10_2): Define.
13863 (__clog10): Scale large or subnormal inputs.
13864 * math/s_clog10f.c: Likewise.
13865 * math/s_clog10l.c: Likewise.
13866 * math/libm-test.inc (clog_test): Add more tests.
13867 (clog10_test): Likewise.
13868 * sysdeps/i386/fpu/libm-test-ulps: Update.
13869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13870
13871 [BZ #11451]
13872 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13873 x and y.
13874 * math/libm-test.inc (atan2_test): Add another test.
13875
13876 * Makerules (common-objdir-compile): Remove.
13877 * sysdeps/unix/Makefile (config-generated): Do not add
13878 $(unix-generated) to variable.
13879 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13880 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13881 Remove rule.
13882 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13883 Likewise.
13884 [generic bits/local_lim.h] (before-compile): Do not append to
13885 variable.
13886 [generic bits/local_lim.h] (common-generated): Likewise.
13887 [generic sys/param.h] (before-compile): Do not append to variable.
13888 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13889 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13890 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13891 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13892 include.
13893 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13894 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13895 [generic sys/param.h] ($(addprefix
13896 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13897 [generic sys/param.h] (common-generated): Do not append to
13898 variable.
13899 [generic sys/param.h] (sysdep_headers): Likewise.
13900 [generic bits/errno.h] (before-compile): Do not append to
13901 variable.
13902 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13903 rule.
13904 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13905 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13906 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13907 [generic bits/errno.h] (common-generated): Do not append to
13908 variable.
13909 [generic bits/ioctls.h] (before-compile): Do not append to
13910 variable.
13911 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13912 rule.
13913 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13914 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13915 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13916 rule.
13917 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13918 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13919 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13920 [generic bits/ioctls.h] (common-generated): Do not append to
13921 variable.
13922 [generic sys/syscall.h] (syscall.h): Remove variable.
13923 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13924 rule.
13925 [generic sys/syscall.h] (before-compile): Do not append to
13926 variable.
13927 [generic sys/syscall.h] (common-generated): Likewise.
13928 * sysdeps/unix/errnos-tmpl.c: Remove file.
13929 * sysdeps/unix/errnos.awk: Likewise.
13930 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13931 * sysdeps/unix/ioctls.awk: Likewise.
13932 * sysdeps/unix/mk-local_lim.c: Likewise.
13933 * sysdeps/unix/snarf-ioctls: Likewise.
13934
139352012-03-19 Richard Henderson <rth@twiddle.net>
13936
13937 * sysdeps/i386/fpu/fenv_private.h: New file.
13938 * sysdeps/i386/fpu/math_private.h: Use it.
13939 (math_opt_barrier, math_force_eval): Remove.
13940 (libc_feholdexcept_setround_53bit): Remove.
13941 (libc_feupdateenv_53bit): Remove.
13942 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13943 (math_opt_barrier, math_force_eval): Remove.
13944 (libc_feholdexcept): Remove.
13945 (libc_feholdexcept_setround): Remove.
13946 (libc_fetestexcept, libc_fesetenv): Remove.
13947 (libc_feupdateenv_test): Remove.
13948 (libc_feupdateenv, libc_feholdsetround): Remove.
13949 (libc_feresetround): Remove.
13950
13951 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13952 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13953
13954 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13955 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13956 (libc_feupdateenv_testl): New.
13957 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13958 (libc_feupdateenv_testf): New.
13959 (libc_feupdateenv): Use libc_feupdateenv_test.
13960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13961 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13962
13963 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13964 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13965 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13966 (libc_feresetround_noex): New.
13967 (libc_feresetround_noexf): New.
13968 (libc_feresetround_noexl): New.
13969 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13970 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13971 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13972 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13973 SET_RESTORE_ROUND.
13974 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13975 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13976 (__cos): Likewise.
13977 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13978 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13979 SET_RESTORE_ROUND_NOEX.
13980 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13981 SET_RESTORE_ROUND_NOEXF.
13982 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13983 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13984 (libc_feholdsetroundf): New.
13985 (libc_feresetround, libc_feresetroundf): New.
13986
13987 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13988 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13989 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13990
13991 * sysdeps/generic/math_private.h: Include <fenv.h>.
13992 (default_libc_feholdexcept): New.
13993 (default_libc_feholdexcept_setround): New.
13994 (default_libc_fesetenv, default_libc_feupdateenv): New.
13995 (libc_feholdexcept): Only define if undefined.
13996 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13997 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13998 (libc_feholdexcept_setroundl): Likewise.
13999 (libc_feholdexcept_setround_53bit): Likewise.
14000 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14001 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14002 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14003 (libc_feupdateenv_53bit): Likewise.
14004 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14005 (libc_feholdexcept): Convert from macro to inline function.
14006 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14007 (libc_fesetenv, libc_feupdateenv): Likewise.
14008
14009 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14010 not previously defined.
14011 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14012 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14013 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14014 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14015 * sysdeps/ieee754/flt-32/math_private.h: New file.
14016 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14017 math_private.h below SET_FLOAT_WORD.
14018 (__isnan, __isinf_ns, __finite): Remove.
14019 (__isnanf, __isinf_nsf, __finitef): Remove.
14020
140212012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14022
14023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14024
140252012-03-17 David S. Miller <davem@davemloft.net>
14026
14027 [BZ #6471]
14028 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14029 for 2.16.
14030
140312012-03-16 David S. Miller <davem@davemloft.net>
14032
14033 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14034 warnings.
14035
14036 [BZ #6471]
14037 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14038 properly.
14039 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14040 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14041 sysdep_routines when subdir is sysvipc.
14042 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14043 __getshmlba helper.
14044
14045 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14046
140472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14048
14049 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14050 [__LP64__].
14051
140522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14053
14054 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14055 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14056 (__lround): Renamed to ...
14057 (__llround): This. Replace long int with long long int.
14058 Define lround functions as aliases of llround functions.
14059 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14060
140612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14062
14063 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14064 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14065 adresses to uintptr_t. Replace "long int" and "unsigned long
14066 int" with "greg_t" on va_arg.
14067
140682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14069
14070 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14071 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14072
14073 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14074 Move e_machine check before EI_CLASS check. Handle x32
14075 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14076 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14077 SKIP_EM_IA_64 and include
14078 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14079
14080 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14081 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14082 (add_system_dir): New macro.
14083
14084 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14085 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14086
140872012-03-16 Joseph Myers <joseph@codesourcery.com>
14088
14089 [BZ #2551]
14090 [BZ #2552]
14091 [BZ #2553]
14092 [BZ #2554]
14093 [BZ #2562]
14094 [BZ #2563]
14095 [BZ #2565]
14096 [BZ #2566]
14097 [BZ #2576]
14098 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14099 (y0): Likewise.
14100 * math/w_j0f.c (j0f): Likewise.
14101 (y0f): Likewise.
14102 * math/w_j0l.c (__j0l): Likewise.
14103 (__y0l): Likewise.
14104 * math/w_j1.c (j1): Likewise.
14105 (y1): Likewise.
14106 * math/w_j1f.c (j1f): Likewise.
14107 (y1f): Likewise.
14108 * math/w_j1l.c (__j1l): Likewise.
14109 (__y1l): Likewise.
14110 * math/w_jn.c (jn): Likewise.
14111 (yn): Likewise.
14112 * math/w_jnf.c (jnf): Likewise.
14113 (ynf): Likewise.
14114 * math/w_jnl.c (__jnl): Likewise.
14115 (__ynl): Likewise.
14116 * math/libm-test.inc (j0_test): Add more tests.
14117 (j1_test): Likewise.
14118 (jn_test): Likewise. Add trailing semicolon to existing test.
14119 (y0_test): Likewise.
14120 (y1_test): Likewise.
14121 * sysdeps/i386/fpu/libm-test-ulps: Update.
14122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14123
14124 [BZ #13851]
14125 [BZ #13854]
14126 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14127 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14128 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14129 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14130 (__tanl): Set errno for infinite argument.
14131 * sysdeps/i386/fpu/mptan.c: Remove.
14132 * sysdeps/i386/fpu/s_tan.S: Likewise.
14133 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14134 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14135 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14136 * math/libm-test.inc (tan_test): Add more tests and enable more
14137 tests for double and long double.
14138 * sysdeps/i386/fpu/libm-test-ulps: Update.
14139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14140
141412012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14142
14143 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14144 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14145
141462012-03-16 Roland McGrath <roland@hack.frob.com>
14147
14148 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14149 * configure.in: Use it for both main tree and add-ons.
14150 * configure: Regenerated.
14151
141522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14153
14154 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14155
141562012-03-16 Joseph Myers <joseph@codesourcery.com>
14157
14158 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14159 in comment.
14160
14161 [BZ #13851]
14162 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14163 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14165 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14166 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14167 infinite argument.
14168 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14169 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14170 != 0 for prec == 2.
14171 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14172 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14173 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14174 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14175 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14176 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14177 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14178 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14179 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14180 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14181 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14182 * math/libm-test.inc (cos_test): Add more tests and enable more
14183 tests for long double.
14184 (sin_test): Likewise.
14185 (sincos_test): Likewise.
14186 * sysdeps/i386/fpu/libm-test-ulps: Update.
14187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14188
141892012-03-16 David S. Miller <davem@davemloft.net>
14190
14191 * sysdeps/sparc/fpu/math_private.h: New file.
14192
141932012-03-15 David S. Miller <davem@davemloft.net>
14194
14195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14196 file.
14197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14199 file.
14200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14205 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14206 sysdep routines.
14207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14208
14209 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14210 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14211
14212 * sysdeps/sparc/sparc-ifunc.h: New file.
14213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14214 sparc-ifunc.h
14215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14217 Likewise.
14218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14219 Likewise.
14220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14224 Likewise.
14225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14230 Likewise.
14231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14232 Likewise.
14233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14252 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14256 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14257
142582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14259
14260 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14261 scaling.
14262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14263
142642012-03-15 Andreas Jaeger <aj@suse.de>
14265
14266 [BZ #13852]
14267 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14268 ieee754/flt-32 implementation for sin, cos and sincos.
14269 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14270 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14271 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14272 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14273 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14274 ieee754/flt-32 implementation for tan.
14275
14276 * math/libm-test.inc (cos_test): Enable some large input tests for
14277 float as well
14278 (sin_test): Likewise.
14279 (sincos_test): Likewise.
14280 (tan_test): Add tests for large input.
14281
14282 * sysdeps/i386/fpu/libm-test-ulps: Update.
14283
142842012-03-15 Andreas Jaeger <aj@suse.de>
14285
14286 [BZ #13658]
14287 * math/libm-test.inc (cos_test): Add more test cases.
14288 (sin_test): Likewise.
14289 (sincos_test): Likewise.
14290
142912012-03-15 Andreas Jaeger <aj@suse.de>
14292
14293 [BZ #13837]
14294 * math/libm-test.inc (cos_test): Add a test case for large input
14295 value.
14296 (sin_test): Likewise.
14297 (sincos_test): Likewise.
14298
142992012-03-15 Andreas Jaeger <aj@suse.de>,
14300 Joseph Myers <joseph@codesourcery.com>
14301
14302 [BZ #13658]
14303 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14304 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14305 * sysdeps/i386/fpu/branred.c: Likewise.
14306 * sysdeps/i386/fpu/dosincos.c: Likewise.
14307 * sysdeps/i386/fpu/mpa.c: Likewise.
14308 * sysdeps/i386/fpu/s_cos.S: Likewise.
14309 * sysdeps/i386/fpu/s_sin.S: Likewise.
14310 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14311 * sysdeps/i386/fpu/sincos32.c: Likewise.
14312
14313 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14314 Define.
14315 (libc_feupdateenv_53bit): Define.
14316 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14317 Define.
14318 (libc_feupdateenv_53bit): Define.
14319
14320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14321 53 bit (without extend i386 double precision).
14322
14323 * math/libm-test.inc (sincos_test): Add tests for large input.
14324 (sin): Likewise.
14325 (cos): Likewise.
14326
14327 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14328
143292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14330
14331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14332
143332012-03-15 David S. Miller <davem@davemloft.net>
14334
14335 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14336 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14337 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14338 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14351 file.
14352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14354 file.
14355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14357 file.
14358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14360 file.
14361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14363 fmin/fmax sysdep routines.
14364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14365
143662012-03-14 David S. Miller <davem@davemloft.net>
14367
14368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14372 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14373 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14375 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14390 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14391 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14397 routines.
14398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14399 file.
14400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14402 file.
14403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14405 file.
14406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14408 file.
14409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14411 file.
14412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14414 file.
14415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14416 file.
14417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14418 file.
14419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14420 file.
14421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14422 New file.
14423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14424 file.
14425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14426 file.
14427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14429 file.
14430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14432 file.
14433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14435 file.
14436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14438 VIS3 routines.
14439
14440 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14441 New file.
14442
14443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14444
14445 * sysdeps/sparc/configure.in: New file.
14446 * sysdeps/sparc/configure: Generate.
14447 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14448 * configure: Regenerate.
14449 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14450 * config.make.in (have-as-vis3): New.
14451 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14452 available use -Av9d instead of -Av9a.
14453 * sysdeps/sparc/sparc64/Makefile: Likewise.
14454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14456 New file.
14457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14458 file.
14459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14460 New file.
14461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14462 file.
14463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14467 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14468
14469 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14470 fzeros/fnegs to load 0x80000000 into a float register instead of
14471 using the stack.
14472 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14473
144742012-03-14 Joseph Myers <joseph@codesourcery.com>
14475
14476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14477 bits/syscall.h.
14478 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14479 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14480 ($(inst_includedir)/bits/syscall.h): Remove rule.
14481 ($(objpfx)bits/syscall.d): Include instead of
14482 $(objpfx)syscall-list.d.
14483 (generated): Change syscall-list.h and syscall-list.d to
14484 bits/syscall.h and bits/syscall.d.
14485
144862012-03-14 Roland McGrath <roland@hack.frob.com>
14487
14488 [BZ #13846]
14489 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14490
144912012-03-14 Joseph Myers <joseph@codesourcery.com>
14492
14493 [BZ #13841]
14494 * math/s_csqrt.c: Include <float.h>.
14495 (__csqrt): Scale large or subnormal inputs.
14496 * math/s_csqrtf.c: Likewise.
14497 * math/s_csqrtl.c: Likewise.
14498 * math/libm-test.inc (csqrt_test): Add more tests.
14499 * sysdeps/i386/fpu/libm-test-ulps: Update.
14500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14501
14502 [BZ #13840]
14503 * math/libm-test.inc (hypot_test): Add more tests.
14504
145052012-03-13 David S. Miller <davem@davemloft.net>
14506
14507 [BZ #13840]
14508 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14509 double-precision for the calculation instead of scaling.
14510
145112012-03-13 Joseph Myers <joseph@codesourcery.com>
14512
14513 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14514 manipulate bits before adding and subtracting TWO52[sx].
14515 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14516 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14517 Likewise.
14518 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14519
145202012-03-13 David S. Miller <davem@davemloft.net>
14521
14522 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14523 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14525 rtld-global-offsets.h
14526 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14527
14528 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14529 large parameters.
14530
14531 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14532
14533 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14534 'err' in the ifdef scope in which it is actually used.
14535
14536 * nss/nss_db/db-init.c: Include string.h
14537
145382012-03-12 David S. Miller <davem@davemloft.net>
14539
14540 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14541 masking out of the most significant byte of random value used.
14542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14543 Fix coding style in previous change.
14544
14545 * sysdeps/unix/sysv/linux/kernel-features.h
14546 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14547 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14548 expression.
14549 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14550 later.
14551
145522012-03-11 David S. Miller <davem@davemloft.net>
14553
14554 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14555 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14556 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14557 for 'resultvar' otherwise things get truncated on 64-bit.
14558
14559 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14560 Fix masking out of the most significant byte of random value used.
14561
14562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14563
145642012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14565
14566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14567
145682012-03-09 David S. Miller <davem@davemloft.net>
14569
14570 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14571 variables with appropriate CPP guards.
14572 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14573 frame pointer, not the stack pointer. Correct layout comments. Fix test
14574 on resulting framesize and the management of the outregs buffer for pltexit.
14575 Preserve floating point return values across _dl_call_pltexit call.
14576 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14577 framesize and the management of the outregs buffer for pltexit.
14578 Preserve floating point return values across _dl_call_pltexit
14579 call.
14580 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14581 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14582 (print_exit): Fix format string for return register value.
14583
145842012-03-10 Joseph Myers <joseph@codesourcery.com>
14585
14586 * sunrpc/Makefile (others): Add rpcgen.
14587 ($(objpfx)rpcgen): Remove special build rule and dependency on
14588 libc.
14589 * sunrpc/rpcgen.c: New file.
14590
145912012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14592
14593 [BZ #13673]
14594 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14595 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14596 * sysdeps/i386/crti.S: Likewise.
14597 * sysdeps/i386/crtn.S: Likewise.
14598 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14599 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14600 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14601 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14602 * sysdeps/sh/crti.S: Likewise.
14603 * sysdeps/sh/crtn.S: Likewise.
14604 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14605
14606 [BZ #13673]
14607 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14608 with URL.
14609 * locale/programs/locfile-kw.gperf: Likewise.
14610 * locale/programs/charmap-kw.h: Regenerated.
14611 * locale/programs/locfile-kw.h: Likewise.
14612
14613 [BZ #13673]
14614 * intl/plural.y: Replace FSF snail mail address with URL.
14615 * intl/plural.c: Regenerated.
14616
146172012-03-09 Richard Henderson <rth@twiddle.net>
14618
14619 * include/math_private.h: Remove file.
14620 * math/math_private.h: Move file ...
14621 * sysdeps/generic/math_private.h: ... here.
14622
14623 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14624 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14625 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14626
14627 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14628 and <math_private.h>.
14629 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14630 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14631 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14632 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14633 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14656 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14665 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14666 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14667 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14668 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14669 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14670 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14671 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14672 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14673 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14674 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14675 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14676 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14677 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14678 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14679 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14680 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14681 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14682 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14683 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14684 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14685 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14686 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14707 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14709 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14711 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14714 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14716 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14717 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14718 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14719 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14720 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14721 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14722 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14723 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14724 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14725 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14726 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14727 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14728 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14729 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14730 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14731 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14732 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14733 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14734 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14735 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14736 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14737 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14738 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14739 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14740 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14741 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14742 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14743 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14744 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14745 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14746 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14747 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14748 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14749 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14750 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14751 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14752 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14753 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14754 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14755 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14756 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14757 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14758 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14759 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14760 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14761 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14762 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14763 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14764 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14765 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14766 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14767 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14768 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14769 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14770 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14771 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14772 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14773 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14774 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14775 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14776 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14777 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14778 * sysdeps/ieee754/k_standard.c: Likewise.
14779 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14780 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14781 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14783 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14785 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14786 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14787 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14788 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14789 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14790 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14791 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14795 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14796 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14797 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14798 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14799 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14800 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14801 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14802 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14803 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14804 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14805 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14806 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14809 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14810 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14819 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14820 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14824 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14825 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14826 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14827 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14829 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14832 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14834 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14837 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14843 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14846 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14848 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14849 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14850 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14851 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14852 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14853 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14854 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14855 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14856 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14858 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14863 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14867 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14868 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14870 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14872 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14873 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14877 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14881 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14882 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14883 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14884 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14889 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14890 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14894 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14895 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14898 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14899 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14901 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14902 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14903 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14904 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14905 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14906 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14907 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14908 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14909 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14910 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14911 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14916 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14917 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14919 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14922 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14924 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14927 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14928 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14929 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14938 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14939 * sysdeps/ieee754/s_lib_version.c: Likewise.
14940 * sysdeps/ieee754/s_matherr.c: Likewise.
14941 * sysdeps/ieee754/s_signgam.c: Likewise.
14942 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14943 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14944 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14945 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14946 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14947 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14948 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14949 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14950 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14951 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14952 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14953 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14954 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14955 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14956 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14957 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14958 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14959 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14960 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14963
149642012-03-09 Joseph Myers <joseph@codesourcery.com>
14965
14966 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14967 * sunrpc/rpc_main.c: Likewise.
14968 * sunrpc/rpc_svcout.c: Likewise.
14969
149702012-03-09 David S. Miller <davem@davemloft.net>
14971
14972 * include/math_private.h: New file.
14973
149742012-03-09 Joseph Myers <joseph@codesourcery.com>
14975
14976 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14977 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14978 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14979 from <bits/socket_type.h>.
14980 (enum __socket_type): Don't define here.
14981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14983 bits/socket_type.h.
14984
14985 [BZ #13566]
14986 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14987 checking __USE_GNU.
14988
14989 * Makerules ($(inst_includedir)/%.h): New rule.
14990 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14991 (install-others): Remove variable setting.
14992 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14993
149942012-03-08 Richard Henderson <rth@twiddle.net>
14995
14996 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14997 from macro to inline function; merge with the
14998 !__LIBC_INTERNAL_MATH_INLINES version.
14999 (__ieee754_sqrtf): Likewise.
15000
15001 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15002 to inline function.
15003 (__rintf, __floor, __floorf): Likewise.
15004
15005 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15006 macro to inline function.
15007 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15008
15009 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15010 not <math/math_private.h>.
15011
150122012-03-08 David S. Miller <davem@davemloft.net>
15013
15014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15015 copyright year.
15016 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15017
150182012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15019
15020 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15021 normalization.
15022 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15023 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15024
150252012-03-08 Ulrich Drepper <drepper@gmail.com>
15026
15027 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15028 be defined individually, they must be defined as a block. Define
15029 S for printing a string instead of hidint the different by using a
15030 macro for adding the 'l'.
15031 * stdio-common/tst-fphex-wide.c: Adjust.
15032
150332012-03-07 Marek Polacek <polacek@redhat.com>
15034
15035 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15036
150372012-03-08 Marek Polacek <polacek@redhat.com>
15038
15039 [BZ #13806]
15040 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15041 * stdio-common/tst-fphex.c: Define a few macros to make the
15042 test reusable. Use them.
15043 * stdio-common/tst-fphex-wide.c: New file.
15044
150452012-03-08 Joseph Myers <joseph@codesourcery.com>
15046
15047 [BZ #6911]
15048 * manual/macros.texi (gnusystems): New macro.
15049 (nongnusystems): Likewise.
15050 (gnulinuxhurdsystems): Likewise.
15051 (gnuhurdsystems): Likewise..
15052 (gnulinuxsystems): Likewise.
15053 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15054 variants of the GNU system, not "GNU system".
15055 * manual/conf.texi: Likewise.
15056 * manual/errno.texi: Likewise. Update example of errno macro
15057 expansion.
15058 * manual/filesys.texi: Likewise.
15059 (getumask): Document as specific to GNU/Hurd.
15060 * manual/install.texi: Likewise. Reword some references to
15061 GNU/Linux.
15062 * manual/intro.texi: Likewise.
15063 * manual/io.texi: Likewise.
15064 (File Name Portability): Detail which constraints are inapplicable
15065 to all GNU systems and which are only inapplicable to GNU/Hurd.
15066 * manual/job.texi: Likewise.
15067 * manual/llio.texi: Likewise.
15068 (O_NOCTTY): Document as present on GNU/Linux.
15069 * manual/maint.texi: Likewise.
15070 * manual/memory.texi: Likewise.
15071 * manual/pattern.texi: Likewise.
15072 * manual/pipe.texi: Likewise.
15073 * manual/process.texi: Likewise.
15074 * manual/resource.texi: Likewise.
15075 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15076 child on GNU/Hurd.
15077 * manual/setjmp.texi: Likewise.
15078 * manual/signal.texi: Likewise.
15079 * manual/startup.texi: Likewise.
15080 * manual/stdio.texi: Likewise.
15081 * manual/terminal.texi: Likewise.
15082 (ONLCR): Document as POSIX.
15083 (OXTABS): Document availability on GNU/Linux as XTABS.
15084 (ONOEOT): Document availability separately from other bits.
15085 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15086 * manual/time.texi: Likewise.
15087 * manual/users.texi: Likewise.
15088 * INSTALL: Regenerated.
15089 * sysdeps/gnu/errlist.c: Regenerated.
15090
15091 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15092 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15093 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15094 puts.
15095 * configure: Regenerated.
15096
150972012-03-07 Joseph Myers <joseph@codesourcery.com>
15098
15099 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15100 default includes instead of AC_HEADER_CHECK.
15101 * sysdeps/i386/configure: Regenerated.
15102
15103 [BZ #10716]
15104 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15105 * math/s_cacoshf.c (__cacoshf): Likewise.
15106 * math/s_cacoshl.c (__cacoshl): Likewise.
15107 * math/s_casinh.c (__casinh): Set signs of result from argument.
15108 * math/s_casinhf.c (__casinhf): Likewise.
15109 * math/s_casinhl.c (__casinhl): Likewise.
15110 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15111 (casinh_test): Add more tests.
15112 * sysdeps/i386/fpu/libm-test-ulps: Update.
15113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15114
151152012-03-07 Ulrich Drepper <drepper@gmail.com>
15116
15117 * po/zh_TW.po: Update from translation team.
15118
15119 * login/Makefile (distribute): Remove variable.
15120 * catgets/Makefile: Likewise.
15121 * mach/Makefile: Likewise.
15122 * malloc/Makefile: Likewise.
15123 * misc/Makefile: Likewise.
15124 * iconv/Makefile: Likewise.
15125 * nscd/Makefile: Likewise.
15126 * hurd/Makefile: Likewise.
15127 * manual/Makefile: Likewise.
15128 * locale/Makefile: Likewise.
15129 * intl/Makefile: Likewise.
15130 * conform/Makefile: Likewise.
15131 * nss/Makefile: Likewise.
15132 * time/Makefile: Likewise.
15133 * soft-fp/Makefile: Likewise.
15134 * dirent/Makefile: Likewise.
15135 * gmon/Makefile: Likewise.
15136 * po/Makefile: Likewise.
15137 * rt/Makefile: Likewise.
15138 * socket/Makefile: Likewise.
15139 * math/Makefile: Likewise.
15140 * signal/Makefile: Likewise.
15141 * debug/Makefile: Likewise.
15142 * elf/Makefile: Likewise.
15143 * timezone/Makefile: Likewise.
15144 * stdlib/Makefile: Likewise.
15145 * iconvdata/Makefile: Likewise.
15146 * sunrpc/Makefile: Likewise.
15147 * io/Makefile: Likewise.
15148 * argp/Makefile: Likewise.
15149 * inet/Makefile: Likewise.
15150 * hesiod/Makefile: Likewise.
15151 * grp/Makefile: Likewise.
15152 * csu/Makefile: Likewise.
15153 * wctype/Makefile: Likewise.
15154 * crypt/Makefile: Likewise.
15155 * libio/Makefile: Likewise.
15156 * string/Makefile: Likewise.
15157 * nis/Makefile: Likewise.
15158 * resolv/Makefile: Likewise.
15159 * stdio-common/Makefile: Likewise.
15160 * wcsmbs/Makefile: Likewise.
15161 * dlfcn/Makefile: Likewise.
15162 * posix/Makefile: Likewise.
15163
15164 [BZ #6959]
15165 * timezone/Makefile: Don't install timezone files, just the programs
15166 and scripts.
15167
151682012-03-06 Ulrich Drepper <drepper@gmail.com>
15169
15170 * nss/databases.def: Add missing gshadow entry.
15171
15172 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15173
151742012-03-06 Marek Polacek <polacek@redhat.com>
15175
15176 [BZ #13726]
15177 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15178 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15179 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15180 * stdio-common/tst-long-dbl-fphex.c: New file.
15181
151822012-03-06 David S. Miller <davem@davemloft.net>
15183
15184 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15185 (set_obp_int): New function.
15186 (get_obp_int): New function.
15187 (__get_clockfreq_via_dev_openprom): Likewise.
15188 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15189 Avoid unused variable warnings on 'val' and use builtin_expect.
15190 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15191 __builtin_expect.
15192 (INLINE_CLONE_SYSCALL): Likewise.
15193
151942012-03-05 David S. Miller <davem@davemloft.net>
15195
15196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15197
151982012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15199
15200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15201
15202 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15203 only for |x| >= 40.
15204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15205
152062012-03-05 H.J. Lu <hongjiu.lu@intel.com>
15207
15208 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15209 Replace gettimeofday with __vdso_gettimeofday.
15210
15211 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15212 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15213 __vdso_clock_gettime and __vdso_getcpu.
15214
15215 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15216 time with __vdso_time.
15217
152182012-03-05 Joseph Myers <joseph@codesourcery.com>
15219
15220 * manual/lang.texi (size_t): Note types to which size_t may be
15221 equivalent with the GNU C Library, but do not describe when
15222 differences between them are significant.
15223
152242012-03-05 Andreas Jaeger <aj@suse.de>
15225
15226 * sysdeps/i386/fpu/libm-test-ulps: Update.
15227
152282012-03-05 Joseph Myers <joseph@codesourcery.com>
15229
15230 [BZ #3976]
15231 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15232 (__ieee754_pow): Save and restore rounding mode and use
15233 round-to-nearest for main computations.
15234 * math/libm-test.inc (pow_test_tonearest): New function.
15235 (pow_test_towardzero): Likewise.
15236 (pow_test_downward): Likewise.
15237 (pow_test_upward): Likewise.
15238 (main): Call the new functions.
15239 * sysdeps/i386/fpu/libm-test-ulps: Update.
15240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15241
15242 [BZ #3976]
15243 * math/libm-test.inc (cosh_test_tonearest): New function.
15244 (cosh_test_towardzero): Likewise.
15245 (cosh_test_downward): Likewise.
15246 (cosh_test_upward): Likewise.
15247 (sinh_test_tonearest): Likewise.
15248 (sinh_test_towardzero): Likewise.
15249 (sinh_test_downward): Likewise.
15250 (sinh_test_upward): Likewise.
15251 (main): Call the new functions.
15252 * sysdeps/i386/fpu/libm-test-ulps: Update.
15253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15254
152552012-03-05 Tom de Vries <tom@codesourcery.com>
15256
15257 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15258 default stack guard is set in last bytes.
15259 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15260
152612012-03-05 Kees Cook <keescook@chromium.org>
15262
15263 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15264
15265 [BZ #13656]
15266 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15267 possibly allocate from heap instead of stack.
15268 * stdio-common/bug-vfprintf-nargs.c: New file.
15269 * stdio-common/Makefile (tests): Add nargs overflow test.
15270
152712012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15272
15273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15274
152752012-03-03 Marek Polacek <polacek@redhat.com>
15276
15277 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15278 * math/math_private.h: Likewise.
15279 * stdlib/tst-strtod.c: Likewise.
15280 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15281 * sysdeps/x86_64/bits/atomic.h: Likewise.
15282
152832012-03-02 David S. Miller <davem@davemloft.net>
15284
15285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15289 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15290 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15291 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15292 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15293
152942012-03-02 Roland McGrath <roland@hack.frob.com>
15295
15296 [BZ #13792]
15297 * manual/examples/README: New file, says the example source files
15298 can be used under GPL>=2.
15299 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15300 line containing just "*/".
15301 * manual/examples/add.c: Add copyright header (GPL>=2).
15302 * manual/examples/argp-ex1.c: Likewise.
15303 * manual/examples/argp-ex2.c: Likewise.
15304 * manual/examples/argp-ex3.c: Likewise.
15305 * manual/examples/argp-ex4.c: Likewise.
15306 * manual/examples/atexit.c: Likewise.
15307 * manual/examples/db.c: Likewise.
15308 * manual/examples/dir.c: Likewise.
15309 * manual/examples/dir2.c: Likewise.
15310 * manual/examples/execinfo.c: Likewise.
15311 * manual/examples/filecli.c: Likewise.
15312 * manual/examples/filesrv.c: Likewise.
15313 * manual/examples/fmtmsgexpl.c: Likewise.
15314 * manual/examples/genpass.c: Likewise.
15315 * manual/examples/inetcli.c: Likewise.
15316 * manual/examples/inetsrv.c: Likewise.
15317 * manual/examples/isockad.c: Likewise.
15318 * manual/examples/longopt.c: Likewise.
15319 * manual/examples/memopen.c: Likewise.
15320 * manual/examples/memstrm.c: Likewise.
15321 * manual/examples/mkfsock.c: Likewise.
15322 * manual/examples/mkisock.c: Likewise.
15323 * manual/examples/mygetpass.c: Likewise.
15324 * manual/examples/pipe.c: Likewise.
15325 * manual/examples/popen.c: Likewise.
15326 * manual/examples/rprintf.c: Likewise.
15327 * manual/examples/search.c: Likewise.
15328 * manual/examples/select.c: Likewise.
15329 * manual/examples/setjmp.c: Likewise.
15330 * manual/examples/sigh1.c: Likewise.
15331 * manual/examples/sigusr.c: Likewise.
15332 * manual/examples/stpcpy.c: Likewise.
15333 * manual/examples/strdupa.c: Likewise.
15334 * manual/examples/strftim.c: Likewise.
15335 * manual/examples/strncat.c: Likewise.
15336 * manual/examples/subopt.c: Likewise.
15337 * manual/examples/swapcontext.c: Likewise.
15338 * manual/examples/termios.c: Likewise.
15339 * manual/examples/testopt.c: Likewise.
15340 * manual/examples/testpass.c: Likewise.
15341 * manual/examples/timeval_subtract.c: Likewise.
15342
15343 [BZ #13792]
15344 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15345 function to ...
15346 * manual/timeval_subtract.c.texi: ... here, new file.
15347
153482012-03-02 David S. Miller <davem@davemloft.net>
15349
15350 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15351
153522012-03-02 Joseph Myers <joseph@codesourcery.com>
15353
15354 [BZ #3976]
15355 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15356 (__sin): Save and restore rounding mode and use round-to-nearest
15357 for all computations.
15358 (__cos): Save and restore rounding mode and use round-to-nearest
15359 for all computations.
15360 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15361 <fenv.h>.
15362 (tan): Save and restore rounding mode and use round-to-nearest for
15363 all computations.
15364 * math/libm-test.inc (cos_test_tonearest): New function.
15365 (cos_test_towardzero): Likewise.
15366 (cos_test_downward): Likewise.
15367 (cos_test_upward): Likewise.
15368 (sin_test_tonearest): Likewise.
15369 (sin_test_towardzero): Likewise.
15370 (sin_test_downward): Likewise.
15371 (sin_test_upward): Likewise.
15372 (tan_test_tonearest): Likewise.
15373 (tan_test_towardzero): Likewise.
15374 (tan_test_downward): Likewise.
15375 (tan_test_upward): Likewise.
15376 (main): Call the new functions.
15377 * sysdeps/i386/fpu/libm-test-ulps: Update.
15378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15379
15380 [BZ #10135]
15381 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15382 small n, then large n, before computing and testing k+n.
15383 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15384 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15385 Likewise.
15386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15387 Likewise.
15388 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15389 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15390 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15391 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15392 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15393 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15394 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15395 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15396 * math/libm-test.inc (scalbn_test): Add more tests.
15397 (scalbln_test): Likewise.
15398
15399 * manual/filesys.texi (mode_t): Describe constraints on size and
15400 signedness, not exact equivalence to a particular type.
15401 (ino_t): Likewise.
15402 (ino64_t): Likewise.
15403 (dev_t): Likewise.
15404 (nlink_t): Likewise.
15405 (blkcnt_t): Likewise.
15406 (blkcnt64_t): Likewise.
15407 * manual/llio.texi (off_t): Likewise.
15408
15409 [BZ #3976]
15410 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15411 (__ieee754_exp): Save and restore rounding mode and use
15412 round-to-nearest for all computations.
15413 * math/libm-test.inc (exp_test_tonearest): New function.
15414 (exp_test_towardzero): Likewise.
15415 (exp_test_downward): Likewise.
15416 (exp_test_upward): Likewise.
15417 (main): Call the new functions.
15418 * sysdeps/i386/fpu/libm-test-ulps: Update.
15419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15420
154212012-03-01 Chris Demetriou <cgd@google.com>
15422
15423 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15424 have predictable order.
15425
154262012-03-01 David S. Miller <davem@davemloft.net>
15427
15428 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15429
15430 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15431 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15432 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15433 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15434
15435 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15436 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15437 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15439 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15440 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15441 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15442 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15443 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15444
15445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15446
15447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15448 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15449 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15450
15451 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15452 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15453 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15454 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15455 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15456 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15457 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15458 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15459 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15460 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15461 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15462 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15464 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15465 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15467 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15468 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15469 * sysdeps/sparc/elf/configure: Regenerated.
15470
154712012-03-01 Joseph Myers <joseph@codesourcery.com>
15472
15473 * configure.in (AS, LD): Require binutils 2.20 or later.
15474 * configure: Regenerated.
15475 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15476 as required minimum version.
15477 * INSTALL: Regenerated.
15478
15479 [BZ #2541]
15480 [BZ #4108]
15481 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15482 before squaring exponent.
15483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15484 bottom long double and 27 bits of top long double before squaring
15485 exponent.
15486 * math/libm-test.inc (erfc_test): Add more tests.
15487 * sysdeps/i386/fpu/libm-test-ulps: Update.
15488 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15490
154912012-03-01 Kai Tietz <ktietz@redhat.com>
15492
15493 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15494 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15495 containing bit-fields.
15496 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15497 * soft-fp/single.h (_FP_UNION_S): Likewise.
15498 * soft-fp/double.h (_FP_UNION_D): Likewise.
15499
155002012-02-29 Joseph Myers <joseph@codesourcery.com>
15501
15502 [BZ #13786]
15503 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15504 not include ../strcmp.S.
15505 [USE_AS_STRNCASECMP_L]: Likewise.
15506 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15507 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15508 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15509 (__strncasecmp_l_ia32): Define as alias to
15510 __strncasecmp_l_nonascii.
15511
15512 [BZ #5794]
15513 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15514 * sysdeps/i386/fpu/libm-test-ulps: Update.
15515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15516
15517 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15519
155202012-02-29 Jeff Law <law@redhat.com>
15521
15522 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15523 out of bounds read.
15524
155252012-02-29 Marek Polacek <polacek@redhat.com>
15526
15527 [BZ #13706]
15528 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15529 * elf/Makefile: Add rules to run tst-unused-dep.out.
15530
155312012-02-28 David S. Miller <davem@davemloft.net>
15532
15533 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15534 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15535 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15536 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15537 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15538 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15539
155402012-02-29 Joseph Myers <joseph@codesourcery.com>
15541
15542 * math/libm-test.inc (llround_test): Move one test from
15543 lround_test. Use TEST_f_L in moved test.
15544 (lround_test): Move misplaced test to llround_test. Add testcase
15545 from bug 2561.
15546
155472012-02-28 Ulrich Drepper <drepper@gmail.com>
15548
15549 * sysdeps/x86_64/fpu/e_expf.S: New file.
15550 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15551
155522012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15553
15554 [BZ #13637]
15555 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15556 of remain_len that may cause incomplete multi-byte character and
15557 false match.
15558 * posix/bug-regex33.c: New file.
15559 * posix/Makefile (tests): Add bug-regex33.
15560
155612012-02-28 Joseph Myers <joseph@codesourcery.com>
15562
15563 * manual/macros.texi: New file.
15564 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15565 * manual/libc.texinfo: Include macros.texi.
15566 * manual/creatute.texi: Likewise.
15567 * manual/install.texi: Likewise.
15568 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15569 @glibcadj{} in references to the GNU C Library.
15570 * manual/charset.texi: Likewise.
15571 * manual/conf.texi: Likewise.
15572 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15573 when not using those macros.
15574 * manual/creature.texi: Likewise.
15575 * manual/crypt.texi: Likewise.
15576 * manual/errno.texi: Likewise.
15577 * manual/filesys.texi: Likewise.
15578 * manual/header.texi: Likewise.
15579 * manual/install.texi: Likewise.
15580 * manual/intro.texi: Likewise.
15581 * manual/io.texi: Likewise.
15582 * manual/job.texi: Likewise.
15583 * manual/lang.texi: Likewise.
15584 * manual/libc.texiinfo: Likewise.
15585 * manual/llio.texi: Likewise.
15586 * manual/locale.texi: Likewise.
15587 * manual/maint.texi: Likewise.
15588 * manual/math.texi: Likewise.
15589 * manual/memory.texi: Likewise.
15590 * manual/message.texi: Likewise.
15591 * manual/nss.texi: Likewise.
15592 * manual/pattern.texi: Likewise.
15593 * manual/process.texi: Likewise.
15594 * manual/resource.texi: Likewise.
15595 * manual/search.texi: Likewise.
15596 * manual/setjmp.texi: Likewise.
15597 * manual/signal.texi: Likewise.
15598 * manual/socket.texi: Likewise.
15599 * manual/startup.texi: Likewise.
15600 * manual/stdio.texi: Likewise.
15601 * manual/string.texi: Likewise.
15602 * manual/sysinfo.texi: Likewise.
15603 * manual/syslog.texi: Likewise.
15604 * manual/terminal.texi: Likewise.
15605 * manual/time.texi: Likewise.
15606 * manual/users.texi: Likewise.
15607 * INSTALL: Regenerated.
15608 * NOTES: Regenerated.
15609 * sysdeps/gnu/errlist.c: Regenerated.
15610
156112012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15612
15613 * include/dirent.h: Include <dirstream.h> before
15614 <dirent/dirent.h>.
15615
156162012-02-28 David S. Miller <davem@davemloft.net>
15617
15618 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15619 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15620 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15621 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15622
156232012-02-27 David S. Miller <davem@davemloft.net>
15624
15625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15627 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15628 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15629
15630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15631 frame pointer instead of stack pointer relative arg slot.
15632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15633 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15634 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15635
156362012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15637
15638 [BZ #3992]
15639 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15640
156412012-02-27 David S. Miller <davem@davemloft.net>
15642
15643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15647 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15648 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15649 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15650 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15651
156522012-02-27 Joseph Myers <joseph@codesourcery.com>
15653
15654 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15655 later. Allow versions 5-9.
15656 * configure: Regenerated.
15657 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15658 required minimum version and 4.6 as recommended version. Do not
15659 mention bugs in GCC 2.7 and 2.8.
15660 * INSTALL: Regenerated.
15661
156622012-02-27 David S. Miller <davem@davemloft.net>
15663
15664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15668 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15669 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15670 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15671 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15672
15673 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15674 manipulate bits before adding and subtracting TWO112[sx].
15675 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15676
156772012-02-27 Roland McGrath <roland@hack.frob.com>
15678
15679 [BZ #13775]
15680 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15681 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15682 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15683 being in POSIX, because they are in 1003.1-2008.
15684
15685 * rt/tst-aio.c: Include <fcntl.h>.
15686 * rt/tst-aio7.c: Likewise.
15687 * rt/tst-aio64.c: Likewise.
15688
15689 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15690
156912012-02-27 Joseph Myers <joseph@codesourcery.com>
15692
15693 * manual/install.texi (--with-headers): Describe headers as
15694 interface headers, not private headers.
15695 (Specific advice for GNU/Linux systems): Describe use of headers
15696 from "make headers_install", not private headers from older
15697 kernels.
15698 * INSTALL: Regenerated.
15699 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15700 Change to 2.6.19.
15701 * sysdeps/unix/sysv/linux/configure: Regenerated.
15702
15703 * manual/llio.texi (fclean): Remove documentation.
15704
15705 * manual/Makefile (libc-texi-generated): New variable. Include
15706 version.texi.
15707 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15708 $(libc-texi-generated), not duplicated list of files.
15709 (version.texi, stamp-version): New rules.
15710 (realclean): Remove $(libc-texi-generated), not individual files
15711 from that list. Do not remove dir-add.texinfo.
15712 * manual/libc.texinfo: Comment out uses of edition numbers and
15713 references to printed manual. Remove last-updated dates.
15714 (EDITION): Comment out.
15715 (ISBN): Likewise.
15716 (VERSION, UPDATED): Remove.
15717 (version.texi): Include.
15718
157192012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15720
15721 * sysdeps/posix/spawni.c: Include <signal.h>.
15722 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15723 * sysdeps/pthread/aio_fsync.c: Likewise.
15724
157252012-02-26 Ulrich Drepper <drepper@gmail.com>
15726
15727 * conform/Makefile (tests): Run only when not cross-compiling and
15728 when fast-check is not defined.
15729
15730 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15731 * conform/data/limits.h-data: Fixes for POSIX2008.
15732 * conform/run-conformtest.sh: Run all tests.
15733 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15734 headers.
15735 * include/bits/dlfcn.h: Likewise.
15736 * include/langinfo.h: Likewise.
15737 * include/monetary.h: Likewise.
15738 * include/sys/poll.h: Likewise.
15739
15740 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15741 for __USE_GNU.
15742 * posix/spawn.h: Define __need_sigset_t.
15743 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15744 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15745 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15746 to get sigevent_t only.
15747 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15748 only for __USE_GNU.
15749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15750 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15751 process_vm_writev only for __USE_GNU.
15752 * termios/termios.h: Declare tcgetsid also for POSIX2008.
15753
15754 * conform/Makefile: For now ignore errors from run-conformtest.
15755 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15756 POSIX to avoid namespace pollution. Don't prepend headers.
15757 * conform/data/aio.h-data: Fixes for POSIX testing.
15758 * conform/data/fcntl.h-data: Likewise.
15759 * conform/data/glob.h-data: Likewise.
15760 * conform/data/grp.h-data: Likewise.
15761 * conform/data/pthread.h-data: Likewise.
15762 * conform/data/pwd.h-data: Likewise.
15763 * conform/data/signal.h-data: Likewise.
15764 * conform/data/spawn.h-data: Likewise.
15765 * conform/data/stdio.h-data: Likewise.
15766 * conform/data/stdlib.h-data: Likewise.
15767 * conform/data/stropts.h-data: Likewise.
15768 * conform/data/sys/mman.h-data: Likewise.
15769 * conform/data/sys/stat.h-data: Likewise.
15770 * conform/data/sys/types.h-data: Likewise.
15771 * conform/data/sys/wait.h-data: Likewise.
15772 * conform/data/time.h-data: Likewise.
15773 * conform/data/unistd.h-data: Likewise.
15774 * conform/data/utime.h-data: Likewise.
15775
15776 * io/sys/stat.h: fchmod was always in POSIX.
15777 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15778 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15779 * rt/aio.h: Define __need_timespec before including <time.h>.
15780 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15781 struct. Add forward declaration of pthread_attr_t and use it in
15782 sigevent.
15783 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15785 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15786 always remove CLK_TCK definition.
15787
157882012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15789
15790 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15791
157922012-02-25 Ulrich Drepper <drepper@gmail.com>
15793
15794 * conform/run-conformtest.sh: New file.
15795 * conform/Makefile: Run run-conformtest for tests.
15796 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15797 support.
15798
15799 * conform/data/uchar.h-data: New file.
15800 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15801 * conform/data/arpa/inet.h-data: Likewise.
15802 * conform/data/assert.h-data: Likewise.
15803 * conform/data/complex.h-data: Likewise.
15804 * conform/data/cpio.h-data: Likewise.
15805 * conform/data/ctype.h-data: Likewise.
15806 * conform/data/dirent.h-data: Likewise.
15807 * conform/data/dlfcn.h-data: Likewise.
15808 * conform/data/errno.h-data: Likewise.
15809 * conform/data/fcntl.h-data: Likewise.
15810 * conform/data/float.h-data: Likewise.
15811 * conform/data/fmtmsg.h-data: Likewise.
15812 * conform/data/fnmatch.h-data: Likewise.
15813 * conform/data/ftw.h-data: Likewise.
15814 * conform/data/glob.h-data: Likewise.
15815 * conform/data/grp.h-data: Likewise.
15816 * conform/data/iconv.h-data: Likewise.
15817 * conform/data/inttypes.h-data: Likewise.
15818 * conform/data/langinfo.h-data: Likewise.
15819 * conform/data/libgen.h-data: Likewise.
15820 * conform/data/limits.h-data: Likewise.
15821 * conform/data/locale.h-data: Likewise.
15822 * conform/data/math.h-data: Likewise.
15823 * conform/data/monetary.h-data: Likewise.
15824 * conform/data/mqueue.h-data: Likewise.
15825 * conform/data/ndbm.h-data: Likewise.
15826 * conform/data/net/if.h-data: Likewise.
15827 * conform/data/netdb.h-data: Likewise.
15828 * conform/data/netinet/in.h-data: Likewise.
15829 * conform/data/nl_types.h-data: Likewise.
15830 * conform/data/poll.h-data: Likewise.
15831 * conform/data/pthread.h-data: Likewise.
15832 * conform/data/pwd.h-data: Likewise.
15833 * conform/data/regex.h-data: Likewise.
15834 * conform/data/sched.h-data: Likewise.
15835 * conform/data/search.h-data: Likewise.
15836 * conform/data/semaphore.h-data: Likewise.
15837 * conform/data/setjmp.h-data: Likewise.
15838 * conform/data/signal.h-data: Likewise.
15839 * conform/data/spawn.h-data: Likewise.
15840 * conform/data/stdarg.h-data: Likewise.
15841 * conform/data/stdio.h-data: Likewise.
15842 * conform/data/stdlib.h-data: Likewise.
15843 * conform/data/string.h-data: Likewise.
15844 * conform/data/strings.h-data: Likewise.
15845 * conform/data/stropts.h-data: Likewise.
15846 * conform/data/sys/ipc.h-data: Likewise.
15847 * conform/data/sys/mman.h-data: Likewise.
15848 * conform/data/sys/msg.h-data: Likewise.
15849 * conform/data/sys/resource.h-data: Likewise.
15850 * conform/data/sys/select.h-data: Likewise.
15851 * conform/data/sys/sem.h-data: Likewise.
15852 * conform/data/sys/shm.h-data: Likewise.
15853 * conform/data/sys/socket.h-data: Likewise.
15854 * conform/data/sys/stat.h-data: Likewise.
15855 * conform/data/sys/statvfs.h-data: Likewise.
15856 * conform/data/sys/time.h-data: Likewise.
15857 * conform/data/sys/timeb.h-data: Likewise.
15858 * conform/data/sys/times.h-data: Likewise.
15859 * conform/data/sys/types.h-data: Likewise.
15860 * conform/data/sys/uio.h-data: Likewise.
15861 * conform/data/sys/un.h-data: Likewise.
15862 * conform/data/sys/utsname.h-data: Likewise.
15863 * conform/data/sys/wait.h-data: Likewise.
15864 * conform/data/syslog.h-data: Likewise.
15865 * conform/data/tar.h-data: Likewise.
15866 * conform/data/termios.h-data: Likewise.
15867 * conform/data/utime.h-data: Likewise.
15868 * conform/data/utmpx.h-data: Likewise.
15869 * conform/data/varargs.h-data: Likewise.
15870 * conform/data/wchar.h-data: Likewise.
15871 * conform/data/wctype.h-data: Likewise.
15872 * conform/data/wordexp.h-data: Likewise.
15873
15874 * include/stropts.h: New file.
15875 * include/uchar.h: New file.
15876 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15877 * include/assert.h: Likewise.
15878 * include/ctype.h: Likewise.
15879 * include/dirent.h: Likewise.
15880 * include/dlfcn.h: Likewise.
15881 * include/fcntl.h: Likewise.
15882 * include/fnmatch.h: Likewise.
15883 * include/glob.h: Likewise.
15884 * include/grp.h: Likewise.
15885 * include/libio.h: Likewise.
15886 * include/locale.h: Likewise.
15887 * include/math.h: Likewise.
15888 * include/net/if.h: Likewise.
15889 * include/netdb.h: Likewise.
15890 * include/netinet/in.h: Likewise.
15891 * include/pthread.h: Likewise.
15892 * include/pwd.h: Likewise.
15893 * include/regex.h: Likewise.
15894 * include/sched.h: Likewise.
15895 * include/search.h: Likewise.
15896 * include/setjmp.h: Likewise.
15897 * include/signal.h: Likewise.
15898 * include/stdio.h: Likewise.
15899 * include/stdlib.h: Likewise.
15900 * include/string.h: Likewise.
15901 * include/sys/cdefs.h: Likewise.
15902 * include/sys/mman.h: Likewise.
15903 * include/sys/msg.h: Likewise.
15904 * include/sys/resource.h: Likewise.
15905 * include/sys/select.h: Likewise.
15906 * include/sys/socket.h: Likewise.
15907 * include/sys/stat.h: Likewise.
15908 * include/sys/statvfs.h: Likewise.
15909 * include/sys/time.h: Likewise.
15910 * include/sys/times.h: Likewise.
15911 * include/sys/uio.h: Likewise.
15912 * include/sys/utsname.h: Likewise.
15913 * include/sys/wait.h: Likewise.
15914 * include/termios.h: Likewise.
15915 * include/time.h: Likewise.
15916 * include/ulimit.h: Likewise.
15917 * include/unistd.h: Likewise.
15918 * include/utime.h: Likewise.
15919 * include/wchar.h: Likewise.
15920 * include/wctype.h: Likewise.
15921 * include/wordexp.h: Likewise.
15922
15923 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15924
15925 * time/time.h: TIME_UTC must be a macro.
15926 Make timespec_get available for ISO C11 only as well.
15927
159282012-02-24 Ulrich Drepper <drepper@gmail.com>
15929
15930 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15931 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15932
159332012-02-24 Joseph Myers <joseph@codesourcery.com>
15934
15935 * configure.in: Use -o not -a in test for unsupported multi-arch.
15936
159372012-02-24 Joseph Myers <joseph@codesourcery.com>
15938
15939 * manual/texinfo.tex: Update to version 2012-01-19.16.
15940
159412012-02-24 Joseph Myers <joseph@codesourcery.com>
15942
15943 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15944
159452012-02-24 Roland McGrath <roland@hack.frob.com>
15946
15947 [BZ #13738]
15948 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15949 * manual/fdl-1.3.texi: New file.
15950 * manual/fdl-1.1.texi: File removed.
15951
15952 [BZ #13738]
15953 * manual/libc.texinfo (FDL_VERSION): New @set.
15954 Use it for mention of FDL in cover text.
15955 (Documentation License): Use it in @include file name.
15956
159572012-02-22 Joseph Myers <joseph@codesourcery.com>
15958 Roland McGrath <roland@hack.frob.com>
15959
15960 [BZ #5461]
15961 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15962 not LONG_LONG_MAX and LONG_LONG_MIN.
15963 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15964 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15965 name.
15966 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15967
159682012-02-22 Joseph Myers <joseph@codesourcery.com>
15969
15970 [BZ #2547]
15971 [BZ #11365]
15972 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15973 manipulate bits before adding and subtracting TWO23[sx].
15974 * math/libm-test.inc (nearbyint_test): Add more tests.
15975
159762012-02-22 Joseph Myers <joseph@codesourcery.com>
15977
15978 [BZ #2548]
15979 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15980 bits before adding and subtracting TWO23[sx].
15981 * math/libm-test.inc (rint_test): Add more tests.
15982 (rint_test_tonearest): Likewise.
15983 (rint_test_towardzero): Likewise.
15984 (rint_test_downward): Likewise.
15985 (rint_test_upward: Likewise.
15986
159872012-02-22 Joseph Myers <joseph@codesourcery.com>
15988
15989 [BZ #10110]
15990 * include/stdc-predef.h: New file. Extracted from features.h.
15991 * include/features.h: Include stdc-predef.h.
15992 * Makefile (headers): Add stdc-predef.h.
15993 * CONFORMANCE (Compiler limitations): Update.
15994
159952012-02-22 Joseph Myers <joseph@codesourcery.com>
15996
15997 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15998
159992012-02-21 David S. Miller <davem@davemloft.net>
16000
16001 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16002 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16003
160042012-02-20 David S. Miller <davem@davemloft.net>
16005
16006 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16007 using a normal save/restore sequence, rather than allocating a
16008 dummy stack frame just to store a frame pointer and restore.
16009 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16010
160112012-02-21 Joseph Myers <joseph@codesourcery.com>
16012
16013 * manual/install.texi: Fix stray word in line-wrapped comment.
16014
160152012-02-20 David S. Miller <davem@davemloft.net>
16016
16017 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16018 both binutils and gcc support GOTDATA.
16019
16020 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16021 "rd %pc" in the PIC register setup sequences.
16022
16023 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16024 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16025 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16026 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16027 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16028 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16030 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16032 (SYSCALL_ERROR_HANDLER): Likewise.
16033 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16034 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16035 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16036 (SYSCALL_ERROR_HANDLER): Likewise.
16037
16038 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16039 (HAVE_GCC_GOTDATA): New.
16040 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16041 relocation support in both binutils and gcc.
16042 * sysdeps/sparc/elf/configure: Regenerate.
16043
16044 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16045 * sysdeps/sparc/sparc32/elf/configure: Delete.
16046 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16047 * sysdeps/sparc/sparc64/elf/configure: Delete.
16048 * sysdeps/sparc/elf/configure.in: New file.
16049 * sysdeps/sparc/elf/configure: Generate.
16050
16051 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16052 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16053 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16054 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16055 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16056
160572012-02-21 Joseph Myers <joseph@codesourcery.com>
16058
16059 * manual/install.texi: Do not mention specific glibc version
16060 numbers.
16061 * manual/libc.texinfo (VERSION, UPDATED): Update.
16062 (@copying): Use @copyright{} and range of years.
16063
160642012-02-21 Joseph Myers <joseph@codesourcery.com>
16065
16066 [BZ #13695]
16067 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16068 [crti.S not in sysdirs] (generated): Do not append.
16069 [crti.S not in sysdirs] (omit-deps): Likewise.
16070 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16071 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16072 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16073 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16074 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16075 Likewise.
16076 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16077 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16078 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16079 * csu/defs.awk: Remove file.
16080 * sysdeps/generic/initfini.c: Likewise.
16081 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16082 variable.
16083 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16084 Likewise.
16085
160862012-02-20 Joseph Myers <joseph@codesourcery.com>
16087
16088 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16089 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16090 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16091 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16092 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16093 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16094 <bits/epoll.h>.
16095 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16096 (__EPOLL_PACKED): Define to empty if not defined by
16097 <bits/epoll.h>.
16098 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16100 bits/epoll.h.
16101
161022012-02-20 Joseph Myers <joseph@codesourcery.com>
16103
16104 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16105 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16106 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16107 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16108 <bits/timerfd.h>.
16109 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16111 bits/timerfd.h.
16112
161132012-02-20 Joseph Myers <joseph@codesourcery.com>
16114
16115 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16116 in C locale.
16117 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16118 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16119 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16121
161222012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16123
16124 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16125 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16126
161272012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16128
16129 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16130 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16131 defined.
16132 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16133 Likewise.
16134 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16135 entry for 2.16.
16136
161372012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16138
16139 * math/w_acos.c: Use non-signaling floating-point comparisons.
16140 * math/w_acosf.c: Likewise.
16141 * math/w_acosh.c: Likewise.
16142 * math/w_acoshf.c: Likewise.
16143 * math/w_acoshl.c: Likewise.
16144 * math/w_acosl.c: Likewise.
16145 * math/w_asin.c: Likewise.
16146 * math/w_asinf.c: Likewise.
16147 * math/w_asinl.c: Likewise.
16148 * math/w_atanh.c: Likewise.
16149 * math/w_atanhf.c: Likewise.
16150 * math/w_atanhl.c: Likewise.
16151 * math/w_exp2.c: Likewise.
16152 * math/w_exp2f.c: Likewise.
16153 * math/w_exp2l.c: Likewise.
16154 * math/w_j0.c: Likewise.
16155 * math/w_j0f.c: Likewise.
16156 * math/w_j0l.c: Likewise.
16157 * math/w_j1.c: Likewise.
16158 * math/w_j1f.c: Likewise.
16159 * math/w_j1l.c: Likewise.
16160 * math/w_jn.c: Likewise.
16161 * math/w_jnf.c: Likewise.
16162 * math/w_log.c: Likewise.
16163 * math/w_log10.c: Likewise.
16164 * math/w_log10f.c: Likewise.
16165 * math/w_log10l.c: Likewise.
16166 * math/w_log2.c: Likewise.
16167 * math/w_log2f.c: Likewise.
16168 * math/w_log2l.c: Likewise.
16169 * math/w_logf.c: Likewise.
16170 * math/w_logl.c: Likewise.
16171 * math/w_sqrt.c: Likewise.
16172 * math/w_sqrtf.c: Likewise.
16173 * math/w_sqrtl.c: Likewise.
16174 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16175 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16176 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16177 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16178 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16179
161802012-02-19 Joseph Myers <joseph@codesourcery.com>
16181
16182 [BZ #9739]
16183 * manual/string.texi (strnlen): Use correct parameter name in
16184 equivalent expression.
16185
161862012-02-19 Joseph Myers <joseph@codesourcery.com>
16187
16188 [BZ #11174]
16189 * manual/users.texi (seteuid): Consistently use neweuid for
16190 argument name.
16191
161922012-02-19 Joseph Myers <joseph@codesourcery.com>
16193
16194 [BZ #13704]
16195 * manual/nss.texi (Services in the NSS configuration): Correct
16196 list of services in example configuration file.
16197
161982012-02-19 Nick Bowler <nbowler@draconx.ca>
16199
16200 [BZ #11322]
16201 * manual/arith.texi: Remove statements about negative zero
16202 behaving identically to zero.
16203
162042012-02-18 Joseph Myers <joseph@codesourcery.com>
16205
16206 [BZ #5993]
16207 * manual/install.texi: Do not document upgrading from libc5.
16208
162092012-02-18 Joseph Myers <joseph@codesourcery.com>
16210
16211 [BZ #4596]
16212 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16213
162142012-02-18 David S. Miller <davem@davemloft.net>
16215
16216 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16217 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16218 %o7 across the call.
16219 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16220 instead.
16221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16222 SETUP_PIC_REG_LEAF.
16223 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16224 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16225 * sysdeps/sparc/crtn.S: Likewise.
16226
162272012-02-17 Ulrich Drepper <drepper@gmail.com>
16228
16229 * aout/Makefile: Remove.
16230
162312012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16232
16233 [BZ #13058]
16234 * manual/examples/argp-ex1.c (main): Format definition in GNU
16235 style.
16236 * manual/examples/argp-ex2.c (main): Likewise.
16237 * manual/examples/argp-ex3.c (main): Likewise.
16238 * manual/examples/argp-ex4.c (main): Likewise.
16239 * manual/examples/longopt.c (main): Use new-style prototype
16240 definition.
16241 * manual/examples/strncat.c (main): Specify return type and use
16242 (void) for arguments.
16243 * manual/examples/subopt.c (main): Use char **argv argument.
16244
162452012-02-17 Joseph Myers <joseph@codesourcery.com>
16246
16247 [BZ #5077]
16248 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16249 rounding modes.
16250
162512012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16252
16253 [BZ #6907]
16254 * manual/string.texi (strchr): Change when strchrnul is
16255 recommended.
16256
162572012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16258
16259 [BZ #174]
16260 * manual/locale.texi (setlocale): Document LOCPATH.
16261
162622012-02-17 Joseph Myers <joseph@codesourcery.com>
16263
16264 [BZ #10210]
16265 * manual/process.texi (execle): Move @dots{} before last argument.
16266
162672012-02-17 Paul Bolle <pebolle@tiscali.nl>
16268
16269 [BZ #12047]
16270 * manual/charset.texi (Generic Charset Conversion): Fix typo
16271 (LC_TYPE -> LC_CTYPE).
16272
162732012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16274
16275 [BZ #5805]
16276 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16277 (scalbnf): Likewise.
16278 (scalbnl): Likewise.
16279 (scalbln): Likewise.
16280 (scalblnf): Likewise.
16281 (scalblnl): Likewise.
16282 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16283 (vwarnx): Likewise.
16284 (verr): Likewise.
16285 (verrx): Likewise.
16286 * manual/filesys.texi (telldir): Use braces around return type.
16287 * manual/llio.texi (mmap): Add space after comma.
16288 (mmap64): Likewise.
16289 * manual/math.texi (jn): Use @var{} on parameter names.
16290 (jnf): Likewise.
16291 (jnl): Likewise.
16292 (yn): Likewise.
16293 (ynf): Likewise.
16294 (ynl): Likewise.
16295 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16296 line.
16297 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16298 "...".
16299 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16300 (sched_get_priority_max): Likewise.
16301 * manual/signal.texi (sigvec): Add space after comma.
16302 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16303 names.
16304 (if_indextoname): Likewise.
16305 (if_freenameindex): Likewise.
16306 (sendto): Use ',' instead of '.' in prototype.
16307 * manual/startup.texi (syscall): Use @dots{} instead of literal
16308 "...".
16309 * manual/stdio.texi (__fpending): Separate initial words of
16310 paragraph from @deftypefun line.
16311 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16312 "...".
16313 (vsyslog): Use @var{} on parameter names.
16314 * manual/terminal.texi (stty): Use @var{} on parameter names.
16315 * manual/users.texi (getutmp): Use @var{} on parameter names.
16316 (getutmpx): Likewise.
16317
163182012-02-17 Joseph Myers <joseph@codesourcery.com>
16319
16320 [BZ #6884]
16321 * manual/stdio.texi (fopen): Fix typos in description of
16322 ",ccs=STRING".
16323
163242012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16325
16326 [BZ #4026]
16327 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16328 get clock_id definition.
16329
163302012-02-17 Thomas Schwinge <thomas@schwinge.name>
16331
16332 [BZ #4822]
16333 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16334 (madvise): Cast every argument to void on its own.
16335
163362012-02-17 Joseph Myers <joseph@codesourcery.com>
16337
16338 [BZ #9902]
16339 * manual/startup.texi (Exit Status): Fix typo.
16340
163412012-02-17 Joseph Myers <joseph@codesourcery.com>
16342
16343 [BZ #10140]
16344 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16345 * manual/examples/argp-ex2.c: Likewise.
16346 * manual/examples/argp-ex3.c: Likewise.
16347
163482012-02-16 Richard Henderson <rth@redhat.com>
16349
16350 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16351 * sysdeps/s390/s390-32/initfini.c: Remove.
16352 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16353 * sysdeps/s390/s390-64/initfini.c: Remove.
16354
163552012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16356
16357 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16358 compiler output for sysdeps/generic/initfini.c.
16359 * sysdeps/sh/elf/initfini.c: Remove file.
16360
163612012-02-16 David S. Miller <davem@davemloft.net>
16362
16363 [BZ #11494]
16364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16365
16366 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16367 * sysdeps/sparc/crti.S: New file.
16368 * sysdeps/sparc/crtn.S: New file.
16369 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16370 * sysdeps/sparc/sparc64/Makefile: Likewise.
16371
163722012-02-15 Mike Frysinger <vapier@gentoo.org>
16373
16374 [BZ #3335]
16375 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16376
163772012-02-15 Roland McGrath <roland@hack.frob.com>
16378
16379 [BZ #4822]
16380 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16381
16382 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16383 (write, read, close): Likewise.
16384 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16385
163862012-02-15 Joseph Myers <joseph@codesourcery.com>
16387
16388 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16389 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16390 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16391 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16392 <bits/signalfd.h>.
16393 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16395 bits/signalfd.h.
16396
163972012-02-14 Marek Polacek <polacek@redhat.com>
16398
16399 * sysdeps/x86_64/crti.S: New file.
16400 * sysdeps/x86_64/crtn.S: New file.
16401 * sysdeps/x86_64/elf/initfini.c: Remove file.
16402
164032012-02-13 Joseph Myers <joseph@codesourcery.com>
16404
16405 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16406 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16407 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16408 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16409 <bits/inotify.h>.
16410 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16412 bits/inotify.h.
16413
164142012-02-13 Joseph Myers <joseph@codesourcery.com>
16415
16416 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16417 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16418 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16419 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16420 <bits/eventfd.h>.
16421 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16423 bits/eventfd.h.
16424
164252012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16426
16427 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16428 __feraiseexcept instead of feraiseexcept.
16429
16430 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16431 nanosleep invocations.
16432 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16433 strings, and add error checking for a nanosleep invocations.
16434
164352012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16436
16437 Replace FSF snail mail address with URLs, as per GNU coding standards.
16438 Most of the snail mail addresses were wrong anyway, and omitting
16439 them makes the source code easier to maintain. Almost all of the
16440 changes are to license notices and to locale LC_IDENTIFICATION
16441 addresses, except for this one:
16442 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16443 not its snail mail address.
16444
164452012-02-09 Richard Henderson <rth@twiddle.net>
16446
16447 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16448 of kernel-features.h.
16449
16450 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16451
164522012-02-08 Marek Polacek <polacek@redhat.com>
16453
16454 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16455 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16456 * sysdeps/gnu/_G_config.h: Likewise.
16457 * sysdeps/generic/_G_config.h: Likewise.
16458
164592012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16460
16461 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16462 tests.
16463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16464
16465 * sysdeps/powerpc/powerpc32/crti.S: New file.
16466 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16467 * sysdeps/powerpc/powerpc64/crti.S: New file.
16468 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16469
16470 * Makeconfig (have-initfini): Don't set.
16471 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16472 * configure.in (nopic_initfini): Don't substitute.
16473 * config.h.in (HAVE_INITFINI): Don't #undef.
16474 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16475 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16476
164772012-02-08 Joseph Myers <joseph@codesourcery.com>
16478
16479 Support crti.S and crtn.S provided directly by architectures.
16480 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16481 [crti.S in sysdirs] (omit-deps): Likewise.
16482 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16483 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16484 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16485 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16486 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16487 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16488 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16489 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16490 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16491 compiler output for sysdeps/generic/initfini.c.
16492 * sysdeps/i386/elf/Makefile: Remove file.
16493 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16494
164952012-02-07 Marek Polacek <polacek@redhat.com>
16496
16497 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16498 * sysdeps/gnu/_G_config.h: Likewise.
16499 * sysdeps/mach/hurd/_G_config.h: Likewise.
16500
165012012-02-07 Marek Polacek <polacek@redhat.com>
16502
16503 * math/Makefile (tests): Add tst-CMPLX2.
16504 * math/tst-CMPLX2.c: New file.
16505
165062012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16507
16508 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16509
16510 * math/libm-test.inc (jn_test): Add missing L suffix.
16511
165122012-02-06 Marek Polacek <polacek@redhat.com>
16513
16514 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16515 * sysdeps/i386/fpu/e_powf.S: Likewise.
16516 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16517 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16518 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16519 * sysdeps/i386/fpu/e_pow.S: Likewise.
16520 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16521 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16522 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16523 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16524 * sysdeps/i386/fpu/e_log2.S: Likewise.
16525 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16526 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16527 * sysdeps/i386/fpu/e_powl.S: Likewise.
16528 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16529 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16530 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16531 * sysdeps/i386/fpu/e_logl.S: Likewise.
16532 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16533 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16534 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16535 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16536 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16537 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16538 * sysdeps/i386/fpu/e_log.S: Likewise.
16539 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16540 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16541 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16542 * sysdeps/i386/fpu/e_logf.S: Likewise.
16543 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16544 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16545 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16546 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16547 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16548 * sysdeps/i386/fpu/e_log10.S: Likewise.
16549 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16550 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16551 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16552 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16553 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16554 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16555 * sysdeps/i386/asm-syntax.h: Likewise.
16556 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16557 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16558 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16559 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16560 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16561 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16562 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16563 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16564 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16565 * sysdeps/powerpc/sysdep.h: Likewise.
16566 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16567 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16568
165692012-02-06 Joseph Myers <joseph@codesourcery.com>
16570
16571 [BZ #411]
16572 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16573
165742012-02-06 Joseph Myers <joseph@codesourcery.com>
16575
16576 * sysdeps/i386/sysdep.h: Include <features.h>.
16577 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16578 version.
16579
165802012-02-05 Joseph Myers <joseph@codesourcery.com>
16581
16582 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16583 Define.
16584 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16585 LOAD_PIC_REG_STR.
16586
165872012-02-03 Joseph Myers <joseph@codesourcery.com>
16588
16589 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16590 (SETUP_PIC_REG): Use GET_PC_THUNK.
16591 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16592 macro.
16593
165942012-02-03 Joseph Myers <joseph@codesourcery.com>
16595
16596 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16597 for non-PIC compilation.
16598 (SETUP_PIC_REG): Add .p2align directive.
16599 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16600 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16601 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16602 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16603 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16604 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16605 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16606 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16607 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16608 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16609 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16610 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16611 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16612 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16613 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16614 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16615 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16616 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16617 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16618 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16619 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16620 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16621 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16622 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16623 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16624 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16625 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16626 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16627 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16628 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16629 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16630 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16631 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16632 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16633 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16634 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16635 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16636 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16637 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16638 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16639 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16640
166412012-02-03 Joseph Myers <joseph@codesourcery.com>
16642
16643 * math/tst-CMPLX.c: Include <stdio.h>.
16644
166452012-01-31 Joseph Myers <joseph@codesourcery.com>
16646
16647 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16648 float.
16649 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16650 * sysdeps/sparc/bits/mathdef.h: Likewise.
16651
166522012-01-31 Marek Polacek <polacek@redhat.com>
16653
16654 * libio/libio.h: Don't define _PARAMS.
16655 * locale/programs/config.h: Don't define PARAMS.
16656 * stdlib/strtol_l.c: Likewise.
16657 (__strtol_l): Remove PARAMS from the prototype.
16658
166592012-01-31 Ulrich Drepper <drepper@gmail.com>
16660
16661 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16662 names. Just use the correct names. Remove unnecessary wrapper
16663 functions.
16664 * malloc/arena.c: Likewise.
16665 * malloc/hooks.c: Likewise.
16666
16667 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16668 ARENA_TEST says not to. Simplify test for creation of a new arena.
16669 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16670
166712012-01-30 Ulrich Drepper <drepper@gmail.com>
16672
16673 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16674 into tail calls.
16675 (update_get_addr): New function.
16676 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16677 GET_ADDR_MODULE parameter.
16678
166792012-01-30 Joseph Myers <joseph@codesourcery.com>
16680
16681 * crypt/cert.c: Remove __STDC__ conditionals.
16682 * crypt/crypt-entry.c: Likewise.
16683 * crypt/crypt_util.c: Likewise.
16684 * libio/filedoalloc.c: Likewise.
16685 * libio/fileops.c: Likewise.
16686 * libio/genops.c: Likewise.
16687 * libio/iofclose.c: Likewise.
16688 * libio/iofdopen.c: Likewise.
16689 * libio/iofopen.c: Likewise.
16690 * libio/iofopen64.c: Likewise.
16691 * libio/iogetdelim.c: Likewise.
16692 * libio/iopopen.c: Likewise.
16693 * libio/obprintf.c: Likewise.
16694 * libio/oldfileops.c: Likewise.
16695 * libio/oldiofclose.c: Likewise.
16696 * libio/oldiofdopen.c: Likewise.
16697 * libio/oldiofopen.c: Likewise.
16698 * libio/oldiopopen.c: Likewise.
16699 * libio/wfiledoalloc.c: Likewise.
16700 * libio/wgenops.c: Likewise.
16701 * locale/programs/xmalloc.c: Likewise.
16702 * misc/syslog.c: Likewise.
16703 * stdio-common/xbug.c: Likewise.
16704 * string/memchr.c: Likewise.
16705 * string/memcmp.c: Likewise.
16706 * string/memrchr.c: Likewise.
16707 * string/rawmemchr.c: Likewise.
16708 * sysdeps/posix/getcwd.c: Likewise.
16709 * time/strftime_l.c: Likewise.
16710
167112012-01-30 Joseph Myers <joseph@codesourcery.com>
16712
16713 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16714 * config.make.in (config-cflags-sse2avx): Define.
16715 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16716 Fix typo.
16717
167182012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16719
16720 * scripts/config.guess: Update from upstream config git repository.
16721 * scripts/config.sub: Likewise.
16722
167232012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16724
16725 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16726 (EM_NUM): Update.
16727 (R_TILEPRO_*, R_TILEGX_*): New macros.
16728
16729 * scripts/firstversions.awk: Fix bug in version range handling.
16730
16731 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16732
16733 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16734
16735 * include/sys/epoll.h: New file.
16736 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16737 libc_hidden_def.
16738
167392012-01-28 Ulrich Drepper <drepper@gmail.com>
16740
16741 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16742 Avoid unnecessary __WORDSIZE == 64 test.
16743 (fmaxf): Use VEX format if possible.
16744 (fmax): Likewise.
16745 (fminf): Likewise.
16746 (fmin): Likewise.
16747
16748 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16749 * math/math_private.h: Remove libc_fegetround* and
16750 libc_fesetround*.
16751 * sysdeps/i386/configure.in: Check for -msse2avx.
16752 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16753 also if SSE2AVX is defined.
16754 Remove libc_fegetround* and libc_fesetround*.
16755 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16756 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16757 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16758 of HAS_YMM_USABLE.
16759 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16760 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16761 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16762 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16763 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16764
16765 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16766
167672012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16768
16769 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16770 size is not set.
16771 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16772
167732012-01-27 Ulrich Drepper <drepper@gmail.com>
16774
16775 [BZ #13618]
16776 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16777 relocation.
16778 * Makeconfig (libm): Define.
16779 * elf/Makefile: Add rules to build and run tst-relsort1.
16780 * elf/tst-relsort1.c: New file.
16781 * elf/tst-relsort1mod1.c: New file.
16782 * elf/tst-relsort1mod2.c: New file.
16783
167842012-01-27 Joseph Myers <joseph@codesourcery.com>
16785
16786 * math/s_ldexp.c: Remove __STDC__ conditionals.
16787 * math/s_ldexpf.c: Likewise.
16788 * math/s_ldexpl.c: Likewise.
16789 * math/s_nextafter.c: Likewise.
16790 * math/s_nexttowardf.c: Likewise.
16791 * math/s_significand.c: Likewise.
16792 * math/s_significandf.c: Likewise.
16793 * math/s_significandl.c: Likewise.
16794 * math/w_jnl.c: Likewise.
16795 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16796 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16797 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16798 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16799 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16800 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16801 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16802 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16803 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16804 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16805 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16807 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16808 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16809 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16810 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16811 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16812 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16814 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16815 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16816 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16817 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16818 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16819 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16820 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16821 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16822 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16823 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16824 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16825 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16826 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16827 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16828 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16829 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16830 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16831 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16832 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16833 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16834 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16835 * sysdeps/ieee754/k_standard.c: Likewise.
16836 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16854 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16855 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16867 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16868 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16872 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16874 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16876 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16878 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16879 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16880 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16881 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16882 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16884 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16885 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16886 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16887 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16888 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16889 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16890 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16891 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16892 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16893 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16894 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16895 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16896 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16897 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16898 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16899 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16900 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16901 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16902 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16903 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16904 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16905 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16906 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16907 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16908 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16909 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16910 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16911 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16912 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16913 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16914 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16915 * sysdeps/ieee754/s_matherr.c: Likewise.
16916 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16917 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16920
169212012-01-26 Joseph Myers <joseph@codesourcery.com>
16922
16923 * crypt/md5.h: Remove __STDC__ conditionals.
16924 * libio/libioP.h: Likewise.
16925 * locale/programs/config.h: Likewise.
16926 * sysdeps/generic/sysdep.h: Likewise.
16927 * sysdeps/i386/asm-syntax.h: Likewise.
16928 * sysdeps/s390/asm-syntax.h: Likewise.
16929 * sysdeps/unix/sysdep.h: Likewise.
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16932
169332012-01-26 Joseph Myers <joseph@codesourcery.com>
16934
16935 * libio/libio.h: Remove __STDC__ conditionals.
16936 * malloc/obstack.h: Likewise.
16937 * math/complex.h: Likewise.
16938 * math/math.h: Likewise.
16939 * sysdeps/generic/_G_config.h: Likewise.
16940 * sysdeps/gnu/_G_config.h: Likewise.
16941 * sysdeps/mach/hurd/_G_config.h: Likewise.
16942 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16943 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16944 * sysdeps/sparc/bits/mathdef.h: Likewise.
16945
169462012-01-26 Ulrich Drepper <drepper@gmail.com>
16947
16948 [BZ #13583]
16949 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16950 Clean up HAS_* macros.
16951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16952 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16953 possible.
16954 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16955 HAS_AVX.
16956 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16957 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16958 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16959 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16960 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16961
169622012-01-25 Joseph Myers <joseph@codesourcery.com>
16963
16964 * elf/tst-unique3.cc (gets): Remove declaration.
16965 * elf/tst-unique3lib.cc (gets): Likewise.
16966 * elf/tst-unique3lib2.cc (gets): Likewise.
16967 * elf/tst-unique4.cc (gets): Likewise.
16968
169692012-01-24 Ulrich Drepper <drepper@gmail.com>
16970
16971 * include/stdio.h: Add C++ protection. Add gets declarations and
16972 definitions.
16973 * debug/tst-chk1.c: Don't declare gets here.
16974 * stdio-common/tst-gets.c: Likewise.
16975
169762012-01-24 Joseph Myers <joseph@codesourcery.com>
16977
16978 * posix/glob: Remove directory.
16979
169802012-01-24 Joseph Myers <joseph@codesourcery.com>
16981
16982 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16983
169842012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16985
16986 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16987 of the non-standard EPFNOSUPPORT.
16988
169892011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16990
16991 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16992 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16993 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16994
169952012-01-21 Ulrich Drepper <drepper@gmail.com>
16996
16997 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16998
169992012-01-20 Ulrich Drepper <drepper@gmail.com>
17000
17001 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17002 transient errors.
17003 * nscd/grpcache.c (cache_addgr): Likewise.
17004 * nscd/hstcache.c (cache_addhst): Likewise.
17005 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17006 * nscd/pwdcache.c (cache_addpw): Likewise.
17007 * nscd/servicescache.c (cache_addserv): Likewise.
17008
170092012-01-16 Ulrich Drepper <drepper@gmail.com>
17010
17011 * malloc/malloc.c: Various cleanups.
17012 * malloc/hooks.c: Likewise.
17013
17014 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17015 * stdlib/bug-fmtmsg1.c: New file.
17016
17017 * stdlib/fmtmsg.c (init): Add missing unlock.
17018 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17019
170202012-01-12 Marek Polacek <polacek@redhat.com>
17021
17022 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17023 and _GNU_SOURCE.
17024
170252012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17026
17027 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17028 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17029 macro to ensure uniqueness of label name.
17030 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17031 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17032
170332012-01-11 Ulrich Drepper <drepper@gmail.com>
17034
17035 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17036
17037 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17038 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17039 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17040 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17041
170422012-01-10 Ulrich Drepper <drepper@gmail.com>
17043
17044 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17045
17046 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17047 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17048 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17049
17050 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17051
17052 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17053 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17054 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17056
17057 * math/bits/math-finite.h: Add ldexp support.
17058
170592012-01-10 Marek Polacek <polacek@redhat.com>
17060
17061 * locale/programs/localedef.h (show_archive_content): Add noreturn
17062 attribute.
17063
170642012-01-09 Ulrich Drepper <drepper@gmail.com>
17065
17066 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17067
170682012-01-08 Ulrich Drepper <drepper@gmail.com>
17069
17070 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17071
17072 * io/Makefile (headers): Add bits/poll2.h.
17073
170742011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17075
17076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17077 typo #include statement.
17078
170792012-01-08 Ulrich Drepper <drepper@gmail.com>
17080
17081 * include/sys/cdefs.h: Define __attribute_alloc_size.
17082 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17083 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17084 * elf/pldd.c: Likewise.
17085 * iconv/iconv_charmap.c: Likewise.
17086 * iconv/iconvconfig.c: Likewise.
17087 * iconv/strtab.c: Likewise.
17088 * locale/programs/locale.c: Likewise.
17089 * locale/programs/localedef.h: Likewise.
17090 * locale/programs/simple-hash.c: Likewise.
17091 * nscd/nscd.h: Likewise.
17092 * nss/makedb.c: Likewise.
17093 * sysdeps/generic/ldconfig.h: Likewise.
17094 * locale/programs/localedef.c: Remove xmalloc prototype.
17095 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17096
170972012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17098
17099 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17100 appropriate.
17101
171022012-01-08 Ulrich Drepper <drepper@gmail.com>
17103
17104 * math/Makefile (tests): Add tst-CMPLX.
17105 * math/tst-CMPLX.c: New file.
17106
17107 * math/complex.h (CMPLXL): Fix typo.
17108
17109 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17110 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17111 GLIBC_2.16.
17112 * debug/tst-chk1.c: Add poll and ppoll tests.
17113 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17114 * include/sys/poll.h: Add hidden proto for ppoll.
17115 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17116 * sysdeps/mach/hurd/ppoll.c: Likewise.
17117 * io/ppoll.c: Likewise.
17118 * debug/poll_chk.c: New file.
17119 * debug/ppoll_chk.c: New file.
17120 * include/bits/poll2.h: New file.
17121 * io/bits/poll2.h: New file.
17122
17123 [BZ #1350]
17124 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17125
17126 * configure.in: static is always set to yes. Remove.
17127 * config.make.in: Don't set build-static.
17128 * Makeconfig: Remove use of build-static.
17129 * dlfcn/Makefile: Likewise.
17130 * elf/Makefile: Likewise.
17131 * math/Makefile: Likewise.
17132 * misc/Makefile: Likewise.
17133 * nptl/Makefile: Likewise.
17134 * sysdeps/mach/hurd/Makefile: Likewise.
17135
17136 * configure.in: PWD_P is not used anymore.
17137 * config.make.in: Remove PWD_P entry.
17138
17139 * configure.in: Remove last remnants of RANLIB.
17140 No need to check for signed size_t anymore.
17141 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17142 and IA-64.
17143 Remove __builtin_expect test because we require at least gcc 3.4.
17144 * aclocal.m4: Likewise.
17145
17146 * wcsmbs/mbrtoc16.c: Implement using towc function.
17147 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17148 * wcsmbs/wcsmbsload.c: Likewise.
17149 * iconv/gconv_simple.c: Likewise.
17150 * iconv/gconv_int.h: Likewise.
17151 * iconv/gconv_builtin.h: Likewise.
17152 * iconv/iconv_prog.c: Remove CHAR16 handling.
17153
17154 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17155
17156 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17157
17158 * configure.in: Remove --with-elf and --enable-bounded options.
17159 Dont set base_machine for ia64. More non-ELF conditions removed.
17160 Remove testing and setting of leading underscore information.
17161 * config.make.in (build-bounded): Set to no.
17162 * config.h.in: Remove NO_UNDERSCORES entry.
17163 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17164 them.
17165 * csu/start.c: Remove !NO_UNDERSCORE code.
17166 * locale/localeinfo.h: Likewise.
17167 * sysdeps/generic/machine-gmon.h: Likewise.
17168 * sysdeps/generic/sysdep.h: Likewise.
17169 * sysdeps/i386/sysdep.h: Likewise.
17170 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17171 * sysdeps/mach/sysdep.h: Likewise.
17172 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17173 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17174 * sysdeps/sh/sysdep.h: Likewise.
17175 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17176 * sysdeps/unix/i386/sysdep.S: Likewise.
17177 * sysdeps/unix/sparc/start.c: Likewise.
17178 * sysdeps/unix/sparc/sysdep.S: Likewise.
17179 * sysdeps/unix/sparc/sysdep.h: Likewise.
17180 * sysdeps/unix/start.c: Likewise.
17181 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17182 * sysdeps/x86_64/sysdep.h: Likewise.
17183
171842012-01-07 Ulrich Drepper <drepper@gmail.com>
17185
17186 [BZ #13553]
17187 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17188 for non-gcc.
17189 * argp/argp-fmtstream.h: Use const instead __const.
17190 * argp/argp.h: Likewise.
17191 * assert/assert.h: Likewise.
17192 * bits/fenv.h: Likewise.
17193 * bits/sched.h: Likewise.
17194 * bits/sigset.h: Likewise.
17195 * bits/sigthread.h: Likewise.
17196 * catgets/nl_types.h: Likewise.
17197 * conform/data/pthread.h-data: Likewise.
17198 * crypt/crypt-private.h: Likewise.
17199 * crypt/crypt.h: Likewise.
17200 * crypt/crypt_util.c: Likewise.
17201 * ctype/ctype.h: Likewise.
17202 * debug/execinfo.h: Likewise.
17203 * debug/mbsnrtowcs_chk.c: Likewise.
17204 * debug/mbsrtowcs_chk.c: Likewise.
17205 * debug/wcsnrtombs_chk.c: Likewise.
17206 * debug/wcsrtombs_chk.c: Likewise.
17207 * debug/wcstombs_chk.c: Likewise.
17208 * dirent/dirent.h: Likewise.
17209 * dlfcn/dlfcn.h: Likewise.
17210 * elf/neededtest4.c: Likewise.
17211 * grp/grp.h: Likewise.
17212 * gshadow/gshadow.h: Likewise.
17213 * iconv/gconv.h: Likewise.
17214 * iconv/gconv_int.h: Likewise.
17215 * iconv/gconv_simple.c: Likewise.
17216 * iconv/iconv.h: Likewise.
17217 * iconv/loop.c: Likewise.
17218 * iconv/skeleton.c: Likewise.
17219 * include/aio.h: Likewise.
17220 * include/aliases.h: Likewise.
17221 * include/argz.h: Likewise.
17222 * include/arpa/inet.h: Likewise.
17223 * include/assert.h: Likewise.
17224 * include/dirent.h: Likewise.
17225 * include/dlfcn.h: Likewise.
17226 * include/execinfo.h: Likewise.
17227 * include/fcntl.h: Likewise.
17228 * include/fenv.h: Likewise.
17229 * include/glob.h: Likewise.
17230 * include/grp.h: Likewise.
17231 * include/libintl.h: Likewise.
17232 * include/mntent.h: Likewise.
17233 * include/netdb.h: Likewise.
17234 * include/pwd.h: Likewise.
17235 * include/rpc/netdb.h: Likewise.
17236 * include/sched.h: Likewise.
17237 * include/search.h: Likewise.
17238 * include/shadow.h: Likewise.
17239 * include/signal.h: Likewise.
17240 * include/stdio.h: Likewise.
17241 * include/stdlib.h: Likewise.
17242 * include/string.h: Likewise.
17243 * include/sys/socket.h: Likewise.
17244 * include/sys/stat.h: Likewise.
17245 * include/sys/statfs.h: Likewise.
17246 * include/sys/statvfs.h: Likewise.
17247 * include/sys/syslog.h: Likewise.
17248 * include/sys/time.h: Likewise.
17249 * include/sys/uio.h: Likewise.
17250 * include/time.h: Likewise.
17251 * include/unistd.h: Likewise.
17252 * include/utmp.h: Likewise.
17253 * include/wchar.h: Likewise.
17254 * include/wctype.h: Likewise.
17255 * inet/aliases.h: Likewise.
17256 * inet/arpa/inet.h: Likewise.
17257 * inet/netinet/ether.h: Likewise.
17258 * inet/netinet/in.h: Likewise.
17259 * intl/libintl.h: Likewise.
17260 * io/bits/fcntl2.h: Likewise.
17261 * io/fcntl.h: Likewise.
17262 * io/ftw.h: Likewise.
17263 * io/sys/poll.h: Likewise.
17264 * io/sys/stat.h: Likewise.
17265 * io/sys/statfs.h: Likewise.
17266 * io/sys/statvfs.h: Likewise.
17267 * io/utime.h: Likewise.
17268 * libio/bits/stdio.h: Likewise.
17269 * libio/bits/stdio2.h: Likewise.
17270 * libio/libio.h: Likewise.
17271 * libio/libioP.h: Likewise.
17272 * libio/stdio.h: Likewise.
17273 * locale/lc-ctype.c: Likewise.
17274 * locale/locale.h: Likewise.
17275 * login/utmp.h: Likewise.
17276 * malloc/arena.c: Likewise.
17277 * malloc/malloc.c: Likewise.
17278 * malloc/malloc.h: Likewise.
17279 * malloc/mcheck.c: Likewise.
17280 * malloc/mtrace.c: Likewise.
17281 * math/bits/mathcalls.h: Likewise.
17282 * math/fenv.h: Likewise.
17283 * math/math_private.h: Likewise.
17284 * misc/bits/error.h: Likewise.
17285 * misc/bits/syslog.h: Likewise.
17286 * misc/err.h: Likewise.
17287 * misc/error.h: Likewise.
17288 * misc/fstab.h: Likewise.
17289 * misc/mntent.h: Likewise.
17290 * misc/regexp.h: Likewise.
17291 * misc/search.h: Likewise.
17292 * misc/sgtty.h: Likewise.
17293 * misc/sys/mman.h: Likewise.
17294 * misc/sys/syslog.h: Likewise.
17295 * misc/sys/uio.h: Likewise.
17296 * misc/sys/xattr.h: Likewise.
17297 * misc/ttyent.h: Likewise.
17298 * nis/rpcsvc/ypclnt.h: Likewise.
17299 * nss/nss.h: Likewise.
17300 * posix/bits/unistd.h: Likewise.
17301 * posix/fnmatch.h: Likewise.
17302 * posix/glob.h: Likewise.
17303 * posix/sched.h: Likewise.
17304 * posix/spawn.h: Likewise.
17305 * posix/sys/wait.h: Likewise.
17306 * posix/unistd.h: Likewise.
17307 * posix/wordexp.h: Likewise.
17308 * pwd/pwd.h: Likewise.
17309 * resolv/netdb.h: Likewise.
17310 * resource/sys/resource.h: Likewise.
17311 * rt/aio.h: Likewise.
17312 * rt/bits/mqueue2.h: Likewise.
17313 * rt/mqueue.h: Likewise.
17314 * shadow/shadow.h: Likewise.
17315 * signal/signal.h: Likewise.
17316 * socket/send.c: Likewise.
17317 * socket/sendto.c: Likewise.
17318 * socket/sys/socket.h: Likewise.
17319 * stdio-common/printf.h: Likewise.
17320 * stdlib/bits/stdlib.h: Likewise.
17321 * stdlib/fmtmsg.h: Likewise.
17322 * stdlib/monetary.h: Likewise.
17323 * stdlib/stdlib.h: Likewise.
17324 * stdlib/ucontext.h: Likewise.
17325 * streams/stropts.h: Likewise.
17326 * string/argz.h: Likewise.
17327 * string/bits/string2.h: Likewise.
17328 * string/string.h: Likewise.
17329 * string/strings.h: Likewise.
17330 * sunrpc/rpc/auth.h: Likewise.
17331 * sunrpc/rpc/auth_des.h: Likewise.
17332 * sunrpc/rpc/clnt.h: Likewise.
17333 * sunrpc/rpc/netdb.h: Likewise.
17334 * sunrpc/rpc/pmap_clnt.h: Likewise.
17335 * sunrpc/rpc/xdr.h: Likewise.
17336 * sysdeps/generic/inttypes.h: Likewise.
17337 * sysdeps/generic/net/if.h: Likewise.
17338 * sysdeps/generic/sys/swap.h: Likewise.
17339 * sysdeps/gnu/net/if.h: Likewise.
17340 * sysdeps/gnu/utmpx.h: Likewise.
17341 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17342 * sysdeps/i386/i486/bits/string.h: Likewise.
17343 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17344 * sysdeps/s390/bits/string.h: Likewise.
17345 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17346 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17347 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17348 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17349 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17350 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17351 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17352 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17353 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17354 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17355 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17356 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17357 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17358 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17359 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17360 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17361 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17363 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17364 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17365 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17366 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17367 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17368 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17369 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17370 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17371 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17372 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17373 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17374 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17375 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17376 * sysvipc/sys/ipc.h: Likewise.
17377 * sysvipc/sys/msg.h: Likewise.
17378 * sysvipc/sys/sem.h: Likewise.
17379 * sysvipc/sys/shm.h: Likewise.
17380 * termios/termios.h: Likewise.
17381 * time/sys/time.h: Likewise.
17382 * time/time.h: Likewise.
17383 * wcsmbs/bits/wchar2.h: Likewise.
17384 * wcsmbs/uchar.h: Likewise.
17385 * wcsmbs/wchar.h: Likewise.
17386 * wctype/wctype.h: Likewise.
17387
17388 [BZ #13551]
17389 * Makeconfig: Remove all but ELF support including AIX support.
17390 * Makerules: Likewise.
17391 * config.h.in: Likewise.
17392 * config.make.in: Likewise.
17393 * configure: Likewise.
17394 * configure.in: Likewise.
17395 * csu/Makefile: Likewise.
17396 * csu/version.c: Likewise.
17397 * debug/Makefile: Likewise.
17398 * dlfcn/Makefile: Likewise.
17399 * elf/Makefile: Likewise.
17400 * extra-lib.mk: Likewise.
17401 * iconv/Makefile: Likewise.
17402 * include/libc-symbols.h: Likewise.
17403 * include/shlib-compat.h: Likewise.
17404 * resolv/Makefile: Likewise.
17405 * resolv/res_libc.c: Likewise.
17406 * rt/Makefile: Likewise.
17407 * sysdeps/i386/asm-syntax.h: Likewise.
17408 * sysdeps/i386/sysdep.h: Likewise.
17409 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17410 * sysdeps/mach/sysdep.h: Likewise.
17411 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17412 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17413 * sysdeps/s390/asm-syntax.h: Likewise.
17414 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17415 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17416 * sysdeps/sh/sysdep.h: Likewise.
17417 * sysdeps/unix/sparc/sysdep.h: Likewise.
17418 * sysdeps/wordsize-32/divdi3.c: Likewise.
17419 * sysdeps/x86_64/sysdep.h: Likewise.
17420
17421 * argp/Versions: Remove _argp_unlock_xxx.
17422
17423 [BZ #13559]
17424 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17425 * abilist/libBrokenLocale.abilist: Likewise.
17426 * abilist/libanl.abilist: Likewise.
17427 * abilist/libc.abilist: Likewise.
17428 * abilist/libcrypt.abilist: Likewise.
17429 * abilist/libdl.abilist: Likewise.
17430 * abilist/libm.abilist: Likewise.
17431 * abilist/libnsl.abilist: Likewise.
17432 * abilist/libpthread.abilist: Likewise.
17433 * abilist/libresolv.abilist: Likewise.
17434 * abilist/librt.abilist: Likewise.
17435 * abilist/libthread_db.abilist: Likewise.
17436 * abilist/libutil.abilist: Likewise.
17437 * abilist/libnss_db.abilist: New file.
17438
17439 * scripts/abilist.awk: Add support for indirect functions.
17440
17441 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17442
17443 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17444
17445 * shlib-versions: Remove entries for ports architectures.
17446
17447 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17448 files in ports.
17449 * elf/stackguard-macros.h: Remove support for IA-64.
17450 * elf/tst-auditmod1.c: Likewise.
17451 * sysdeps/generic/ldsodefs.h: Likewise.
17452
17453 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17454 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17455 configure files.
17456
17457 [BZ #13552]
17458 * configure.in: Remove --enable-omitfp support.
17459 * FAQ.in: Adjust.
17460 * config.make.in: Likewise.
17461 * Makeconfig: Likewise.
17462 * manual/install.texi: Likewise.
17463
17464 In case anyone cares, the IA-64 architecture could move to ports.
17465 * sysdeps/ia64/*: Removed.
17466 * sysdeps/unix/sysv/linux/ia64/*: Removed.
17467 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17468
17469 [BZ #13555]
17470 * configure.in: Remove entries for unsupported architectures.
17471
17472 [BZ #13533]
17473 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17474 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17475 routines.
17476 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17477 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17478 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17479 fall back to using wcrtomb.
17480 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17481 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17482 renaming.
17483 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17484 * wcsmbs/tst-c16c32-1.c: New file.
17485
17486 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17487 local variable.
17488
17489 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17490
17491 * elf/tst-unique3.cc: Add explicit declaration of gets.
17492 * elf/tst-unique3lib.cc: Likewise.
17493 * elf/tst-unique3lib2.cc: Likewise.
17494 * elf/tst-unique4.cc: Likewise.
17495
17496 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17497
174982012-01-06 Joseph Myers <joseph@codesourcery.com>
17499
17500 [BZ #13566]
17501 * assert/assert.h (static_assert): Don't define for C++.
17502 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17503 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17504
175052012-01-03 Ulrich Drepper <drepper@gmail.com>
17506
17507 * iconv/loop.c (single loop): Fix assertion in storing of
17508 remaining bytes.
17509
17510 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17511
175122012-01-01 Ulrich Drepper <drepper@gmail.com>
17513
17514 * posix/getconf.c: Update copyright year.
17515 * nss/getent.c: Likewise.
17516 * nss/makedb.c: Likewise.
17517 * iconv/iconvconfig.c: Likewise.
17518 * iconv/iconv_prog.c: Likewise.
17519 * elf/ldconfig.c: Likewise.
17520 * elf/pldd.c: Likewise.
17521 * elf/sotruss.ksh: Likewise.
17522 * catgets/gencat.c: Likewise.
17523 * csu/version.c: Likewise.
17524 * elf/ldd.bash.in: Likewise.
17525 * elf/sprof.c (print_version): Likewise.
17526 * locale/programs/locale.c: Likewise.
17527 * locale/programs/localedef.c: Likewise.
17528 * login/programs/pt_chown.c: Likewise.
17529 * nscd/nscd.c (print_version): Likewise.
17530 * debug/xtrace.sh: Likewise.
17531 * malloc/memusage.sh: Likewise.
17532 * malloc/mtrace.pl: Likewise.
17533 * debug/catchsegv.sh: Likewise.
17534
175352011-12-30 Jakub Jelinek <jakub@redhat.com>
17536
17537 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17538 pure attribute.
17539
175402011-12-24 Ulrich Drepper <drepper@gmail.com>
17541
17542 [BZ #13533]
17543 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17544 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17545 transformations.
17546 * iconv/gconv_int.h: Likewise.
17547 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17548 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17549 from libc for GLIBC_2.16.
17550 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17551 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17552 * wcsmbs/uchar.h: Really define mbstate_t.
17553 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17554 * wcsmbs/c16rtomb.c: New file.
17555 * wcsmbs/mbrtoc16.c: New file.
17556 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17557 for C/POSIX locale.
17558 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17559 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17560
17561 * wcsmbs/wchar.h: Add missing __restrict.
17562
175632011-12-23 Ulrich Drepper <drepper@gmail.com>
17564
17565 [BZ #13532]
17566 * time/Makefile (routines): Add timespec_get.
17567 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17568 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17569 timespec for ISO C11.
17570 * time/timespec_get.c: New file.
17571 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17572 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17573
17574 [BZ #13531]
17575 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17576 * stdlib/stdlib.h: Declare aligned_alloc.
17577 * Versions.def: Add GLIBC_2.16 for libc.
17578 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17579
17580 [BZ 13527]
17581 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17582 ISO C11.
17583
17584 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17585 code.
17586
17587 [BZ #13528]
17588 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17589
17590 [BZ #13529]
17591 * assert/assert.h (static_assert): Define.
17592
17593 * version.h: Update for 2.16 development version.
17594
17595 [BZ #13526]
17596 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17597 _ISOC11_SOURCE.
17598
17599 * version.h (RELEASE): Bump for 2.15 release.
17600 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17601
17602 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17603 Patch by Marek Polacek <mpolacek@redhat.com>.
17604
17605 * bits/byteswap.h: Protect long long constants with __extension__.
17606 * sysdeps/i386/bits/byteswap.h: Likewise.
17607 * sysdeps/ia64/bits/byteswap.h: Likewise.
17608 * sysdeps/s390/bits/byteswap.h: Likewise.
17609 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17610
176112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17612
17613 [BZ #13540]
17614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17615 destination buffer.
17616 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17617
176182011-12-23 Marek Polacek <polacek@redhat.com>
17619
17620 * elf/dl-addr.c (determine_info): Add inline keyword.
17621 * elf/tst-auditmod4b.c (check_avx): Likewise.
17622 * elf/tst-auditmod6b.c (check_avx): Likewise.
17623 * elf/tst-auditmod6c.c (check_avx): Likewise.
17624 * elf/tst-auditmod7b.c (check_avx): Likewise.
17625
176262011-12-23 Ulrich Drepper <drepper@gmail.com>
17627
17628 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17629 !__SSE_MATH__.
17630
176312011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17632
17633 [BZ #13540]
17634 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17635 processing for last bytes.
17636
176372011-08-06 Bruno Haible <bruno@clisp.org>
17638
17639 [BZ #13061]
17640 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17641 U+0385, not to U+1FEE.
17642
17643 [BZ #13062]
17644 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17645 entry for U+00A5 U+0301.
17646
176472011-12-22 Ulrich Drepper <drepper@gmail.com>
17648
17649 [BZ #13166]
17650 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17651 buffer for the output is too small.
17652
17653 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17654 optimization.
17655
17656 [BZ #13185]
17657 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17658 SSE flags if possible.
17659
176602011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17661
17662 [BZ #13540]
17663 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17664 processing for last bytes.
17665
176662011-12-22 Joseph Myers <joseph@codesourcery.com>
17667
17668 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17669 (syscall-list-default-options, syscall-list-default-condition)
17670 (syscall-list-includes): Define.
17671 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17672 list of ABIs and options and #if conditions for each ABI. Do not
17673 handle common syscalls between ABIs specially.
17674 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17675 Remove.
17676 (syscall-list-variants, syscall-list-32bit-options)
17677 (syscall-list-32bit-condition, syscall-list-64bit-options)
17678 (syscall-list-64bit-condition): Define.
17679 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17680 (syscall-list-variants, syscall-list-32bit-options)
17681 (syscall-list-32bit-condition, syscall-list-64bit-options)
17682 (syscall-list-64bit-condition): Define.
17683 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17684 Remove.
17685 (syscall-list-variants, syscall-list-32bit-options)
17686 (syscall-list-32bit-condition, syscall-list-64bit-options)
17687 (syscall-list-64bit-condition): Define.
17688 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17689 Remove.
17690 (syscall-list-variants, syscall-list-32bit-options)
17691 (syscall-list-32bit-condition, syscall-list-64bit-options)
17692 (syscall-list-64bit-condition): Define.
17693
176942011-12-22 Ulrich Drepper <drepper@gmail.com>
17695
17696 * locale/iso-639.def: Add brx entry.
17697
17698 [BZ #13328]
17699 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17700 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17701
17702 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17703 __feraiseexcept_renamed.
17704
177052011-12-21 Ulrich Drepper <drepper@gmail.com>
17706
17707 [BZ #13538]
17708 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17709 EPOLLET with unsigned values.
17710 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17712
17713 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17714 to large cancellation.
17715 * math/s_cacoshf.c: Likewise.
17716 * math/s_cacoshl.c: Likewise.
17717
177182011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17719
17720 [BZ #13305]
17721 [BZ #12786]
17722 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17723 * math/s_cacoshf.c: Likewise.
17724 * math/s_cacoshl.c: Likewise.
17725
177262011-12-21 Ulrich Drepper <drepper@gmail.com>
17727
17728 [BZ #13439]
17729 * iconv/gconv.h: Define __GCONV_SWAP.
17730 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17731 * iconvdata/utf-16.c: Likewise.
17732 * iconvdata/utf-32.c: Likewise.
17733
177342011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17735
17736 [BZ #13524]
17737 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17738 numerator after shifting it by one limb.
17739
177402011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17741
17742 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17743 under [__USE_EXTERN_INLINES].
17744
177452011-12-17 Ulrich Drepper <drepper@gmail.com>
17746
17747 [BZ #13446]
17748 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17749
177502011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17751
17752 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17753 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17754 optimized code.
17755 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17756 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17757 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17758 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17759 for strncasecmp/strncasecmp_l compilation.
17760 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17761 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17762
177632011-12-08 Marek Polacek <mpolacek@redhat.com>
17764
17765 [BZ #13484]
17766 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17767 of __asm__.
17768
177692011-12-17 Ulrich Drepper <drepper@gmail.com>
17770
17771 [BZ #13506]
17772 * time/tzfile.c (__tzfile_read): Check values from file header.
17773
177742011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17775
17776 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17777 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17778 * powerpc/powerpc32/dl-start.S: Likewise.
17779 * powerpc/powerpc32/elf/start.S: Likewise.
17780 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17781 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17782 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17783 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17784 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17785 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17786 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17787 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17788 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17789 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17790 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17791 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17792 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17793 * powerpc/powerpc32/memset.S: Likewise.
17794 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17795 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17796 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17797 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17798 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17799 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17800 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17801 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17802 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17803 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17804 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17805 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17806 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17807
178082011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17809
17810 * math/libm-test.inc: Added more nearbyint tests.
17811 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17812 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17813 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17814 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17815
178162011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17817
17818 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17819 FD_CLOEXEC.
17820
178212011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17822
17823 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17824 Add wcscpy-ssse3 wcscpy-c.
17825 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17826 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17827 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17828 * sysdeps/x86_64/wcschr.S: New file.
17829 * sysdeps/x86_64/wcsrchr.S: New file.
17830 * string/test-strcmp.c: Remove checking of wcscmp function for
17831 wrong alignments.
17832 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17833 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17834 wcsrchr-sse2 wcsrchr-c.
17835 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17836 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17837 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17838 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17839 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17840 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17841 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17842 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17843 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17844 * wcsmbc/wcschr.c (WCSCHR): New macro.
17845
178462011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17847
17848 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17849 * wcsmbs/test-wcsrchr.c: New file.
17850 * string/test-strrchr.c: Add wcsrchr support.
17851 (WIDE): New macro.
17852 * wcsmbs/test-wcscpy.c: New file.
17853 * string/test-strcpy.c: Add wcscpy support.
17854 (WIDE): New macro.
17855
178562011-12-10 Ulrich Drepper <drepper@gmail.com>
17857
17858 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17859 the inner loop.
17860
178612011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17862
17863 [BZ #13472]
17864 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17865
178662011-12-04 Ulrich Drepper <drepper@gmail.com>
17867
17868 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17869 Minor optimizations.
17870
17871 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17872 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17873 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17874
178752011-12-03 Ulrich Drepper <drepper@gmail.com>
17876
17877 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17878 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17879 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17880 for gcc to avoid warnings.
17881 * inet/Makefile (tests): Add tst-checks.
17882 * inet/tst-checks.c: New file.
17883
17884 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17885 warning.
17886
17887 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17888 __wmemcmp_sse2.
17889
17890 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17891 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17892
17893 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17894
178952011-12-02 Ulrich Drepper <drepper@gmail.com>
17896
17897 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17898 problem.
17899
17900 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17901
179022011-11-29 Joseph Myers <joseph@codesourcery.com>
17903
17904 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17905 conditional on GCC version.
17906 (__arch_compare_and_exchange_val_8_acq)
17907 (__arch_compare_and_exchange_val_16_acq)
17908 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17909 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17910 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17911
179122011-12-02 Joseph Myers <joseph@codesourcery.com>
17913
17914 * sysdeps/sh/backtrace.c: New file.
17915
179162011-12-02 Andreas Schwab <schwab@redhat.com>
17917
17918 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17919 parenthesis.
17920
179212011-12-01 Andreas Schwab <schwab@redhat.com>
17922
17923 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17924 falling back to utime.
17925
179262011-11-30 Andreas Schwab <schwab@redhat.com>
17927
17928 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17929 expectations for float.
17930
179312011-11-29 Andreas Schwab <schwab@redhat.com>
17932
17933 * locale/weight.h (findidx): Add parameter len.
17934 * locale/weightwc.h (findidx): Likewise.
17935 * posix/fnmatch_loop.c (FCT): Adjust caller.
17936 * posix/regcomp.c (build_equiv_class): Likewise.
17937 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17938 * posix/regexec.c (check_node_accept_bytes): Likewise.
17939 * string/strcoll_l.c (STRCOLL): Likewise.
17940 * string/strxfrm_l.c (STRXFRM): Likewise.
17941
179422011-11-17 Ulrich Drepper <drepper@gmail.com>
17943
17944 * Makefile.in: Remove CVSOPT handling.
17945 * configure.in: Remove use of AC_REVISION.
17946 * iconvdata/Makefile (distribute): No need to filter out CVS.
17947 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17948 handling.
17949
179502011-11-16 Andreas Schwab <schwab@redhat.com>
17951
17952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17953 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17954 [USE_AS_STRNCASECMP_L]: Likewise.
17955 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17956 NO_TLS_DIRECT_SEG_REFS.
17957 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17958 Fix argument offsets for non-PIC.
17959 [USE_AS_STRNCASECMP_L]: Likewise.
17960 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17961 NO_TLS_DIRECT_SEG_REFS.
17962
179632011-11-15 Ulrich Drepper <drepper@gmail.com>
17964
17965 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17966 O_CLOEXEC.
17967 * locale/loadlocale.c (_nl_load_locale): Likewise.
17968
179692011-11-15 Andreas Schwab <schwab@redhat.com>
17970
17971 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17972 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17973 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17974 (SYSCALL_GETTIME): Set errno on error.
17975
17976 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17977 count references to noai6ai_cached.
17978
179792011-11-15 Ulrich Drepper <drepper@gmail.com>
17980
17981 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17982
17983 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17984 FD_CLOEXEC for /proc/self/maps.
17985
17986 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17987 FD_CLOEXEC for /proc/meminfo.
17988
17989 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17990 gai.conf.
17991
17992 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17993 FD_CLOEXEC for given file.
17994
17995 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17996
17997 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17998 FD_CLOEXEC for /etc/hosts.
17999 (_gethtent): Likewise.
18000
18001 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18002
18003 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18004 cancellation and set FD_CLOEXEC for /etc/netgroup.
18005
18006 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18007 reading /etc/publickey.
18008
18009 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18010 allow cancellation when reading /etc/group.
18011
18012 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18013 cancellation.
18014 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18015
18016 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18017 when using data file.
18018
18019 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18020
18021 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18022 (write_nis_obj): Use "c" and "e" in fopen.
18023
18024 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18025
18026 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18027
18028 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18029
18030 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18031
18032 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18033 locale.alias.
18034
18035 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18036
18037 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18038
18039 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18040
18041 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18042 file parsing and set FD_CLOEXEC.
18043
180442011-11-14 Ulrich Drepper <drepper@gmail.com>
18045
18046 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18047
180482011-11-14 Andreas Schwab <schwab@redhat.com>
18049
18050 * malloc/arena.c (arena_get2): Don't call reused_arena when
18051 _int_new_arena failed.
18052
180532011-11-14 Ulrich Drepper <drepper@gmail.com>
18054
18055 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18056 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18057 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18058 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18059 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18060 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18061 to compile strcasecmp and strncasecmp.
18062 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18063 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18064
18065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18066
180672011-11-13 Ulrich Drepper <drepper@gmail.com>
18068
18069 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18070 locale-defines.sym to gen-as-const-headers.
18071 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18072 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18073 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18074 to compile strcasecmp and strncasecmp.
18075 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18076 strcasecmp_l and strncasecmp_l.
18077 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18078 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18079 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18080 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18081 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18082 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18083 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18084 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18085 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18086 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18087 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18088
180892011-11-12 Ulrich Drepper <drepper@gmail.com>
18090
18091 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18092 result of SYSDEP_GETTIME_CPU to retval.
18093 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18094 parameter list to macro. Remove trailing semicolon. Adjust users.
18095
18096 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18097 variable.
18098
18099 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18100 mantissa words.
18101 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18102
18103 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18104 from unused variable.
18105
18106 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18107 DWARF definitions.
18108 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18109 for assembling.
18110
18111 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18112 over namespaces.
18113
18114 * sunrpc/rpc_prot.c (rejected): Fix case value.
18115
18116 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18117 unsigned long long int to avoid warnings in shift.
18118
18119 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18120 of use of trans.
18121 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18122 variable tmp.
18123
18124 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18125 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18126 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18127
18128 * nis/nis_table.c (nis_list): Use variable of correct type for
18129 result of __follow_path call.
18130
181312011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18132
18133 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18134 of math functions ceil, trunc, floor, round, and sqrt, when
18135 avaliable on the platform.
18136 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18137 name clash.
18138 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18139 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18140 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18141
181422011-10-30 Marek Polacek <mpolacek@redhat.com>
18143
18144 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18145 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18146
181472011-11-11 Roland McGrath <roland@hack.frob.com>
18148
18149 * include/unistd.h: Fix __readlink return type.
18150 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18151
181522011-11-11 Ulrich Drepper <drepper@gmail.com>
18153
18154 * stdlib/ucontext.h: Undo last change for makecontext.
18155
181562011-11-11 Andreas Schwab <schwab@redhat.com>
18157
18158 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18159
18160 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18161 * setjmp/setjmp.h: Mark functions as non-leaf.
18162 * setjmp/bits/setjmp2.h: Likewise.
18163 * stdlib/ucontext.h: Likewise.
18164
181652011-11-10 Andreas Schwab <schwab@redhat.com>
18166
18167 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18168 (reused_arena): Don't check arena limit.
18169 (arena_get2): Atomically check arena limit.
18170
181712011-11-08 Ulrich Drepper <drepper@gmail.com>
18172
18173 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18174 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18175
18176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18177 instructions.
18178
181792011-11-07 Andreas Schwab <schwab@redhat.com>
18180
18181 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18182 handler when locking.
18183
18184 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18185 Fix size of allocated buffer.
18186
181872011-11-04 Andreas Schwab <schwab@redhat.com>
18188
18189 [BZ #10103]
18190 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18191 declarations for long double functions.
18192 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18193
18194 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18195
181962011-11-03 Andreas Schwab <schwab@redhat.com>
18197
18198 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18199 installed.
18200
18201 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18202 is disabled.
18203
182042011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18205
18206 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18207
182082011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18209
18210 * include/alloca.h (stackinfo_alloca_round): Define.
18211 (extend_alloca): Use it.
18212 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18213 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18214 here.
18215
18216 * scripts/check-local-headers.sh: Ignore libaudit.h.
18217
18218 * nscd/Makefile (extra-objs): Make recursively expanded.
18219
182202011-11-01 Ulrich Drepper <drepper@gmail.com>
18221
18222 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18223 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18224
18225 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18226 * posix/tst-rfc3484-2.c: Likewise.
18227 * posix/tst-rfc3484-3.c: Likewise.
18228
18229 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18230 process_vm_writev.
18231 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18232 process_vm_writev.
18233 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18234 process_vm_writev from libc using GLIBC_2.15 version.
18235
18236 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18237
182382011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18239
18240 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18241 stack usage.
18242
182432011-10-31 Ulrich Drepper <drepper@gmail.com>
18244
18245 [BZ #13367]
18246 * nss/getent.c (initgroups_keys): Show error message in case no group
18247 names are given.
18248
18249 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18250 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18251 __bump_nl_timestamp.
18252 * nscd/connections (nscd_init): When host database is served open
18253 netlink socket and request notification about configuration changes.
18254 (main_loop_poll): Track netlink file descriptor and bump timestamp
18255 in case data becomes available.
18256 (main_loop_epoll): Likewise.
18257 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18258 (database_pers_head): Add extra_data fileds.
18259 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18260 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18261 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18262 Adjust caller.
18263 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18264 in6ai data, call __free_in6ai.
18265 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18266 Add -DHAVE_NETLINK.
18267 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18268 interface information. Reuse previous data if netlink timestamp
18269 is not changed.
18270 (__bump_nl_timestamp): New function.
18271 (__free_in6ai): New function.
18272
182732011-10-30 Ulrich Drepper <drepper@gmail.com>
18274
18275 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18276 close_not_cancel_no_status here.
18277 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18278
182792011-10-29 Ulrich Drepper <drepper@gmail.com>
18280
18281 [BZ #13276]
18282 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18283 return value.
18284
18285 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18286 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18287 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18288
182892011-07-03 Andreas Jaeger <aj@suse.de>
18290
18291 [BZ #10709]
18292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18293 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18294 * math/libm-test.inc (sin_test): Add test case.
18295
182962011-10-29 Ulrich Drepper <drepper@gmail.com>
18297
18298 [BZ #13337]
18299 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18300 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18301
18302 * elf/chroot_canon.c (chroot_canon): Cleanups.
18303
18304 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18305
18306 [BZ #13335]
18307 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18308 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18309
18310 * string/test-strchr.c: Make usable for strchrnul testing.
18311 * string/test-strchrnul.c: New file.
18312 * string/Makefile (strop-tests): Add strchrnul.
18313
18314 * po/it.po: Update from translation team.
18315 * po/es.po: Likewise.
18316
183172011-10-28 Ulrich Drepper <drepper@gmail.com>
18318
18319 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18320 the three constants needed as parameters. Drop the others.
18321 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18322 __m128i_strloadu_tolower.
18323 Create and initialize variable zero and use it in all the places
18324 where _mm_setzero_si128 was used.
18325
18326 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18327 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18328 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18329 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18330 anymore.
18331 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18332 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18333 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18334 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18335 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18336 __mpranred, __mptan.
18337 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18338 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18339 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18340 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18341 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18342 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18343 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18344 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18345 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18346
183472011-10-28 Andreas Schwab <schwab@redhat.com>
18348
18349 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18350 redefine if SHARED.
18351 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18352
18353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18354 wide char related routines to wcsmbs subdir.
18355
183562011-10-27 Andreas Schwab <schwab@redhat.com>
18357
18358 [BZ #13344]
18359 * misc/sys/cdefs.h (__THROWNL): Define.
18360 * posix/unistd.h: Use __THREADNL instead of __THREAD
18361 for memory synchronization functions.
18362
183632011-10-26 Roland McGrath <roland@hack.frob.com>
18364
18365 [BZ #13349]
18366 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18367 doesn't exist.
18368 * manual/stdio.texi (Obstack Streams): Node removed.
18369
183702011-10-26 Andreas Schwab <schwab@redhat.com>
18371
18372 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18373 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18374 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18375
18376 * math/math_private.h (math_force_eval): Allow non-addressable
18377 arguments.
18378 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18379
183802011-10-25 Ulrich Drepper <drepper@gmail.com>
18381
18382 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18383 file is not needed.
18384
18385 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18386 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18387 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18388 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18389 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18390 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18391 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18392 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18393 Add AVX variants.
18394 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18395 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18396 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18397 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18398 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18399 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18400 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18401 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18402 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18403 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18404 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18405 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18406 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18407 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18408 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18409 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18410 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18411 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18412 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18413
18414 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18415 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18416
18417 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18418 place. Use VEX encoding when compiling for AVX.
18419
184202011-10-25 Andreas Schwab <schwab@redhat.com>
18421
18422 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18423 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18424
18425 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18426
184272011-10-25 Ulrich Drepper <drepper@gmail.com>
18428
18429 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18430 useless if() expression.
18431 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18432 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18433 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18434 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18435 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18436 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18437 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18438 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18439 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18440 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18441 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18442 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18443 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18444 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18445 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18446 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18447 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18448 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18449 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18450
18451 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18452
184532011-10-25 Andreas Schwab <schwab@redhat.com>
18454
18455 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18456 condition.
18457 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18458
184592011-10-25 Ulrich Drepper <drepper@gmail.com>
18460
18461 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18462 .text section. Avoid duplicate constants.
18463 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18465 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18470 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18471 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18472 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18473 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18474 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18475 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18476 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18477 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18478 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18479 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18480 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18481 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18482 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18483 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18484 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18485 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18486 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18487 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18488 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18489 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18490 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18491 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18492 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18493 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18494 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18495 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18496 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18497 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18498 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18499 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18500 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18501 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18502 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18503 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18504 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18505 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18506 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18508
185092011-10-24 Ulrich Drepper <drepper@gmail.com>
18510
18511 * sysdeps/x86_64/dla.h: Move to ...
18512 * sysdeps/x86_64/fpu/dla.h: ...here.
18513 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18514 situations. Use __builtin_fma only for gcc 4.6 and up.
18515
18516 * config.make.in: Add have-mfma4 entry.
18517 * configure.in: Substitute libc_cv_cc_fma4.
18518 * math/Makefile (dbl-only-routines): Add sincostab.
18519 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18520 Use __sincostab not sincos.
18521 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18522 name is a macro.
18523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18527 using __copysign.
18528 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18529 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18530 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18531 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18532 and __inv.
18533 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18534 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18535 __copysign.
18536 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18537 define aliases when function name is a macro.
18538 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18539 sysdeps/ieee754/dbl-64/sincos.tbl.
18540 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18541 fma4-enabled routines.
18542 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18543 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18544 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18545 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18546 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18547 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18548 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18549 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18550 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18551 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18552 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18553 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18554 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18555 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18556 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18557 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18558 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18559 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18560 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18562 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18563 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18564 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18565 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18566 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18567 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18569 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18570 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18571 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18572
18573 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18574 rename.
18575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18580 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18581 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18583
185842011-10-24 Andreas Schwab <schwab@redhat.com>
18585
18586 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18587
185882011-10-23 Ulrich Drepper <drepper@gmail.com>
18589
18590 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18591
18592 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18593 prediction.
18594 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18595
18596 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18597 Remove unused variable magic_bits.
18598 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18599
18600 * string/strnlen.c: Define and use STRNLEN macro.
18601 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18602 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18603 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18604 * wcsmbs/wcslen.c: Define and use WCSLEN.
18605 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18606 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18607 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18608 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18609 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18610 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18611 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18612
186132011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18614
18615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18616 strnlen-sse2-no-bsf.
18617 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18618 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18619 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18620 Add strnlen support.
18621 (USE_AS_STRNLEN): New macro.
18622 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18623 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18624 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18625 * sysdeps/x86_64/wcslen.S: New file.
18626
186272011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18628
18629 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18630 XMM-moves are used for copying on small sizes.
18631
186322011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18633
18634 * wcsmbs/Makefile (strop-tests): Add wcschr.
18635 * wcsmbs/test-wcschr.c: New file.
18636 * string/test-strchr.c: Update.
18637 Add wcschr support.
18638 (WIDE): New macro.
18639
186402011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18641
18642 * wcsmbs/Makefile (strop-tests): Add wcslen.
18643 * wcsmbs/test-wcslen.c: New file.
18644 * string/test-strlen.c: Update.
18645 Add wcslen support.
18646 (WIDE): New macro.
18647
186482011-10-23 Ulrich Drepper <drepper@gmail.com>
18649
18650 * po/it.po: Update from translation team.
18651
186522011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18653
18654 * sysdeps/x86_64/wcscmp.S: Update.
18655 Fix wrong comparison semantics.
18656 wcscmp shall use signed comparison not unsigned.
18657 Don't use substraction to avoid overflow bug.
18658 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18659 * wcsmbc/wcscmp.c: Likewise.
18660 * string/test-strcmp.c: Likewise.
18661 Add new tests to check cases with negative values.
18662
186632011-10-23 Ulrich Drepper <drepper@gmail.com>
18664
18665 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18666 * sysdeps/x86_64/dla.h: ...here. New file.
18667 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18668 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18672 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18676
186772011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18678
18679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18680 __ynl_finite aliases.
18681
186822011-10-22 Ulrich Drepper <drepper@gmail.com>
18683
18684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18685
18686 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18687 define DLA_FMA.
18688 [DLA_FMA] (EMULV): Use DLA_FMA.
18689 [DLA_FMA] (MUL12): Use EMULV.
18690 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18691 that are not needed.
18692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18699
187002011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18701
18702 * math/s_nan.c: Undef __nan.
18703 * math/s_nanf.c: Undef __nanf.
18704 * math/s_nanl.c: Undef __nanl.
18705 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18706 "math_private.h".
18707
187082011-10-22 Ulrich Drepper <drepper@gmail.com>
18709
18710 * math/s_catan.c: Add branch predictions.
18711 * math/s_catanf.c: Likewise.
18712 * math/s_catanh.c: Likewise.
18713 * math/s_catanhf.c: Likewise.
18714 * math/s_catanhl.c: Likewise.
18715 * math/s_catanl.c: Likewise.
18716 * math/s_cexp.c: Likewise.
18717 * math/s_cexpf.c: Likewise.
18718 * math/s_cexpl.c: Likewise.
18719 * math/s_clog.c: Likewise.
18720 * math/s_clog10.c: Likewise.
18721 * math/s_clog10f.c: Likewise.
18722 * math/s_clog10l.c: Likewise.
18723 * math/s_clogf.c: Likewise.
18724 * math/s_clogl.c: Likewise.
18725 * math/s_csqrt.c: Likewise.
18726 * math/s_csqrtf.c: Likewise.
18727 * math/s_csqrtl.c: Likewise.
18728 * math/s_ctanf.c: Likewise.
18729 * math/s_ctanh.c: Likewise.
18730 * math/s_ctanhf.c: Likewise.
18731 * math/s_ctanhl.c: Likewise.
18732 * math/s_ctanl.c: Likewise.
18733
18734 * math/math_private.h: Define __nan, __nanf, __nanl.
18735 * math/s_cacosh.c: Include <math_private.h>.
18736 * math/s_cacoshl.c: Likewise.
18737 * math/s_casinh.c: Likewise.
18738 * math/s_casinhf.c: Likewise.
18739 * math/s_casinhl.c: Likewise.
18740 * math/s_ccos.c: Rely entire on ccosh.
18741 * math/s_ccosf.c: Rely entire on ccoshf.
18742 * math/s_ccosl.c: Rely entirely on ccoshl.
18743 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18744 Remove tests for FE_INVALID.
18745 * math/s_ccoshf.c: Likewise.
18746 * math/s_ccoshl.c: Likewise.
18747 * math/s_csin.c: Likewise.
18748 * math/s_csinf.c: Likewise.
18749 * math/s_csinh.c Likewise.
18750 * math/s_csinhf.c: Likewise.
18751 * math/s_csinhl.c: Likewise.
18752 * math/s_csinl.c: Likewise.
18753 * math/s_ctan.c: Likewise.
18754 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18755 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18756 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18757
187582011-10-21 Ulrich Drepper <drepper@gmail.com>
18759
18760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18761 compilation problems.
18762
18763 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18764 __builtin_expect.
18765
187662011-10-20 Ulrich Drepper <drepper@gmail.com>
18767
18768 * sysdeps/i386/configure.in: Test for -mfma4 option.
18769 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18770 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18771 COMMON_CPUID_INDEX_80000001.
18772 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18773 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18774 use it if FMA3 is not supported.
18775 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18776
18777 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18778 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18779
187802011-10-20 Andreas Schwab <schwab@redhat.com>
18781
18782 [BZ #12892]
18783 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18784 it would create a cycle with a link time dependency.
18785
187862011-10-19 Ulrich Drepper <drepper@gmail.com>
18787
18788 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18789 instruction.
18790 * string/Makefile (strop-tests): Add rawmemchr.
18791 * string/test-rawmemchr.c: New file.
18792
18793 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18794 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18795 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18796 when compiling str{,n}casecmp and when AVX is available. Hook up
18797 new optimized code in initializers.
18798
187992011-10-19 Andreas Schwab <schwab@redhat.com>
18800
18801 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18802 __feraiseexcept instead of feraiseexcept.
18803
188042011-10-18 Ulrich Drepper <drepper@gmail.com>
18805
18806 * math/math_private.h: Define defaults for libc_fetestexcept and
18807 libc_feupdateenv.
18808 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18809 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18810 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18811 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18812 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18813 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18814 libc_fetestexcept and libc_feupdateenv.
18815
18816 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18817 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18818 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18819 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18820 libc_feholdexcept_setround.
18821
18822 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18823 Add s_nearbyint-c and s_nearbyintf-c.
18824 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18825 nearbyintf inlines.
18826 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18827 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18828 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18829 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18830
18831 * math/math_private.h: Define defaults for libc_fegetround,
18832 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18833 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18834 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18835 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18836 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18837 standard functions.
18838 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18839 Remove comments and hacks for old compiler versions.
18840 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18841 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18842 libc_feholdexceptl.
18843
188442011-10-18 Andreas Schwab <schwab@redhat.com>
18845
18846 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18847 (__feraiseexcept_renamed): Add __NTH.
18848 (feraiseexcept): Add __NTH. Rename local variables to fix
18849 namespace violations.
18850
188512011-10-17 Ulrich Drepper <drepper@gmail.com>
18852
18853 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18854
18855 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18856
18857 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18858 recently added interfaces.
18859 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18860
18861 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18862 about macro parameter expansion.
18863
18864 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18865 __NO_MATH_INLINES is defined. Cleanups.
18866
18867 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18868 and __floorf is target has SSE4.1.
18869 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18870 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18871 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18872 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18873
18874 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18875 name.
18876 (floorf): Likewise.
18877
18878 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18879
188802011-10-17 Andreas Schwab <schwab@redhat.com>
18881
18882 * misc/sys/cdefs.h: Fix last change.
18883
18884 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18885 database lookup.
18886
188872011-10-16 Ulrich Drepper <drepper@gmail.com>
18888
18889 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18890
18891 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18892 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18893 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18894 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18896 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18897 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18898 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18900 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18901 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18902 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18903 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18904 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18905 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18906 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18907 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18908 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18909 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18910 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18911 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18912 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18913
18914 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18915 ceil, ceilf, floor, floorf.
18916
18917 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18918 Perform IRELATIVE relocations last.
18919
18920 * elf/do-rel.h: Add another parameter nrelative, replacing the
18921 local variable with the same name. Change name of the function
18922 to end in Rel or Rela (uppercase).
18923 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18924 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18925 elf_dynamic_do_##reloc function.
18926
189272011-10-15 Ulrich Drepper <drepper@gmail.com>
18928
18929 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18930 is sufficient, at least on modern CPUs.
18931
18932 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18933
18934 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18935 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18936
18937 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18938 __expl_finite.
18939 * math/bits/math-finite.h: Add entries for exp.
18940 * math/e_expl.c: Add __*_finite alias.
18941 * sysdeps/i386/fpu/e_exp.S: Likewise.
18942 * sysdeps/i386/fpu/e_expf.S: Likewise.
18943 * sysdeps/i386/fpu/e_expl.c: Likewise.
18944 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18945 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18948 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18949 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18950 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18951
18952 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18953 is sufficient, at least on modern CPUs.
18954
18955 * ctype/ctype-info.c (__ctype_init): Define.
18956 * include/ctype.h (__ctype_init): Declare.
18957 (__ctype_b_loc): The variable is always initialized.
18958 (__ctype_toupper_loc): Likewise.
18959 (__ctype_tolower_loc): Likewise.
18960 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18961 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18962
189632011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18964
18965 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18966
18967 * configure.in: Also look in $cxxmachine/include for C++ system
18968 headers.
18969
189702011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18971
18972 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18973 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18974 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18975 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18976 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18977 (USE_AS_WMEMCMP): New macro.
18978 Fixing indents.
18979 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18980 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18981 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18982 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18984 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18985 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18986 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18987 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18988 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18989 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18990 (USE_AS_WMEMCMP): New macro.
18991 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18992 * sysdeps/string/test-memcmp.c: Update.
18993 Fix simple_wmemcmp.
18994 Add new tests.
18995 * wcsmbs/wmemcmp.c: Update.
18996 (WMEMCMP): New macro.
18997 Fix overflow bug.
18998
189992011-10-12 Andreas Jaeger <aj@suse.de>
19000
19001 [BZ #13268]
19002 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19003
190042011-10-15 Ulrich Drepper <drepper@gmail.com>
19005
19006 * libio/iofwide.c (do_length): Avoid warning.
19007
19008 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19009
190102011-10-14 Ulrich Drepper <drepper@gmail.com>
19011
19012 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19013
19014 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19015 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19016 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19017 * sysdeps/i386/i686/fpu/e_log.S: New file.
19018 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19019 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19020
19021 * ctype/ctype.h: Add support for inlined isXXX functions when
19022 compiling C++ code.
19023
190242011-10-14 Andreas Schwab <schwab@redhat.com>
19025
19026 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19027
19028 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19029
190302011-10-13 Roland McGrath <roland@hack.frob.com>
19031
19032 [BZ #13291]
19033 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19034
190352011-10-13 Andreas Schwab <schwab@redhat.com>
19036
19037 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19038 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19039 feraiseexcept.
19040
19041 * sysdeps/x86_64/memrchr.S: Check for zero size.
19042
19043 * string/stratcliff.c: Add memrchr tests.
19044
190452011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19046
19047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19048 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19049 rawmemchr-sse2 rawmemchr-sse2-bsf.
19050 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19051 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19052 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19053 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19054 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19055 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19056 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19057 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19058 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19059 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19060 * string/memrchr.c (MEMRCHR): New macro.
19061
190622011-10-12 Ulrich Drepper <drepper@gmail.com>
19063
19064 Add integration with gcc's -ffinite-math-only and optimize wrapper
19065 functions in libm.
19066 * Versions.def: Define GLIBC_2.15 version for libm.
19067 * math/Makefile (headers): Add bits/math-finite.h.
19068 * math/bits/math-finite.h: New file.
19069 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19070 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19071 * math/e_acoshl.c: Add __*_finite alias.
19072 * math/e_acosl.c: Likewise.
19073 * math/e_asinl.c: Likewise.
19074 * math/e_atan2l.c: Likewise.
19075 * math/e_atanhl.c: Likewise.
19076 * math/e_coshl.c: Likewise.
19077 * math/e_exp10.c: Likewise.
19078 * math/e_exp10f.c: Likewise.
19079 * math/e_exp10l.c: Likewise.
19080 * math/e_exp2l.c: Likewise.
19081 * math/e_fmodl.c: Likewise.
19082 * math/e_gammal_r.c: Likewise.
19083 * math/e_hypotl.c: Likewise.
19084 * math/e_j0l.c: Likewise.
19085 * math/e_j1l.c: Likewise.
19086 * math/e_jnl.c: Likewise.
19087 * math/e_lgammal_r.c: Likewise.
19088 * math/e_log10l.c: Likewise.
19089 * math/e_log2l.c: Likewise.
19090 * math/e_logl.c: Likewise.
19091 * math/e_powl.c: Likewise.
19092 * math/e_sinhl.c: Likewise.
19093 * math/e_sqrtl.c: Likewise.
19094 * math/e_scalb.c: Completely rewritten and optimized.
19095 * math/e_scalbf.c: Likewise.
19096 * math/e_scalbl.c: Likewise.
19097 * math/w_acos.c: Likewise.
19098 * math/w_acosf.c: Likewise.
19099 * math/w_acosl.c: Likewise.
19100 * math/w_acosh.c: Likewise.
19101 * math/w_acoshf.c: Likewise.
19102 * math/w_acoshl.c: Likewise.
19103 * math/w_asin.c: Likewise.
19104 * math/w_asinf.c: Likewise.
19105 * math/w_asinl.c: Likewise.
19106 * math/w_atan2.c: Likewise.
19107 * math/w_atan2f.c: Likewise.
19108 * math/w_atan2l.c: Likewise.
19109 * math/w_atanh.c: Likewise.
19110 * math/w_atanhf.c: Likewise.
19111 * math/w_atanhl.c: Likewise.
19112 * math/w_exp10.c: Likewise.
19113 * math/w_exp10f.c: Likewise.
19114 * math/w_exp10l.c: Likewise.
19115 * math/w_fmod.c: Likewise.
19116 * math/w_fmodf.c: Likewise.
19117 * math/w_fmodl.c: Likewise.
19118 * math/w_j0.c: Likewise.
19119 * math/w_j0f.c: Likewise.
19120 * math/w_j0l.c: Likewise.
19121 * math/w_j1.c: Likewise.
19122 * math/w_j1f.c: Likewise.
19123 * math/w_j1l.c: Likewise.
19124 * math/w_jn.c: Likewise.
19125 * math/w_jnf.c: Likewise.
19126 * math/w_log.c: Likewise.
19127 * math/w_logf.c: Likewise.
19128 * math/w_logl.c: Likewise.
19129 * math/w_log10.c: Likewise.
19130 * math/w_log10f.c: Likewise.
19131 * math/w_log10l.c: Likewise.
19132 * math/w_log2.c: Likewise.
19133 * math/w_log2f.c: Likewise.
19134 * math/w_log2l.c: Likewise.
19135 * math/w_pow.c: Likewise.
19136 * math/w_powf.c: Likewise.
19137 * math/w_powl.c: Likewise.
19138 * math/w_remainder.c: Likewise.
19139 * math/w_remainderf.c: Likewise.
19140 * math/w_remainderl.c: Likewise.
19141 * math/w_scalb.c: Likewise.
19142 * math/w_scalbf.c: Likewise.
19143 * math/w_scalbl.c: Likewise.
19144 * math/w_sqrt.c: Likewise.
19145 * math/w_sqrtf.c: Likewise.
19146 * math/w_sqrtl.c: Likewise.
19147 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19148 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19149 used.
19150 * math/math_private.h: Declare __kernel_standard_f.
19151 * math/w_cosh.c: Remove cruft and optimize a bit.
19152 * math/w_coshf.c: Likewise.
19153 * math/w_coshl.c: Likewise.
19154 * math/w_exp2.c: Likewise.
19155 * math/w_exp2f.c: Likewise.
19156 * math/w_exp2l.c: Likewise.
19157 * math/w_hypot.c: Likewise.
19158 * math/w_hypotf.c: Likewise.
19159 * math/w_hypotl.c: Likewise.
19160 * math/w_lgamma.c: Likewise.
19161 * math/w_lgamma_r.c: Likewise.
19162 * math/w_lgammaf.c: Likewise.
19163 * math/w_lgammaf_r.c: Likewise.
19164 * math/w_lgammal.c: Likewise.
19165 * math/w_lgammal_r.c: Likewise.
19166 * math/w_sinh.c: Likewise.
19167 * math/w_sinhf.c: Likewise.
19168 * math/w_sinhl.c: Likewise.
19169 * math/w_tgamma.c: Likewise.
19170 * math/w_tgammaf.c: Likewise.
19171 * math/w_tgammal.c: Likewise.
19172 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19173 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19174 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19175 Minor optimizations. Pretty printing. Remove cruft.
19176 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19177 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19178 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19179 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19180 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19181 * sysdeps/i386/fpu/e_asin.S: Likewise.
19182 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19183 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19184 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19185 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19186 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19187 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19188 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19189 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19190 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19191 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19192 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19193 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19194 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19195 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19196 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19197 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19198 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19199 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19200 * sysdeps/i386/fpu/e_log.S: Likewise.
19201 * sysdeps/i386/fpu/e_log10.S: Likewise.
19202 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19203 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19204 * sysdeps/i386/fpu/e_log2.S: Likewise.
19205 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19206 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19207 * sysdeps/i386/fpu/e_logf.S: Likewise.
19208 * sysdeps/i386/fpu/e_logl.S: Likewise.
19209 * sysdeps/i386/fpu/e_pow.S: Likewise.
19210 * sysdeps/i386/fpu/e_powf.S: Likewise.
19211 * sysdeps/i386/fpu/e_powl.S: Likewise.
19212 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19213 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19214 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19215 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19216 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19217 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19218 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19219 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19220 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19234 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19235 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19236 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19237 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19238 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19239 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19241 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19242 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19243 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19244 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19245 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19246 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19247 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19248 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19249 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19250 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19251 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19252 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19253 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19254 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19255 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19256 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19257 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19258 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19259 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19260 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19261 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19262 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19263 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19264 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19265 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19266 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19267 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19268 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19271 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19272 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19273 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19274 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19275 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19276 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19277 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19278 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19279 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19282 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19286 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19289 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19291 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19292 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19295 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19296 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19297 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19298 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19299 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19300 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19301 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19302 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19303 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19304 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19305 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19306 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19307 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19308 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19309 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19310 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19311 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19312 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19313 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19314 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19315 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19316 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19317 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19318 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19319 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19320 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19321 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19322 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19323 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19324 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19325 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19326 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19327 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19328 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19329 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19330 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19331 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19332 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19333 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19334 (__isnanf): Likewise.
19335 (__isinf_ns): Likewise.
19336 (__isinf_nsf): Likewise.
19337 (__finite): Likewise.
19338 (__finitef): Likewise.
19339 (__ieee754_sqrt): Define as macro.
19340 (__ieee754_sqrtf): Define as macro.
19341 (__ieee754_sqrtl): Define as macro.
19342 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19343 inlined copy.
19344 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19345 __FINITE_MATH_ONLY__ consistent.
19346 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19347
193482011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19349
19350 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19351 of rawmemchr.
19352
19353 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19354
193552011-10-09 Ulrich Drepper <drepper@gmail.com>
19356
19357 * po/ja.po: Update from translation team.
19358
193592011-10-08 Roland McGrath <roland@hack.frob.com>
19360
19361 * locale/programs/locarchive.c (prepare_address_space): New function.
19362 (create_archive, enlarge_archive, open_archive): Use it.
19363
19364 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19365 inside [SHARED], where it is used.
19366
19367 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19368
19369 * nss/getent.c (netgroup_keys): Remove unused variable.
19370 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19371
193722011-10-08 Ulrich Drepper <drepper@gmail.com>
19373
19374 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19375 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19377 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19378 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19379 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19380 * math/Makefile (libm-calls): Add s_isinf_ns.
19381 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19382 * math/multc3.c: Likewise.
19383 * math/s_casin.c: Likewise.
19384 * math/s_casinf.c: Likewise.
19385 * math/s_casinl.c: Likewise.
19386 * math/s_ccos.c: Likewise.
19387 * math/s_ccosf.c: Likewise.
19388 * math/s_ccosl.c: Likewise.
19389 * math/s_ctan.c: Likewise.
19390 * math/s_ctanf.c: Likewise.
19391 * math/s_ctanh.c: Likewise.
19392 * math/s_ctanhf.c: Likewise.
19393 * math/s_ctanhl.c: Likewise.
19394 * math/s_ctanl.c: Likewise.
19395 * math/w_fmod.c: Likewise.
19396 * math/w_fmodf.c: Likewise.
19397 * math/w_fmodl.c: Likewise.
19398 * math/w_remainder.c: Likewise.
19399 * math/w_remainderf.c: Likewise.
19400 * math/w_remainderl.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19402 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19403 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19405 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19406 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19407 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19408 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19409
19410 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19411 of the number.
19412 * stdio-common/printf_fphex.c: Likewise.
19413 * stdio-common/printf_size.c: Likewise.
19414
19415 * math/e_exp10.c: Include math_private.h using <...> not "...".
19416 * math/e_exp10f.c: Likewise.
19417 * math/e_exp10l.c: Likewise.
19418 * math/e_exp2l.c: Likewise.
19419 * math/e_j0l.c: Likewise.
19420 * math/e_j1l.c: Likewise.
19421 * math/e_jnl.c: Likewise.
19422 * math/e_lgammal_r.c: Likewise.
19423 * math/e_rem_pio2l.c: Likewise.
19424 * math/e_scalb.c: Likewise.
19425 * math/e_scalbf.c: Likewise.
19426 * math/e_scalbl.c: Likewise.
19427 * math/k_cosl.c: Likewise.
19428 * math/k_sinl.c: Likewise.
19429 * math/k_tanl.c: Likewise.
19430 * math/s_cacoshf.c: Likewise.
19431 * math/s_catan.c: Likewise.
19432 * math/s_catanf.c: Likewise.
19433 * math/s_catanh.c: Likewise.
19434 * math/s_catanhf.c: Likewise.
19435 * math/s_catanhl.c: Likewise.
19436 * math/s_catanl.c: Likewise.
19437 * math/s_ccosh.c: Likewise.
19438 * math/s_ccoshf.c: Likewise.
19439 * math/s_ccoshl.c: Likewise.
19440 * math/s_cexp.c: Likewise.
19441 * math/s_cexpf.c: Likewise.
19442 * math/s_cexpl.c: Likewise.
19443 * math/s_clog.c: Likewise.
19444 * math/s_clog10.c: Likewise.
19445 * math/s_clog10f.c: Likewise.
19446 * math/s_clog10l.c: Likewise.
19447 * math/s_clogf.c: Likewise.
19448 * math/s_clogl.c: Likewise.
19449 * math/s_csin.c: Likewise.
19450 * math/s_csinf.c: Likewise.
19451 * math/s_csinh.c: Likewise.
19452 * math/s_csinhf.c: Likewise.
19453 * math/s_csinhl.c: Likewise.
19454 * math/s_csinl.c: Likewise.
19455 * math/s_csqrt.c: Likewise.
19456 * math/s_csqrtf.c: Likewise.
19457 * math/s_csqrtl.c: Likewise.
19458 * math/s_ctan.c: Likewise.
19459 * math/s_ctanf.c: Likewise.
19460 * math/s_ctanh.c: Likewise.
19461 * math/s_ctanhf.c: Likewise.
19462 * math/s_ctanhl.c: Likewise.
19463 * math/s_ctanl.c: Likewise.
19464 * math/s_ldexp.c: Likewise.
19465 * math/s_ldexpf.c: Likewise.
19466 * math/s_ldexpl.c: Likewise.
19467 * math/s_significand.c: Likewise.
19468 * math/s_significandf.c: Likewise.
19469 * math/s_significandl.c: Likewise.
19470 * math/w_acos.c: Likewise.
19471 * math/w_acosf.c: Likewise.
19472 * math/w_acosh.c: Likewise.
19473 * math/w_acoshf.c: Likewise.
19474 * math/w_acoshl.c: Likewise.
19475 * math/w_acosl.c: Likewise.
19476 * math/w_asin.c: Likewise.
19477 * math/w_asinf.c: Likewise.
19478 * math/w_asinl.c: Likewise.
19479 * math/w_atan2.c: Likewise.
19480 * math/w_atan2f.c: Likewise.
19481 * math/w_atan2l.c: Likewise.
19482 * math/w_atanh.c: Likewise.
19483 * math/w_atanhf.c: Likewise.
19484 * math/w_atanhl.c: Likewise.
19485 * math/w_cosh.c: Likewise.
19486 * math/w_coshf.c: Likewise.
19487 * math/w_coshl.c: Likewise.
19488 * math/w_dremf.c: Likewise.
19489 * math/w_exp10.c: Likewise.
19490 * math/w_exp10f.c: Likewise.
19491 * math/w_exp10l.c: Likewise.
19492 * math/w_exp2.c: Likewise.
19493 * math/w_exp2f.c: Likewise.
19494 * math/w_fmod.c: Likewise.
19495 * math/w_fmodf.c: Likewise.
19496 * math/w_fmodl.c: Likewise.
19497 * math/w_hypot.c: Likewise.
19498 * math/w_hypotf.c: Likewise.
19499 * math/w_hypotl.c: Likewise.
19500 * math/w_j0.c: Likewise.
19501 * math/w_j0f.c: Likewise.
19502 * math/w_j0l.c: Likewise.
19503 * math/w_j1.c: Likewise.
19504 * math/w_j1f.c: Likewise.
19505 * math/w_j1l.c: Likewise.
19506 * math/w_jn.c: Likewise.
19507 * math/w_jnf.c: Likewise.
19508 * math/w_jnl.c: Likewise.
19509 * math/w_lgamma.c: Likewise.
19510 * math/w_lgamma_r.c: Likewise.
19511 * math/w_lgammaf.c: Likewise.
19512 * math/w_lgammaf_r.c: Likewise.
19513 * math/w_lgammal.c: Likewise.
19514 * math/w_lgammal_r.c: Likewise.
19515 * math/w_log.c: Likewise.
19516 * math/w_log10.c: Likewise.
19517 * math/w_log10f.c: Likewise.
19518 * math/w_log10l.c: Likewise.
19519 * math/w_log2.c: Likewise.
19520 * math/w_log2f.c: Likewise.
19521 * math/w_log2l.c: Likewise.
19522 * math/w_logf.c: Likewise.
19523 * math/w_logl.c: Likewise.
19524 * math/w_pow.c: Likewise.
19525 * math/w_powf.c: Likewise.
19526 * math/w_powl.c: Likewise.
19527 * math/w_remainder.c: Likewise.
19528 * math/w_remainderf.c: Likewise.
19529 * math/w_remainderl.c: Likewise.
19530 * math/w_scalb.c: Likewise.
19531 * math/w_scalbf.c: Likewise.
19532 * math/w_scalbl.c: Likewise.
19533 * math/w_sinh.c: Likewise.
19534 * math/w_sinhf.c: Likewise.
19535 * math/w_sinhl.c: Likewise.
19536 * math/w_sqrt.c: Likewise.
19537 * math/w_sqrtf.c: Likewise.
19538 * math/w_sqrtl.c: Likewise.
19539 * math/w_tgamma.c: Likewise.
19540 * math/w_tgammaf.c: Likewise.
19541 * math/w_tgammal.c: Likewise.
19542
19543 * po/ja.po: Update from translation team.
19544
195452011-09-29 Andreas Jaeger <aj@suse.de>
19546
19547 [BZ #13179]
19548 * sunrpc/netname.c (netname2host): Fix logic.
19549
19550 [BZ #6779]
19551 [BZ #6783]
19552 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19553 correctly.
19554 * math/w_remainder.c (__remainder): Likewise.
19555 * math/w_remainderf.c (__remainderf): Likewise.
19556 * math/libm-test.inc (remainder_test): Add test cases.
19557
195582011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19559
19560 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19561 sdiv_qrnnd.
19562
195632011-10-07 Ulrich Drepper <drepper@gmail.com>
19564
19565 * string/test-memcmp.c: Avoid unncessary #defines.
19566 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19567
195682011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19569
19570 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19571 Use new sse2 version for core i3 - i7 as it's faster
19572 than sse42 version.
19573 (bit_Prefer_PMINUB_for_stringop): New.
19574 * sysdeps/x86_64/rawmemchr.S: Update.
19575 Replace with faster SSE2 version.
19576 * sysdeps/x86_64/memrchr.S: New file.
19577 * sysdeps/x86_64/memchr.S: Update.
19578 Replace with faster SSE2 version.
19579
195802011-09-12 Marek Polacek <mpolacek@redhat.com>
19581
19582 * elf/dl-load.c (lose): Add cast to avoid warning.
19583
195842011-10-07 Ulrich Drepper <drepper@gmail.com>
19585
19586 * po/ca.po: Update from translation team.
19587
19588 * inet/getnetgrent_r.c: Hook up nscd.
19589 * nscd/Makefile (routines): Add nscd_netgroup.
19590 (nscd-modules): Add netgroupcache.
19591 (CFLAGS-netgroupcache.c): Define.
19592 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19593 (cache_search): Add const to second parameter.
19594 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19595 INNETGR.
19596 (dbs): Add netgrdb entry.
19597 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19598 (verify_persistent_db): Handle netgrdb.
19599 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19600 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19601 GETFDNETGR.
19602 (netgroup_response_header): Define.
19603 (innetgroup_response_header): Define.
19604 (datahead): Add netgroup_response_header and innetgroup_response_header
19605 elements.
19606 * nscd/nscd.conf: Add entries for netgroup cache.
19607 * nscd/nscd.h (dbtype): Add netgrdb.
19608 (_PATH_NSCD_NETGROUP_DB): Define.
19609 (netgroup_iov_disabled): Declare.
19610 (xmalloc, xcalloc, xrealloc): Move declarations here.
19611 (cache_search): Adjust prototype.
19612 Add netgroup-related prototypes.
19613 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19614 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19615 (__nscd_innetgr): Declare.
19616 * nscd/selinux.c (perms): Use access_vector_t as element type and
19617 add netgroup-related initializers.
19618 * nscd/netgroupcache.c: New file.
19619 * nscd/nscd_netgroup.c: New file.
19620 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19621 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19622 For four parameters use innetgr.
19623 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19624 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19625 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19626 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19627
19628 * nscd/connections.c (register_traced_file): Don't register file
19629 for disabled databases.
19630
196312011-10-06 Ulrich Drepper <drepper@gmail.com>
19632
19633 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19634
19635 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19636 from tree and freeing node.
19637
196382011-09-25 Jiri Olsa <jolsa@redhat.com>
19639
19640 * nss/nsswitch.c (__nss_database_lookup): Handle
19641 nss_parse_service_list out of memory case.
19642
196432011-09-15 Jiri Olsa <jolsa@redhat.com>
19644
19645 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19646 out of memory case.
19647
196482011-10-04 Andreas Schwab <schwab@redhat.com>
19649
19650 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19651 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19652 pass it down.
19653 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19654 elf_machine_rela, elf_machine_lazy_rel.
19655 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19656 (ELF_DYNAMIC_DO_REL): Likewise.
19657 (ELF_DYNAMIC_DO_RELA): Likewise.
19658 (ELF_DYNAMIC_RELOCATE): Likewise.
19659 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19660 to ELF_DYNAMIC_DO_REL.
19661 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19662 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19663 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19664 elf_machine_rela.
19665 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19666 skip_ifunc, don't call ifunc function if non-zero.
19667 (elf_machine_rela): Likewise.
19668 (elf_machine_lazy_rel): Likewise.
19669 (elf_machine_lazy_rela): Likewise.
19670 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19671 (elf_machine_lazy_rel): Likewise.
19672 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19673 Likewise.
19674 (elf_machine_lazy_rel): Likewise.
19675 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19676 Likewise.
19677 (elf_machine_lazy_rel): Likewise.
19678 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19679 (elf_machine_lazy_rel): Likewise.
19680 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19681 (elf_machine_lazy_rel): Likewise.
19682 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19683 (elf_machine_lazy_rel): Likewise.
19684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19685 (elf_machine_lazy_rel): Likewise.
19686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19687 (elf_machine_lazy_rel): Likewise.
19688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19689 (elf_machine_lazy_rel): Likewise.
19690
196912011-09-28 Ulrich Drepper <drepper@gmail.com>
19692
19693 * nss/nss_files/files-init.c (_nss_files_init): Use static
19694 initialization for all the *_traced_file variables.
19695
196962011-09-28 Andreas Schwab <schwab@redhat.com>
19697
19698 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19699
197002011-09-27 Roland McGrath <roland@hack.frob.com>
19701
19702 [BZ #13226]
19703 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19704
197052011-09-27 Andreas Schwab <schwab@redhat.com>
19706
19707 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19708 Reread the line before reparsing it.
19709
197102011-09-26 Andreas Schwab <schwab@redhat.com>
19711
19712 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19713
197142011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19715 Maxim Kuvyrkov <maxim@codesourcery.com>
19716 Joseph Myers <joseph@codesourcery.com>
19717
19718 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19719 if needed for __stack_chk_guard.
19720
197212011-09-19 Roland McGrath <roland@hack.frob.com>
19722
19723 * sysdeps/posix/spawni.c (script_execute): Always define it.
19724 It will be optimized away if unused.
19725 (maybe_script_execute): New function.
19726 (__spawni): Call it.
19727
19728 * Makerules: Don't include tls.make.
19729 (config-tls): Always set to thread.
19730 * tls.make.c: File removed.
19731
197322011-09-19 Mike Frysinger <vapier@gentoo.org>
19733
19734 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19735 * config.make.in (CPPFLAGS-config): New substituted variable.
19736
197372011-09-15 Ulrich Drepper <drepper@gmail.com>
19738
19739 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19740
19741 [BZ #13192]
19742 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19743 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19744
197452011-09-15 Roland McGrath <roland@hack.frob.com>
19746
19747 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19748 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19750 (CALL_FAIL): Likewise.
19751 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19752 (CALL_FAIL): Macro removed.
19753 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19754
197552011-09-15 Ulrich Drepper <drepper@gmail.com>
19756
19757 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19758 for __FINITE_MATH_ONLY__ == 1.
19759
197602011-09-15 Andreas Schwab <schwab@redhat.com>
19761
19762 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19763 __ieee754_sqrt instead of sqrt.
19764 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19765 __ieee754_sqrtf instead of sqrtf.
19766 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19767 __floorf instead of floorf.
19768 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19769 __floorf, __truncf instead of floorf, truncf.
19770
197712011-09-14 Ulrich Drepper <drepper@gmail.com>
19772
19773 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19774
19775 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19776 __extern_always_inline.
19777 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19778 32-bit.
19779
197802011-09-14 Andreas Schwab <schwab@redhat.com>
19781
19782 * elf/rtld.c (dl_main): Also relocate in dependency order when
19783 doing symbol dependency testing.
19784
197852011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19786
19787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19788 Always define `refsym'.
19789
197902011-09-13 Andreas Schwab <schwab@redhat.com>
19791
19792 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19793 (__FD_ELT): Renamed from __FDELT.
19794 * misc/bits/select2.h (__FD_ELT): Likewise.
19795 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19796 __FD_MASK instead of __FDELT, __FDMASK.
19797 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19798 Likewise.
19799 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19800 Likewise.
19801
19802 * elf/Makefile (gen-ldd): Fix pattern.
19803
19804 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19805 (init_tls): Likewise.
19806
198072011-09-12 Ulrich Drepper <drepper@gmail.com>
19808
19809 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19810
198112011-09-12 Andreas Schwab <schwab@redhat.com>
19812
19813 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19814 `struct cmsghdr *' instead of `void *'.
19815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19816 Likewise.
19817
198182011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19819
19820 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19821 if non-absolute.
19822 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19823 ldd_rewrite_script.
19824
198252011-09-11 Ulrich Drepper <drepper@gmail.com>
19826
19827 * configure.in: Remove --with-tls option.
19828 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19829 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19830 out in case it is missing.
19831 * sysdeps/ia64/elf/configure.in: Likewise.
19832 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19833 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19834 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19835 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19836 * sysdeps/sh/elf/configure.in: Likewise.
19837 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19838 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19839 * sysdeps/x86_64/elf/configure.in: Likewise.
19840 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19841 * sysdeps/mach/hurd/tls.h: Likewise.
19842
19843 [BZ #13067]
19844 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19845
19846 [BZ #13090]
19847 * configure.in: Fix use of AC_INIT.
19848
19849 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19850
198512011-09-10 Ulrich Drepper <drepper@gmail.com>
19852
19853 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19854 __set_errno.
19855 * malloc/hooks.c: Likewise.
19856
19857 [BZ #11929]
19858 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19859 variables statically.
19860 (narenas): Initialize.
19861 (list_lock): Initialize.
19862 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19863 initializtion of main_arena and list_lock. Small cleanups.
19864 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19865 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19866 Add initializers to main_arena and mp_.
19867 (malloc_state): Remove pagesize member. Change all users to use
19868 GLRO(dl_pagesize).
19869
19870 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19871 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19872 is always initialized.
19873
19874 * malloc/malloc.c: Removed unused configurations and dead code.
19875 * malloc/arena.c: Likewise.
19876 * malloc/hooks.c: Likewise.
19877 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19878
19879 * include/tls.h: Removed. USE___THREAD must always be defined.
19880 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19881 * elf/dl-libc.c: Likewise.
19882 * elf/dl-tsd.c: Likewise.
19883 * include/errno.h: Likewise.
19884 * include/netdb.h: Likewise.
19885 * include/resolv.h: Likewise.
19886 * inet/herrno-loc.c: Likewise.
19887 * inet/herrno.c: Likewise.
19888 * malloc/arena.c: Likewise.
19889 * malloc/hooks.c: Likewise.
19890 * malloc/malloc.c: Likewise.
19891 * resolv/res-state.c: Likewise.
19892 * resolv/res_libc.c: Likewise.
19893 * sysdeps/i386/dl-machine.h: Likewise.
19894 * sysdeps/ia64/dl-machine.h: Likewise.
19895 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19896 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19897 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19898 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19899 * sysdeps/sh/dl-machine.h: Likewise.
19900 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19901 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19902 * sysdeps/unix/i386/sysdep.S: Likewise.
19903 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19904 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19905 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19908 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19909 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19912 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19913 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19914 * sysdeps/x86_64/dl-machine.h: Likewise.
19915 * tls.make.c: Likewise.
19916
19917 * configure.in: Remove --with-__thread option. Make tests for
19918 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19919 tls_model attribute fail if no support is available. Remove
19920 USE_IN_LIBIO.
19921 * Makeconfig: Adjust for dropped configure option. All features are
19922 now mandatory.
19923 * Makerules: Likewise.
19924 * Versions.def: Likewise.
19925 * argp/argp-fmtstream.c: Likewise.
19926 * argp/argp-fmtstream.h: Likewise.
19927 * argp/argp-help.c: Likewise.
19928 * assert/assert.c: Likewise.
19929 * config.h.in: Likewise.
19930 * config.make.in: Likewise.
19931 * configure: Likewise.
19932 * configure.in: Likewise.
19933 * csu/Versions: Likewise.
19934 * csu/init.c: Likewise.
19935 * elf/tst-audit2.c: Likewise.
19936 * elf/tst-tls10.c: Likewise.
19937 * elf/tst-tls10.h: Likewise.
19938 * elf/tst-tls11.c: Likewise.
19939 * elf/tst-tls12.c: Likewise.
19940 * elf/tst-tls14.c: Likewise.
19941 * elf/tst-tlsmod11.c: Likewise.
19942 * elf/tst-tlsmod12.c: Likewise.
19943 * elf/tst-tlsmod13.c: Likewise.
19944 * elf/tst-tlsmod13a.c: Likewise.
19945 * elf/tst-tlsmod14a.c: Likewise.
19946 * elf/tst-tlsmod15b.c: Likewise.
19947 * elf/tst-tlsmod16a.c: Likewise.
19948 * elf/tst-tlsmod16b.c: Likewise.
19949 * elf/tst-tlsmod7.c: Likewise.
19950 * elf/tst-tlsmod8.c: Likewise.
19951 * elf/tst-tlsmod9.c: Likewise.
19952 * gmon/gmon.c: Likewise.
19953 * grp/fgetgrent_r.c: Likewise.
19954 * grp/putgrent.c: Likewise.
19955 * hurd/fopenport.c: Likewise.
19956 * include/libc-symbols.h: Likewise.
19957 * include/tls.h: Likewise.
19958 * intl/gettextP.h: Likewise.
19959 * intl/loadinfo.h: Likewise.
19960 * locale/global-locale.c: Likewise.
19961 * locale/localeinfo.h: Likewise.
19962 * mach/devstream.c: Likewise.
19963 * malloc/arena.c: Likewise.
19964 * malloc/set-freeres.c: Likewise.
19965 * misc/err.c: Likewise.
19966 * misc/getttyent.c: Likewise.
19967 * misc/mntent_r.c: Likewise.
19968 * posix/getopt.c: Likewise.
19969 * posix/wordexp.c: Likewise.
19970 * pwd/fgetpwent_r.c: Likewise.
19971 * resolv/Versions: Likewise.
19972 * resolv/res_hconf.c: Likewise.
19973 * shadow/fgetspent_r.c: Likewise.
19974 * shadow/putspent.c: Likewise.
19975 * stdio-common/printf_fphex.c: Likewise.
19976 * stdio-common/tmpfile.c: Likewise.
19977 * stdlib/abort.c: Likewise.
19978 * stdlib/fmtmsg.c: Likewise.
19979 * sunrpc/auth_unix.c: Likewise.
19980 * sunrpc/clnt_perr.c: Likewise.
19981 * sunrpc/clnt_tcp.c: Likewise.
19982 * sunrpc/clnt_udp.c: Likewise.
19983 * sunrpc/clnt_unix.c: Likewise.
19984 * sunrpc/openchild.c: Likewise.
19985 * sunrpc/svc_simple.c: Likewise.
19986 * sunrpc/svc_tcp.c: Likewise.
19987 * sunrpc/svc_udp.c: Likewise.
19988 * sunrpc/svc_unix.c: Likewise.
19989 * sunrpc/xdr.c: Likewise.
19990 * sunrpc/xdr_array.c: Likewise.
19991 * sunrpc/xdr_rec.c: Likewise.
19992 * sunrpc/xdr_ref.c: Likewise.
19993 * sunrpc/xdr_stdio.c: Likewise.
19994
199952011-09-09 Ulrich Drepper <drepper@gmail.com>
19996
19997 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19998
199992011-07-03 Andreas Jaeger <aj@suse.de>
20000
20001 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20002 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20003 regenerate with gen-libm-tests.pl.
20004
200052010-05-12 Petr Baudis <pasky@suse.cz>
20006
20007 [BZ #11589]
20008 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20009 around j0() zero points by switching to j1().
20010 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20011 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20013 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20014
200152011-09-09 Ulrich Drepper <drepper@gmail.com>
20016
20017 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20018 instead of 0.
20019 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20020 instead of 0.
20021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20022 Patch in part by Pavel Roskin <proski@gnu.org>.
20023
20024 [BZ #13138]
20025 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20026 realloc.
20027 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20028 Free memory block if necessary.
20029
20030 [BZ #12847]
20031 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20032 be NULL. Don't lock in this case.
20033
200342011-09-09 Roland McGrath <roland@hack.frob.com>
20035
20036 * elf/elf.h (ELFOSABI_GNU): New macro.
20037 (ELFOSABI_LINUX): Define to that.
20038
200392011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20040
20041 * string/strncat.c (strncat): Undef the symbol in case it has been
20042 defined in bits/string.h.
20043
200442011-09-09 Ulrich Drepper <drepper@gmail.com>
20045
20046 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20047
20048 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20049 link map.
20050
200512011-08-17 Andreas Jaeger <aj@suse.de>
20052
20053 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20054
200552011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20056 Ian Lance Taylor <iant@google.com>
20057
20058 * math/libm-test.inc (lround_test): New testcase.
20059 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20060
200612011-09-08 Ulrich Drepper <drepper@gmail.com>
20062
20063 * Makefile: Remove support for automatic cvs check-ins.
20064 * Makerules: Likewise.
20065 * config.make.in: Likewise.
20066 * configure.in: Likewise.
20067 * intl/Makefile: Likewise.
20068 * locale/Makefile: Likewise.
20069 * po/Makefile: Likewise.
20070 * posix/Makefile: Likewise.
20071 * sysdeps/gnu/Makefile: Likewise.
20072 * sysdeps/mach/hurd/Makefile: Likewise.
20073 * sysdeps/sparc/sparc32/Makefile: Likewise.
20074
20075 [BZ #13118]
20076 * posix/Makefile (bug-regex32-ENV): Define.
20077 Patch by John Stanley <jpsinthemix@verizon.net>.
20078
20079 * misc/Makefile (headers): Add bits/select2.h.
20080 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20081 * misc/bits/select2.h: New file.
20082 * include/bits/select2.h: New file.
20083 * debug/Makefile (routines): Add fdelt_chk.
20084 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20085 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20086 FD_ISSET.
20087 * debug/fdelt_chk.c: New file.
20088
20089 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20090 * wcsmbs/test-wmemcmp.c: Likewise.
20091 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20092 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20093
200942011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20095
20096 * string/Makefile (strop-tests): Add memcmp.
20097 * string/test-wmemcmp.c: New file.
20098 * string/test-memcmp.c: Add wmemcmp support.
20099
201002011-09-08 Roland McGrath <roland@hack.frob.com>
20101
20102 [BZ #13153]
20103 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20104 2011-07-19 change.
20105
20106 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20107 garbage value in a __mach_port_mod_refs call in the cases of the
20108 task-self and thread-self ports.
20109
201102011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20111
20112 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20113
201142011-09-08 Andreas Schwab <schwab@redhat.com>
20115
20116 * elf/dl-load.c (lose): Check for non-null L.
20117
201182011-09-07 Ulrich Drepper <drepper@gmail.com>
20119
20120 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20121
20122 * elf/dl-libc.c (dlerror_run): Pass back error code from
20123 dl_catch_error.
20124
20125 [BZ #13123]
20126 * elf/dl-load.c (lose): Free l_origin if it is valid.
20127
20128 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20129 names.
20130 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20131 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20132 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20133 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20134 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20135 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20136
201372011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20138
20139 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20140 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20141 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20142 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20143 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20144 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20145 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20146 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20147 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20148 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20149
201502011-08-15 Alan Modra <amodra@gmail.com>
20151
20152 [BZ #13092]
20153 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20154 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20155 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20156 ppc_mcount to static-only-routines.
20157 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20158 __mcount_internal.
20159 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20160 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20161
201622011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20163
20164 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20165 for finite and infinity parameters.
20166
201672011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20168
20169 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20170 and add nop instructions for throughput optimization.
20171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20172
201732011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20174
20175 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20176 aligned copy for power7 with vector-scalar instructions.
20177 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20178
201792011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20180
20181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20182 AVX check.
20183
201842011-09-07 Andreas Schwab <schwab@redhat.com>
20185
20186 [BZ #13144]
20187 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20188 last change.
20189
201902011-09-07 Ulrich Drepper <drepper@gmail.com>
20191
20192 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20193 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20194 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20195 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20196 clock_gettime.
20197
201982011-09-06 Ulrich Drepper <drepper@gmail.com>
20199
20200 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20201 Forgot to demangle the pointer.
20202
20203 * sysdeps/i386/sysdep.h: Define atom_text_section.
20204 * sysdeps/x86_64/sysdep.h: Likewise.
20205 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20206 section with atom_text_section.
20207 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20208 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20209 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20210 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20211 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20212
20213 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20214 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20215 already be defined. Change to take two parameters and don't assign
20216 result to variable. Adjust all users.
20217 Define INTERNAL_GETTIME if not already defined.
20218 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20219 call.
20220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20221 HAVE_CLOCK_GETTIME_VSYSCALL.
20222 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20223
20224 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20225 gettimeofday vsyscall, just use time.
20226
202272011-09-06 Andreas Schwab <schwab@redhat.com>
20228
20229 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20230 <errno.h>.
20231
202322011-09-06 Ulrich Drepper <drepper@gmail.com>
20233
20234 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20235 syscall on x86-64.
20236 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20237 syscall.
20238 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20239 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20240 syscall if possible.
20241
202422011-09-05 Ulrich Drepper <drepper@gmail.com>
20243
20244 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20245 e_ident. Don't pass to find_mapsXX.
20246 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20247
202482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20249
20250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20251 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20252 * sysdeps/x86_64/multiarch/strchr.S: Update.
20253 Check bit_slow_BSF bit.
20254 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20255 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20256 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20257
202582011-09-05 Ulrich Drepper <drepper@gmail.com>
20259
20260 [BZ #13134]
20261 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20262 before glibc 2.15.
20263 (tryshell): Define.
20264 (__spawni): Change last parameter to be flag. Test
20265 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20266 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20267 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20268 * posix/spawni.c: Likewise.
20269 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20270 * posix/spawnp.c: Likewise. Change normal version to use
20271 SPAWN_XFLAGS_USE_PATH.
20272 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20273 SPAWN_XFLAGS_TRY_SHELL.
20274
20275 [BZ #13150]
20276 * posix/glob.h: Remove gcc 1.x support.
20277
20278 [BZ #13068]
20279 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20280
202812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20282
20283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20284 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20285 strrchr-sse2-bsf
20286 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20287 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20288 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20289 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20290 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20291 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20292
202932011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20294
20295 * sysdeps/x86_64/wcscmp.S: New file.
20296
20297 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20298 wcscmp-c wcscmp-sse2
20299 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20300 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20301 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20302 * wcsmbs/wcscmp.c: Allow renaming.
20303
203042011-09-05 David S. Miller <davem@davemloft.net>
20305
20306 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20307 stack slot, rather than the struct return pointer slot.
20308 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20309 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20311 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20312
203132011-09-05 Ulrich Drepper <drepper@gmail.com>
20314
20315 * po/ja.po: Update from translation team.
20316
20317 [BZ #13144]
20318 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20319 kernel in 64-bit binaries.
20320
203212011-09-01 David S. Miller <davem@davemloft.net>
20322
20323 * elf/elf.h (HWCAP_SPARC_*): Move to..
20324 * sysdeps/sparc/sysdep.h: this new file and add new values.
20325 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20326 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20327 _DL_HWCAP_COUNT to 24.
20328 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20329 entries.
20330 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20331 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20332 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20334 instead of magic constants.
20335 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20336
203372011-08-31 David S. Miller <davem@davemloft.net>
20338
20339 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20340 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20341 Reimplement to do errno handling inline.
20342 (SYSCALL_ERROR_HANDLER): New macro.
20343 (__SYSCALL_STRING): Do not do errno handling in asm.
20344 (__CLONE_SYSCALL_STRING): Delete.
20345 (__INTERNAL_SYSCALL_STRING): Delete.
20346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20347 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20348 (PSEUDO): Reimplement to do errno handling inline.
20349 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20350 (SYSCALL_ERROR_HANDLER): New macro.
20351 (__SYSCALL_STRING): Do not do errno handling in asm.
20352 (__CLONE_SYSCALL_STRING): Delete.
20353 (__INTERNAL_SYSCALL_STRING): Delete.
20354 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20355 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20356 i386.
20357 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20358 (inline_syscall*): Add 'err' argument.
20359 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20360 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20361 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20362 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20363
20364 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20365 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20366
203672011-08-30 Andreas Schwab <schwab@redhat.com>
20368
20369 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20370
203712011-08-29 Jiri Olsa <jolsa@redhat.com>
20372
20373 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20374 directive.
20375
203762011-08-24 David S. Miller <davem@davemloft.net>
20377
20378 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20379
203802011-08-24 Andreas Schwab <schwab@redhat.com>
20381
20382 * elf/Makefile: Add rules to build and run unload8 test.
20383 * elf/unload8.c: New file.
20384 * elf/unload8mod1.c: New file.
20385 * elf/unload8mod1x.c: New file.
20386 * elf/unload8mod2.c: New file.
20387 * elf/unload8mod3.c: New file.
20388
20389 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20390 it wasn't used.
20391
203922011-08-23 David S. Miller <davem@davemloft.net>
20393
20394 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20395 subtract stack bias.
20396 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20397 %sp not %fp in calculations.
20398 (_JMPBUF_UNWINDS_ADJ): Likewise.
20399
20400 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20401 (aio_suspend): Call it to force an exception region around the
20402 AIO_MISC_WAIT() invocation.
20403
204042011-08-23 Andreas Schwab <schwab@redhat.com>
20405
20406 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20407 backslash.
20408
204092011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20410
20411 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20412 protection macro.
20413 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20414 and <dl-machine.h>.
20415 (Elf64_FuncDesc): Remove.
20416
204172011-08-22 David S. Miller <davem@davemloft.net>
20418
20419 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20420 sigaltstack check, add missing cfi directives.
20421 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20422 missing cfi directives, and sigaltstack handling.
20423
204242011-08-16 Andreas Schwab <schwab@redhat.com>
20425
20426 [BZ #11724]
20427 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20428 object is seen twice.
20429 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20430
20431 * elf/Makefile (distribute): Add tst-initorder2.c.
20432 (tests): Add tst-initorder2.
20433 (modules-names): Add tst-initorder2a tst-initorder2b
20434 tst-initorder2c tst-initorder2d. Add rules to build them.
20435 ($(objpfx)tst-initorder2.out): New rule.
20436 * elf/tst-initorder2.c: New file.
20437 * elf/tst-initorder2.exp: New file.
20438
204392011-08-22 Andreas Schwab <schwab@redhat.com>
20440
20441 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20442
20443 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20444 dependencies back to end of function.
20445
20446 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20447 $(elfobjdir)/ld.so.
20448
204492011-08-21 Ulrich Drepper <drepper@gmail.com>
20450
20451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20452 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20453 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20454 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20455 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20456 of __vdso_gettimeofday.
20457 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20458 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20459 attribute_hidden.
20460 (_libc_vdso_platform_setup): Remove initialization of
20461 __vdso_gettimeofday and __vdso_time.
20462
204632011-08-20 Ulrich Drepper <drepper@gmail.com>
20464
20465 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20466 and fgetc_unlocked.
20467 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20468 getc_unlocked.
20469
20470 * elf/dl-open.c (add_to_global): Report additions to the global scope
20471 for LD_DEBUG=scopes.
20472 (dl_open_worker): Also print scope of newly loaded dependencies.
20473 (_dl_show_scope): Indicate if there is no scope.
20474
20475 [BZ #13114]
20476 * stdio-common/Makefile (tests): Add bug24.
20477 * stdio-common/bug24.c: New file.
20478
204792011-08-19 Andreas Jaeger <aj@suse.de>
20480
20481 [BZ #13114]
20482 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20483 non-existant file when using close-on-exec mode.
20484
204852011-08-20 Ulrich Drepper <drepper@gmail.com>
20486
20487 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20488 the very first instruction.
20489
20490 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20491 the CFI state in the end.
20492 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20493 inclusion of dl-trampoline.h.
20494 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20495
204962011-08-19 Andreas Schwab <schwab@redhat.com>
20497
20498 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20499 expectations for long double.
20500
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20502 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20503
205042011-08-14 David S. Miller <davem@davemloft.net>
20505
20506 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20507 artificual limit depends upon the system page size.
20508
205092011-08-17 Ulrich Drepper <drepper@gmail.com>
20510
20511 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20512 * resolv/Makefile: Define CFLAGS-libresolv.
20513
205142011-08-17 Andreas Schwab <schwab@redhat.com>
20515
20516 * nss/makedb.c (compute_tables): Make variables used in nested
20517 function static.
20518
205192011-08-17 Ulrich Drepper <drepper@gmail.com>
20520
20521 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20522 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20523 if buffer was too small.
20524
20525 * elf/pldd.c (main): Attach to all threads in the process.
20526 Rewrite /proc handling to use *at functions.
20527
205282011-08-16 Ulrich Drepper <drepper@gmail.com>
20529
20530 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20531 specifies first scope to show.
20532 (dl_open_worker): Update callers. Move printing scope of new
20533 object to before the relocation.
20534 * elf/rtld.c (dl_main): Update _dl_show_scope call.
20535 * sysdeps/generic/ldsodefs.h: Update declaration.
20536
20537 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20538 string for the scope number.
20539
205402011-08-14 Ulrich Drepper <drepper@gmail.com>
20541
20542 * nscd/servicescache.c (cache_addserv): Make sure written is always
20543 initialized.
20544
205452011-08-14 Roland McGrath <roland@hack.frob.com>
20546
20547 * sysdeps/i386/i486/bits/atomic.h
20548 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20549 statement expression, so as to suppress "set but not used" warning.
20550 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20551
20552 * string/strncat.c (STRNCAT): Use prototype definition.
20553
20554 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20555 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20556 -Iprograms here.
20557 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20558 (localedef-modules): Add localedef.
20559 (locale-modules): Add locale.
20560
20561 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20562 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20563 to avoid a warning.
20564
205652011-08-14 David S. Miller <davem@davemloft.net>
20566
20567 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20568 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20569
205702011-08-13 Ulrich Drepper <drepper@gmail.com>
20571
20572 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20573 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20574 * elf/rtld.c (dl_main): Set l_name of vDSO.
20575 Call _dl_show_scope when DL_DEBUG_SCOPES.
20576 (process_dl_debug): Recognize scopes flag and also set it for all.
20577 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20578 Declare _dl_show_scope.
20579
20580 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20581 (do_dlopen): Pass caller_dlopen to dl_open.
20582 (__libc_dlopen_mode): Initialize caller_dlopen.
20583
20584 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20585 of libc. Make tolower call locale-independent. Optimize a bit by
20586 using isdigit instead of isalnum.
20587 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20588
205892011-08-12 Ulrich Drepper <drepper@gmail.com>
20590
20591 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20592 was a dependency or dynamically loaded.
20593
205942011-08-11 Ulrich Drepper <drepper@gmail.com>
20595
20596 * intl/l10nflist.c: Allow architecture-specific pop function.
20597 * sysdeps/x86_64/l10nflist.c: New file.
20598
20599 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20600 classification.
20601
206022011-08-10 Andreas Schwab <schwab@redhat.com>
20603
20604 * include/dirent.h: Add libc_hidden_proto for scandirat and
20605 scandirat64. Don't declare __scandirat64.
20606 * dirent/scandirat.c: Add libc_hidden_def.
20607 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20608 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20609
206102011-08-10 David S. Miller <davem@davemloft.net>
20611
20612 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20613 enum.
20614 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20615 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20616 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20617
206182011-08-09 Ulrich Drepper <drepper@gmail.com>
20619
20620 * Versions.def [libc]: Add GLIBC_2.15.
20621 * dirent/Makefile (routines): Add scandirat and scandirat64.
20622 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20623 GLIBC_2.15.
20624 * dirent/dirent.h: Declare scandirat and scandirat64.
20625 * dirent/scandirat.c: New file.
20626 * dirent/scandirat64.c: New file.
20627 * sysdeps/wordsize-64/scandirat.c: New file.
20628 * sysdeps/wordsize-64/scandirat64.c: New file.
20629 * dirent/opendir.c: Define opendirat.
20630 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20631 using scandirat.
20632 * dirent/scandir64.c: Adjust for scandir.c change.
20633 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20634 __scandirat64, and __scandir_cancel_handler.
20635 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20636 additional parameter and use openat instead of open (outside of ld.so).
20637 Add new __opendir as wrapper around __opendirat.
20638 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20639 here without requiring old scandirat implementation.
20640
206412011-08-08 Ulrich Drepper <drepper@gmail.com>
20642
20643 * dirent/scandir.c (cancel_handler): Renamed to
20644 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20645 defined. Adjust users.
20646 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20647 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20648
206492011-08-04 Ulrich Drepper <drepper@gmail.com>
20650
20651 * string/test-string.h (IMPL): Use __STRING to expand name and then
20652 stringify it.
20653
20654 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20655 of cleanups.
20656
206572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20658
20659 * string/Makefile: Update.
20660 (strop-tests): Append strncat.
20661 * string/test-wcscmp.c: New file.
20662 New comprehensive test for wcscmp.
20663 * string/test-strcmp.c: Update.
20664 (WIDE): New define.
20665
206662011-07-22 Andreas Schwab <schwab@redhat.com>
20667
20668 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20669 line.
20670
206712011-07-26 Andreas Schwab <schwab@redhat.com>
20672
20673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20674 encoding to ACE if AI_IDN.
20675
206762011-08-01 Jakub Jelinek <jakub@redhat.com>
20677
20678 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20679 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20680
206812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20682
20683 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20684 Fix overflow bug in strncat.
20685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20686
20687 * string/test-strncat.c: Update.
20688 Add new tests for checking overflow bugs.
20689
206902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20691
20692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20693 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20694 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20695 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20696 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20697 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20698 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20699 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20700 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20701
20702 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20703 (USE_AS_STRCAT): Define.
20704 Add strcat and strncat support.
20705 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20706
207072011-07-25 Andreas Schwab <schwab@redhat.com>
20708
20709 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20710 __n bigger than INT_MAX+1.
20711 (__strncmp_g): Likewise.
20712
207132011-07-23 Ulrich Drepper <drepper@gmail.com>
20714
20715 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20716 * libio/stido.h: Likewise.
20717
20718 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20719 (AF_NFC): Define.
20720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20721 (AF_NFC): Define.
20722
20723 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20724 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20726 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20727 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20728
20729 [BZ #13021]
20730 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20731 installed.
20732
20733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20734 typo.
20735 (_dl_x86_64_save_sse): Likewise.
20736
207372011-07-22 Ulrich Drepper <drepper@gmail.com>
20738
20739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20740 OSXSAVE.
20741 (_dl_x86_64_save_sse): Likewise.
20742
20743 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20744
20745 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20746
207472011-07-21 Andreas Schwab <schwab@redhat.com>
20748
20749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20750 change.
20751 (_dl_x86_64_save_sse): Use correct AVX check.
20752
207532011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20754
20755 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20756 bug in strncpy/strncat.
20757 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20758
207592011-07-21 Ulrich Drepper <drepper@gmail.com>
20760
20761 * string/tester.c (test_strcat): Add tests for different alignments
20762 of source and destination.
20763 (test_strncat): Likewise.
20764
207652011-07-20 Ulrich Drepper <drepper@gmail.com>
20766
20767 [BZ #12852]
20768 * posix/glob.c (glob): Check passed in values before using them in
20769 expressions to avoid some overflows.
20770 (glob_in_dir): Likewise.
20771
20772 [BZ #13007]
20773 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20774 check for AVX enablement so that we don't crash with old kernels and
20775 new hardware.
20776 * elf/tst-audit4.c: Add same checks here.
20777 * elf/tst-audit6.c: Likewise.
20778
20779 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20780
207812011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20782
20783 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20784
207852011-07-20 Ulrich Drepper <drepper@gmail.com>
20786
20787 * po/cs.po: Update from translation team.
20788 * po/bg.po: Likewise.
20789
207902011-07-12 Marek Polacek <mpolacek@redhat.com>
20791
20792 * misc/sys/cdefs.h: Add support for const attribute.
20793 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20794 to gnu_dev_{major,minor,makedev} functions.
20795
207962011-07-20 Marek Polacek <mpolacek@redhat.com>
20797
20798 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20799
208002011-07-20 Andreas Schwab <schwab@redhat.com>
20801
20802 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20803 strlen results.
20804
208052011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20806
20807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20808 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20809 register in order to avoid conflicts with the soft frame pointer
20810 being held in r11 when necessary.
20811 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20812 (INTERNAL_VSYSCALL_NCS): Likewise.
20813
208142011-07-14 Marek Polacek <mpolacek@redhat.com>
20815
20816 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20817 * elf/dl-fini.c (_dl_fini): Adjust caller.
20818 * elf/dl-close.c (_dl_close_worker): Likewise.
20819 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20820
208212011-07-15 Marek Polacek <mpolacek@redhat.com>
20822
20823 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20824 "aux_cache->nlibs < 0".
20825
20826 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20827 in the reload-count case.
20828
208292011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20830
20831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20832 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20833 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20834 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20835 * sysdeps/x86_64/multiarch/strcat.S: New file.
20836 * sysdeps/x86_64/multiarch/strncat.S: New file.
20837 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20838 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20839 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20840 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20841 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20842 (USE_AS_STRCAT): Define.
20843 Add strcat and strncat support.
20844 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20845 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20846 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20847 * string/strncat.c: Update.
20848 (USE_AS_STRNCAT): Define.
20849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20850 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20851 and i7.
20852 * sysdeps/x86_64/multiarch/init-arch.h
20853 (bit_Prefer_PMINUB_for_stringop): New.
20854 (index_Prefer_PMINUB_for_stringop): Likewise.
20855 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20856 bit_Prefer_PMINUB_for_stringop.
20857
208582011-07-19 Ulrich Drepper <drepper@gmail.com>
20859
20860 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20861 buffer64.
20862 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20863 of casting of buffer.
20864 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20865 buffer32 and buffer64.
20866 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20867 writes instead of casting of buffer.
20868 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20869 buffer32.
20870 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20871 casting of buffer.
20872
208732011-07-19 Andreas Schwab <schwab@redhat.com>
20874
20875 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20876
208772011-07-19 Ulrich Drepper <drepper@gmail.com>
20878
20879 * nscd/nscd.c (termination_handler): Don't do anything for a database
20880 if it has not yet been initialized.
20881
208822011-07-18 Ulrich Drepper <drepper@gmail.com>
20883
20884 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20885
208862011-07-15 Marek Polacek <mpolacek@redhat.com>
20887
20888 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20889
208902011-07-18 Ulrich Drepper <drepper@gmail.com>
20891
20892 * po/nl.po: Update from translation team.
20893 * po/sv.po: Likewise.
20894
208952011-07-16 Roland McGrath <roland@hack.frob.com>
20896
20897 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20898 now disallowed by GCC.
20899
20900 * configure.in (use-default-link): Default to yes if a test -shared
20901 link meets our qualifications.
20902 * configure: Regenerated.
20903
20904 * config.make.in (output-format): New variable.
20905 * configure.in: Check for ld --print-output-format support.
20906 * configure: Regenerated.
20907 * Makerules ($(common-objpfx)format.lds)
20908 [$(output-format) != unknown]: Just use $(output-format),
20909 instead of the linker-script munging.
20910
209112011-07-14 Roland McGrath <roland@hack.frob.com>
20912
20913 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20914 of $(common-objpfx)shlib.lds.
20915 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20916
20917 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20918 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20919
20920 * configure.in (-z relro check): Adjust test code to add a large
20921 writable data section after it.
20922 * configure: Regenerated.
20923
209242011-07-11 Roland McGrath <roland@hack.frob.com>
20925
20926 * configure.in (-z relro check): Fix test code to make the variable
20927 truly const.
20928 * configure: Regenerated.
20929
209302011-07-11 Ulrich Drepper <drepper@gmail.com>
20931
20932 * nscd/nscd.h (struct traced_file): Define.
20933 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20934 elements. Add traced_files.
20935 (inotify_fd): Declare.
20936 (register_traced_file): Declare.
20937 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20938 (inotify_fd): Export.
20939 (resolv_conf_descr): Remove.
20940 (nscd_init): Move inotify descriptor creation to main.
20941 Don't register files for notification here.
20942 (register_traced_file): New function.
20943 (invalidate_cache): Don't use reset_res to determine whether to call
20944 res_init, go through the list of registered files.
20945 (main_loop_poll): The inotify descriptors are now stored in the
20946 structures for the traced files.
20947 (main_loop_epoll): Likewise
20948 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20949 to __nss_disable_nscd.
20950 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20951 for a database anymore. Check the records for all the registered
20952 files instead.
20953 * nss/Makefile (libnss_files-routines): Add files-init.
20954 (libnss_db-routines): Add db-init.
20955 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20956 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20957 * nss/nss_db/db-init.c: New file.
20958 * nss/nss_files/files-init.c: New file.
20959 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20960 __nss_lookup_function.
20961 (__nss_lookup_function): Call nss_load_library.
20962 (nss_load_all_libraries): New function.
20963 (__nss_disable_nscd): Take parameter with callback function for files
20964 to register. Set is_nscd. Load all the DSOs for the NSS modules
20965 used for the cached services.
20966 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20967 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20968 options for features to all the files in nscd.
20969
20970 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20971
209722011-07-10 Roland McGrath <roland@hack.frob.com>
20973
20974 * csu/elf-init.c (__libc_csu_init): Comment typo.
20975
209762011-07-09 Ulrich Drepper <drepper@gmail.com>
20977
20978 * po/pl.po: Update from translation team.
20979 * po/ja.po: Likewise.
20980 * po/ru.po: Likewise.
20981 * po/ko.po: Likewise.
20982 * po/fr.po: Likewise.
20983
209842011-07-09 Roland McGrath <roland@hack.frob.com>
20985
20986 * configure.in (.ctors/.dtors header and trailer check):
20987 Use an empirical test on a built program.
20988 * configure: Regenerated.
20989
20990 * configure.in (-z relro check): Use an empirical test on a built DSO.
20991 Detect, but do not require, on ia64.
20992 * configure: Regenerated.
20993
20994 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20995 Update tests that use readelf to use $READELF instead.
20996 * configure: Regenerated.
20997
209982011-07-08 Ulrich Drepper <drepper@gmail.com>
20999
21000 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21001 if the result is not used.
21002
210032011-07-05 Andreas Jaeger <aj@suse.de>
21004
21005 [BZ#9696]
21006 * stdlib/tst-strtod.c: Add testcase.
21007
210082011-07-07 Ulrich Drepper <drepper@gmail.com>
21009
21010 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21011 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21012 The latter has a higher limit. Take additional parameter to pass to
21013 the new function.
21014 (__pathconf): Pass file to __statfs_link_max.
21015 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21016 __statfs_link_max.
21017 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21018 __statfs_link_max.
21019
21020 [BZ #12868]
21021 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21022 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21023 Handle Lustre.
21024 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21025 (__statfs_filesize_max): Likewise.
21026 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21027
210282011-07-05 Andreas Jaeger <aj@suse.de>
21029
21030 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21031
210322011-07-06 Marek Polacek <mpolacek@redhat.com>
21033
21034 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21035 `status' variable.
21036 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21037 Likewise.
21038
210392011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21040
21041 * Makefile (strop-tests): Add strncat.
21042 * string/test-strncat.c: New file.
21043
210442011-06-30 Marek Polacek <mpolacek@redhat.com>
21045
21046 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21047
210482011-06-21 Andreas Jaeger <aj@suse.de>
21049
21050 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21051 Copy rule from iconvdata/Makefile.
21052
210532011-07-06 Ulrich Drepper <drepper@gmail.com>
21054
21055 [BZ #12922]
21056 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21057 but no long options are defined, just return 'W'.
21058
210592011-06-22 Marek Polacek <mpolacek@redhat.com>
21060
21061 [BZ #9696]
21062 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21063
210642011-07-06 Ulrich Drepper <drepper@gmail.com>
21065
21066 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21067 netgroups to read.
21068 (innetgr): Likewise.
21069
210702011-07-05 Roland McGrath <roland@hack.frob.com>
21071
21072 * config.make.in (install_root): Default to $(DESTDIR).
21073
210742011-07-05 Ulrich Drepper <drepper@gmail.com>
21075
21076 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21077
210782011-07-02 Roland McGrath <roland@hack.frob.com>
21079
21080 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21081
21082 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21083 containing directory rather than embedding absolute directory names.
21084
21085 * scripts/check-local-headers.sh: Rewritten using awk.
21086 Match by word, not by line. Print error messages for matches.
21087 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21088
21089 * Makerules [shlib-lds-flags empty]:
21090 ($(common-objpfx)libc_pic.opts): New target.
21091 ($(common-objpfx)libc_pic.os.clean): New target.
21092 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21093
21094 * config.make.in (OBJCOPY): New variable.
21095 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21096 * configure: Regenerated.
21097
21098 * config.make.in (use-default-link): New variable.
21099 * configure.in (use_default_link): Grok --with-default-link to set it.
21100 * configure: Regenerated.
21101 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21102 (shlib-lds, shlib-lds-flags): Define to empty.
21103
21104 * Makerules (shlib-lds): New variable.
21105 (shlib-lds-flags): New variable.
21106 (build-shlib, build-moduile, build-module-asneeded): Use it.
21107 ($(common-objpfx)libc.so): Use $(shlib-lds).
21108 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21109 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21110
21111 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21112 DT_FLAGS/DT_FLAGS_1 with zero flags.
21113
21114 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21115 linker script munging.
21116
211172011-07-02 Ulrich Drepper <drepper@gmail.com>
21118
21119 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21120 as 128-bit value.
21121 * crypt/sha512.c (sha512_process_block): Perform total addition using
21122 128-bit if possible.
21123 (__sha512_finish_ctx): Likewise.
21124 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21125 as 64-bit value.
21126 * crypt/sha256.c (SWAP64): Define.
21127 (sha256_process_block): Perform total addition using 64-bit if
21128 possible.
21129 (__sha256_finish_ctx): Likewise.
21130
211312011-07-01 Ulrich Drepper <drepper@gmail.com>
21132
21133 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21135 * nscd/hstcache.c (cache_addhst): Likewise.
21136 * nscd/grpcache.c (cache_addgr): Likewise.
21137 * nscd/aicache.c (addhstaiX): Likewise
21138 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21139
211402011-07-01 Thorsten Kukuk <kukuk@suse.de>
21141
21142 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21143 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21144 * nscd/hstcache.c (cache_addhst): Likewise.
21145 * nscd/grpcache.c (cache_addgr): Likewise.
21146 * nscd/aicache.c (addhstaiX): Likewise
21147
211482011-07-01 Andreas Schwab <schwab@redhat.com>
21149
21150 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21151 domain only when needed.
21152
211532011-06-30 Andreas Schwab <schwab@redhat.com>
21154
21155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21156 is always restored.
21157
211582011-06-29 Ulrich Drepper <drepper@gmail.com>
21159
21160 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21161 are re-adding the entry.
21162 * nscd/servicescache.c (cache_addserv): Likewise.
21163
211642011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21165
21166 * sysdeps/generic/dl-irel.h: fix protection against multiple
21167 inclusions.
21168 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21169
211702011-06-28 Ulrich Drepper <drepper@gmail.com>
21171
21172 [BZ #12935]
21173 * malloc/memusage.sh: Fix quoting in message.
21174 * debug/xtrace.sh: Likewise.
21175
21176 * configure.in: Remove support for --experimental-malloc option, make
21177 it the default.
21178 * config.make.in: Likewise.
21179 * malloc/Makefile: Likewise.
21180
211812011-06-27 Andreas Schwab <schwab@redhat.com>
21182
21183 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21184 two-byte characters.
21185
211862011-06-27 Roland McGrath <roland@hack.frob.com>
21187
21188 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21189 AC_CACHE_CHECK invocation.
21190 * configure: Regenerated.
21191
21192 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21193
211942011-06-27 Ulrich Drepper <drepper@gmail.com>
21195
21196 [BZ #12350]
21197 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21198 bit from old_res_options.
21199
21200 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21201
21202 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21203 value type for setfct.
21204
212052011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21206
21207 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21208 __gettimeofday instead of gettimeofday.
21209
212102011-06-26 Ulrich Drepper <drepper@gmail.com>
21211
21212 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21213
212142011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21215
21216 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21217
21218 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21219 info.
21220
212212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21222
21223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21224 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21225 strcpy-sse2-unaligned strncpy-sse2-unaligned
21226 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21227 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21228 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21229 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21230 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21231 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21233 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21234 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21235 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21236 (STRCPY): Support SSE2 and SSSE3 versions.
21237
212382011-06-24 Ulrich Drepper <drepper@gmail.com>
21239
21240 [BZ #12874]
21241 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21242 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21243 kernels which artificially limit size of requests.
21244
212452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21246
21247 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21248 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21249 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21250 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21251 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21252 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21253 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21254 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21255 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21256 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21257 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21258 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21259 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21260 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21261 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21263 Enable unaligned load optimization for Intel Core i3, i5 and i7
21264 processors.
21265 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21266 Define.
21267 (index_Fast_Unaligned_Load): Define.
21268 (HAS_FAST_UNALIGNED_LOAD): Define.
21269
212702011-06-23 Marek Polacek <mpolacek@redhat.com>
21271
21272 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21273
212742011-06-22 Ulrich Drepper <drepper@gmail.com>
21275
21276 [BZ #12907]
21277 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21278 until it is clear that the information is realy needed.
21279 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21280
212812011-06-22 Andreas Schwab <schwab@redhat.com>
21282
21283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21284
212852011-06-22 Ulrich Drepper <drepper@gmail.com>
21286
21287 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21288 /sys/devices/system/cpu/online if it is usable.
21289
21290 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21291 reading the information from the /proc filesystem to once a second.
21292
212932011-06-21 Andreas Jaeger <aj@suse.de>
21294
21295 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21296 NULL after inclusion of kernel headers.
21297
212982011-06-21 Ulrich Drepper <drepper@gmail.com>
21299
21300 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21301 calls to internal_setent.
21302
21303 [BZ #12885]
21304 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21305 addresses using gethostbyname4_r ignore IPv4 addresses.
21306
21307 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21308 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21309
21310 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21311
213122011-06-20 David S. Miller <davem@davemloft.net>
21313
21314 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21315 inclusions.
21316 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21317
21318 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21319 (elf_irel): Use it.
21320 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21321 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21322 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21323 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21324 * sysdeps/x86_64/dl-irel.h: Likewise.
21325
21326 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21327 * elf/dl-sym.c: Likewise.
21328
213292011-06-15 Ulrich Drepper <drepper@gmail.com>
21330
21331 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21332 need to dereference resplen2.
21333
213342011-06-14 Andreas Schwab <schwab@redhat.com>
21335
21336 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21337
213382011-06-15 Ulrich Drepper <drepper@gmail.com>
21339
21340 * Makeconfig: Define vardbdir and inst_vardbdir.
21341 * nss/Makefile: Add rules to install db-Makefile.
21342
21343 * nss/nss_db/db-XXX.c: Cleanup.
21344
21345 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21346 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21347 GLIBC_PRIVATE.
21348 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21349 * nss/makedb.c: Implement -g option to specify that value strings
21350 are generated and should not be added to table iterated over for
21351 get*ent calls.
21352 * nss/nss_db/db-initgroups.c: New file.
21353
21354 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21355 interface.
21356
21357 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21358 (internal_getgrouplist): Adjust to name change.
21359 Update use_initgroups_entry if this is not the first call.
21360 * nss/databases.def: Add initgroups entry.
21361
21362 * nss/makedb.c (compute_tables): Check result of multiple hash table
21363 sizes to minimize maximum chain length.
21364
213652011-06-14 Ulrich Drepper <drepper@gmail.com>
21366
21367 * Versions.def: Add entry for libnss_db.
21368 * shlib-versions: Likewise.
21369 * nss/Makefile: Add rules to build libnss_db.
21370 * nss/Versions: Add libnss_db information. Organize libnss_files
21371 entries better.
21372 * nss/db-Makefile: Add gshadow support. Change rules for the new
21373 makedb progra. Some minor improvements to generate smaller files.
21374 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21375 here from...
21376 * nss/makedb.c: ...here.
21377 Improve database format to be smaller and require less memory at
21378 runtime.
21379 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21380 db anymore.
21381 * nss/nss_db/db-netgrp.c: Likewise.
21382 * nss/nss_db/db-open.c: Likewise.
21383 * nss/nss_files/flies-XXX.x: Adjust comments.
21384 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21385 * nss/nss_files/files-grp.c: Likewise.
21386 * nss/nss_files/files-hosts.c: Likewise.
21387 * nss/nss_files/files-network.c: Likewise.
21388 * nss/nss_files/files-proto.c: Likewise.
21389 * nss/nss_files/files-pwd.c: Likewise.
21390 * nss/nss_files/files-rpc.c: Likewise.
21391 * nss/nss_files/files-service.c: Likewise.
21392 * nss/nss_files/files-sgrp.c: Likewise.
21393 * nss/nss_files/files-spwd.c: Likewise.
21394 * nss/nss_db/db-alias.c: Removed.
21395 * nss/nss_db/dummy-db.h: Removed.
21396
213972011-06-02 Ulrich Drepper <drepper@gmail.com>
21398
21399 * nss/makedb.c: Rewritten to not use database library.
21400 * nss/Makefile: Update to build new makedb program.
21401
214022011-06-14 Andreas Jaeger <aj@suse.de>
21403
21404 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21405 memset declaration.
21406
214072011-06-10 Andreas Schwab <schwab@redhat.com>
21408
21409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21410 tmpbuf.
21411
214122011-06-10 Roland McGrath <roland@hack.frob.com>
21413
21414 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21415 * elf/Makefile ($(objpfx)ld.so): Likewise.
21416
21417 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21418 Don't list ld.so twice in dependencies.
21419
21420 * posix/bug-regex31.c: Include <stdlib.h>.
21421
21422 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21423
21424 * nis/nss_compat/compat-spwd.c
21425 (getspent_next_nss_netgr): Remove unused variable.
21426 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21427
21428 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21429 nonmembers" output to use the right array.
21430
21431 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21432
21433 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21434
21435 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21436 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21437 * catgets/gencat.c (read_input_file): Likewise.
21438 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21439
21440 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21441 variable definition inside #if's controlling its use.
21442
21443 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21444
21445 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21446
21447 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21448
21449 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21450 unreachable code.
21451
21452 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21453
21454 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21455 * configure: Regenerated.
21456
21457 * Makerules: Revert last change.
21458 * elf/Makefile: Likewise.
21459
214602011-06-09 Roland McGrath <roland@hack.frob.com>
21461
21462 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21463 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21464 (reloc-link): Likewise.
21465
214662011-06-09 Ulrich Drepper <drepper@gmail.com>
21467
21468 * elf/Makefile: Add rules to build pldd.
21469 * elf/pldd.c: New file.
21470 * elf/pldd-xx.c: New file.
21471
214722011-06-07 Ulrich Drepper <drepper@gmail.com>
21473
21474 * version.h: Update for 2.15 development version.
21475
214762011-06-07 David S. Miller <davem@davemloft.net>
21477
21478 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21479 ifuncs.
21480 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21481 elf_machine_lazy_rel): Likewise.
21482 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21484 elf_machine_lazy_rel): Likewise.
21485 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21486 dl_hwcap via passed in argument.
21487 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21488 Likewise.
21489
214902011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21491
21492 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21493
214942011-06-06 Roland McGrath <roland@hack.frob.com>
21495
21496 [BZ #12849]
21497 * manual/fdl-1.1.texi: New file, verbatim from:
21498 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21499 * manual/lgpl-2.1.texi: New file, verbatim from:
21500 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21501 * manual/Makefile (licenses): New variable, list those new file names.
21502 (texis): Use it.
21503 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21504
21505 * manual/fdl.texi: File removed.
21506 * manual/lesser.texi: File removed.
21507 * manual/libc.texinfo (Copying, Documentation License):
21508 Use new @include file names, put @appendix directive before @include.
21509
215102011-06-04 Jakub Jelinek <jakub@redhat.com>
21511
21512 [BZ #12841]
21513 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21514 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21515 (mq_open): Add __NTH.
21516
215172011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21518
21519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21520 Assume Intel Core i3/i5/i7 processor if AVX is available.
21521
215222011-05-31 Ulrich Drepper <drepper@gmail.com>
21523
21524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21525 typo.
21526
215272011-05-31 Andreas Schwab <schwab@redhat.com>
21528
21529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21530 memory. Use alloca_account. Fix memory leak when retrying.
21531
215322011-05-31 Ulrich Drepper <drepper@gmail.com>
21533
21534 * version.h (RELEASE): Bump for 2.14 release.
21535 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21536
21537 * config.make.in (RANLIB): Remove entry.
21538
215392011-05-30 Ulrich Drepper <drepper@gmail.com>
21540
21541 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21542 (libc.pot): Work around missing support for .ksh extension in xgettext.
21543
21544 [BZ #12684]
21545 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21546 if both request failed.
21547 (send_dg): In case of server errors clear resplen or *resplen2.
21548
21549 [BZ #12454]
21550 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21551 when there are multiple maps.
21552 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21553 (_dl_fini): Remove test here.
21554
21555 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21556
215572011-05-29 Ulrich Drepper <drepper@gmail.com>
21558
21559 [BZ #12350]
21560 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21561 bit from old_res_options.
21562 (gaih_inet): Likewise.
21563
21564 [BZ #11099]
21565 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21566 as signed.
21567
21568 * resolv/res_init.c (res_setoptions): Make the code more compact.
21569
21570 [BZ #11558]
21571 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21572 set RES_USEVC.
21573
21574 [BZ #11634]
21575 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21576
21577 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21578
21579 [BZ #11781]
21580 * malloc/malloc.h: Declare malloc hook variables as volatile.
21581
21582 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21583 in last patch.
21584
21585 [BZ #11799]
21586 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21587 raise in the comment.
21588 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21589 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21590 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21591
215922011-05-28 Ulrich Drepper <drepper@gmail.com>
21593
21594 [BZ #12811]
21595 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21596 grow the buffers more if it already has to be sufficient.
21597 (build_wcs_upper_buffer): Likewise.
21598 * posix/regexec.c (check_matching): Likewise.
21599 (clean_state_log_if_needed): Likewise.
21600 (extend_buffers): Don't enlarge buffers beyond size of the input
21601 buffer.
21602 Patches mostly by Emil Wojak <emil@wojak.eu>.
21603 * posix/bug-regex32.c: New file.
21604 * posix/Makefile (tests): Add bug-regex32.
21605
21606 * locale/findlocale.c (_nl_find_locale): Return right away if
21607 _nl_explode_name failed.
21608 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21609
21610 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21611
21612 * debug/xtrace.sh: Unify messages.
21613 * malloc/memusage.sh: Likewise.
21614
21615 [BZ #12813]
21616 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21617 time symbol from vDSO. Substitute with vsyscall if not available.
21618 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21619 __vdso_time.
21620
21621 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21622 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21623 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21624 Add sendmmsg and internal_sendmmsg.
21625 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21626 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21627 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21628
21629 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21630 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21631 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21632
216332011-05-27 Ulrich Drepper <drepper@gmail.com>
21634
21635 [BZ #12813]
21636 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21637 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21638 available.
21639 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21640 __vdso_getcpu.
21641
21642 [BZ #12814]
21643 * iconvdata/Makefile (tests): Add bug-iconv9.
21644 * iconvdata/bug-iconv9.c: New file.
21645
216462011-05-27 Andreas Schwab <schwab@redhat.com>
21647
21648 [BZ #12814]
21649 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21650
216512011-05-25 Jakub Jelinek <jakub@redhat.com>
21652
21653 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21654 (struct user_regs_struct): Change intcs field back to cs.
21655
216562011-05-25 Ulrich Drepper <drepper@gmail.com>
21657
21658 * po/ja.po: Update from translation team.
21659
216602011-05-23 Ulrich Drepper <drepper@gmail.com>
21661
21662 [BZ #12795]
21663 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21664 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21665
216662011-05-20 Andreas Schwab <schwab@redhat.com>
21667
21668 * stdlib/longlong.h: Update from GCC.
21669
216702011-05-23 Andreas Schwab <schwab@redhat.com>
21671
21672 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21673 parameter name.
21674 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21675 Add parameter name.
21676 (__sysconf): Pass it down.
21677
216782011-05-22 Ulrich Drepper <drepper@gmail.com>
21679
21680 [BZ #12671]
21681 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21682 some situations.
21683 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21684 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21685 add in in __libc_use_alloca calls. Adjust callers.
21686 (glob): Use malloc in some situations.
21687
21688 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21689 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21690 pltexit.
21691
216922011-05-21 Ulrich Drepper <drepper@gmail.com>
21693
21694 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21695 and CLOCK_BOOTTIME_ALARM.
21696
21697 [BZ #12782]
21698 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21699 is returned.
21700
21701 * string/_strerror.c (__strerror_r): Print negative errors as signed
21702 numbers.
21703
21704 [BZ #12777]
21705 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21706 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21707 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21708
21709 * configure.in: Fix typo in redirection and correct removal of test
21710 files in two cases.
21711
21712 [BZ #12788]
21713 * locale/setlocale.c (new_composite_name): Fix test to check for
21714 identical name of all categories.
21715
21716 [BZ #12792]
21717 * libio/filedoalloc.c (local_isatty): New function.
21718 (_IO_file_doallocate): Use local_isatty.
21719 * stdio-common/perror.c (perror): In case a new stream is used
21720 forward the stream error.
21721 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21722 error flag.
21723
217242011-05-20 Ulrich Drepper <drepper@gmail.com>
21725
21726 [BZ #11869]
21727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21728 alloca.
21729 * include/alloca.h (extend_alloca_account): Define.
21730
21731 [BZ #11857]
21732 * posix/regex.h: Fix comments with documentation of user-accessible
21733 fields after compilation and describe correct free'ing of pattern
21734 after re_compile_pattern.
21735 Patch by Reuben Thomas <rrt@sc3d.org>.
21736
217372011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21738
21739 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21740 and -mno-altivec to prevent the compiler from using Altivec and/or
21741 VSX instructions when the corresponding registers are not available.
21742
217432011-05-19 Andreas Schwab <schwab@redhat.com>
21744
21745 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21746
217472011-05-19 Ulrich Drepper <drepper@gmail.com>
21748
21749 * libio/freopen.c (freopen): Use __dup2, not dup2.
21750 * libio/freopen64.c (freopen64): Likewise.
21751
217522011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21753
21754 [BZ #12775]
21755 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21756 * math/Makefile (tests): Add test-powl.
21757 (CFLAGS-test-powl.c): Define.
21758 * math/test-powl.c: New file.
21759
217602011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21761
21762 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21763
217642011-05-17 Ulrich Drepper <drepper@gmail.com>
21765
21766 [BZ #11837]
21767 * iconvdata/gb18030.c: Update to GB18020-2005.
21768
217692011-05-16 Ulrich Drepper <drepper@gmail.com>
21770
21771 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21772 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21773 Patch by Aharon Robbins <arnold@skeeve.com>.
21774
21775 [BZ #11892]
21776 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21777 on the stack.
21778
21779 [BZ #11895]
21780 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21781 through underflows.
21782
21783 [BZ #12766]
21784 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21785 point to strings before performing equality test for error_one_per_line
21786 mode.
21787
21788 [BZ #11697]
21789 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21790
21791 [BZ #11820]
21792 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21793 (struct user_fpregs_struct): Avoid __uint*_t types.
21794
21795 [BZ #6420]
21796 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21797 symbol info. Use it instead of calling _dl_addr locally.
21798 (lock_and_info): New function.
21799 (tr_freehook): Call lock_and_info and pass symbol info as additional
21800 parameter to tr_where.
21801 (tr_mallochook): Likewise.
21802 (tr_reallochook): Likewise.
21803 (tr_memalignhook): Likewise.
21804
21805 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21806 used and couldn't be at all thread-safe.
21807
218082011-05-15 Ulrich Drepper <drepper@gmail.com>
21809
21810 * libio/freopen.c (freopen): Don't close old file descriptor
21811 before the new one is opened. Instead dup the new file descriptor
21812 to the old one after the new stream is created.
21813 * libio/freopen64.c (freopen64): Likewise.
21814 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21815 * libio/fileops.c (_IO_new_file_close_it): Handle new
21816 _IO_FLAGS2_NOCLOSE flag.
21817 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21818 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21819 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21820 _IO_FLAGS2_NOCLOSE flag.
21821 * include/unistd.h: Add hidden_proto for dup3.
21822 Define __have_dup3.
21823 * io/dup3.c: Define hidden symbol.
21824 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21825
21826 [BZ #7101]
21827 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21828 when an incomplete long option is used.
21829 * posix/tst-getopt_long1.c: New file.
21830 * posix/Makefile (tests): Add tst-getopt_long1.
21831
21832 [BZ #10138]
21833 * scripts/config.guess: Update from autoconf-2.68.
21834 * scripts/config.sub: Likewise.
21835
21836 [BZ #10157]
21837 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21838 tests into ...
21839 (has_cpuclock): ...this. New function.
21840 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21841 macro here based on has_cpuclock code.
21842
21843 [BZ #10149]
21844 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21845 First byte (not low byte) is now always NUL.
21846 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21847
21848 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21849 Use non-cancelable interfaces.
21850
21851 [BZ #9809]
21852 * locale/iso-639.def: Add entry for Sorani.
21853
21854 [BZ #11901]
21855 * include/stdlib.h: Move include protection to the right place.
21856 Define abort_msg_s. Declare __abort_msg with it.
21857 * stdlib/abort.c (__abort_msg): Adjust type.
21858 * assert/assert.c (__assert_fail_base): New function. Majority
21859 of code from __assert_fail. Allocate memory for __abort_msg with
21860 mmap.
21861 (__assert_fail): Now call __assert_fail_base.
21862 * assert/assert-perr.c: Remove bulk of implementation. Use
21863 __assert_fail_base.
21864 * include/assert.hL Declare __assert_fail_base.
21865 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21866 mmap.
21867 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21868
218692011-05-14 Ulrich Drepper <drepper@gmail.com>
21870
21871 [BZ #11952]
21872 [BZ #12453]
21873 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21874 until all modules are registered in the DTV.
21875 * elf/Makefile: Add rules to build and run tst-tls19.
21876 * elf/tst-tls19.c: New file.
21877 * elf/tst-tls19mod1.c: New file.
21878 * elf/tst-tls19mod2.c: New file.
21879 * elf/tst-tls19mod3.c: New file.
21880 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21881
21882 [BZ #12083]
21883 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21884 correctly.
21885
21886 [BZ #12601]
21887 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21888 two-byte sequence errors.
21889 * iconvdata/Makefile (tests): Add bug-iconv8.
21890 * iconvdata/bug-iconv8.c: New file.
21891
21892 [BZ #12626]
21893 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21894 buf2 definition.
21895
21896 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21897
21898 [BZ #12432]
21899 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21900 (dummy_getcfa): New function.
21901 (init): Get _Unwind_GetCFA address, use dummy if not found.
21902 (backtrace_helper): In recursion check, also check whether CFA changes.
21903 (__backtrace): Completely initialize arg.
21904
21905 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21906 storing incomplete byte sequence in state object. Avoid testing for
21907 guaranteed too small input if we know there is enough data available.
21908
219092011-05-11 Andreas Schwab <schwab@redhat.com>
21910
21911 * Makeconfig (+link-pie): Indent.
21912 * Rules (binaries-pie): Define if $(have-fpie) and
21913 $(build-shared).
21914 (binaries-shared): Also filter out $(binaries-pie).
21915 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21916 * nscd/Makefile (others-pie): Add nscd.
21917 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21918 ($(objpfx)nscd): Remove command override.
21919 * login/Makefile (others-pie): Add pt_chown.
21920 ($(objpfx)pt_chown): Remove command override.
21921 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21922 remove command overrides.
21923
219242011-05-13 Ulrich Drepper <drepper@gmail.com>
21925
21926 * libio/tst_putwc.c: Fix error messages.
21927
21928 [BZ #12724]
21929 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21930 currently writing and seek to current position when not.
21931 * libio/Makefile (tests): Add bug-fclose1.
21932 * libio/bug-fclose1.c: New file.
21933
219342011-05-12 Ulrich Drepper <drepper@gmail.com>
21935
21936 [BZ #12511]
21937 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21938 don't set DF_1_NODELETE here.
21939 (do_lookup_x): When entering new entry test for copy relocation
21940 and if necessary set DF_1_NODELETE flag.
21941 * elf/tst-unique4.cc: New file.
21942 * elf/tst-unique4.h: New file.
21943 * elf/tst-unique4lib.cc: New file.
21944 * elf/Makefile: Add rules to build and run tst-unique4.
21945 Patch by Piotr Bury <pbury@goahead.com>.
21946
219472011-05-11 Ulrich Drepper <drepper@gmail.com>
21948
21949 [BZ #12052]
21950 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21951
21952 [BZ #12625]
21953 * misc/mntent_r.c (addmntent): Flush the stream after the output
21954
21955 [BZ #12393]
21956 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21957 (is_trusted_path_normalize): Skip initial colon. Append slash
21958 to empty buffer. Duplicate is_trusted_path code but allow
21959 constructed patch to be prefix.
21960 (is_dst): Allow $ORIGIN followed by /.
21961 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21962 Correct testing of result of is_trusted_path_normalize
21963 (decompose_rpath): Fix warning.
21964
219652011-05-10 Ulrich Drepper <drepper@gmail.com>
21966
21967 [BZ #11257]
21968 * grp/initgroups.c (internal_getgrouplist): When we found the service
21969 list through the initgroups entry in nsswitch.conf do not always
21970 continue on a successful lookup. Don't always use the
21971 __nss_group_database value if it is set.
21972 * nss/nsswitch.conf (initgroups): Change action for successful db
21973 lookup to continue for compatibility.
21974
219752011-05-09 Ulrich Drepper <drepper@gmail.com>
21976
21977 [BZ #11532]
21978 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21979 and CP774 modules.
21980 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21981 and CP774 modules.
21982 * iconvdata/tst-tables.sh: Likewise.
21983 * iconvdata/cp770.c: New file.
21984 * iconvdata/cp771.c: New file.
21985 * iconvdata/cp772.c: New file.
21986 * iconvdata/cp773.c: New file.
21987 * iconvdata/cp774.c: New file.
21988 * iconvdata/testdata/CP770: New file.
21989 * iconvdata/testdata/CP770..UTF8: New file.
21990 * iconvdata/testdata/CP771: New file.
21991 * iconvdata/testdata/CP771..UTF8: New file.
21992 * iconvdata/testdata/CP772: New file.
21993 * iconvdata/testdata/CP772..UTF8: New file.
21994 * iconvdata/testdata/CP773: New file.
21995 * iconvdata/testdata/CP773..UTF8: New file.
21996 * iconvdata/testdata/CP774: New file.
21997 * iconvdata/testdata/CP774..UTF8: New file.
21998
21999 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22000 END CHARMAP line.
22001 * iconvdata/gen-8bit-gap.sh: Likewise.
22002 * iconvdata/gen-8bit.sh: Likewise.
22003
22004 * locale/iso-639.def: Add ary entry.
22005
22006 [BZ #11258]
22007 * locale/C-translit.h.in: Add U20A1 transliteration.
22008
22009 [BZ #12178]
22010 * locale/iso-639.def: Add wae entry.
22011 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22012
22013 [BZ #12545]
22014 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22015 for n.
22016
22017 [BZ #12711]
22018 * locale/C-translit.h.in: Add entry for U20B9.
22019 Patch by pravin.d.s@gmail.com.
22020
220212011-05-08 Ulrich Drepper <drepper@gmail.com>
22022
22023 [BZ #12713]
22024 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22025 ENAMETOOLONG use generic getcwd.
22026 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22027 in rtld. Use *stat64.
22028 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22029 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22030 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22031 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22032 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22033 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22034 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22035 __fstatat64 macros.
22036 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22037 * dirent/rewinddir.c: Add libc_hidden_def.
22038 * sysdeps/mach/hurd/rewinddir.c: Likewise.
22039 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
22040
22041 * include/dirent.h (__alloc_dir): Add flags parameter.
22042 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22043 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22044 __alloc_dir.
22045 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22046 from fdopendir if O_CLOEXEC is already set.
22047
220482011-03-15 Alan Modra <amodra@gmail.com>
22049
22050 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22051 l_tls_firstbyte_offset non-zero. Save padding offset in
22052 l_tls_firstbyte_offset for later use.
22053 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22054 freeing static tls block.
22055
220562011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22057
22058 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22059 where #ifdef was intended. The intent is to prevent ARG_MAX from
22060 being defined by the kernel headers.
22061
220622011-05-07 Ulrich Drepper <drepper@gmail.com>
22063
22064 [BZ #12734]
22065 * resolv/resolv.h: Define RES_NOTLDQUERY.
22066 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22067 no-tld-query and set RES_NOTLDQUERY.
22068 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22069 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22070 modern BIND to search name as TLD unless forbidden.
22071
220722011-05-07 Petr Baudis <pasky@suse.cz>
22073 Ulrich Drepper <drepper@gmail.com>
22074
22075 [BZ #12393]
22076 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22077 (is_trusted_path): ...to here.
22078 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22079 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22080 using is_trusted_path_normalize() in setuid scripts.
22081
220822011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22083
22084 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22085 __BEGIN/__END_DECLS.
22086
220872011-05-06 Ulrich Drepper <drepper@gmail.com>
22088
22089 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22090 NSS_STATUS_NOTFOUND if no record was found.
22091
220922011-05-05 Andreas Schwab <schwab@redhat.com>
22093
22094 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22095 (headers-not-in-tirpc): Remove rpc/netdb.h
22096 * resolv/netdb.h: Revert last change.
22097
220982011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22099
22100 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22101 circular dependency between libgcc.a and libc.a.
22102
221032011-05-05 Andreas Schwab <schwab@redhat.com>
22104
22105 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22106 * nis/Makefile: Don't install rpcsvc/*.
22107 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22108 instead of <rpc/types.h>.
22109 (MAXHOSTNAMELEN): Define.
22110
221112011-05-03 Andreas Schwab <schwab@redhat.com>
22112
22113 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22114
221152011-04-28 Maciej Babinski <mbabinski@google.com>
22116
22117 [BZ #12714]
22118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22119 gethostbyname4_r when IPv6 results are possible.
22120
221212011-05-02 Ulrich Drepper <drepper@gmail.com>
22122
22123 [BZ #12723]
22124 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22125 _PC_PIPE_BUF handling.
22126
221272011-04-30 Bruno Haible <bruno@clisp.org>
22128
22129 [BZ #12717]
22130 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22131 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22132 to 'int'.
22133 * inet/getnameinfo.c (getnameinfo): Likewise.
22134
221352011-04-29 Ulrich Drepper <drepper@gmail.com>
22136
22137 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22138 to groups setting in database lookup.
22139 * nss/nsswitch.conf: Add initgroups entry.
22140
221412011-04-22 Ulrich Drepper <drepper@gmail.com>
22142
22143 [BZ #12685]
22144 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22145 mode string.
22146 Patch by Eric Blake <eblake@redhat.com>.
22147
221482011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22149
22150 * sunrpc/Makefile (need-export-routines): Add svc_run.
22151 (routines): Remove svc_run.
22152 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22153 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22154 * sunrpc/svc_run.c (svc_run): Likewise.
22155 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22156
221572011-04-21 Ulrich Drepper <drepper@gmail.com>
22158
22159 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22160 problem in reallocation in last patch.
22161
221622011-04-20 Ulrich Drepper <drepper@gmail.com>
22163
22164 * sunrpc/Makefile: Move inclusion of Rules.
22165
221662011-04-19 Ulrich Drepper <drepper@gmail.com>
22167
22168 * nss/nss_files/files-initgroups.c: New file.
22169 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22170 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22171 _nss_files_initgroups_dyn.
22172
221732011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22174
22175 * elf/elf.h (R_ARM_IRELATIVE): Define.
22176
221772011-04-19 Ulrich Drepper <drepper@gmail.com>
22178
22179 * po/ru.po: Update from translation team.
22180
221812011-04-17 Ulrich Drepper <drepper@gmail.com>
22182
22183 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22184 dependencies.
22185
221862011-02-06 Mike Frysinger <vapier@gentoo.org>
22187
22188 [BZ #12653]
22189 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22190 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22191 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22192 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22193 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22194
221952011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22196
22197 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22198 differing bytes.
22199 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22200 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22201 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22202
222032011-04-17 Ulrich Drepper <drepper@gmail.com>
22204
22205 [BZ #12420]
22206 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22207 storing it.
22208 * stdlib/bug-getcontext.c: New file.
22209 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22210
222112011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22212
22213 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22214 instructions into .machine "z9-109".
22215 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22216 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22217
222182011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22219
22220 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22221 between environment variables and auxiliary vector.
22222
222232011-04-16 Ulrich Drepper <drepper@gmail.com>
22224
22225 * Makefile: Add rules to build linkobj/libc.so.
22226 * include/libc-symbols.h: Define libc_hidden_nolink.
22227 * include/rpc/auth.h: Mark functions which are to be hidden.
22228 * include/rpc/auth_des.h: Likewise.
22229 * include/rpc/auth_unix.h: Likewise.
22230 * include/rpc/clnt.h: Likewise.
22231 * include/rpc/des_crypt.h: Likewise.
22232 * include/rpc/key_prot.h: Likewise.
22233 * include/rpc/pmap_clnt.h: Likewise.
22234 * include/rpc/pmap_prot.h: Likewise.
22235 * include/rpc/pmap_rmt.h: Likewise.
22236 * include/rpc/rpc_msg.h: Likewise.
22237 * include/rpc/svc.h: Likewise.
22238 * include/rpc/svc_auth.h: Likewise.
22239 * include/rpc/xdr.h: Likewise.
22240 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22241 * nss/Makefile: Likewise.
22242 * sunrpc/Makefile: Don't install headers. Build library with normal
22243 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22244 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22245 for the compat linking library. Remove use of INTDEF/INTUSE.
22246 * sunrpc/auth_none.c: Likewise.
22247 * sunrpc/auth_unix.c: Likewise.
22248 * sunrpc/authdes_prot.c: Likewise.
22249 * sunrpc/authuxprot.c: Likewise.
22250 * sunrpc/clnt_gen.c: Likewise.
22251 * sunrpc/clnt_perr.c: Likewise.
22252 * sunrpc/clnt_raw.c: Likewise.
22253 * sunrpc/clnt_simp.c: Likewise.
22254 * sunrpc/clnt_tcp.c: Likewise.
22255 * sunrpc/clnt_udp.c: Likewise.
22256 * sunrpc/clnt_unix.c: Likewise.
22257 * sunrpc/des_crypt.c: Likewise.
22258 * sunrpc/des_soft.c: Likewise.
22259 * sunrpc/get_myaddr.c: Likewise.
22260 * sunrpc/key_call.c: Likewise.
22261 * sunrpc/key_prot.c: Likewise.
22262 * sunrpc/netname.c: Likewise.
22263 * sunrpc/pm_getmaps.c: Likewise.
22264 * sunrpc/pm_getport.c: Likewise.
22265 * sunrpc/pmap_clnt.c: Likewise.
22266 * sunrpc/pmap_prot.c: Likewise.
22267 * sunrpc/pmap_prot2.c: Likewise.
22268 * sunrpc/pmap_rmt.c: Likewise.
22269 * sunrpc/publickey.c: Likewise.
22270 * sunrpc/rpc_cmsg.c: Likewise.
22271 * sunrpc/rpc_common.c: Likewise.
22272 * sunrpc/rpc_dtable.c: Likewise.
22273 * sunrpc/rpc_prot.c: Likewise.
22274 * sunrpc/rpc_thread.c: Likewise.
22275 * sunrpc/rtime.c: Likewise.
22276 * sunrpc/svc.c: Likewise.
22277 * sunrpc/svc_auth.c: Likewise.
22278 * sunrpc/svc_authux.c: Likewise.
22279 * sunrpc/svc_raw.c: Likewise.
22280 * sunrpc/svc_run.c: Likewise.
22281 * sunrpc/svc_simple.c: Likewise.
22282 * sunrpc/svc_tcp.c: Likewise.
22283 * sunrpc/svc_udp.c: Likewise.
22284 * sunrpc/svc_unix.c: Likewise.
22285 * sunrpc/svcauth_des.c: Likewise.
22286 * sunrpc/xcrypt.c: Likewise.
22287 * sunrpc/xdr.c: Likewise.
22288 * sunrpc/xdr_array.c: Likewise.
22289 * sunrpc/xdr_float.c: Likewise.
22290 * sunrpc/xdr_intXX_t.c: Likewise.
22291 * sunrpc/xdr_mem.c: Likewise.
22292 * sunrpc/xdr_rec.c: Likewise.
22293 * sunrpc/xdr_ref.c: Likewise.
22294 * sunrpc/xdr_sizeof.c: Likewise.
22295 * sunrpc/xdr_stdio.c: Likewise.
22296
222972011-04-10 Ulrich Drepper <drepper@gmail.com>
22298
22299 [BZ #12650]
22300 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22301 * sysdeps/ia64/dl-tls.h: Likewise.
22302 * sysdeps/powerpc/dl-tls.h: Likewise.
22303 * sysdeps/s390/dl-tls.h: Likewise.
22304 * sysdeps/sh/dl-tls.h: Likewise.
22305 * sysdeps/sparc/dl-tls.h: Likewise.
22306 * sysdeps/x86_64/dl-tls.h: Likewise.
22307 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22308
223092011-03-14 Andreas Schwab <schwab@redhat.com>
22310
22311 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22312 rpath element also skip the following colon.
22313 (expand_dynamic_string_token): Add is_path parameter and pass
22314 down to DL_DST_REQUIRED and _dl_dst_substitute.
22315 (decompose_rpath): Call expand_dynamic_string_token with
22316 non-zero is_path. Ignore empty rpaths.
22317 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22318 with zero is_path.
22319
223202011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22321
22322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22323 Make cancelable.
22324
223252011-04-09 Ulrich Drepper <drepper@gmail.com>
22326
22327 [BZ #12655]
22328 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22329 Patch by Filipe David Manana <fdmanana@apache.org>.
22330
223312011-04-07 Andreas Schwab <schwab@redhat.com>
22332
22333 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22334 Maintain aligned stack.
22335 (CHECK_RSP): Remove unused macro.
22336
223372011-04-03 Ulrich Drepper <drepper@gmail.com>
22338
22339 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22341
223422011-04-02 Ulrich Drepper <drepper@gmail.com>
22343
22344 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22345
22346 * include/features.h: Mention __USE_XOPEN2K8 in comment.
22347
223482011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22349
22350 [BZ #12518]
22351 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22352 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22353 * sysdeps/x86_64/memmove.c: New file.
22354 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22355 (memcpy): Renamed to ...
22356 (__new_memcpy): This.
22357 (memcpy): Provide GLIBC_2_14 memcpy.
22358 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22359 (memcpy): Provide GLIBC_2_2_5 memcpy.
22360
223612011-04-01 Ulrich Drepper <drepper@gmail.com>
22362
22363 [BZ #12631]
22364 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22365
223662011-03-30 Andreas Schwab <schwab@redhat.com>
22367
22368 * misc/syncfs.c: New file.
22369 * misc/Makefile (routines): Add syncfs.
22370 * posix/unistd.h: Declare syncfs.
22371 * sysdeps/unix/syscalls.list: Add syncfs.
22372
223732011-04-01 Andreas Schwab <schwab@redhat.com>
22374
22375 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22376 open_by_handle_at.
22377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22378 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22382 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22384
223852011-04-01 Ulrich Drepper <drepper@gmail.com>
22386
22387 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22388 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22389 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22391 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22393 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22394
22395 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22396 sync_file_range.c with -fexceptions.
22397 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22398 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22399 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22400 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22401 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22402 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22403 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22404 sync_file_range as cancellation point
22405 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22406 now a wrapper around __call_sync_file_range with cancellation handling.
22407 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22408 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22409 function name to __call_sync_file_range.
22410 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22411 Add call_sync_file_range.
22412
224132011-04-01 Andreas Schwab <schwab@redhat.com>
22414
22415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22416 bits/timex.h.
22417
224182011-04-01 Ulrich Drepper <drepper@gmail.com>
22419
22420 * iconv/iconv.h: Fix typo in comment.
22421 * io/fcntl.h: Likewise.
22422 * libio/stdio.h: Likewise.
22423 * posix/spawn.h: Likewise.
22424 * posix/unistd.h: Likewise.
22425 * stdlib/stdlib.h: Likewise.
22426 * time/time.h: Likewise.
22427 * wcsmbs/wchar.h: Likewise.
22428
22429 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22430 open_by_handle): Add.
22431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22432 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22433 Augment a few comments.
22434 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22436 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22439 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22440 open_by_handle.
22441
22442 * io/fcntl.h (AT_EMPTY_PATH): Define.
22443
224442011-03-30 Ulrich Drepper <drepper@gmail.com>
22445
22446 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22447 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22448 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22449 to...
22450 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
22451 * Versions.def: Add GLIBC_2.14.
22452 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22453 Export.
22454
224552011-03-22 Ulrich Drepper <drepper@gmail.com>
22456
22457 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22458 round counter.
22459 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22460
224612011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22462
22463 [BZ #12597]
22464 * string/test-strncmp.c (do_page_test): New function.
22465 (check2): Likewise.
22466 (test_main): Call check2.
22467 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22468
224692011-03-20 Ulrich Drepper <drepper@gmail.com>
22470
22471 [BZ #12587]
22472 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22473 Handle cache information in CPU leaf 4.
22474 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22475
224762011-03-18 Ulrich Drepper <drepper@gmail.com>
22477
22478 [BZ #12583]
22479 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22480 character representation.
22481 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22482
224832011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22484
22485 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22486 END(__isnan) to END(__isnanf) to match function entry point/label
22487 EALIGN(__isnanf,...).
22488
224892011-03-10 Jakub Jelinek <jakub@redhat.com>
22490
22491 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22492
224932011-03-10 Ulrich Drepper <drepper@gmail.com>
22494
22495 [BZ #12510]
22496 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22497 copy from the symbol referenced in the relocation to initialize the
22498 used variable.
22499 Patch by Piotr Bury <pbury@goahead.com>.
22500 * elf/Makefile: Add rules to build and tst-unique3.
22501 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22502 * elf/tst-unique3.cc: New file.
22503 * elf/tst-unique3.h: New file.
22504 * elf/tst-unique3lib.cc: New file.
22505 * elf/tst-unique3lib2.cc: New file.
22506
22507 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22508
225092011-03-10 Mike Frysinger <vapier@gentoo.org>
22510
22511 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22512 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22513 to _start.
22514
225152011-03-06 Ulrich Drepper <drepper@gmail.com>
22516
22517 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22518 to-be-loaded object along a path to loader is ld.so.
22519
225202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22521 Ulrich Drepper <drepper@gmail.com>
22522
22523 * sysdeps/x86_64/memset.S: After aligning destination, code
22524 branches to different locations depending on the value of
22525 misalignment, when multiarch is enabled. Fix this.
22526
225272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22528
22529 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22530 Set _x86_64_preferred_memory_instruction for AMD processsors.
22531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22532 Set bit_Prefer_SSE_for_memop for AMD processors.
22533
225342011-03-04 Ulrich Drepper <drepper@gmail.com>
22535
22536 * libio/fmemopen.c (fmemopen): Optimize a bit.
22537
225382011-03-03 Andreas Schwab <schwab@redhat.com>
22539
22540 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22541
225422011-03-03 Roland McGrath <roland@redhat.com>
22543
22544 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22545
225462011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22547
22548 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22549 __bzero_ultra1 instead of __memset_ultra1.
22550
225512011-02-23 Andreas Schwab <schwab@redhat.com>
22552 Ulrich Drepper <drepper@gmail.com>
22553
22554 [BZ #12509]
22555 * include/link.h (struct link_map): Add l_orig_initfini.
22556 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22557 returning unsuccessfully.
22558 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22559 close of a file loaded at startup, restore the original l_initfini
22560 list.
22561 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22562 list, store the pointer.
22563 * elf/Makefile ($(objpfx)noload-mem): New rule.
22564 (noload-ENV): Define.
22565 (tests): Add $(objpfx)noload-mem.
22566 * elf/noload.c: Include <memcheck.h>.
22567 (main): Call mtrace. Close all opened handles.
22568
225692011-02-17 Andreas Schwab <schwab@redhat.com>
22570
22571 [BZ #12454]
22572 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22573 dependencies are missing.
22574
225752011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22576
22577 Fix __if_freereq crash: Unlike the generic version which uses free,
22578 Hurd needs munmap.
22579 * sysdeps/mach/hurd/ifreq.h: New file.
22580
225812011-01-27 Petr Baudis <pasky@suse.cz>
22582 Ulrich Drepper <drepper@gmail.com>
22583
22584 [BZ 12445]#
22585 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22586 to extend_alloca().
22587 * stdio-common/bug23.c: New file.
22588 * stdio-common/Makefile (tests): Add bug23.
22589
225902010-09-28 Andreas Schwab <schwab@redhat.com>
22591 Ulrich Drepper <drepper@gmail.com>
22592
22593 [BZ #12489]
22594 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22595 before performing relro protection. At old place add assertion
22596 to make sure nothing changed.
22597
225982011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22599 Glauber de Oliveira Costa <glommer@gmail.com>
22600
22601 * elf/elf.h: Add new ARM TLS relocs.
22602
226032011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22604
22605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22606 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22607 cast from r3.
22608 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22609 'tests' variable.
22610 * sysdeps/wordsize-64/tst-writev.c: New file.
22611
226122011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22613
22614 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22615 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22616 insns in _dl_start to prevent a TOC reference before relocs are
22617 resolved.
22618
226192011-02-15 Ulrich Drepper <drepper@gmail.com>
22620
22621 [BZ #12469]
22622 * Makeconfig: Remove RANLIB definition.
22623 * Makerules: Don't use RANLIB.
22624 * aclocal.m4: Remove ranlib test.
22625 * configure.in: No need to check for ranlib.
22626 * elf/rtld-Rules: Don't use RANLIB.
22627
226282011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22629
22630 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22631 protection macro.
22632 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22633 inclusion protection macro.
22634
22635 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22636 SIGRTMIN and SIGRTMAX and print information in that case only when
22637 SIGRTMIN is defined.
22638
226392011-02-11 Jakub Jelinek <jakub@redhat.com>
22640
22641 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22642 arginfo fn returning -1.
22643
22644 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22645 and thousands string is zero terminated.
22646
226472011-02-03 Andreas Schwab <schwab@redhat.com>
22648
22649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22650 sysdeps/unix/sysv/linux/bits/socket.h.
22651
226522011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22653
22654 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22655 (__CPU_COUNT): Remove old macros.
22656 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22657 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22658 (__CPU_ALLOC, __CPU_FREE): Add macros.
22659 (__sched_cpualloc, __sched_cpufree): Add declarations.
22660
226612011-02-05 Ulrich Drepper <drepper@gmail.com>
22662
22663 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22664 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22665 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22666 (readdhstai): Return value of addhstaiX call.
22667 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22668 (addgrbyX): Return value returned by cache_addgr.
22669 (readdgrbyname): Return value returned by addgrbyX.
22670 (readdgrbygid): Likewise.
22671 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22672 (addpwbyX): Return value returned by cache_addpw.
22673 (readdpwbyname): Return value returned by addhstbyX.
22674 (readdpwbyuid): Likewise.
22675 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22676 (addservbyX): Return value returned by cache_addserv.
22677 (readdservbyname): Return value returned by addservbyX:
22678 (readdservbyport): Likewise.
22679 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22680 (addhstbyX): Return value returned by cache_addhst.
22681 (readdhstbyname): Return value returned by addhstbyX.
22682 (readdhstbyaddr): Likewise.
22683 (readdhstbynamev6): Likewise.
22684 (readdhstbyaddrv6): Likewise.
22685 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22686 (readdinitgroups): Return value returned by addinitgroupsX.
22687 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22688 (prune_cache): Keep track of timeout value of re-added entries.
22689 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22690 * nscd/nscd.h: Adjust prototypes of readd* functions.
22691
226922011-02-04 Roland McGrath <roland@redhat.com>
22693
22694 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22695 (nis_stats): Likewise.
22696 * nis/nis_modify.c (nis_modify): Likewise.
22697 * nis/nis_remove.c (nis_remove): Likewise.
22698 * nis/nis_add.c (nis_add): Likewise.
22699
22700 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22701
22702 * posix/fnmatch_loop.c: Add some consts.
22703
22704 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22705
227062011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22707
22708 [BZ #12460]
22709 * config.make.in (config-cflags-novzeroupper): Define.
22710 * configure.in: Substitute libc_cv_cc_novzeroupper.
22711 * elf/Makefile (AVX-CFLAGS): Define.
22712 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22713 (CFLAGS-tst-auditmod4a.c): Likewise.
22714 (CFLAGS-tst-auditmod4b.c): Likewise.
22715 (CFLAGS-tst-auditmod6b.c): Likewise.
22716 (CFLAGS-tst-auditmod6c.c): Likewise.
22717 (CFLAGS-tst-auditmod7b.c): Likewise.
22718 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22719
227202011-02-02 Ulrich Drepper <drepper@gmail.com>
22721
22722 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22723 function to the callback.
22724 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22725
227262011-02-02 Andreas Schwab <schwab@redhat.com>
22727
22728 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22729 of errno.
22730
227312011-01-19 Ulrich Drepper <drepper@gmail.com>
22732
22733 [BZ #11724]
22734 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22735 of constructors.
22736 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22737 of destructors.
22738 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22739
22740 [BZ #11724]
22741 * elf/Makefile: Add rules to build and run new test.
22742 * elf/tst-initorder.c: New file.
22743 * elf/tst-initorder.exp: New file.
22744 * elf/tst-initordera1.c: New file.
22745 * elf/tst-initordera2.c: New file.
22746 * elf/tst-initordera3.c: New file.
22747 * elf/tst-initordera4.c: New file.
22748 * elf/tst-initorderb1.c: New file.
22749 * elf/tst-initorderb2.c: New file.
22750 * elf/tst-order-a1.c: New file.
22751 * elf/tst-order-a2.c: New file.
22752 * elf/tst-order-a3.c: New file.
22753 * elf/tst-order-a4.c: New file.
22754 * elf/tst-order-b1.c: New file.
22755 * elf/tst-order-b2.c: New file.
22756 * elf/tst-order-main.c: New file.
22757 New test case by George Gensure <werkt0@gmail.com>.
22758
227592010-10-01 Andreas Schwab <schwab@redhat.com>
22760
22761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22762 decoding ACE if AI_CANONIDN.
22763
227642011-01-18 Ulrich Drepper <drepper@gmail.com>
22765
22766 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22767
227682011-01-17 Ulrich Drepper <drepper@gmail.com>
22769
22770 * version.h (RELEASE): Bump for 2.13 release.
22771 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22772
22773 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22774
22775 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22776 MADV_NOHUGEPAGE.
22777 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22778 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22779 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22780 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22781 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22782 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22783
22784 * posix/getconf.c: Update copyright year.
22785 * catgets/gencat.c: Likewise.
22786 * csu/version.c: Likewise.
22787 * debug/catchsegv.sh: Likewise.
22788 * debug/xtrace.sh: Likewise.
22789 * elf/ldconfig.c: Likewise.
22790 * elf/ldd.bash.in: Likewise.
22791 * elf/sprof.c (print_version): Likewise.
22792 * iconv/iconv_prog.c: Likewise.
22793 * iconv/iconvconfig.c: Likewise.
22794 * locale/programs/locale.c: Likewise.
22795 * locale/programs/localedef.c: Likewise.
22796 * malloc/memusage.sh: Likewise.
22797 * malloc/mtrace.pl: Likewise.
22798 * nscd/nscd.c (print_version): Likewise.
22799 * nss/getent.c: Likewise.
22800
22801 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22802 PF_CAIF, and PF_ALG.
22803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22804
228052011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22806
22807 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22808 (modules-names): Use them.
22809 (ifunc-test-modules, ifunc-pie-tests): Define.
22810 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22811 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22812 (test-extras): Likewise.
22813 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22814 $(compile-command.c).
22815 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22816 (all-built-dso): Define.
22817 (check-textrel.out, check-execstack.out): Depend on it.
22818
22819 * configure.in: Don't override --enable-multi-arch.
22820
228212011-01-15 Ulrich Drepper <drepper@gmail.com>
22822
22823 [BZ #6812]
22824 * nscd/hstcache.c (tryagain): Define.
22825 (cache_addhst): Return tryagain not notfound for temporary errors.
22826 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22827 failed.
22828
228292011-01-14 Ulrich Drepper <drepper@gmail.com>
22830
22831 [BZ #10563]
22832 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22833 to make the syscall.
22834 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22835
22836 [BZ #12378]
22837 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22838 and fall back to matching as normal character if the string ends before
22839 the matching ']' is found. This is what POSIX requires.
22840 * posix/testfnm.c: Adjust test result.
22841 * posix/globtest.sh: Adjust test result. Add new test.
22842 * posix/tst-fnmatch.input: Likewise.
22843 * posix/tst-fnmatch2.c: Add new test.
22844
228452010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22846
22847 * elf/Makefile (check-execstack): Revert last change. Depend on
22848 check-execstack.h.
22849 (check-execstack.h): New target.
22850 (generated): Add check-execstack.h.
22851 * elf/check-execstack.c: Include "check-execstack.h".
22852 (main): Revert last change.
22853 (handle_file): Return zero if GNU_STACK is absent and
22854 DEFAULT_STACK_PERMS doesn't include PF_X.
22855
228562011-01-13 Ulrich Drepper <drepper@gmail.com>
22857
22858 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22859 in child fails because the descriptor is already closed.
22860 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22861 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22862 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22863
22864 [BZ #12397]
22865 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22866 syscall.
22867
22868 [BZ #10484]
22869 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22870 temporary buffer used to handle multi lookups locally.
22871 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22872
228732011-01-12 Ulrich Drepper <drepper@gmail.com>
22874
22875 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22876 loader is ld.so.
22877
228782011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22879
22880 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22881 alignment for SSE2.
22882
228832011-01-12 Ulrich Drepper <drepper@gmail.com>
22884
22885 [BZ #12394]
22886 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22887 characters. When rounding increased number of integer digits recompute
22888 number of groups.
22889 * stdio-common/tst-grouping.c: New file.
22890 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22891
228922011-01-09 Ulrich Drepper <drepper@gmail.com>
22893
22894 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22895 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22896
22897 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22898 void.
22899 * bits/select.h: Likewise.
22900
229012011-01-08 Ulrich Drepper <drepper@gmail.com>
22902
22903 * po/ja.po: Update from translation team.
22904
229052011-01-04 David S. Miller <davem@sunset.davemloft.net>
22906
22907 [BZ #11155]
22908 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22909 implementation just like for lxstat, fxstatat, et al.
22910
229112010-12-27 Jim Meyering <meyering@redhat.com>
22912
22913 [BZ #12348]
22914 * posix/regexec.c (build_trtable): Return failure indication upon
22915 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22916
229172010-12-25 Ulrich Drepper <drepper@gmail.com>
22918
22919 [BZ #12201]
22920 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22921 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22922 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22923 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22924
22925 [BZ #12207]
22926 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22927
22928 [BZ #12204]
22929 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22930 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22931
229322010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22933
22934 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22935 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22936 script has SORT_BY_INIT_PRIORITY.
22937 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22938 NO_CTORS_DTORS_SECTIONS is defined.
22939 * elf/soinit.c: Likewise.
22940 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22941 NO_CTORS_DTORS_SECTIONS is defined.
22942 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22943 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22944 * sysdeps/sh/init-first.c: Likewise.
22945 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22946
229472010-12-24 Ulrich Drepper <drepper@gmail.com>
22948
22949 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22950 always use the slow path.
22951
229522010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22953
22954 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22955 similar rule which adds the sysdep directories to the header search in
22956 order to pick up the correct platform stackinfo.h.
22957 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22958 perform test if it is, otherwise return successfully without testing.
22959 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22960 DEFAULT_STACK_PERMS define in stackinfo.h.
22961 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22962 defined in stackinfo.h.
22963 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22964 DEFAULT_STACK_PERMS defined in stackinfo.h.
22965 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22966 * sysdeps/ia64/stackinfo.h: Likewise.
22967 * sysdeps/s390/stackinfo.h: Likewise.
22968 * sysdeps/sh/stackinfo.h: Likewise.
22969 * sysdeps/sparc/stackinfo.h: Likewise.
22970 * sysdeps/x86_64/stackinfo.h: Likewise.
22971 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22972 PF_X for powerpc64. Retain PF_X for powerpc32.
22973
229742010-12-19 Ulrich Drepper <drepper@gmail.com>
22975
22976 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22977 accurately.
22978 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22979 GETDENTS_64BIT_ALIGNED.
22980
229812010-12-14 Ulrich Drepper <dreper@gmail.com>
22982
22983 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22984
229852010-12-10 Andreas Schwab <schwab@redhat.com>
22986
22987 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22988 _GNU_SOURCE.
22989
22990 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22991 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22992 Remove __restrict.
22993 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22994 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22995
229962010-12-09 Ulrich Drepper <drepper@gmail.com>
22997
22998 [BZ #11655]
22999 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23000 are initialized.
23001
230022010-12-09 Jakub Jelinek <jakub@redhat.com>
23003
23004 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23005
230062010-12-03 Ulrich Drepper <drepper@gmail.com>
23007
23008 * po/it.po: Update from translation team.
23009
230102010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23011
23012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23013 unused codes.
23014
230152010-11-30 Ulrich Drepper <drepper@gmail.com>
23016
23017 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23018
230192010-11-24 Andreas Schwab <schwab@redhat.com>
23020
23021 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23022 specially.
23023 (gaih_getanswer_slice): Likewise.
23024
230252010-10-20 Jakub Jelinek <jakub@redhat.com>
23026
23027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23028
230292010-05-31 Petr Baudis <pasky@suse.cz>
23030
23031 [BZ #11149]
23032 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23033 silently even in the chroot mode.
23034
230352010-11-22 Ulrich Drepper <drepper@gmail.com>
23036
23037 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23038 last patch a bit. Pretty printing
23039
230402010-05-31 Petr Baudis <pasky@suse.cz>
23041
23042 [BZ #10085]
23043 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23044 initialization of skip_initgroups_dyn.
23045
230462010-11-19 Ulrich Drepper <drepper@gmail.com>
23047
23048 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23049 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23050
230512010-11-16 Ulrich Drepper <drepper@gmail.com>
23052
23053 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23054
230552010-11-11 Andreas Schwab <schwab@redhat.com>
23056
23057 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23058 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23059 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23060 ($(objpfx)tst-fnmatch-mem): New rule.
23061 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23062 * posix/tst-fnmatch.c (main): Call mtrace.
23063
230642010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23065
23066 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23067 Support Intel processor model 6 and model 0x2c.
23068
230692010-11-10 Luis Machado <luisgpm@br.ibm.com>
23070
23071 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23072 signed comparison.
23073
230742010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23075
23076 [BZ #12205]
23077 * string/test-strncasecmp.c (check_result): New function.
23078 (do_one_test): Use it.
23079 (check1): New function.
23080 (test_main): Use it.
23081 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23082 Support strcasecmp and strncasecmp.
23083
230842010-11-08 Ulrich Drepper <drepper@gmail.com>
23085
23086 [BZ #12194]
23087 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23088 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23089
230902010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23091
23092 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23093 IFUNC support.
23094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23095 memset-x86-64.
23096 * sysdeps/x86_64/multiarch/bzero.S: New file.
23097 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23098 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23099 * sysdeps/x86_64/multiarch/memset.S: New file.
23100 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23102 Set bit_Prefer_SSE_for_memop for Intel processors.
23103 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23104 Define.
23105 (index_Prefer_SSE_for_memop): Define.
23106 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23107
231082010-11-04 Luis Machado <luisgpm@br.ibm.com>
23109
23110 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23111 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23112
231132010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23114
23115 [BZ #12191]
23116 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23117 (__x86_64_raw_data_cache_size_half): Likewise.
23118 (__x86_64_raw_shared_cache_size): Likewise.
23119 (__x86_64_raw_shared_cache_size_half): Likewise.
23120
23121 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23122 (__x86_64_raw_data_cache_size_half): Likewise.
23123 (__x86_64_raw_shared_cache_size): Likewise.
23124 (__x86_64_raw_shared_cache_size_half): Likewise.
23125 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23126 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23127 and __x86_64_raw_shared_cache_size_half. Round
23128 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23129 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23130 to multiple of 256 bytes.
23131
231322010-11-03 Ulrich Drepper <drepper@gmail.com>
23133
23134 [BZ #12167]
23135 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23136 of inacessible symlinks. Verify result of symlink before returning it.
23137 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23138 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23139
231402010-10-28 Erich Ritz <erichritz@gmail.com>
23141
23142 * math/math.h (isinf): Fix typo in comment.
23143
231442010-11-01 Ulrich Drepper <drepper@gmail.com>
23145
23146 * po/da.po: Update from translation team.
23147
231482010-10-26 Ulrich Drepper <drepper@gmail.com>
23149
23150 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23151 is added to the list.
23152
231532010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23154 Ulrich Drepper <drepper@gmail.com>
23155
23156 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23157 the global list here. Move code to...
23158 (_dl_add_to_namespace_list): ...here. New function.
23159 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23160 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23161 * elf/dl-load.c (lose): Don't remove the element from the list.
23162 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23163 (_dl_map_object): Likewise.
23164
231652010-10-25 Ulrich Drepper <drepper@gmail.com>
23166
23167 [BZ #12159]
23168 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23169 into all bytes of SSE register.
23170 Patch by Richard Li <richardpku@gmail.com>.
23171
231722010-10-24 Ulrich Drepper <drepper@gmail.com>
23173
23174 [BZ #12140]
23175 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23176 perturbing.
23177
231782010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23179
23180 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23181 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23182 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23183 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23185 submachine.
23186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23187
231882010-10-22 Andreas Schwab <schwab@redhat.com>
23189
23190 * include/dlfcn.h (__RTLD_SECURE): Define.
23191 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23192 mode & __RTLD_SECURE instead.
23193 (open_path): Rename preloaded parameter to secure.
23194 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23195 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23196 * elf/dl-deps.c (openaux): Likewise.
23197 * elf/rtld.c (struct map_args): Remove is_preloaded.
23198 (map_doit): Don't use it.
23199 (dl_main): Likewise.
23200 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23201 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23202
232032010-09-09 Andreas Schwab <schwab@redhat.com>
23204
23205 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23206 (sysd-rules-targets): Remove duplicates.
23207 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23208 rtld-%.$o dependency.
23209
232102010-10-18 Andreas Schwab <schwab@redhat.com>
23211
23212 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23213 _dl_map_object do it.
23214
232152010-10-19 Ulrich Drepper <drepper@gmail.com>
23216
23217 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23218 fast fma builtins, define the macros in the C99 standard.
23219 (FP_FAST_FMAF): Likewise.
23220 (FP_FAST_FMAL): Likewise.
23221 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23222
23223 * bits/mathdef.h: Update copyright year.
23224 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23225
232262010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23227
23228 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23229 builtins, define the macros in the C99 standard.
23230 (FP_FAST_FMAF): Likewise.
23231 (FP_FAST_FMAL): Likewise.
23232 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23233 multiply/add.
23234 (FP_FAST_FMAF): Likewise.
23235
232362010-10-15 Jakub Jelinek <jakub@redhat.com>
23237
23238 [BZ #3268]
23239 * math/libm-test.inc (fma_test): Some new testcases.
23240 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23241 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23242 y and infinite z. Do multiplication by C already in long double.
23243 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23245 y and infinite z. Do bitwise or of inexact bit into u.d.
23246 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23247 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23248 * sysdeps/i386/fpu/s_fma.S: Removed.
23249 * sysdeps/i386/fpu/s_fmal.S: Removed.
23250
232512010-10-16 Jakub Jelinek <jakub@redhat.com>
23252
23253 [BZ #3268]
23254 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23256 computation is not scheduled after fetestexcept. Fix value
23257 of minimum denormal long double.
23258
232592010-10-14 Jakub Jelinek <jakub@redhat.com>
23260
23261 [BZ #3268]
23262 * math/libm-test.inc (fma_test): Add some more tests.
23263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23264 correctly.
23265
232662010-10-15 Andreas Schwab <schwab@redhat.com>
23267
23268 * scripts/data/localplt-s390-linux-gnu.data: New file.
23269 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23270
232712010-10-13 Jakub Jelinek <jakub@redhat.com>
23272
23273 [BZ #3268]
23274 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23275 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23276 instead of dbl-64.
23277 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23278 inlines.
23279 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23281 if one of x and y is very large and the other is subnormal.
23282 * sysdeps/s390/fpu/s_fmaf.c: New file.
23283 * sysdeps/s390/fpu/s_fma.c: New file.
23284 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23285 * sysdeps/powerpc/fpu/s_fma.S: New file.
23286 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23287 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23288 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23289
232902010-10-12 Jakub Jelinek <jakub@redhat.com>
23291
23292 [BZ #3268]
23293 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23294 fma tests.
23295 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23296 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23297 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23298 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23299 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23300 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23301 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23302
233032010-10-12 Ulrich Drepper <drepper@redhat.com>
23304
23305 [BZ #12078]
23306 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23307 * posix/bug-regex31.input: Add test case.
23308
233092010-10-11 Ulrich Drepper <drepper@gmail.com>
23310
23311 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23312 * posix/bug-regex31.input: New file.
23313
23314 [BZ #12078]
23315 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23316 (parse_sub_exp): Fix last change, use postorder.
23317
23318 * posix/bug-regex31.c: New file.
23319 * posix/Makefile: Add rules to build and run bug-regex31.
23320
23321 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23322
23323 [BZ #12078]
23324 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23325
23326 [BZ #12108]
23327 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23328 to have entries in sys_siglist.
23329
23330 [BZ #12093]
23331 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23332 be NULL.
23333
233342010-10-07 Jakub Jelinek <jakub@redhat.com>
23335
23336 [BZ #3268]
23337 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23338 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23339 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23340 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23341 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23342 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23343 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23344 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23345 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23346 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23347 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23348 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23349 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23350 * math/ftestexcept.c (fetestexcept): Likewise.
23351 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23352 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23353 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23354 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23355 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23356 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23357 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23358
233592010-10-11 Ulrich Drepper <drepper@gmail.com>
23360
23361 [BZ #12107]
23362 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23363 newline.
23364
233652010-10-06 Ulrich Drepper <drepper@gmail.com>
23366
23367 * string/bug-strstr1.c: New file.
23368 * string/Makefile: Add rules to build and run bug-strstr1.
23369
233702010-10-05 Eric Blake <eblake@redhat.com>
23371
23372 [BZ #12092]
23373 * string/str-two-way.h (two_way_long_needle): Always clear memory
23374 when skipping input due to the shift table.
23375
233762010-10-03 Ulrich Drepper <drepper@gmail.com>
23377
23378 [BZ #12005]
23379 * malloc/mcheck.c: Handle large requests.
23380
23381 [BZ #12077]
23382 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23383 for strncmp and strncasecmp.
23384 * string/stratcliff.c: Add tests for strcmp and strncmp.
23385 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23386
233872010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23388
23389 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23390 __set_fpscr.
23391
233922010-09-30 Andreas Jaeger <aj@suse.de>
23393
23394 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23395 (CGROUP_SUPER_MAGIC): Define.
23396 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23397 Handle btrfs and cgroup file systems.
23398 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23399 Likewise.
23400
234012010-09-27 Luis Machado <luisgpm@br.ibm.com>
23402
23403 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23404 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23405
234062010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23407
23408 [BZ #12067]
23409 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23410 trying to locate the ELF header.
23411
234122010-09-27 Andreas Schwab <schwab@redhat.com>
23413
23414 [BZ #11611]
23415 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23416 Mask out sign-bit copies when constructing f_fsid.
23417
234182010-09-24 Petr Baudis <pasky@suse.cz>
23419
23420 * debug/stack_chk_fail_local.c: Add missing licence exception.
23421 * debug/warning-nop.c: Likewise.
23422
234232010-09-15 Joseph Myers <joseph@codesourcery.com>
23424
23425 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23426 implementing getdents64 using getdents syscall, set d_type if
23427 __ASSUME_GETDENTS32_D_TYPE.
23428
234292010-09-16 Andreas Schwab <schwab@redhat.com>
23430
23431 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23432 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23433
234342010-09-21 Ulrich Drepper <drepper@redhat.com>
23435
23436 [BZ #12037]
23437 * posix/unistd.h: Undo change of feature selection for ftruncate from
23438 2010-01-11.
23439
234402010-09-20 Ulrich Drepper <drepper@redhat.com>
23441
23442 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23443 detection.
23444
234452010-09-20 Andreas Schwab <schwab@redhat.com>
23446
23447 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23448 fanotify_mark.
23449 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23450
234512010-09-14 Andreas Schwab <schwab@redhat.com>
23452
23453 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23454 variables after CHECK_SP call.
23455 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23456
234572010-09-13 Andreas Schwab <schwab@redhat.com>
23458 Ulrich Drepper <drepper@redhat.com>
23459
23460 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23461 re-relocationg ld.so.
23462 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23463 _dl_init_paths call.
23464 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23465 here anymore.
23466
234672010-09-14 Ulrich Drepper <drepper@redhat.com>
23468
23469 * resolv/res_init.c (__res_vinit): Count the default server we added.
23470
234712010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23472 Ulrich Drepper <drepper@redhat.com>
23473
23474 [BZ #11968]
23475 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23476 (____longjmp_chk): Use %ebx for saving value across system call.
23477 Add unwind info.
23478
234792010-09-06 Andreas Schwab <schwab@redhat.com>
23480
23481 * manual/Makefile: Don't mix pattern rules with normal rules.
23482
234832010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23484
23485 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23486 operation.
23487 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23488 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23489 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23490 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23491 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23492 Likewise.
23493
234942010-09-04 Ulrich Drepper <drepper@redhat.com>
23495
23496 [BZ #11979]
23497 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23498 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23499
235002010-09-02 Ulrich Drepper <drepper@redhat.com>
23501
23502 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23503 * sysdeps/x86_64/addmul_1.S: Likewise.
23504 * sysdeps/x86_64/lshift.S: Likewise.
23505 * sysdeps/x86_64/mul_1.S: Likewise.
23506 * sysdeps/x86_64/rshift.S: Likewise.
23507 * sysdeps/x86_64/sub_n.S: Likewise.
23508 * sysdeps/x86_64/submul_1.S: Likewise.
23509
235102010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23511
23512 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23513 Define __sched_param instead of SCHED_* and sched_param when
23514 <bits/sched.h> is included with __need_schedparam defined.
23515 * bits/sched.h [__need_schedparam]
23516 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23517 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23518 (__defined_schedparam): Define to 1.
23519 (__sched_param): New structure, identical to sched_param.
23520 (__need_schedparam): Undefine.
23521
235222010-08-31 Mike Frysinger <vapier@gentoo.org>
23523
23524 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23525 (epoll_create1): Declare.
23526
23527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23528
235292010-08-31 Andreas Schwab <schwab@redhat.com>
23530
23531 [BZ #7066]
23532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23533 shifting retval into place.
23534
235352010-09-01 Ulrich Drepper <drepper@redhat.com>
23536
23537 * nis/rpcsvc/nis.h: Update copyright notice.
23538 * nis/rpcsvc/nis.x: Likewise.
23539 * nis/rpcsvc/nis_callback.h: Likewise.
23540 * nis/rpcsvc/nis_callback.x: Likewise.
23541 * nis/rpcsvc/nis_object.x: Likewise.
23542 * nis/rpcsvc/nis_tags.h: Likewise.
23543 * nis/rpcsvc/yp.h: Likewise.
23544 * nis/rpcsvc/yp.x: Likewise.
23545 * nis/rpcsvc/ypupd.h: Likewise.
23546 * nis/yp_xdr.c: Likewise.
23547 * nis/ypupdate_xdr.c: Likewise.
23548
23549 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23550 mainly the body of pmap_getport. Add parameters to specify timeouts.
23551 (pmap_getport): Use __libc_rpc_getport.
23552 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23553 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23554 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23555
235562010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23557
23558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23559 fanotify_mark.
23560
235612010-08-27 Roland McGrath <roland@redhat.com>
23562
23563 * sysdeps/i386/i686/multiarch/Makefile
23564 (CFLAGS-varshift.c): New variable.
23565
235662010-08-27 Ulrich Drepper <drepper@redhat.com>
23567
23568 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23569 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23570
23571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23572
23573 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23574
235752010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23576
23577 * sysdeps/x86_64/strlen.S: Unroll the loop.
23578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23579 strlen-sse2 strlen-sse2-bsf.
23580 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23581 __strlen_no_bsf if bit_Slow_BSF is set.
23582 (__strlen_sse42): Removed.
23583 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23584 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23585
235862010-08-25 Roland McGrath <roland@redhat.com>
23587
23588 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23589 * sysdeps/x86_64/multiarch/varshift.c: New file.
23590 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23591 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23592 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23593 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23594
235952010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23596
23597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23598 strlen-sse2 strlen-sse2-bsf.
23599 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23600 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23601 (__strlen_sse2): Removed.
23602 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23603 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23605 bit_Slow_BSF for Atom.
23606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23607 (index_Slow_BSF): Define.
23608 (HAS_SLOW_BSF): Define.
23609
236102010-08-25 Ulrich Drepper <drepper@redhat.com>
23611
23612 [BZ #10851]
23613 * resolv/res_init.c (__res_vinit): When no server address at all
23614 is given default to loopback.
23615
236162010-08-24 Roland McGrath <roland@redhat.com>
23617
23618 * configure.in: Remove config-name.h generation.
23619 * configure: Regenerated.
23620 * config-name.in: File removed.
23621 * scripts/config-uname.sh: New file.
23622 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23623 ($(objdir)config-name.h): New target.
23624
23625 * sunrpc/rpc_parse.h: Avoid nested comment.
23626
236272010-08-24 Richard Henderson <rth@redhat.com>
23628 Ulrich Drepper <drepper@redhat.com>
23629 H.J. Lu <hongjiu.lu@intel.com>
23630
23631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23632 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23633 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23634 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23635 _mm_alignr_epi8 with _mm_loadu_si128.
23636 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23637 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23638 (__m128i_shift_right): Removed.
23639 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23640 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23641 * sysdeps/x86_64/multiarch/varshift.h: New file.
23642 * sysdeps/x86_64/multiarch/varshift.S: New file.
23643
236442010-08-21 Mike Frysinger <vapier@gentoo.org>
23645
23646 * configure.in: Move assembler checks to before sysdep dir checking.
23647
236482010-08-20 Petr Baudis <pasky@suse.cz>
23649
23650 * LICENSES: Sync the sunrpc license.
23651
236522010-08-19 Ulrich Drepper <drepper@redhat.com>
23653
23654 * sunrpc/auth_des.c: Update copyright notice once again.
23655 * sunrpc/auth_none.c: Likewise.
23656 * sunrpc/auth_unix.c: Likewise.
23657 * sunrpc/authdes_prot.c: Likewise.
23658 * sunrpc/authuxprot.c: Likewise.
23659 * sunrpc/bindrsvprt.c: Likewise.
23660 * sunrpc/clnt_gen.c: Likewise.
23661 * sunrpc/clnt_perr.c: Likewise.
23662 * sunrpc/clnt_raw.c: Likewise.
23663 * sunrpc/clnt_simp.c: Likewise.
23664 * sunrpc/clnt_tcp.c: Likewise.
23665 * sunrpc/clnt_udp.c: Likewise.
23666 * sunrpc/clnt_unix.c: Likewise.
23667 * sunrpc/des_crypt.c: Likewise.
23668 * sunrpc/des_soft.c: Likewise.
23669 * sunrpc/get_myaddr.c: Likewise.
23670 * sunrpc/getrpcport.c: Likewise.
23671 * sunrpc/key_call.c: Likewise.
23672 * sunrpc/key_prot.c: Likewise.
23673 * sunrpc/openchild.c: Likewise.
23674 * sunrpc/pm_getmaps.c: Likewise.
23675 * sunrpc/pm_getport.c: Likewise.
23676 * sunrpc/pmap_clnt.c: Likewise.
23677 * sunrpc/pmap_prot.c: Likewise.
23678 * sunrpc/pmap_prot2.c: Likewise.
23679 * sunrpc/pmap_rmt.c: Likewise.
23680 * sunrpc/rpc/auth.h: Likewise.
23681 * sunrpc/rpc/auth_unix.h: Likewise.
23682 * sunrpc/rpc/clnt.h: Likewise.
23683 * sunrpc/rpc/des_crypt.h: Likewise.
23684 * sunrpc/rpc/key_prot.h: Likewise.
23685 * sunrpc/rpc/netdb.h: Likewise.
23686 * sunrpc/rpc/pmap_clnt.h: Likewise.
23687 * sunrpc/rpc/pmap_prot.h: Likewise.
23688 * sunrpc/rpc/pmap_rmt.h: Likewise.
23689 * sunrpc/rpc/rpc.h: Likewise.
23690 * sunrpc/rpc/rpc_des.h: Likewise.
23691 * sunrpc/rpc/rpc_msg.h: Likewise.
23692 * sunrpc/rpc/svc.h: Likewise.
23693 * sunrpc/rpc/svc_auth.h: Likewise.
23694 * sunrpc/rpc/types.h: Likewise.
23695 * sunrpc/rpc/xdr.h: Likewise.
23696 * sunrpc/rpc_clntout.c: Likewise.
23697 * sunrpc/rpc_cmsg.c: Likewise.
23698 * sunrpc/rpc_common.c: Likewise.
23699 * sunrpc/rpc_cout.c: Likewise.
23700 * sunrpc/rpc_dtable.c: Likewise.
23701 * sunrpc/rpc_hout.c: Likewise.
23702 * sunrpc/rpc_main.c: Likewise.
23703 * sunrpc/rpc_parse.c: Likewise.
23704 * sunrpc/rpc_parse.h: Likewise.
23705 * sunrpc/rpc_prot.c: Likewise.
23706 * sunrpc/rpc_sample.c: Likewise.
23707 * sunrpc/rpc_scan.c: Likewise.
23708 * sunrpc/rpc_scan.h: Likewise.
23709 * sunrpc/rpc_svcout.c: Likewise.
23710 * sunrpc/rpc_tblout.c: Likewise.
23711 * sunrpc/rpc_util.c: Likewise.
23712 * sunrpc/rpc_util.h: Likewise.
23713 * sunrpc/rpcinfo.c: Likewise.
23714 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23715 * sunrpc/rpcsvc/key_prot.x: Likewise.
23716 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23717 * sunrpc/rpcsvc/mount.x: Likewise.
23718 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23719 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23720 * sunrpc/rpcsvc/rex.x: Likewise.
23721 * sunrpc/rpcsvc/rstat.x: Likewise.
23722 * sunrpc/rpcsvc/rusers.x: Likewise.
23723 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23724 * sunrpc/rpcsvc/spray.x: Likewise.
23725 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23726 * sunrpc/rtime.c: Likewise.
23727 * sunrpc/svc.c: Likewise.
23728 * sunrpc/svc_auth.c: Likewise.
23729 * sunrpc/svc_authux.c: Likewise.
23730 * sunrpc/svc_raw.c: Likewise.
23731 * sunrpc/svc_run.c: Likewise.
23732 * sunrpc/svc_simple.c: Likewise.
23733 * sunrpc/svc_tcp.c: Likewise.
23734 * sunrpc/svc_udp.c: Likewise.
23735 * sunrpc/svc_unix.c: Likewise.
23736 * sunrpc/svcauth_des.c: Likewise.
23737 * sunrpc/xcrypt.c: Likewise.
23738 * sunrpc/xdr.c: Likewise.
23739 * sunrpc/xdr_array.c: Likewise.
23740 * sunrpc/xdr_float.c: Likewise.
23741 * sunrpc/xdr_mem.c: Likewise.
23742 * sunrpc/xdr_rec.c: Likewise.
23743 * sunrpc/xdr_ref.c: Likewise.
23744 * sunrpc/xdr_sizeof.c: Likewise.
23745 * sunrpc/xdr_stdio.c: Likewise.
23746
23747 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23748 handling.
23749
237502010-08-19 Andreas Schwab <schwab@redhat.com>
23751
23752 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23753
237542010-08-19 Luis Machado <luisgpm@br.ibm.com>
23755
23756 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23757 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23758 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23759 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23760 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23761 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23762 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23763 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23764 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23765 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23766 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23767 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23768 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23769 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23770
237712010-07-26 Anton Blanchard <anton@samba.org>
23772
23773 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23774 * malloc/arena.c (heap_trim): Likewise.
23775
237762010-08-16 Ulrich Drepper <drepper@redhat.com>
23777
23778 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23779 here. Not...
23780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23781 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23782
237832010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23784
23785 * sysdeps/i386/elf/Makefile: New file.
23786
237872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23788
23789 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23790 from fanotify_init.
23791 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23792 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23793
237942010-08-15 Ulrich Drepper <drepper@redhat.com>
23795
23796 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23797 of strncasecmp_l.
23798 * sysdeps/multiarch/strcmp.S: Likewise.
23799
238002010-08-14 Ulrich Drepper <drepper@redhat.com>
23801
23802 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23803 strncase_l-nonascii.
23804 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23805 Add strncase_l-ssse3.
23806 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23807 * sysdeps/x86_64/strcmp.S: Likewise.
23808 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23809 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23810 * sysdeps/x86_64/strncase.S: New file.
23811 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23812 * sysdeps/x86_64/strncase_l.S: New file.
23813 * string/Makefile (strop-tests): Add strncasecmp.
23814 * string/test-strncasecmp.c: New file.
23815
23816 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23817 warning.
23818
23819 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23820 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23821
238222010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23823
23824 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23825
238262010-08-12 Ulrich Drepper <drepper@redhat.com>
23827
23828 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23829 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23830 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23831
238322010-05-01 Alan Modra <amodra@gmail.com>
23833
23834 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23835 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23836 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23837 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23838 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23839 tidying. Don't tail-call __sigjmp_save for static lib.
23840 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23841 save location.
23842 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23843 (CALL_MCOUNT): Add eh info, and nop after bl.
23844 (TAIL_CALL_SYSCALL_ERROR): New macro.
23845 (PSEUDO_RET): Use it.
23846 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23847 Correct save location of integer regs and cr.
23848 (_dl_profile_resolve): Correct cr save location. Delete nops
23849 after bl when SHARED. Reduce cfi size a little by better
23850 placement of cfi directives.
23851 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23852 make a stack frame. Instead use parm save area as a temp.
23853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23854 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23856 Don't make a stack frame for parent, use parm save area.
23857 Increase child stack frame to 112 bytes. Don't save unused reg,
23858 and adjust reg usage. Set up cfi on error recovery and
23859 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23861 (__makecontext): Add dummy nop after jump to exit.
23862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23863 Use correct parm save area and cr save, reduce stack frame.
23864 Correct cfi for possible PSEUDO_RET frame setup.
23865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23866 Branch to local label emitted by PSEUDO_RET rather than
23867 __syscall_error.
23868
238692010-08-12 Andreas Schwab <schwab@redhat.com>
23870
23871 [BZ #11904]
23872 * locale/programs/locale.c (print_assignment): New function.
23873 (show_locale_vars): Use it.
23874
238752010-08-11 Ulrich Drepper <drepper@redhat.com>
23876
23877 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23878 field.
23879 (struct statfs64): Likewise.
23880 (_STATFS_F_FLAGS): Define.
23881 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23883 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23884 (ST_VALID): Define locally.
23885 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23886 __statvfs_getflags, use the provided value.
23887 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23888 __ASSUME_STATFS_F_FLAGS.
23889
23890 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23891
23892 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23893 Add sys/fanotify.h.
23894 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23895 fanotify_mask for GLIBC_2.13.
23896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23897 fanotify_init and fanotify_mark.
23898 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23899 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23900
23901 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23902 Add prlimit.
23903 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23904 prlimit64 for GLIBC_2.13.
23905 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23906 prlimit64.
23907 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23908 syscall.
23909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23910 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23911 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23912 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23914 add prlimit alias.
23915 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23916
23917 [BZ #11903]
23918 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23919 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23920
23921 * nss/Makefile: Add rules to build and run tst-nss-test1.
23922 * shlib-versions: Add entry for libnss_test1.
23923 * nss/nss_test1.c: New file.
23924 * nss/tst-nss-test1.c: New file.
23925
23926 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23927 (__nss_configure_lookup): Set appropriate entry in
23928 __nss_configure_lookup to true.
23929 * nss/nsswitch.h: Define enum with indeces of databases in
23930 databases and __nss_database_custom arrays. Declare
23931 __nss_database_custom.
23932 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23933 to avoid using nscd when custom rules are installed.
23934 * nss/getXXbyYY_r.c: Likewise.
23935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23936
23937 * nss/nss_files/files-parse.c: Whitespace fixes.
23938
239392010-08-09 Ulrich Drepper <drepper@redhat.com>
23940
23941 [BZ #11883]
23942 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23943 * posix/fnmatch_loop.c: Likewise.
23944
239452010-07-17 Andi Kleen <ak@linux.intel.com>
23946
23947 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23948 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23949 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23950 * Versions.def [GLIBC_2.13]: Add.
23951
239522010-08-06 Ulrich Drepper <drepper@redhat.com>
23953
23954 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23955 Also fail if tpwd after pwuid call is NULL.
23956
239572010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23958
23959 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23960 when converting to ms.
23961
239622010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23963
23964 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23965 EOPNOTSUPP errors with ENOTTY.
23966 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23967 EOPNOTSUPP errors with ENOTTY.
23968
239692010-07-31 Ulrich Drepper <drepper@redhat.com>
23970
23971 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23972 Add strcasecmp_l-ssse3.
23973 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23974 strcasecmp.
23975 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23976 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23977 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23978
239792010-07-30 Ulrich Drepper <drepper@redhat.com>
23980
23981 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23982
23983 * string/Makefile (strop-tests): Add strcasecmp.
23984 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23985 strcasecmp_l-nonascii.
23986 (gen-as-const-headers): Add locale-defines.sym.
23987 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23988 * sysdeps/x86_64/strcasecmp.S: New file.
23989 * sysdeps/x86_64/strcasecmp_l.S: New file.
23990 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23991 * sysdeps/x86_64/locale-defines.sym: New file.
23992 * string/test-strcasecmp.c: New file.
23993
23994 * string/test-strcasestr.c: Test both ends of the range of characters.
23995 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23996
239972010-07-29 Roland McGrath <roland@redhat.com>
23998
23999 [BZ #11856]
24000 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24001
240022010-07-27 Ulrich Drepper <drepper@redhat.com>
24003
24004 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24005 for ld.so.
24006
240072010-07-27 Andreas Schwab <schwab@redhat.com>
24008
24009 * manual/memory.texi (Malloc Tunable Parameters): Document
24010 M_PERTURB.
24011
240122010-07-26 Roland McGrath <roland@redhat.com>
24013
24014 [BZ #11840]
24015 * configure.in (-fgnu89-inline check): Set and substitute
24016 gnu89_inline, not libc_cv_gnu89_inline.
24017 * configure: Regenerated.
24018 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24019
240202010-07-26 Ulrich Drepper <drepper@redhat.com>
24021
24022 * string/test-strnlen.c: New file.
24023 * string/Makefile (strop-tests): Add strnlen.
24024 * string/tester.c (test_strnlen): Add a few more test cases.
24025 * string/tst-strlen.c: Better error reporting.
24026
24027 * sysdeps/x86_64/strnlen.S: New file.
24028
240292010-07-24 Ulrich Drepper <drepper@redhat.com>
24030
24031 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24032 lower-latency instructions.
24033
240342010-07-23 Ulrich Drepper <drepper@redhat.com>
24035
24036 * string/test-strcasestr.c: New file.
24037 * string/test-strstr.c: New file.
24038 * string/Makefile (strop-tests): Add strstr and strcasestr.
24039 * string/str-two-way.h: Don't undefine MAX.
24040 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24041
240422010-07-21 Andreas Schwab <schwab@redhat.com>
24043
24044 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24045 strcasestr-nonascii.
24046 (CFLAGS-strcasestr-nonascii.c): Define.
24047 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24048 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24049 Remove unused attribute.
24050
240512010-07-20 Roland McGrath <roland@redhat.com>
24052
24053 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24054 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24055 ld.so.cache was broken. With it, there is no way to disable dsocaps
24056 like LD_HWCAP_MASK can disable hwcaps.
24057
240582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24059
24060 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24061
240622010-07-16 Ulrich Drepper <drepper@redhat.com>
24063
24064 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24065 call in strcasestr.
24066 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24067 __strcasestr_sse42_nonascii.
24068 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24069 strcasestr-nonascii.c.
24070 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24071
240722010-06-15 Luis Machado <luisgpm@br.ibm.com>
24073
24074 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24075 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24076 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24077 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24078
240792010-07-09 Ulrich Drepper <drepper@redhat.com>
24080
24081 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24082 fcntl.
24083
240842010-07-06 Andreas Schwab <schwab@redhat.com>
24085
24086 [BZ #11577]
24087 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24088 dl_signal_cerror.
24089
240902010-07-06 Ulrich Drepper <drepper@redhat.com>
24091
24092 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24093 _PC_PIPE_BUF using F_GETPIPE_SZ.
24094
240952010-07-05 Roland McGrath <roland@redhat.com>
24096
24097 * manual/arith.texi (Rounding Functions): Fix rint description
24098 implicit in round description.
24099
241002010-07-02 Ulrich Drepper <drepper@redhat.com>
24101
24102 * elf/Makefile: Fix linking for a few tests to make recent linker
24103 happy.
24104
241052010-06-30 Andreas Schwab <schwab@redhat.com>
24106
24107 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24108 $(common-objpfx)libc_nonshared.a.
24109
241102010-06-21 Luis Machado <luisgpm@br.ibm.com>
24111
24112 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24113 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24114 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24115 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24116 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24117 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24118 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24119 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24134 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24135 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24136 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24137 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24138 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24139 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24140 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24141 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24142 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24143 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24144 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24145 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24160
241612010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24162
24163 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24164 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24165 * string/memmove.c (memmove): Renamed to ...
24166 (MEMMOVE): ...this. Default to memmove.
24167 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24168 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24169 (END_CHK): Define.
24170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24171 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24172 mempcpy-ssse3-back memmove-ssse3-back.
24173 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24174 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24175 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24176 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24177 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24178 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24179 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24180 * sysdeps/x86_64/multiarch/memmove.c: New file.
24181 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24182 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24183 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24184 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24185 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24186 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24187 Define.
24188 (index_Fast_Copy_Backward): Define.
24189 (HAS_ARCH_FEATURE): Define.
24190 (HAS_FAST_REP_STRING): Define.
24191 (HAS_FAST_COPY_BACKWARD): Define.
24192
241932010-06-21 Andreas Schwab <schwab@redhat.com>
24194
24195 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24196 Restore proper fallback handling.
24197
241982010-06-19 Ulrich Drepper <drepper@redhat.com>
24199
24200 [BZ #11701]
24201 * posix/group_member.c (__group_member): Correct checking loop.
24202
24203 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24204 OOM in getpwuid_r correctly. Return error number when the caller
24205 should return, otherwise -1.
24206 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24207 call returning > 0 value.
24208 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24209
242102010-06-07 Andreas Schwab <schwab@redhat.com>
24211
24212 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24213 libc_nonshared.a from targets in modules-names.
24214
242152010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24216
24217 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24218 requires it.
24219
242202010-06-10 Luis Machado <luisgpm@br.ibm.com>
24221
24222 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24223 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24224 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24225 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24226
242272010-06-02 Andreas Schwab <schwab@redhat.com>
24228
24229 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24230
242312010-06-14 Ulrich Drepper <drepper@redhat.com>
24232
24233 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24234 and F_GETPIPE_SZ.
24235 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24239 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24240 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24241
242422010-06-14 Roland McGrath <roland@redhat.com>
24243
24244 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24245
242462010-06-07 Jakub Jelinek <jakub@redhat.com>
24247
24248 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24249 __REDIRECT followed by __THROW.
24250 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24251 * posix/getopt.h (getopt): Likewise.
24252
242532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24254
24255 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24256 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24257 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24258 in AT_FLAGS.
24259 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24260 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24261
242622010-05-28 Luis Machado <luisgpm@br.ibm.com>
24263
24264 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24265
242662010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24267
24268 [BZ #11640]
24269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24270 Properly check family and model.
24271
242722010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24273
24274 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24275
242762010-05-24 Luis Machado <luisgpm@br.ibm.com>
24277
24278 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24279
242802010-05-21 Ulrich Drepper <drepper@redhat.com>
24281
24282 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24283 symbol reference.
24284
242852010-05-19 Andreas Schwab <schwab@redhat.com>
24286
24287 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24288 symbol reference.
24289
242902010-05-21 Andreas Schwab <schwab@redhat.com>
24291
24292 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24293 and internal_recvmmsg.
24294 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24295 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24296 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24297 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24298
24299 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24300 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24301 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24302
243032010-05-20 Andreas Schwab <schwab@redhat.com>
24304
24305 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24306
243072010-05-17 Luis Machado <luisgpm@br.ibm.com>
24308
24309 POWER7 optimizations.
24310 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24311 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24312
243132010-05-19 Ulrich Drepper <drepper@redhat.com>
24314
24315 * version.h: Update for 2.13 development version.
24316
243172010-05-12 Andrew Stubbs <ams@codesourcery.com>
24318
24319 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24320 exceptions. Return 0.
24321
243222010-05-07 Roland McGrath <roland@redhat.com>
24323
24324 * elf/ldconfig.c (main): Add a const.
24325
243262010-05-06 Ulrich Drepper <drepper@redhat.com>
24327
24328 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24329 (args_options): Add no-idn option.
24330 (ahosts_keys_int): Add idn_flags to ai_flags.
24331 (parse_option): Handle 'i' option to clear idn_flags.
24332
24333 * malloc/malloc.c (_int_free): Possible race in the most recently
24334 added check. Only act on the data if no current modification
24335 happened.
24336
24337See ChangeLog.17 for earlier changes.