]> sourceware.org Git - glibc.git/blame - ChangeLog
Optimize trunc{,f} on sparc.
[glibc.git] / ChangeLog
CommitLineData
c19a9f89
DM
12013-01-15 David S. Miller <davem@davemloft.net>
2
1aa61767
DM
3 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4 trunc{,f} to libm-sysdep_routes.
5 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7 file.
8 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10 file.
11 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12 file.
13 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21
c42d5e98
DM
22 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23 nearbyint{,f} to libm-sysdep_routes.
24 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26 New file.
27 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28 file.
29 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30 New file.
31 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32 file.
33 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36 file.
37 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39 file.
40 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
43
c19a9f89
DM
44 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45 libc_feholdexcept and libc_fesetenv.
46
357679d2
MF
472013-01-15 Mike Frysinger <vapier@gentoo.org>
48
49 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50
65a82e3d
DM
512013-01-14 David S. Miller <davem@davemloft.net>
52
8b954ab9
DM
53 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
54 (SPARC_ASM_VIS2_IFUNC): Likewise.
55 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57 use of 'siam' instruction.
58 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59 Likewise.
60 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61 Likewise.
62 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
63 Likewise.
64 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
65 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
67 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
68 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
69 file.
70 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
71 file.
72 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
73 file.
74 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
75 file.
76 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
77 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
78 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
79 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
80 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
81 new VIS2 routines.
82 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
83 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
85 Likewise.
86 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
87 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
88 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
89 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
90 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
91 routines to libm-sysdep_routines.
92 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
93
65a82e3d
DM
94 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
95 fdim/fdimf to libm-sysdep_routines.
96 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
97 file.
98 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
99 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
100 file.
101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
104 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
105 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
106 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
107 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
108
e34ab705
SP
1092013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
110
2a91b573
SP
111 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
112 to optimize copies.
113
1066a534
SP
114 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
115 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
117
e34ab705
SP
118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
119 local variable MPTWO.
120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
121 Likewise.
122
aba5e596
MF
1232013-01-13 Mike Frysinger <vapier@gentoo.org>
124
125 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
126 GLOB_NOESCAPE.
127
e557e9e5
MF
1282013-01-13 Mike Frysinger <vapier@gentoo.org>
129
130 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
131
0428cec9
MF
1322013-01-13 Mike Frysinger <vapier@gentoo.org>
133
134 * manual/pattern.texi (glob_t): Document gl_flags.
135 (glob64_t): Likewise.
136
8794a964
DM
1372013-01-11 David S. Miller <davem@davemloft.net>
138
66438c3f
RM
139 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
140 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
141 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
142 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
143 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
144 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
145 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
146 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
147 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
148 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
149 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
150 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
151 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
152
4ae4244d
DM
153 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
154 sparc V9 rather than using V8 code.
155 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
156 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
157
8794a964
DM
158 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
159 Move to...
160 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
161 Here.
162
6270516e
RM
1632013-01-11 Roland McGrath <roland@hack.frob.com>
164
165 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
166 not in the main loop.
167 * configure: Regenerated.
168
6a57d931
JM
1692013-01-11 Joseph Myers <joseph@codesourcery.com>
170
171 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
172 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
173 to just #else.
174 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
175 [!__GLIBC_HAVE_LONG_LONG] case.
176 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
177 condition to just #else.
178 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
179 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
180 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
181 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
182 unconditional.
183 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
184 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
185 #elif condition to just #else.
186 * sysdeps/unix/sysv/linux/sys/sysmacros.h
187 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
188 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
189 #elif condition to just #else.
190
0e8529e9
SE
1912013-01-11 Steve Ellcey <sellcey@mips.com>
192
193 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
194 (EF_MIPS_ARCH_64): Fix value.
195 (EF_MIPS_ARCH_32R2): New.
196 (EF_MIPS_ARCH_64R2): New.
197
740b3dbe
L
1982013-01-11 H.J. Lu <hongjiu.lu@intel.com>
199
200 * Makeconfig (+link-pie-before-libc): New.
201 (+link-pie-after-libc): Likewise.
202 (+link-pie-tests): Likewise.
203 (+link-pie): Rewritten.
204 (link-before-libc): Remove $(config-LDFLAGS).
205 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
206 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
207 (config-LDFLAGS): Renamed to ...
208 (rtld-LDFLAGS): This.
209 (rtld-tests-LDFLAGS): New macro.
210 (link-libc-rpath-link): Likewise.
211 (link-libc-tests-rpath-link): Likewise.
212 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
213 (link-libc): Prepand $(link-libc-rpath-link).
214 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
215 (test-program-prefix): New macro.
216 (test-via-rtld-prefix): Likewise.
217 (test-program-cmd): Likewise.
218 (host-test-program-cmd): Likewise.
219 * Makefile ($(common-objpfx)testrun.sh): Replace
220 $(run-program-prefix) with $(test-program-prefix).
221 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
222 $(rtld-LDFLAGS).
223 ($(common-objpfx)shlib.lds): Likewise.
224 (build-module-helper): Likewise.
225 ($(common-objpfx)format.lds): Likewise.
226 * Rules (binaries-pie-tests): New.
227 (binaries-pie-notests): Likewise.
228 (binaries-pie): Rewritten.
229 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
230 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
231 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
232 (make-test-out): Replace $(host-built-program-cmd) with
233 $(host-test-program-cmd).
234 * config.make.in (build-hardcoded-path-in-tests): New variable.
235 * configure.in (--enable-hardcoded-path-in-tests): New configure
236 option.
237 (hardcoded_path_in_tests): New AC_SUBST.
238 * configure: Regenerated.
239 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
240 $(built-program-cmd) with $(test-program-cmd).
241 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
242 (test_program_cmd): This.
243 * elf/Makefile ($(objpfx)order.out): Run test with
244 $(test-program-prefix).
245 ($(objpfx)order2.out): Likewise.
246 ($(objpfx)tst-initorder.out): Likewise.
247 ($(objpfx)tst-initorder2.out): Likewise.
248 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
249 $(test-program-cmd).
250 ($(objpfx)tst-array1-static.out): Likewise.
251 ($(objpfx)tst-array2.out): Likewise.
252 ($(objpfx)tst-array3.out): Likewise.
253 ($(objpfx)tst-array4.out): Likewise.
254 ($(objpfx)tst-array5.out): Likewise.
255 ($(objpfx)tst-array5-static.out): Likewise.
256 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
257 $(test-program-cmd).
258 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
259 $(run-program-prefix) with $(test-program-prefix).
260 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
261 (test_program_prefix): This.
262 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
263 $(run-program-prefix) with $(test-program-prefix).
264 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
265 (test_program_prefix): This.
266 * iconvdata/tst-tables.sh: Likewise.
267 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
268 $(run-program-prefix) with $(test-program-prefix).
269 ($(objpfx)tst-translit.out): Likewise.
270 ($(objpfx)tst-gettext2.out): Likewise.
271 ($(objpfx)tst-gettext4.out): Likewise.
272 ($(objpfx)tst-gettext6.out): Likewise.
273 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
274 (test_program_prefix): This.
275 * intl/tst-gettext2.sh: Likewise.
276 * intl/tst-gettext4.sh Likewise.
277 * intl/tst-gettext6.sh: Likewise.
278 * intl/tst-translit.sh: Likewise.
279 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
280 with $(test-program-cmd).
281 * libio/Makefile ($(objpfx)test-freopen.out): Replace
282 $(run-program-prefix) with $(test-program-prefix).
283 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
284 (test_program_prefix): This.
285 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
286 $(run-program-prefix) with $(test-program-prefix).
287 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
288 (test_program_prefix): This.
289 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
290 * posix/Makefile ($(objpfx)globtest.out): Replace
291 $(run-via-rtld-prefix) and $(test-wrapper) with
292 $(test-program-prefix) and $(test-via-rtld-prefix).
293 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
294 $(test-program-prefix).
295 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
296 $(host-test-program-cmd).
297 (tst-spawn-ARGS): Likewise.
298 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
299 $(test-program-prefix).
300 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
301 (test_via_rtld_prefix): This.
302 (test_wrapper): Renamed to ...
303 (test_program_prefix): This.
304 (run_program_prefix): Replaced by test_program_prefix.
305 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
306 (test_program_prefix): This.
307 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
308 with $(host-test-program-cmd).
309 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
310 $(run-program-prefix) with $(test-program-prefix).
311 ($(objpfx)tst-printf.out): Likewise.
312 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
313 $(test-program-cmd).
314 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
315 (test_program_prefix): This.
316 * stdio-common/tst-unbputc.sh: Likewise.
317 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
318 $(run-program-prefix) with $(test-program-prefix).
319 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
320 (test_program_prefix): This.
321 * string/Makefile ($(objpfx)tst-svc.out): Replace
322 $(built-program-cmd) with $(test-program-cmd).
323
c6fe55cf
AJ
3242013-01-11 Andreas Jaeger <aj@suse.de>
325
326 [BZ #15003]
327 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
328 value. Sync with Linux 3.7.
329
9e6919c8
DM
3302013-01-10 David S. Miller <davem@davemloft.net>
331
332 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
333 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
334 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
335
1c9f1a02
RM
3362013-01-10 Roland McGrath <roland@hack.frob.com>
337
338 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
339 never set.
340 * configure: Regenerated.
341
b9de2dde
DM
3422013-01-10 David S. Miller <davem@davemloft.net>
343
344 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
345 sparc V9 rather than using V8 code.
346 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
347 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
348
e7f68ef4
RM
3492013-01-10 Roland McGrath <roland@hack.frob.com>
350
351 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
352 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
353 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
354 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
355 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
356 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
357 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
358 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
359 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
360 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
361 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
362 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
363 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
364 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
365 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
366 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
367 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
368 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
369 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
370 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
371 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
372 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
373 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
374 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
375 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
376 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
377 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
378
5a47cc9c
DM
3792013-01-10 David S. Miller <davem@davemloft.net>
380
381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
382
4cf8f209
L
3832013-01-10 H.J. Lu <hongjiu.lu@intel.com>
384
385 * posix/Makefile (tests-static): New variable.
386 (tests): Add $(tests-static).
387 (tst-exec-static-ARGS): New variable.
388 (tst-spawn-static-ARGS): Likewise.
389 * posix/tst-exec-static.c: New file.
390 * posix/tst-spawn-static.c: Likewise.
391 * posix/tst-exec.c: Support run directly.
392 * posix/tst-spawn.c: Likewise.
393
fed0faa1
JM
3942013-01-10 Joseph Myers <joseph@codesourcery.com>
395
828beb13
JM
396 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
397 long.
398 * math/bits/mathcalls.h (llrint): Likewise.
399 (llround): Likewise.
400 * stdlib/stdlib.h (struct drand48_data): Likewise.
401 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
402 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
403 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
404 Likewise.
405 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
406 Likewise.
407 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
408 (elf_greg_t): Likewise.
409 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
410 (__jmp_buf): Likewise.
411 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
412 definitions.
413 (llrint): Likewise, for all definitions.
414 (llrintl): Likewise.
415
fed0faa1
JM
416 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
417 Remove [__GNUC__] condition.
418 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
419 condition to just [__USE_ISOC99].
420 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
421
1a20cb20
L
4222013-01-10 H.J. Lu <hongjiu.lu@intel.com>
423
424 [BZ #14200]
425 * sysdeps/unix/sysv/linux/x86/bits/environments.h
426 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
427 defined.
428 (_POSIX_V6_ILP32_OFF32): Likewise.
429 (_XBS5_ILP32_OFF32): Likewise.
430 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
431 (__ILP32_OFFBIG_LDFLAGS): Likewise.
432
751b85f7
SP
4332013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
434
7490eb81
SP
435 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
436
751b85f7
SP
437 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
438 doubles __mpexp_twomm1. Adjust usage.
439 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
440 Remove.
441
988197f0
AS
4422013-01-10 Andreas Schwab <schwab@suse.de>
443
444 [BZ #14964]
445 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
446 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
447
e83d7298
DM
4482013-01-09 David S. Miller <davem@davemloft.net>
449
034ed64b 450 [BZ #15003]
e83d7298
DM
451 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
452 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
453 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
454 TCP_FASTOPEN): Define.
455 (tcp_repair_opt): New structure.
456 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
457 enum values.
458 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
459 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
460 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
461 (tcp_cookie_transactions): New structure.
462
d5e0b9bd
AB
4632013-01-09 Anton Blanchard <anton@samba.org>
464
465 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
466 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
467 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
469
0c07e3ea
JM
4702013-01-09 Joseph Myers <joseph@codesourcery.com>
471
472 * include/features.h (__USE_ANSI): Remove.
473
232f7002
RM
4742013-01-09 Roland McGrath <roland@hack.frob.com>
475
ad98e30c
RM
476 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
477
232f7002
RM
478 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
479
950c99ca
SP
4802013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
481
b5792741
SP
482 * sysdeps/s390/fpu/libm-test-ulps: Update.
483
47cf2278
SP
484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
485
950c99ca
SP
486 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
487 (__acr): Likewise.
488 (__cpy): Likewise.
489 (norm): Likewise.
490 (denorm): Likewise.
491 (__mp_dbl): Likewise.
492 (__dbl_mp): Likewise.
493 (add_magnitudes): Likewise.
494 (sub_magnitudes): Likewise.
495 (__add): Likewise.
496 (__sub): Likewise.
497 (__mul): Likewise.
498 (__inv): Likewise.
499 (__dvd): Likewise.
500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
501 (__acr): Likewise.
502 (__cpy): Likewise.
503 (norm): Likewise.
504 (denorm): Likewise.
505 (__mp_dbl): Likewise.
506 (__dbl_mp): Likewise.
507 (add_magnitudes): Likewise.
508 (sub_magnitudes): Likewise.
509 (__add): Likewise.
510 (__sub): Likewise.
511 (__mul): Likewise.
512 (__inv): Likewise.
513 (__dvd): Likewise.
514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
515 (__acr): Likewise.
516 (__cpy): Likewise.
517 (norm): Likewise.
518 (denorm): Likewise.
519 (__mp_dbl): Likewise.
520 (__dbl_mp): Likewise.
521 (add_magnitudes): Likewise.
522 (sub_magnitudes): Likewise.
523 (__add): Likewise.
524 (__sub): Likewise.
525 (__mul): Likewise.
526 (__inv): Likewise.
527 (__dvd): Likewise.
528
eede9df9
JM
5292013-01-08 Joseph Myers <joseph@codesourcery.com>
530
531 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
532 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
533 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
534 2 && __USE_EXTERN_INLINES]: Likewise.
535
c40ea3d9
AJ
5362013-01-08 Andreas Jaeger <aj@suse.de>
537
538 [BZ# 14985]
539 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
540 Remove.
541 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
542 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
543
2ccdea26
AB
5442013-01-07 Anton Blanchard <anton@samba.org>
545
546 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
547 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
548 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
549 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
550 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
551 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
552 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
553 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
555 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
556 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
557 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
558 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
559 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
560 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
561 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
562 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
563 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
564 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
565 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
566 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
567 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
568 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
569 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
570 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
571 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
572 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
573 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
574 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
575 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
576 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
578 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
579 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
580 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
581 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
582 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
583 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
584 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
585 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
586 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
588 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
589
a9708fed
JM
5902013-01-07 Joseph Myers <joseph@codesourcery.com>
591
375607b9
JM
592 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
593 (__MALLOC_PMT): Likewise.
594 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
595 [__GNUC__], only on [_LIBC].
596 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
597 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
598 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
599 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
600 forward declaration.
601 (realloc_hook_ini): Likewise.
602 (memalign_hook_ini): Likewise.
603 (__libc_memalign): Do not use __MALLOC_PMT in variable
604 declaration.
605 (__libc_valloc): Likewise.
606 (__libc_pvalloc): Likewise.
607 (__libc_calloc): Likewise.
608 (__posix_memalign): Likewise.
609
a9708fed
JM
610 [BZ #14996]
611 * math/s_casinh.c: Include <float.h>.
612 (__casinh): Do not do computation with squaring and square root
613 for large arguments.
614 * math/s_casinhf.c: Include <float.h>.
615 (__casinhf): Do not do computation with squaring and square root
616 for large arguments.
617 * math/s_casinhl.c: Include <float.h>.
618 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
619 (__casinhl): Do not do computation with squaring and square root
620 for large arguments.
621 * math/libm-test.inc (casin_test): Add more tests.
622 (casinh_test): Likewise.
623 * sysdeps/i386/fpu/libm-test-ulps: Update.
624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
625
afec409a
L
6262013-01-04 H.J. Lu <hongjiu.lu@intel.com>
627
628 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
629 (__x86_64_raw_data_cache_size): Likewise.
630 (__x86_64_data_cache_size_half): Likewise.
631 (__x86_64_raw_data_cache_size_half): Likewise.
632 (__x86_64_shared_cache_size): Likewise.
633 (__x86_64_raw_shared_cache_size): Likewise.
634 (__x86_64_shared_cache_size_half): Likewise.
635 (__x86_64_raw_shared_cache_size_half): Likewise.
636 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
637 to ...
638 (__x86_data_cache_size): This.
639 (__x86_64_raw_data_cache_size): Renamed to ...
640 (__x86_raw_data_cache_size): This.
641 (__x86_64_data_cache_size_half): Renamed to ...
642 (__x86_data_cache_size_half): This.
643 (__x86_64_raw_data_cache_size_half): Renamed to ...
644 (__x86_raw_data_cache_size_half): This.
645 (__x86_64_shared_cache_size): Renamed to ...
646 (__x86_shared_cache_size): This.
647 (__x86_64_raw_shared_cache_size): Renamed to ...
648 (__x86_raw_shared_cache_size): This.
649 (__x86_64_shared_cache_size_half): Renamed to ...
650 (__x86_shared_cache_size_half): This.
651 (__x86_64_raw_shared_cache_size_half): Renamed to ...
652 (__x86_raw_shared_cache_size_half): This.
653 * sysdeps/x86_64/memcpy.S: Updated.
654 * sysdeps/x86_64/memset.S: Likewise.
655 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
656 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
658
0b3986d0
DM
6592013-01-04 David S. Miller <davem@davemloft.net>
660
661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
662
e47686e9
AS
6632013-01-04 Andreas Schwab <schwab@linux-m68k.org>
664
d643bac1
AS
665 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
666 1 to avoid redefinition warning.
667 (__USE_GNU): Don't define.
668 (init_signaling_nan): Protoize.
669
e47686e9
AS
670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
671
b18decba
SP
6722013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
673
fffb407f
SP
674 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
676 (__cpymn): Likewise.
677 (norm): Remove commented code.
678 (denorm): Likewise.
679 (__mp_dbl): Likewise.
680 (__inv): Likewise.
681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
682 (__cpymn): Likewise.
683 (norm): Remove commented code.
684 (denorm): Likewise.
685 (__mp_dbl): Likewise.
686 (__inv): Likewise.
687
b18decba
SP
688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
689 mp_no value for 1.0 and 2.0.
690 (norm): Use RADIXI instead of radixi.d.
691 (denorm): Likewise.
692 (__mul): Use 0.0 instead of zero.d.
693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
694 mp_no value for 1.0 and 2.0.
695 (norm): Use RADIXI instead of radixi.d.
696 (denorm): Likewise.
697 (__mul): Use 0.0 instead of zero.d.
698
cdc1c96f
JM
6992013-01-04 Joseph Myers <joseph@codesourcery.com>
700
701 [BZ #14994]
702 * math/s_casinh.c (__casinh): Reduce finite argument to first
703 quadrant then set signs of results at the end.
704 * math/s_casinhf.c (__casinhf): Likewise.
705 * math/s_casinhl.c (__casinhl): Likewise.
706 * math/libm-test.inc (casin_test): Add more tests.
707 (casinh_test): Likewise.
708 * sysdeps/i386/fpu/libm-test-ulps: Update.
709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
710
302913e1
SP
7112013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
712
6420d207
SP
713 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
714
a9e48ab4
SP
715 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
716
b7837264
SP
717 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
718 declarations.
719 (denorm): Likewise.
720 (__mp_dbl): Likewise.
721 (__inv): Likewise.
722
f8af25d2
SP
723 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
724 and adjust the header comment.
725
302913e1
SP
726 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
727 variable name from declaration.
728
5d7dd1ca
L
7292013-01-03 H.J. Lu <hongjiu.lu@intel.com>
730
731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
732 Initialize COMMON_CPUID_INDEX_7 element.
733 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
734 (CPUID_RTM): Likewise.
735 (HAS_RTM): Likewise.
736 (COMMON_CPUID_INDEX_7): New enum.
737
2f5f40f4
AS
7382013-01-03 Andreas Schwab <schwab@linux-m68k.org>
739
740 [BZ #14981]
741 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
742 size is zero, record memory as freed.
743
4056f4a0
AJ
7442013-01-03 Andreas Jaeger <aj@suse.de>
745
746 * po/ia.po: Add new Interlingua translation.
747
ab15736f 7482012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
749
750 * locale/programs/localedef.c: Fix description of '--posix' flag.
751
568035b7
JM
7522013-01-02 Joseph Myers <joseph@codesourcery.com>
753
e6898b8d
JM
754 * NEWS: Update dates in second copyright notice.
755 * README: Update copyright dates in example.
756 * manual/libc.texinfo: Update copyright dates.
757 * scripts/test-installation.pl: Update copyright date in --version
758 output.
759
0e2f9562
JM
760 * hurd/ctty-input.c: Fix copyright notice formatting.
761 * hurd/ctty-output.c: Likewise.
762 * hurd/dtable.c: Likewise.
763 * hurd/hurd-raise.c: Likewise.
764 * hurd/hurdprio.c: Likewise.
765 * hurd/msgportdemux.c: Likewise.
766 * misc/sys/file.h: Likewise.
767 * misc/sys/ioctl.h: Likewise.
768 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
769 * sysdeps/mach/hurd/chdir.c: Likewise.
770 * sysdeps/mach/hurd/fchdir.c: Likewise.
771 * sysdeps/mach/hurd/rename.c: Likewise.
772 * sysdeps/mach/hurd/rmdir.c: Likewise.
773 * sysdeps/mach/hurd/seekdir.c: Likewise.
774 * sysdeps/mach/hurd/setsid.c: Likewise.
775 * sysdeps/posix/wait3.c: Likewise.
776
568035b7
JM
777 * All files with FSF copyright notices: Update copyright dates
778 using scripts/update-copyrights.
779 * intl/plural.c: Regenerated.
780 * locale/programs/charmap-kw.h: Likewise.
781 * locale/programs/locfile-kw.h: Likewise.
782
da08f647
SP
7832013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
784
0f5477af
SP
785 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
786 four values.
787
44e0d4c2
SP
788 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
789 calculation loop and add branch prediction.
790
4d55b4e5
SP
791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
792 check access beyond bounds of m1np.
793
da08f647
SP
794 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
795 MPTWO.
796 (__inv): Remove local variable MPTWO to use the global
797 constant.
798 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
799 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
800 variable MPTWO.
801 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
802 MP3HALFS static const.
803
8e051029
DM
8042013-01-01 David S. Miller <davem@davemloft.net>
805
806 * po/ca.po: Update from translation team.
807
f4cf5f2d
JM
8082013-01-01 Joseph Myers <joseph@codesourcery.com>
809
810 * scripts/update-copyrights: New file.
811 * Makeconfig: Reformat copyright notice.
812 * ctype/ctype.h: Likewise.
813 * debug/swprintf_chk.c: Likewise.
814 * elf/dl-cache.c: Likewise.
815 * elf/dl-debug.c: Likewise.
816 * elf/dl-object.c: Likewise.
817 * grp/initgroups.c: Likewise.
818 * hurd/Makefile: Likewise.
819 * hurd/hurd/signal.h: Likewise.
820 * hurd/hurdfault.c: Likewise.
821 * hurd/hurdioctl.c: Likewise.
822 * hurd/hurdlookup.c: Likewise.
823 * hurd/intr-msg.c: Likewise.
824 * iconv/gconv_open.c: Likewise.
825 * libio/swprintf.c: Likewise.
826 * locale/lc-ctype.c: Likewise.
827 * locale/nl_langinfo.c: Likewise.
828 * mach/Machrules: Likewise.
829 * mach/Makefile: Likewise.
830 * malloc/obstack.h: Likewise.
831 * manual/Makefile: Likewise.
832 * manual/tsort.awk: Likewise.
833 * misc/bits/stab.def: Likewise.
834 * nis/nis_print_group_entry.c: Likewise.
835 * nis/nis_table.c: Likewise.
836 * nis/nss_compat/compat-pwd.c: Likewise.
837 * nis/nss_compat/compat-spwd.c: Likewise.
838 * po/Makefile: Likewise.
839 * posix/fnmatch.c: Likewise.
840 * posix/regex.h: Likewise.
841 * resolv/Makefile: Likewise.
842 * resolv/nss_dns/dns-network.c: Likewise.
843 * resolv/res_hconf.c: Likewise.
844 * scripts/gen-sorted.awk: Likewise.
845 * soft-fp/soft-fp.h: Likewise.
846 * stdio-common/printf.h: Likewise.
847 * stdlib/monetary.h: Likewise.
848 * stdlib/random.c: Likewise.
849 * stdlib/random_r.c: Likewise.
850 * sysdeps/generic/Makefile: Likewise.
851 * sysdeps/gnu/Makefile: Likewise.
852 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
853 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
854 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
856 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
857 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
858 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
859 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
860 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
861 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
862 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
863 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
864 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
865 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
866 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
867 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
868 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
869 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
870 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
871 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
872 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
873 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
874 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
875 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
876 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
877 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
878 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
879 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
880 * sysdeps/mach/hurd/errnos.awk: Likewise.
881 * sysdeps/mach/hurd/fork.c: Likewise.
882 * sysdeps/mach/hurd/getcwd.c: Likewise.
883 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
884 * sysdeps/mach/hurd/mmap.c: Likewise.
885 * sysdeps/mach/hurd/utimes.c: Likewise.
886 * sysdeps/mach/hurd/xmknod.c: Likewise.
887 * sysdeps/posix/profil.c: Likewise.
888 * sysdeps/posix/readdir_r.c: Likewise.
889 * sysdeps/powerpc/bits/mathdef.h: Likewise.
890 * sysdeps/powerpc/bits/setjmp.h: Likewise.
891 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
892 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
894 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
895 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
896 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
898 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
899 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
900 * sysdeps/pthread/lio_listio.c: Likewise.
901 * sysdeps/sparc/dl-procinfo.h: Likewise.
902 * sysdeps/unix/i386/sysdep.S: Likewise.
903 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
904 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
905 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
906 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
908 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
909 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
910 * sysdeps/unix/sysv/linux/speed.c: Likewise.
911 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
912 * sysdeps/wordsize-32/divdi3.c: Likewise.
913 * time/sys/time.h: Likewise.
914 * wcsmbs/Makefile: Likewise.
915
0549fbba
DM
9162013-01-01 David S. Miller <davem@davemloft.net>
917
a141f1a7
DM
918 * po/fr.po: Update from translation team.
919
0549fbba
DM
920 * catgets/gencat.c: Update copyright year.
921 * csu/version.c: Likewise.
922 * debug/catchsegv.sh: Likewise.
923 * debug/pcprofiledump.c: Likewise.
924 * debug/xtrace.sh: Likewise.
925 * elf/ldconfig.c: Likewise.
926 * elf/ldd.bash.in: Likewise.
927 * elf/pldd.c: Likewise.
928 * elf/sotruss.ksh: Likewise.
929 * elf/sprof.c: Likewise.
930 * iconv/iconv_prog.c: Likewise.
931 * iconv/iconvconfig.c: Likewise.
932 * locale/programs/locale.c: Likewise.
933 * locale/programs/localedef.c: Likewise.
934 * login/programs/pt_chown.c: Likewise.
935 * malloc/memusage.sh: Likewise.
936 * malloc/memusagestat.c: Likewise.
937 * malloc/mtrace.pl: Likewise.
938 * nscd/nscd.c: Likewise.
939 * nss/getent.c: Likewise.
940 * nss/makedb.c: Likewise.
941 * posix/getconf.c: Likewise.
942
18ea052c
SP
9432012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
944
945 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
946 numbers.
947
9c89fca6
MF
9482012-12-30 Mike Frysinger <vapier@gentoo.org>
949
950 * math/bits/mathcalls.h (modf): Use __nonnull.
951
085ec079
SP
9522012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
953
954 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
955 (split): Use macro CN instead of the bare value.
956 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
957 could be used.
958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
959 instead of the bare value.
960 (power1): Likewise.
961
6d9f97e1
SP
9622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
963
d63f73be
SP
964 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
965 __ATAN_TWOM.
966 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
967
6d9f97e1
SP
968 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
969 their values.
970 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
971 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
972 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
973 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
974
4c4febf5
AJ
9752012-12-28 Andreas Jaeger <aj@suse.de>
976
af5843ef
AJ
977 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
978 values are from Linux 3.7.
979
4c4febf5
AJ
980 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
981 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
982
99136f82
SP
9832012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
984
2f216c3c 985 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
986 TRUE case.
987
99136f82
SP
988 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
989 (norm): Likewise.
990 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
991 variables with preprocessor constants.
992 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
993 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
994 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
995
7fffbdff
BH
9962012-12-27 Bruno Haible <bruno@clisp.org>
997
998 [BZ #14317]
999 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1000 only if needed.
1001
b76eb5f0
SP
10022012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1003
31a7fe5c
SP
1004 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1005 and use variable directly.
1006 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1007
b76eb5f0
SP
1008 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1009 MPONE.
1010 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1011 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1012 variable MPONE.
1013 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1015 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1016 include directive. Remove local variable MPONE.
1017 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1018 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1019 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1020
2c8bfe7d
DM
10212012-12-25 David S. Miller <davem@davemloft.net>
1022
1023 * version.h (RELEASE): Set to "development".
1024 (VERSION): Set to "2.17.90".
1025 * NEWS: Add 2.18 section.
1026
147d03b0
DM
10272012-12-21 David S. Miller <davem@davemloft.net>
1028
1029 * po/hr.po: Update from translation team.
1030
a8ebb2b9
AK
10312012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1032
1033 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1034
95b4f1b6
SE
10352012-12-19 Steve Ellcey <sellcey@mips.com>
1036
b2d94007 1037 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1038
cedb2a90
MS
10392012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1040
1041 * manual/contrib.texi (Contributors): Spelling correction.
1042
bbf527d6
DM
10432012-12-15 David S. Miller <davem@davemloft.net>
1044
1045 * po/ru.po: Update from translation team.
1046
bc38c906
DM
10472012-12-13 David S. Miller <davem@davemloft.net>
1048
85429b1a
DM
1049 * NEWS: Mention IFUNC testsuite enhancements.
1050
d283e353
DM
1051 * po/pl.po: Update from translation team.
1052 * po/bg.po: Likewise.
1053
bc38c906
DM
1054 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1055 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1056
a181b0d7
DM
10572012-12-11 David S. Miller <davem@davemloft.net>
1058
4641d57e
DM
1059 * po/sv.po: Update from translation team.
1060
f7bc6495
DM
1061 * po/vi.po: Update from translation team.
1062
6fc9048f
DM
1063 * po/cs.po: Update from translation team.
1064
a181b0d7
DM
1065 * po/de.po: Update from translation team.
1066 * po/eo.po: Likewise.
1067 * po/nl.po: Likewise.
1068
f70bfe80
SP
10692012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1070
3c8b4190
SP
1071 [BZ #14246]
1072 * manual/argp.texi (Argp Helper Functions): Move node to follow
1073 Argp Parsing State.
1074
f70bfe80
SP
1075 [BZ #14872]
1076 * manual/conf.texi (Limits on File System Capacity): Mention if
1077 terminating null is included in the max size.
1078
188f0adf
AJ
10792012-12-10 Andreas Jaeger <aj@suse.de>
1080
1081 * po/cs.po: Update from translation team.
1082
56e7d3ad
SP
10832012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1084
1085 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1086 void pointer and cast to uintptr_t.
1087 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1088 path.
1089 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1090 * sysdeps/s390/s390-64/memset.S: Likewise.
1091
76f2d2ea 10922012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1093
1094 [BZ #14833]
1095 * menual/message.texi (Message Translation): Fix typos.
1096 (Helper programs for gettext): Likewise.
1097
67cbf9a2
AS
10982012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1099
1100 [BZ #14898]
1101 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1102 Change to -1.
1103
682d0e9a
DM
11042012-12-07 David S. Miller <davem@davemloft.net>
1105
1106 * po/libc.pot: Update.
1107
573cd484
RH
11082012-12-07 Richard Henderson <rth@redhat.com>
1109
7e9da188 1110 [BZ #10114]
573cd484
RH
1111 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1112 normal/normal case to before the switch.
1113 (_FP_DIV): Likewise.
1114
e933a943
MF
11152012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1116 Mike Frysinger <vapier@gentoo.org>
1117
1118 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1119 check for __NR_fadvise64_64.
1120
82123268
CM
11212012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1122
1123 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1124 0, not just to plain "0" as a statement.
1125 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1126 with cw.
1127
d9814526
JM
11282012-12-06 Joseph Myers <joseph@codesourcery.com>
1129
1130 * NEWS: Use sourceware.org in Bugzilla URL.
1131
7728c574
SP
11322012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1133
f16946dd
SP
1134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1135 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1136
5704bbcb
SP
1137 * stdio-common/tst-put-error.c (do_test): Add newline to the
1138 padded test to ensure flush.
1139
17aa0516
JL
11402012-12-05 Jeff Law <law@redhat.com>
1141
1142 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1143
363313b5
JM
11442012-12-05 Joseph Myers <joseph@codesourcery.com>
1145
effbd42a
JM
1146 * README: Don't refer to ports add-on as distributed separately.
1147 Mention AArch64 in list of systems supported in the ports add-on.
1148
87600365
JM
1149 * LICENSES: Add more non-FSF copyright and license notices.
1150
a0d7066a
JM
1151 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1152 ((unused)).
1153
66ca5a5b
JM
1154 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1155
363313b5
JM
1156 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1157 10000 as width of padded output.
1158
b37984ad
JM
11592012-12-04 Joseph Myers <joseph@codesourcery.com>
1160
9003570a
JM
1161 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1162
b37984ad
JM
1163 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1164 variable LX with __attribute__ ((unused)).
1165 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1166 Likewise.
1167 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1168 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1169 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1170 with __attribute__ ((unused)).
1171
c8df52ec
DM
11722012-12-04 David S. Miller <davem@abraco.davemloft.net>
1173
1174 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1175
b3b099af
JM
11762012-12-04 Joseph Myers <joseph@codesourcery.com>
1177
c33aa6e3
JM
1178 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1179 (CFLAGS-nldbl-acos.c): New variable.
1180 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1181 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1182 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1183 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1184 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1185 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1186 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1187 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1188 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1189 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1190 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1191 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1192 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1193 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1194 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1195 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1196 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1197 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1198 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1199 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1200 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1201 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1202 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1203 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1204 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1205 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1206 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1207 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1208 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1209 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1210 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1211 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1212 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1213 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1214 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1215 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1216 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1217 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1218 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1219 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1220 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1221 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1222 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1223 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1224 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1225 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1226 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1227 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1228 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1229 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1230 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1231 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1232 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1233 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1234 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1235 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1236 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1237 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1238 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1239 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1240 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1241 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1242 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1243 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1244 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1245 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1246 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1247 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1248 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1249 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1250 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1251 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1252 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1253 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1254 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1255 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1256 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1257 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1258 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1259 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1260 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1261 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1262 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1263 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1264 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1265 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1266 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1267 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1268 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1269 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1270 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1271 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1272 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1273 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1274 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1275 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1276 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1277
20f0018d
JM
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1279 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1280
b3b099af
JM
1281 [BZ #14914]
1282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1283 whole low double instead of just low 47 bits when splitting values
1284 into two parts.
1285
029264d1
AM
12862012-12-03 Allan McRae <allan@archlinux.org>
1287
1288 * manual/stdio.texi (Predefined Printf Handlers): Remove
1289 @hsep and @vsep usage.
1290
c9d6789e
MF
12912012-12-03 Mike Frysinger <vapier@gentoo.org>
1292
1293 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1294 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1295
4b7634a5
JL
12962012-12-03 Jeff Law <law@redhat.com>
1297
1298 * time/sys/time.h (settimeofday): Do not mark TV argument
1299 as __nonnull.
1300
eb6cbd24
MF
13012012-12-01 Mike Frysinger <vapier@gentoo.org>
1302
1303 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1304 when currently writing and seek to current position when not.
1305 * libio/Makefile (tests): Remove bug-fclose1.
1306 * libio/bug-fclose1.c: Delete.
1307
f638872a
JM
13082012-12-01 Joseph Myers <joseph@codesourcery.com>
1309
1310 * manual/arith.texi (feenableexcept): Fix typo.
1311 (fedisableexcept): Likewise.
1312
48085d14
RM
13132012-11-30 Roland McGrath <roland@hack.frob.com>
1314
1315 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1316 second, differently-typed declaration, rather than a cast.
1317
1a538b9f
SP
13182012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1319
1320 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1321 * include/rpc/svc.h: ... here.
1322
d07f2ff1 13232012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1324
1325 [BZ #13013]
1326 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1327 depending n and resplen2 to catch cases where answer
1328 equals answerp2.
1329
c93ec1f0
CD
13302012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1331
1332 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1333 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1334
37db69de
MF
13352012-11-29 Mike Frysinger <vapier@gentoo.org>
1336
1337 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1338
e10c4e4f
RM
13392012-11-29 Roland McGrath <roland@hack.frob.com>
1340
1341 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1342
2af1b328
JL
13432012-11-28 Jeff Law <law@redhat.com>
1344
1345 [BZ #13761]
1346 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1347 dataset_temporary. Track alloca usage into alloca_used.
1348 If dataset is large allocate and release it via malloc/free.
1349
111db5b1
FW
13502012-06-04 Florian Weimer <fweimer@redhat.com>
1351
f06cc227 1352 [BZ #14197]
111db5b1
FW
1353 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1354
dd694abd
DM
13552012-11-28 David S. Miller <davem@davemloft.net>
1356
1357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1358
9984dd01
JM
13592012-11-28 Joseph Myers <joseph@codesourcery.com>
1360
1361 [BZ #14803]
1362 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1363 of pi/2 rounded to nearest to 64 bits.
1364 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1365 nearest to 64 bits.
1366 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1367 bits.
1368
14bc93a9
JL
13692012-11-28 Jeff Law <law@redhat.com>
1370 Martin Osvald <mosvald@redhat.com>
1371
1372 [BZ #14889]
1373 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1374 * sunrpc/svc.c: Include time.h.
1375 (__svc_accept_failed): New function.
1376 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1377 any reason other than EINTR, call __svc_accept_failed.
1378 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1379 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1380
e3c6aa3a
AS
13812012-11-28 Andreas Schwab <schwab@suse.de>
1382
1383 * scripts/abilist.awk: Also handle indirect functions in .opd
1384 section.
1385
1bead169
JM
13862012-11-28 Joseph Myers <joseph@codesourcery.com>
1387
1388 [BZ #13881]
1389 * sysdeps/x86/fpu/powl_helper.c: New file.
1390 * sysdeps/x86/fpu/Makefile: Likewise.
1391 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1392 (p3): New object.
1393 (__ieee754_powl): Use __powl_helper for finite arguments except
1394 integer exponents below 8.
1395 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests and enable some
1400 previously disabled tests.
1401 * sysdeps/i386/fpu/libm-test-ulps: Update.
1402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1403
0817d63d
SP
14042012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1405 Carlos O'Donell <carlos_odonell@mentor.com>
1406
1407 * nss/makedb.c (is_prime): Assert that input is odd and greater
1408 than 4. Note that fact in a comment too.
1409 (next_prime): Add 4 to input.
1410
de2fd463
SP
14112012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1412
1413 [BZ #11741]
1414 * libio/Makefile (tests): Add test case tst-fwrite-error.
1415 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1416 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1417 * libio/tst-fwrite-error.c: New test case.
1418
c515fb51
L
14192012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1420
1421 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1422 before casting to void *.
1423 * include/libc-internal.h (__pointer_type): New macro.
1424 (__integer_if_pointer_type_sub): Likewise.
1425 (__integer_if_pointer_type): Likewise.
1426 (cast_to_integer): Likewise.
1427 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1428 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1429 before casting to atomic64_t.
1430 (atomic_exchange_acq): Likewise.
1431 (__arch_exchange_and_add_body): Likewise.
1432 (__arch_add_body): Likewise.
1433 (atomic_add_negative): Likewise.
1434 (atomic_add_zero): Likewise.
1435
4cf77aa9
JM
14362012-11-26 Joseph Myers <joseph@codesourcery.com>
1437
1438 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1439 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1440 (add_fdes): Likewise.
1441 (linear_search_fdes): Likewise.
1442 (binary_search_unencoded_fdes): Likewise.
1443
d260b3b4
AS
14442012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1445
1446 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1447
67060746
AC
14482012-11-24 Adam Conrad <adconrad@0c3.net>
1449
1450 * configure.in: Autodetect C++ header directories.
1451 * configure: Regenerated.
1452
800938a1
MF
14532012-11-23 Mike Frysinger <vapier@gentoo.org>
1454
1455 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1456
4e6e34e6
AS
14572012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1458
1459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1460
7c7feb47
JM
14612012-11-22 Joseph Myers <joseph@codesourcery.com>
1462
7184dcdf
JM
1463 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1464 LDBL_MANT_DIG == 106]: Disable some tests.
1465 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1466 Likewise.
1467 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1468 Likewise.
1469
0a42601f
JM
1470 [BZ #14871]
1471 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1472 input for small inputs. Return +/- pi/2 for large inputs.
1473 * math/libm-test.inc (atan_test): Add more tests.
1474
79c9b9fe
JM
1475 * sysdeps/generic/unwind-dw2-fde-glibc.c
1476 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1477 __attribute__ ((unused)).
1478
c60d3bf2
JM
1479 [BZ #14645]
1480 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1481 x * y if x and y are nonzero and z is zero.
1482
ef1e0867
JM
1483 [BZ #14811]
1484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1485 nonzero exponents with absolute value below 0x1p-117 to +/-
1486 0x1p-117.
1487
1468ded3
JM
1488 [BZ #14869]
1489 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1490 up arguments below 2**-450, not just those below 2**-500.
1491 * math/libm-test.inc (hypot_test): Add another test.
1492
8e27e3cc
JM
1493 [BZ #14868]
1494 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1495 Return a+b for ratio over 2**120, not 2**60.
1496 * math/libm-test.inc (hypot_test): Add another test.
1497
c9c0279b
JM
1498 * math/libm-test.inc (clog_test): Use
1499 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1500 (clog10_test): Likewise.
1501
7c7feb47
JM
1502 [BZ #6778]
1503 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1504
fff1530e
AS
15052012-11-22 Andreas Schwab <schwab@suse.de>
1506
1507 * sysdeps/i386/fpu/libm-test-ulps: Update.
1508
94558d30
PT
15092012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1510
1511 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1512 printf output with newline.
1513
7e1be741
L
15142012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1515
6bfea974
L
1516 [BZ #14865]
1517 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1518 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1519 -z nodlopen, -z initfirst and -z execstack support.
1520 * configure: Regenerated.
1521
7e1be741
L
1522 * elf/elf.h (DF_1_NODIRECT): New macro.
1523 (DF_1_IGNMULDEF): Likewise.
1524 (DF_1_NOKSYMS): Likewise.
1525 (DF_1_NOHDR): Likewise.
1526 (DF_1_EDITED): Likewise.
1527 (DF_1_NORELOC): Likewise.
1528 (DF_1_SYMINTPOSE): Likewise.
1529 (DF_1_GLOBAUDIT): Likewise.
1530 (DF_1_SINGLETON): Likewise.
1531 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1532 DT_1_SUPPORTED_MASK bits.
1533 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1534
105ce2ce
CD
15352012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1536
1537 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1538
123be9de
TS
15392012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1540
d072f3f7
TS
1541 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1542 macro.
1543
123be9de
TS
1544 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1545 (sendmmsg): Move declarations...
1546 * socket/sys/socket.h: ... here.
1547 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1548 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1549 include it from...
1550 * socket/recvmmsg.c: ... this new file.
1551 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1552 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1553 definition of __sendmmsg hidden.
1554 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1555 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1556 Move ENOSYS stub into and include it from...
1557 * socket/sendmmsg.c: ... this new file.
1558 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1559 (sysdep_routines): Move recvmmsg and sendmmsg...
1560 * socket/Makefile (routines): ... here.
1561 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1562 (GLIBC_PRIVATE): Add __sendmmsg.
1563 * include/sys/socket.h (__sendmmsg): Add declarations.
1564 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1565 sendmmsg.
1566
cf9a5d18
JM
15672012-11-20 Joseph Myers <joseph@codesourcery.com>
1568
1569 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1570 variable I1 with __attribute__ ((unused)).
1571 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1572
ecd4caf9
JM
15732012-11-19 Joseph Myers <joseph@codesourcery.com>
1574
be14d48f
JM
1575 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1576 DUMMY variables with __attribute__ ((unused)).
1577
ecd4caf9
JM
1578 * bits/byteswap.h: Include <bits/types.h>.
1579 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1580
986cab95
PT
15812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1582
1583 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1584 string_t. Do not manually set errno.
1585 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1586 length with __strnlen. Make sure to both set errno and return it on
1587 failure.
1588
6d33cc9d
DM
15892012-11-19 David S. Miller <davem@davemloft.net>
1590
1591 With help from Joseph Myers.
1592 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1593 very large arguments properly.
1594 * math/libm-test.inc (atan_test): New tests.
1595 (atan2_test): New tests.
1596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1598
ee663277
JM
15992012-11-19 Joseph Myers <joseph@codesourcery.com>
1600
877f2d8e
JM
1601 [BZ #14856]
1602 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1603 Define to 3.
1604
116fc08a
JM
1605 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1606 [POSIX] (EADDRNOTAVAIL): Likewise.
1607 [POSIX] (EAFNOSUPPORT): Likewise.
1608 [POSIX] (EALREADY): Likewise.
1609 [POSIX] (ECONNABORTED): Likewise.
1610 [POSIX] (ECONNREFUSED): Likewise.
1611 [POSIX] (ECONNRESET): Likewise.
1612 [POSIX] (EDESTADDRREQ): Likewise.
1613 [POSIX] (EDQUOT): Likewise.
1614 [POSIX] (EHOSTUNREACH): Likewise.
1615 [POSIX] (EIDRM): Likewise.
1616 [POSIX] (EISCONN): Likewise.
1617 [POSIX] (ELOOP): Likewise.
1618 [POSIX] (EMULTIHOP): Likewise.
1619 [POSIX] (ENETDOWN): Likewise.
1620 [POSIX] (ENETUNREACH): Likewise.
1621 [POSIX] (ENOBUFS): Likewise.
1622 [POSIX] (ENODATA): Likewise.
1623 [POSIX] (ENOLINK): Likewise.
1624 [POSIX] (ENOMSG): Likewise.
1625 [POSIX] (ENOPROTOOPT): Likewise.
1626 [POSIX] (ENOSR): Likewise.
1627 [POSIX] (ENOSTR): Likewise.
1628 [POSIX] (ENOTCONN): Likewise.
1629 [POSIX] (ENOTSOCK): Likewise.
1630 [POSIX] (EOPNOTSUPP): Likewise.
1631 [POSIX] (EOVERFLOW): Likewise.
1632 [POSIX] (EPROTO): Likewise.
1633 [POSIX] (EPROTONOSUPPORT): Likewise.
1634 [POSIX] (EPROTOTYPE): Likewise.
1635 [POSIX] (ESTALE): Likewise.
1636 [POSIX] (ETIME): Likewise.
1637 [POSIX] (ETXTBSY): Likewise.
1638 [POSIX] (EWOULDBLOCK): Likewise.
1639 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1640 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1641 [POSIX] (SEEK_CUR): Likewise.
1642 [POSIX] (SEEK_END): Likewise.
1643 [POSIX || UNIX98] (mode_t): Do not require.
1644 [POSIX] (off_t): Likewise.
1645 [POSIX] (pid_t): Likewise.
1646 [POSIX] (sys/stat.h): Do not allow header.
1647 [POSIX] (unistd.h): Likewise.
1648 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1649 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1650 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1651 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1652 require.
1653 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1654 sigevent): Specify elements.
1655 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1656 entry.
1657 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1658 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1659
a483863f
JM
1660 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1661 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1662 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1663 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1664 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1665 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1666 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1667 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1668 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1669 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1670 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1671 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1672 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1673 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1674 Likewise.
1675 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1676 Likewise.
1677 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1678 Likewise.
1679 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1680 Likewise.
1681 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1682 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1683 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1684 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1685 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1686 Specify lower bound on value.
1687 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1688 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1689 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1690 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1691 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1692 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1693 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1694 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1695 value.
1696 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1697 as optional.
1698 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1699 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1700 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1701 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1702 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1703 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1704 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1705 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1706 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1707 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1708 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1709 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1710 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1711 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1712 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1713 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1714 entry.
1715 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1716 optional.
1717 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1718 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1719 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1720 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1721 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1722 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1723 Likewise.
1724 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1725 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1726 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1727 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1728 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1729 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1730 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1731 as optional.
1732 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1733 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1734 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1735 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1736 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1737 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1738 specify as optional.
1739 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1740 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1741 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1742 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1743 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1744 [XPG3] (NL_LANGMAX): Likewise.
1745 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1746 [POSIX || XPG3] (NL_NMAX): Likewise.
1747 [POSIX || XPG3] (NL_SETMAX): Likewise.
1748 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1749 [XPG3] (NZERO): Likewise.
1750 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1751 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1752 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1753 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1754 (REG_ERANGE): Expect.
1755 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1756 optional-constant.
1757 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1758 Use (void) in prototype.
1759 [POSIX] (*_t): Allow.
1760 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1761 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1762 (WRDE_BADVAL): Expect.
1763
5ba924e3
JM
1764 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1765 expect.
1766 [XPG3 || XPG4] (O_RSYNC): Likewise.
1767 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1768 Likewise.
1769 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1770 [XPG3 || XPG4] (sigqueue): Likewise.
1771 [XPG3 || XPG4] (sigtimedwait): Likewise.
1772 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1773 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1774 [XPG3 || XPG4] (vsnprintf): Likewise.
1775 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1776 Likewise.
1777 [XPG3 || XPG4] (blksize_t): Likewise.
1778 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1779 Likewise.
1780 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1781 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1782 [XPG3 || XPG4] (struct itimerspec): Likewise.
1783 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1784 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1785 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1786 [XPG3 || XPG4] (clockid_t): Likewise.
1787 [XPG3 || XPG4] (timer_t): Likewise.
1788 [XPG3 || XPG4] (clock_getres): Likewise.
1789 [XPG3 || XPG4] (clock_gettime): Likewise.
1790 [XPG3 || XPG4] (clock_settime): Likewise.
1791 [XPG3 || XPG4] (nanosleep): Likewise.
1792 [XPG3 || XPG4] (timer_create): Likewise.
1793 [XPG3 || XPG4] (timer_delete): Likewise.
1794 [XPG3 || XPG4] (timer_gettime): Likewise.
1795 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1796 [XPG3 || XPG4] (timer_settime): Likewise.
1797 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1798 [XPG3 || XPG4] (getlogin_r): Likewise.
1799 [XPG3 || XPG4] (pread): Likewise.
1800 [XPG3 || XPG4] (pthread_atfork): Likewise.
1801 [XPG3 || XPG4] (pwrite): Likewise.
1802
ee663277
JM
1803 [BZ #14835]
1804 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1805 <bits/siginfo.h>.
1806
942caa16
PT
18072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1808
e19af380
PT
1809 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1810 finalizing MALLSTREAM.
1811
942caa16
PT
1812 * sysdeps/mach/hurd/syncfs.c: New file.
1813
cfde9b46
SP
18142012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1815
1816 [BZ #14719]
1817 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1818 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1819 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1820 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1821 (_nss_dns_gethostbyname4_r): Likewise.
1822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1823 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1824
f6da27e5
PH
18252012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1826
1827 [BZ #13763]
1828 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1829
6665d4a2
SM
18302012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1831
1f51ee92
SM
1832 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1833 * elf/cache.c (print_entry): Print ",AArch64" for
1834 FLAG_AARCH64_LIB64
1835
6665d4a2
SM
1836 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1837 * elf/cache.c (print_entry): Print ",hard-float" for
1838 FLAG_ARM_LIBHF.
1839
05b227bd
DM
18402012-11-18 David S. Miller <davem@davemloft.net>
1841
1842 With help from Joseph Myers.
1843 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1844 cutoff to 2**-13.
1845 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1846 cutoff to 2**-25.
1847 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1848 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1849 small.
1850 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1851 * math/libm-test.inc (y0_test): New tests.
1852 (y1_test): New tests.
1853 * sysdeps/i386/fpu/libm-test-ulps: Update.
1854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1856
786b0b67
AS
18572012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1858
1859 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1860 64-bit targets.
1861 * configure: Regenerated.
1862
8e18b86d
DM
18632012-11-17 David S. Miller <davem@davemloft.net>
1864
1865 [BZ #14811]
1866 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1867 nonzero exponents with absolute value below 0x1p-128 to +/-
1868 0x1p-128.
1869
531f1ae0
JM
18702012-11-17 Joseph Myers <joseph@codesourcery.com>
1871
12df29e2
JM
1872 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1873
150dc1a0
JM
1874 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1875
531f1ae0
JM
1876 * posix/getconf-speclist.c: New file.
1877 * posix/posix-envs.def: Likewise.
1878 * posix/confstr.c (START_ENV_GROUP): New macro.
1879 (END_ENV_GROUP): Likewise.
1880 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1881 (KNOWN_PRESENT_ENV_STRING): Likewise.
1882 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1883 (UNKNOWN_ENVIRONMENT): Likewise.
1884 (confstr): Include posix-envs.def instead of handling
1885 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1886 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1887 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1888 (END_ENV_GROUP): Likewise.
1889 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1890 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1891 (UNKNOWN_ENVIRONMENT): Likewise.
1892 (__sysconf): Include posix-envs.def instead of handling associated
1893 cases directly here.
1894 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1895 preprocessing getconf-speclist.c rather than running getconf or
1896 generating empty file.
1897
a93f9cbc
PT
18982012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1899
1900 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1901
d64d9f87
AL
19022012-11-16 Andrej Lajovic <natrij@gmail.com>
1903
1904 [BZ #14672]
1905 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1906
447885eb
DM
19072012-11-16 David S. Miller <davem@davemloft.net>
1908
1909 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1910 smaller than LDBL_EPSILON/2.0L, just return xm1.
1911
bcbf9830
L
19122012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1913
1914 * elf/tst-array1.c (init): Set constructor priority to 1000.
1915 (fini): Set destructor priority to 1000.
1916 * elf/tst-array2dep.c: Likewise.
1917
2b766585
SP
19182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1919
1920 [BZ #11741]
1921 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1922 (_IO_new_file_xsputn): Also return EOF if none of the input
1923 data was written when overflow failed.
1924 * libio/iopadn.c (_IO_padn): Likewise.
1925 * libio/iowpadn.c (_IO_wpadn): Likewise.
1926 * stdio-common/tst-put-error.c: Add copyright notice.
1927 (do_test): Add case for printing padded string.
1928 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1929 _IO_padn returned error.
1930 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1931 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1932 return EOF.
1933
b1848fde
SP
19342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1935
1936 * libio/libioP.h: Add comment note that the references to C++
1937 bits are now obsolete.
1938
2fd89785
MS
19392012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1940
1941 * math/libm-test.inc (check_complex): Use asprintf.
1942
e3ea5409
JM
19432012-11-14 Joseph Myers <joseph@codesourcery.com>
1944
1945 * debug/pcprofiledump.c (print_version): Update copyright year.
1946 * malloc/memusagestat.c (print_version): Likewise.
1947
2e64d265
L
19482012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1949
1950 [BZ #14831]
1951 * elf/Makefile (tests): Add tst-audit8.
1952 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1953 ($(objpfx)tst-audit8.out): New target.
1954 (tst-audit8-ENV): New variable.
1955 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1956 audit if l_reloc_result is NULL.
1957 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1958 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1959 * elf/tst-audit8.c: New file.
1960
c485e4d2
MS
19612012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1962
1963 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1964 * misc/Makefile (CFLAGS-select.c): Define.
1965 * posix/Makefile (CFLAGS-pause.c): Define.
1966
3a0d900a
DM
19672012-11-13 David S. Miller <davem@davemloft.net>
1968
1969 * crypt/Makefile: Move test targets after toplevel Rules
1970 inclusion. Grab any necessary sysdep routines when linking.
1971 * crypt/md5.c (md5_process_block): Remove define, we will always
1972 name it __md5_process_block.
1973 (md5_finish_ctx): Update md5_process_block call.
1974 (md5_stream): Likewise.
1975 (md5_process_bytes): Likewise.
1976 (md5_process_block): Rename to __md5_process_block and move to ...
1977 * crypt/md5-block.c: ... here.
1978 * crypt/sha256.c (sha256_process_block): Move to ...
1979 * crypt/sha256-block.c: ... here.
1980 * crypt/sha512.c (sha512_process_block): Move to ...
1981 * crypt/sha512-block.c: ... here.
1982 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1983 path.
1984 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1985 * sysdeps/sparc/sparc64/multiarch/Makefile
1986 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1987 crypt subdir.
1988 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1989 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1990 multiarch changes.
1991 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1992 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1993 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1994 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1995 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1996 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1997 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1998 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1999 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2000 file.
2001 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2002 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2003 file.
2004 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2005
8ca89318
JM
20062012-11-13 Joseph Myers <joseph@codesourcery.com>
2007
e27d476a
JM
2008 * timezone/tzselect.ksh: Update from tzcode git revision
2009 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2010 * timezone/zdump.c: Likewise.
2011 * timezone/zic.c: Likewise.
2012 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2013 in TZVERSION setting, not $(PKGVERSION).
2014 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2015 REPORT_BUGS_TO settings.
2016
8ca89318
JM
2017 [BZ #14838]
2018 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2019 macro.
2020
47594329
MS
20212012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2022
2023 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2024 detection to immediately after _FP_ROUND().
2025 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2026 bits are 0.
2027
640ac3f1
DM
20282012-11-11 David S. Miller <davem@davemloft.net>
2029
2030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2031 inttypes.h
2032 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2033 __close rather than their public counterparts.
2034
3d2577bb
JM
20352012-11-10 Joseph Myers <joseph@codesourcery.com>
2036
2037 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2038 file.
2039 [UNIX98] (sem_timedwait): Do not expect.
2040 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2041 [XPG4 || UNIX98] (sockatmark): Do not expect.
2042 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2043 (clock_getcpuclockid): Do not expect.
2044 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2045 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2046 Do not expect.
2047 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2048 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2049 [UNIX98] (vwscanf): Likewise.
2050 [UNIX98] (vswscanf): Likewise.
2051
fb1ae1ee
JM
20522012-11-09 Joseph Myers <joseph@codesourcery.com>
2053
9ec6f8bd
JM
2054 * timezone/version.h: Remove file.
2055 * timezone/README: Do not refer to version.h.
2056 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2057 $(objpfx)version.h.
2058 ($(objpfx)zdump.o): Likewise.
c3f81911 2059 ($(objpfx)version.h): New target.
9ec6f8bd 2060
0aa8f8a1
JM
2061 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2062 2012i.
2063 * timezone/README: Don't mention modification to tzselect.ksh.
2064 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2065 work on unmodified tzselect.ksh. Substitute version numbers in
2066 tzselect.ksh.
2067
4e87147f
JM
2068 * Makefile (format-me): Remove.
2069 (INSTALL): Adjust indentation. Use commands directly instead of
2070 using $(format-me).
2071
8b748aed
JM
2072 * aclocal.m4 (ACX_PKGVERSION): New macro.
2073 (ACX_BUGURL): Likewise.
2074 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2075 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2076 (REPORT_BUGS_TO): Likewise.
2077 * configure: Regenerated.
2078 * config.h.in (PKGVERSION): New macro.
2079 (REPORT_BUGS_TO): Likewise.
2080 * config.make.in (PKGVERSION): New variable.
2081 (PKGVERSION_TEXI): Likewise.
2082 (REPORT_BUGS_TO): Likewise.
2083 (REPORT_BUGS_TEXI): Likewise.
2084 * Makefile (format-me): Use -I$(common-objpfx)manual.
2085 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2086 ($(common-objpfx)manual/%): New target.
2087 (manual/%): Remove target.
2088 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2089 (print_version): Use PKGVERSION.
2090 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2091 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2092 and REPORT_BUGS_TO.
2093 ($(objpfx)xtrace): Likewise.
2094 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2095 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2096 (print_version): Use PKGVERSION.
2097 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2098 (do_version): Use PKGVERSION.
2099 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2100 REPORT_BUGS_TO.
2101 (common-ldd-rewrite): Likewise.
2102 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2103 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2104 (print_version): Use PKGVERSION.
2105 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2106 * elf/pldd.c (argp_program_bug_address): Remove variable.
2107 (more_help): New function.
2108 (argp): Use more_help.
2109 (print_version): Use PKGVERSION.
2110 * elf/sln.c (main): Use PKGVERSION.
2111 (usage): Use REPORT_BUGS_TO.
2112 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2113 (top level): Use PKGVERSION.
2114 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2115 (print_version): Use PKGVERSION.
2116 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2117 (print_version): Use PKGVERSION.
2118 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2119 (print_version): Use PKGVERSION.
2120 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2121 (print_version): Use PKGVERSION.
2122 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2123 (print_version): Use PKGVERSION.
2124 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2125 (print_version): Use PKGVERSION.
2126 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2127 and BUGURL.
2128 ($(objpfx)memusage): Likewise.
2129 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2130 (do_version): Use PKGVERSION.
2131 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2132 (print_version): Use PKGVERSION.
2133 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2134 ($PKGVERSION): New variable.
2135 ($REPORT_BUGS_TO): Likewise.
2136 (usage): Use $REPORT_BUGS_TO.
2137 (top level): Use $PKGVERSION.
2138 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2139 ($(objpfx)pkgvers.texi): New rule.
2140 ($(objpfx)stamp-pkgvers): Likewise.
2141 * manual/install.texi: Include pkgvers.texi.
2142 (--with-pkgversion): Document new configure option.
2143 (--with-bugurl): Likewise.
2144 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2145 than necessarily for this particular distribution. Use
2146 REPORT_BUGS_TO for where to report bugs.
2147 * INSTALL: Regenerated.
2148 * manual/libc.texinfo: Include pkgvers.texi.
2149 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2150 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2151 (print_version): Use PKGVERSION.
2152 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2153 (print_version): Use PKGVERSION.
2154 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2155 (print_version): Use PKGVERSION.
2156 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2157 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2158 macro.
2159 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2160 (print_version): Use PKGVERSION.
2161 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2162 (print_version): Use PKGVERSION.
2163 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2164 and PKGVERSION.
2165
92e4b6a9
JM
2166 * timezone/checktab.awk: Update from tzcode 2012i.
2167 * timezone/ialloc.c: Likewise.
2168 * timezone/private.h: Likewise.
2169 * timezone/scheck.c: Likewise.
2170 * timezone/tzfile.h: Likewise.
2171 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2172 (TZVERSION): Hardcode tzcode version number.
2173 * timezone/zdump.c: Update from tzcode 2012i.
2174 * timezone/zic.c: Likewise.
2175 * timezone/version.h: New file.
2176 * timezone/README: Describe version.h. Update upstream location.
2177
9bde902c
JM
2178 [BZ #14824]
2179 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2180 (mktemp): Enable declaration.
2181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2184 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2185 Likewise.
2186 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2187 Likewise.
2188 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2189 Likewise.
2190 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2191 Likewise.
2192 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2193 Likewise.
2194 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2195 Likewise.
2196
fb1ae1ee
JM
2197 [BZ #14821]
2198 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2199 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2200 for copies of such integer values.
2201 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2202 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2203
2c1adbcb
AJ
22042012-11-09 Andreas Jaeger <aj@suse.de>
2205
2206 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2207 definitions and declarations that are provided by
2208 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2209
d0f8457e
AK
22102012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2211
3a235abb 2212 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2213 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2214 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2215 definition.
2216
57241e26
MS
22172012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2218
2219 * elf/elf.h: Update comment before AArch64 relocations.
2220
60e8270d
DM
22212012-11-07 David S. Miller <davem@davemloft.net>
2222
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2224 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2225 (__start_context): Declare.
2226 (__makecontext_ret): Delete.
2227 (__makecontext): Hook up __start_context instead of
2228 __makecontext_ret.
2229 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2230 (sysdep_routines): Add __start_context when in stdlib.
2231
0fbb0fbc
JM
22322012-11-07 Joseph Myers <joseph@codesourcery.com>
2233
2234 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2235 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2236 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2237 hardcoded "nm".
2238 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2239 (READELF): New variable. Use it instead of hardcoded "readelf".
2240
eb48db7e
L
22412012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2242
2243 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2244 * sysdeps/x86/Makefile: Here.
2245 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2246 * sysdeps/x86/tst-xmmymm.sh: This.
2247
05bcf62a
JM
22482012-11-07 Joseph Myers <joseph@codesourcery.com>
2249
c4b6cf53
JM
2250 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2251 expectations.
2252 [UNIX98] (pthread_barrier_t): Do not expect.
2253 [UNIX98] (pthread_barrierattr_t): Likewise.
2254 [UNIX98] (pthread_spinlock_t): Likewise.
2255 [UNIX98] (pthread_barrier_destroy): Likewise.
2256 [UNIX98] (pthread_barrier_init): Likewise.
2257 [UNIX98] (pthread_barrier_wait): Likewise.
2258 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2259 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2260 [UNIX98] (pthread_barrierattr_init): Likewise.
2261 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2262 [UNIX98] (pthread_getcpuclockid): Likewise.
2263 [UNIX98] (pthread_mutex_timedlock): Likewise.
2264 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2265 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2266 [UNIX98] (pthread_sigmask): Likewise.
2267 [UNIX98] (pthread_spin_destroy): Likewise.
2268 [UNIX98] (pthread_spin_init): Likewise.
2269 [UNIX98] (pthread_spin_lock): Likewise.
2270 [UNIX98] (pthread_spin_trylock): Likewise.
2271 [UNIX98] (pthread_spin_unlock): Likewise.
2272 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2273 Do not expect.
2274 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2275 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2276 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2277 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2278 [XPG3 || XPG4] (pthread_key_t): Likewise.
2279 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2280 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2281 [XPG3 || XPG4] (pthread_once_t): Likewise.
2282 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2283 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2285 [XPG3 || XPG4] (pthread_t): Likewise.
2286
cbe6e120
JM
2287 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2288 not expect.
2289 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2290
1b126443
JM
2291 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2292 Change function return type to int.
2293
b961a573
JM
2294 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2295 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2296 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2297 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2298 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2299 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2300 [!POSIX] (posix_madvise): Likewise.
2301 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2302 && !UNIX98].
2303 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2304 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2305 (mode_t): Likewise.
2306 (posix_mem_offset): Likewise.
2307 (posix_typed_mem_get_info): Likewise.
2308 (posix_typed_mem_open): Likewise.
2309
9e188909
JM
2310 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2311 Change condition to [XOPEN2K8].
2312
05bcf62a
JM
2313 * conform/conformtest.pl: Preprocess allow-header data with -x c
2314 instead of from stdin.
2315 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2316 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2317 [C99-based standards] (cerfc): Likewise.
2318 [C99-based standards] (cexp2): Likewise.
2319 [C99-based standards] (cexpm1): Likewise.
2320 [C99-based standards] (clog10): Likewise.
2321 [C99-based standards] (clog1p): Likewise.
2322 [C99-based standards] (clog2): Likewise.
2323 [C99-based standards] (clgamma): Likewise.
2324 [C99-based standards] (ctgamma): Likewise.
2325 [C99-based standards] (cerff): Likewise.
2326 [C99-based standards] (cerfcf): Likewise.
2327 [C99-based standards] (cexp2f): Likewise.
2328 [C99-based standards] (cexpm1f): Likewise.
2329 [C99-based standards] (clog10f): Likewise.
2330 [C99-based standards] (clog1pf): Likewise.
2331 [C99-based standards] (clog2f): Likewise.
2332 [C99-based standards] (clgammaf): Likewise.
2333 [C99-based standards] (ctgammaf): Likewise.
2334 [C99-based standards] (cerfl): Likewise.
2335 [C99-based standards] (cerfcl): Likewise.
2336 [C99-based standards] (cexp2l): Likewise.
2337 [C99-based standards] (cexpm1l): Likewise.
2338 [C99-based standards] (clog10l): Likewise.
2339 [C99-based standards] (clog1pl): Likewise.
2340 [C99-based standards] (clog2l): Likewise.
2341 [C99-based standards] (clgammal): Likewise.
2342 [C99-based standards] (ctgammal): Likewise.
2343 * conform/data/inttypes.h-data [C99-based standards]: Include
2344 stdint.h-data. Remove all expectations for stdint.h contents.
2345 [C99-based standards] (PRI*): Do not allow.
2346 [C99-based standards] (SCN*): Likewise.
2347 [C99-based standards] (*_t): Likewise.
2348 [C99-based-standards] (PRId8): Expect macro.
2349 [C99-based-standards] (PRIi8): Likewise.
2350 [C99-based-standards] (PRIo8): Likewise.
2351 [C99-based-standards] (PRIu8): Likewise.
2352 [C99-based-standards] (PRIx8): Likewise.
2353 [C99-based-standards] (PRIX8): Likewise.
2354 [C99-based-standards] (SCNd8): Likewise.
2355 [C99-based-standards] (SCNi8): Likewise.
2356 [C99-based-standards] (SCNo8): Likewise.
2357 [C99-based-standards] (SCNu8): Likewise.
2358 [C99-based-standards] (SCNx8): Likewise.
2359 [C99-based-standards] (PRIdLEAST8): Likewise.
2360 [C99-based-standards] (PRIiLEAST8): Likewise.
2361 [C99-based-standards] (PRIoLEAST8): Likewise.
2362 [C99-based-standards] (PRIuLEAST8): Likewise.
2363 [C99-based-standards] (PRIxLEAST8): Likewise.
2364 [C99-based-standards] (PRIXLEAST8): Likewise.
2365 [C99-based-standards] (SCNdLEAST8): Likewise.
2366 [C99-based-standards] (SCNiLEAST8): Likewise.
2367 [C99-based-standards] (SCNoLEAST8): Likewise.
2368 [C99-based-standards] (SCNuLEAST8): Likewise.
2369 [C99-based-standards] (SCNxLEAST8): Likewise.
2370 [C99-based-standards] (PRIdFAST8): Likewise.
2371 [C99-based-standards] (PRIiFAST8): Likewise.
2372 [C99-based-standards] (PRIoFAST8): Likewise.
2373 [C99-based-standards] (PRIuFAST8): Likewise.
2374 [C99-based-standards] (PRIxFAST8): Likewise.
2375 [C99-based-standards] (PRIXFAST8): Likewise.
2376 [C99-based-standards] (SCNdFAST8): Likewise.
2377 [C99-based-standards] (SCNiFAST8): Likewise.
2378 [C99-based-standards] (SCNoFAST8): Likewise.
2379 [C99-based-standards] (SCNuFAST8): Likewise.
2380 [C99-based-standards] (SCNxFAST8): Likewise.
2381 [C99-based-standards] (PRId16): Likewise.
2382 [C99-based-standards] (PRIi16): Likewise.
2383 [C99-based-standards] (PRIo16): Likewise.
2384 [C99-based-standards] (PRIu16): Likewise.
2385 [C99-based-standards] (PRIx16): Likewise.
2386 [C99-based-standards] (PRIX16): Likewise.
2387 [C99-based-standards] (SCNd16): Likewise.
2388 [C99-based-standards] (SCNi16): Likewise.
2389 [C99-based-standards] (SCNo16): Likewise.
2390 [C99-based-standards] (SCNu16): Likewise.
2391 [C99-based-standards] (SCNx16): Likewise.
2392 [C99-based-standards] (PRIdLEAST16): Likewise.
2393 [C99-based-standards] (PRIiLEAST16): Likewise.
2394 [C99-based-standards] (PRIoLEAST16): Likewise.
2395 [C99-based-standards] (PRIuLEAST16): Likewise.
2396 [C99-based-standards] (PRIxLEAST16): Likewise.
2397 [C99-based-standards] (PRIXLEAST16): Likewise.
2398 [C99-based-standards] (SCNdLEAST16): Likewise.
2399 [C99-based-standards] (SCNiLEAST16): Likewise.
2400 [C99-based-standards] (SCNoLEAST16): Likewise.
2401 [C99-based-standards] (SCNuLEAST16): Likewise.
2402 [C99-based-standards] (SCNxLEAST16): Likewise.
2403 [C99-based-standards] (PRIdFAST16): Likewise.
2404 [C99-based-standards] (PRIiFAST16): Likewise.
2405 [C99-based-standards] (PRIoFAST16): Likewise.
2406 [C99-based-standards] (PRIuFAST16): Likewise.
2407 [C99-based-standards] (PRIxFAST16): Likewise.
2408 [C99-based-standards] (PRIXFAST16): Likewise.
2409 [C99-based-standards] (SCNdFAST16): Likewise.
2410 [C99-based-standards] (SCNiFAST16): Likewise.
2411 [C99-based-standards] (SCNoFAST16): Likewise.
2412 [C99-based-standards] (SCNuFAST16): Likewise.
2413 [C99-based-standards] (SCNxFAST16): Likewise.
2414 [C99-based-standards] (PRId32): Likewise.
2415 [C99-based-standards] (PRIi32): Likewise.
2416 [C99-based-standards] (PRIo32): Likewise.
2417 [C99-based-standards] (PRIu32): Likewise.
2418 [C99-based-standards] (PRIx32): Likewise.
2419 [C99-based-standards] (PRIX32): Likewise.
2420 [C99-based-standards] (SCNd32): Likewise.
2421 [C99-based-standards] (SCNi32): Likewise.
2422 [C99-based-standards] (SCNo32): Likewise.
2423 [C99-based-standards] (SCNu32): Likewise.
2424 [C99-based-standards] (SCNx32): Likewise.
2425 [C99-based-standards] (PRIdLEAST32): Likewise.
2426 [C99-based-standards] (PRIiLEAST32): Likewise.
2427 [C99-based-standards] (PRIoLEAST32): Likewise.
2428 [C99-based-standards] (PRIuLEAST32): Likewise.
2429 [C99-based-standards] (PRIxLEAST32): Likewise.
2430 [C99-based-standards] (PRIXLEAST32): Likewise.
2431 [C99-based-standards] (SCNdLEAST32): Likewise.
2432 [C99-based-standards] (SCNiLEAST32): Likewise.
2433 [C99-based-standards] (SCNoLEAST32): Likewise.
2434 [C99-based-standards] (SCNuLEAST32): Likewise.
2435 [C99-based-standards] (SCNxLEAST32): Likewise.
2436 [C99-based-standards] (PRIdFAST32): Likewise.
2437 [C99-based-standards] (PRIiFAST32): Likewise.
2438 [C99-based-standards] (PRIoFAST32): Likewise.
2439 [C99-based-standards] (PRIuFAST32): Likewise.
2440 [C99-based-standards] (PRIxFAST32): Likewise.
2441 [C99-based-standards] (PRIXFAST32): Likewise.
2442 [C99-based-standards] (SCNdFAST32): Likewise.
2443 [C99-based-standards] (SCNiFAST32): Likewise.
2444 [C99-based-standards] (SCNoFAST32): Likewise.
2445 [C99-based-standards] (SCNuFAST32): Likewise.
2446 [C99-based-standards] (SCNxFAST32): Likewise.
2447 [C99-based-standards] (PRId64): Likewise.
2448 [C99-based-standards] (PRIi64): Likewise.
2449 [C99-based-standards] (PRIo64): Likewise.
2450 [C99-based-standards] (PRIu64): Likewise.
2451 [C99-based-standards] (PRIx64): Likewise.
2452 [C99-based-standards] (PRIX64): Likewise.
2453 [C99-based-standards] (SCNd64): Likewise.
2454 [C99-based-standards] (SCNi64): Likewise.
2455 [C99-based-standards] (SCNo64): Likewise.
2456 [C99-based-standards] (SCNu64): Likewise.
2457 [C99-based-standards] (SCNx64): Likewise.
2458 [C99-based-standards] (PRIdLEAST64): Likewise.
2459 [C99-based-standards] (PRIiLEAST64): Likewise.
2460 [C99-based-standards] (PRIoLEAST64): Likewise.
2461 [C99-based-standards] (PRIuLEAST64): Likewise.
2462 [C99-based-standards] (PRIxLEAST64): Likewise.
2463 [C99-based-standards] (PRIXLEAST64): Likewise.
2464 [C99-based-standards] (SCNdLEAST64): Likewise.
2465 [C99-based-standards] (SCNiLEAST64): Likewise.
2466 [C99-based-standards] (SCNoLEAST64): Likewise.
2467 [C99-based-standards] (SCNuLEAST64): Likewise.
2468 [C99-based-standards] (SCNxLEAST64): Likewise.
2469 [C99-based-standards] (PRIdFAST64): Likewise.
2470 [C99-based-standards] (PRIiFAST64): Likewise.
2471 [C99-based-standards] (PRIoFAST64): Likewise.
2472 [C99-based-standards] (PRIuFAST64): Likewise.
2473 [C99-based-standards] (PRIxFAST64): Likewise.
2474 [C99-based-standards] (PRIXFAST64): Likewise.
2475 [C99-based-standards] (SCNdFAST64): Likewise.
2476 [C99-based-standards] (SCNiFAST64): Likewise.
2477 [C99-based-standards] (SCNoFAST64): Likewise.
2478 [C99-based-standards] (SCNuFAST64): Likewise.
2479 [C99-based-standards] (SCNxFAST64): Likewise.
2480 [C99-based-standards] (PRIdMAX): Likewise.
2481 [C99-based-standards] (PRIiMAX): Likewise.
2482 [C99-based-standards] (PRIoMAX): Likewise.
2483 [C99-based-standards] (PRIuMAX): Likewise.
2484 [C99-based-standards] (PRIxMAX): Likewise.
2485 [C99-based-standards] (PRIXMAX): Likewise.
2486 [C99-based-standards] (SCNdMAX): Likewise.
2487 [C99-based-standards] (SCNiMAX): Likewise.
2488 [C99-based-standards] (SCNoMAX): Likewise.
2489 [C99-based-standards] (SCNuMAX): Likewise.
2490 [C99-based-standards] (SCNxMAX): Likewise.
2491 [C99-based-standards] (PRIdPTR): Likewise.
2492 [C99-based-standards] (PRIiPTR): Likewise.
2493 [C99-based-standards] (PRIoPTR): Likewise.
2494 [C99-based-standards] (PRIuPTR): Likewise.
2495 [C99-based-standards] (PRIxPTR): Likewise.
2496 [C99-based-standards] (PRIXPTR): Likewise.
2497 [C99-based-standards] (SCNdPTR): Likewise.
2498 [C99-based-standards] (SCNiPTR): Likewise.
2499 [C99-based-standards] (SCNoPTR): Likewise.
2500 [C99-based-standards] (SCNuPTR): Likewise.
2501 [C99-based-standards] (SCNxPTR): Likewise.
2502 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2503 allow.
2504 * conform/data/stdint.h-data: Update comments to clarify
2505 requirements.
2506 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2507 type.
2508 [C99-based standards] (INT8_MAX): Likewise.
2509 [C99-based standards] (INT16_MIN): Likewise.
2510 [C99-based standards] (INT16_MAX): Likewise.
2511 [C99-based standards] (INT32_MIN): Likewise.
2512 [C99-based standards] (INT32_MAX): Likewise.
2513 [C99-based standards] (INT64_MIN): Likewise.
2514 [C99-based standards] (INT64_MAX): Likewise.
2515 [C99-based standards] (UINT8_MAX): Likewise.
2516 [C99-based standards] (UINT16_MAX): Likewise.
2517 [C99-based standards] (UINT32_MAX): Likewise.
2518 [C99-based standards] (UINT64_MAX): Likewise.
2519 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2520 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2521 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2522 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2523 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2524 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2525 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2526 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2527 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2528 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2529 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2530 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2531 [C99-based standards] (INT_FAST8_MIN): Likewise.
2532 [C99-based standards] (INT_FAST8_MAX): Likewise.
2533 [C99-based standards] (INT_FAST16_MIN): Likewise.
2534 [C99-based standards] (INT_FAST16_MAX): Likewise.
2535 [C99-based standards] (INT_FAST32_MIN): Likewise.
2536 [C99-based standards] (INT_FAST32_MAX): Likewise.
2537 [C99-based standards] (INT_FAST64_MIN): Likewise.
2538 [C99-based standards] (INT_FAST64_MAX): Likewise.
2539 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2540 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2541 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2542 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2543 [C99-based standards] (INTPTR_MIN): Likewise.
2544 [C99-based standards] (INTPTR_MAX): Likewise.
2545 [C99-based standards] (UINTPTR_MAX): Likewise.
2546 [C99-based standards] (INTMAX_MIN): Likewise.
2547 [C99-based standards] (INTMAX_MAX): Likewise.
2548 [C99-based standards] (UINTMAX_MAX): Likewise.
2549 [C99-based standards] (PTRDIFF_MIN): Likewise.
2550 [C99-based standards] (PTRDIFF_MAX): Likewise.
2551 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2552 [C99-based standards] (SIZE_MAX): Likewise.
2553 [C99-based standards] (WCHAR_MAX): Likewise.
2554 [C99-based standards] (WINT_MAX): Likewise.
2555 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2556 constraint on value.
2557 [C99-based standards] (WCHAR_MIN): Likewise.
2558 [C99-based standards] (WINT_MIN): Likewise.
2559 [C99-based standards] (*_t): Allow.
2560 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2561 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2562 Include math.h-data and complex.h-data. Remove all expectations
2563 of math.h and complex.h contents.
2564 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2565 at end of line.
2566 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2567 (struct tm): Expect tag.
2568 [C99-based-standards] (wcstof): Expect function.
2569 [C99-based-standards] (wcstold): Likewise.
2570 [C99-based-standards] (wcstoll): Likewise.
2571 [C99-based-standards] (wcstoull): Likewise.
2572 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2573 macro-int-constant. Specify type.
2574 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2575 constraint on value.
2576 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2577 Specify type.
2578 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2579 Specify value.
2580 [ISO C standards]: Do not allow headers.
2581 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2582 wcs[abcdefghijklmnopqrstuvwxyz]*.
2583 [ISO C standards] (*_t): Do not allow.
2584 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2585 Expect function.
2586 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2587 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2588 Specify type.
2589 [ISO C standards]: Do not allow headers.
2590 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2591 is[abcdefghijklmnopqrstuvwxyz]*.
2592 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2593 to[abcdefghijklmnopqrstuvwxyz]*.
2594 [ISO C standards] (*_t): Do not allow.
2595 * conform/data/stdalign.h-data: New file.
2596 * conform/data/stdbool.h-data: Likewise.
2597 * conform/data/stdnoreturn.h-data: Likewise.
2598
7514feb8
RM
25992012-11-07 Roland McGrath <roland@hack.frob.com>
2600
2601 [BZ #14815]
2602 * manual/filesys.texi (Directory Entries): Typo fix.
2603 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2604
19b2ecfc
MS
26052012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2606
2607 * elf/elf.h (EM_AARCH64): New macro.
2608 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2609 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2610 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2611 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2612 (R_AARCH64_TLSDESC): Likewise.
2613 (NT_ARM_TLS): Likewise.
2614 (NT_ARM_HW_BREAK): Likewise.
2615 (NT_ARM_HW_WATCH): Likewise.
2616
60e235ee
JM
26172012-11-07 Joseph Myers <joseph@codesourcery.com>
2618
2619 [BZ #14811]
2620 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2621 (__ieee754_powl): Saturate nonzero exponents with absolute value
2622 below 0x1p-79 to +/- 0x1p-79.
2623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2624 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2625 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2626 nonzero exponents with absolute value below 0x1p-32 to +/-
2627 0x1p-32.
2628 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2629 (__ieee754_powl): Saturate nonzero exponents with absolute value
2630 below 0x1p-79 to +/- 0x1p-79.
2631 * math/libm-test.inc (pow_test): Add more tests.
2632
0ab234b7
AK
26332012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2634
2635 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2636 _dl_s390_cap_flags with kernel. Increase string length.
2637 (_dl_s390_platforms): Add z196 and zEC12.
2638
45832f74
JM
26392012-11-07 Joseph Myers <joseph@codesourcery.com>
2640
2641 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2642 Change XOPEN21K to XOPEN2K.
2643
19218757
MK
26442012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2645
2646 * string/memmove.c: Use memcpy when possible.
2647
c5f45721
AJ
26482012-11-06 Andreas Jaeger <aj@suse.de>
2649
2650 * po/eo.po: Update from translation team.
2651
82477c28
JM
26522012-11-06 Joseph Myers <joseph@codesourcery.com>
2653
2654 [BZ #14793]
2655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2656 exponent and small x and y exponents, scale x or y up. Increase
2657 by 2 the exponent used in scaling up.
2658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2659 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2660 * math/libm-test.inc (fma_test): Add more tests.
2661 (fma_test_towardzero): Likewise.
2662 (fma_test_downward): Likewise.
2663 (fma_test_upward): Likewise.
2664
99252c8c
JM
26652012-11-05 Joseph Myers <joseph@codesourcery.com>
2666
acfa885f
JM
2667 [BZ #14805]
2668 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2669 fenv_t *.
2670
99252c8c
JM
2671 [BZ #14801]
2672 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2673 namespace for names of struct fields.
2674 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2675 fenv_t fields.
2676 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2677 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2678
d6d98dea
ST
26792012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2680
2681 [BZ #3665]
2682 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2683
e10bb107
TS
26842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2685
2686 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2687 PTR_DEMANGLE.
2688
2689 [BZ #5246]
2690 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2691 PTR_DEMANGLE.
2692
a0c2940d
JM
26932012-11-04 Joseph Myers <joseph@codesourcery.com>
2694
2695 [BZ #14797]
2696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2697 definitely overflow as x * y not x * y + z.
2698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2700 * math/libm-test.inc (fma_test): Add more tests.
2701 (fma_test_towardzero): Likewise.
2702 (fma_test_downward): Likewise.
2703 (fma_test_upward): Likewise.
2704
b830319d
TS
27052012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2706
2707 [BZ #157]
2708
2709 * include/stub-tag.h: Remove file.
2710 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2711 '#include' of it.
2712 * manual/maint.texi (Porting): Don't reference it.
2713 * Makerules ($(objpfx)stubs): Likewise.
2714 * dirent/closedir.c: Don't include <stub-tag.h>.
2715 * dirent/dirfd.c: Likewise.
2716 * dirent/fdopendir.c: Likewise.
2717 * dirent/getdents.c: Likewise.
2718 * dirent/getdents64.c: Likewise.
2719 * dirent/opendir.c: Likewise.
2720 * dirent/readdir.c: Likewise.
2721 * dirent/readdir64.c: Likewise.
2722 * dirent/readdir64_r.c: Likewise.
2723 * dirent/readdir_r.c: Likewise.
2724 * dirent/rewinddir.c: Likewise.
2725 * dirent/seekdir.c: Likewise.
2726 * dirent/telldir.c: Likewise.
2727 * gmon/profil.c: Likewise.
2728 * grp/setgroups.c: Likewise.
2729 * inet/if_index.c: Likewise.
2730 * io/access.c: Likewise.
2731 * io/chdir.c: Likewise.
2732 * io/chmod.c: Likewise.
2733 * io/chown.c: Likewise.
2734 * io/close.c: Likewise.
2735 * io/dup.c: Likewise.
2736 * io/dup2.c: Likewise.
2737 * io/dup3.c: Likewise.
2738 * io/euidaccess.c: Likewise.
2739 * io/faccessat.c: Likewise.
2740 * io/fchdir.c: Likewise.
2741 * io/fchmod.c: Likewise.
2742 * io/fchmodat.c: Likewise.
2743 * io/fchown.c: Likewise.
2744 * io/fchownat.c: Likewise.
2745 * io/fcntl.c: Likewise.
2746 * io/flock.c: Likewise.
2747 * io/fstatfs.c: Likewise.
2748 * io/fstatfs64.c: Likewise.
2749 * io/fstatvfs.c: Likewise.
2750 * io/fstatvfs64.c: Likewise.
2751 * io/futimens.c: Likewise.
2752 * io/fxstat.c: Likewise.
2753 * io/fxstat64.c: Likewise.
2754 * io/fxstatat.c: Likewise.
2755 * io/fxstatat64.c: Likewise.
2756 * io/getcwd.c: Likewise.
2757 * io/isatty.c: Likewise.
2758 * io/lchmod.c: Likewise.
2759 * io/lchown.c: Likewise.
2760 * io/link.c: Likewise.
2761 * io/linkat.c: Likewise.
2762 * io/lseek.c: Likewise.
2763 * io/lseek64.c: Likewise.
2764 * io/lxstat64.c: Likewise.
2765 * io/mkdir.c: Likewise.
2766 * io/mkdirat.c: Likewise.
2767 * io/mkfifo.c: Likewise.
2768 * io/mkfifoat.c: Likewise.
2769 * io/open.c: Likewise.
2770 * io/open64.c: Likewise.
2771 * io/openat.c: Likewise.
2772 * io/openat64.c: Likewise.
2773 * io/pipe.c: Likewise.
2774 * io/pipe2.c: Likewise.
2775 * io/poll.c: Likewise.
2776 * io/posix_fadvise.c: Likewise.
2777 * io/posix_fadvise64.c: Likewise.
2778 * io/posix_fallocate.c: Likewise.
2779 * io/posix_fallocate64.c: Likewise.
2780 * io/read.c: Likewise.
2781 * io/readlink.c: Likewise.
2782 * io/readlinkat.c: Likewise.
2783 * io/rmdir.c: Likewise.
2784 * io/sendfile.c: Likewise.
2785 * io/sendfile64.c: Likewise.
2786 * io/statfs.c: Likewise.
2787 * io/statfs64.c: Likewise.
2788 * io/statvfs.c: Likewise.
2789 * io/statvfs64.c: Likewise.
2790 * io/symlink.c: Likewise.
2791 * io/symlinkat.c: Likewise.
2792 * io/ttyname.c: Likewise.
2793 * io/ttyname_r.c: Likewise.
2794 * io/umask.c: Likewise.
2795 * io/unlink.c: Likewise.
2796 * io/unlinkat.c: Likewise.
2797 * io/utime.c: Likewise.
2798 * io/utimensat.c: Likewise.
2799 * io/write.c: Likewise.
2800 * io/xmknod.c: Likewise.
2801 * io/xmknodat.c: Likewise.
2802 * io/xstat.c: Likewise.
2803 * io/xstat64.c: Likewise.
2804 * login/getpt.c: Likewise.
2805 * login/grantpt.c: Likewise.
2806 * login/unlockpt.c: Likewise.
2807 * math/e_acoshl.c: Likewise.
2808 * math/e_acosl.c: Likewise.
2809 * math/e_asinl.c: Likewise.
2810 * math/e_atan2l.c: Likewise.
2811 * math/e_atanhl.c: Likewise.
2812 * math/e_coshl.c: Likewise.
2813 * math/e_expl.c: Likewise.
2814 * math/e_fmodl.c: Likewise.
2815 * math/e_gammal_r.c: Likewise.
2816 * math/e_hypotl.c: Likewise.
2817 * math/e_j0l.c: Likewise.
2818 * math/e_j1l.c: Likewise.
2819 * math/e_jnl.c: Likewise.
2820 * math/e_lgammal_r.c: Likewise.
2821 * math/e_log10l.c: Likewise.
2822 * math/e_log2l.c: Likewise.
2823 * math/e_logl.c: Likewise.
2824 * math/e_powl.c: Likewise.
2825 * math/e_rem_pio2l.c: Likewise.
2826 * math/e_sinhl.c: Likewise.
2827 * math/e_sqrtl.c: Likewise.
2828 * math/fclrexcpt.c: Likewise.
2829 * math/fedisblxcpt.c: Likewise.
2830 * math/feenablxcpt.c: Likewise.
2831 * math/fegetenv.c: Likewise.
2832 * math/fegetexcept.c: Likewise.
2833 * math/fegetround.c: Likewise.
2834 * math/feholdexcpt.c: Likewise.
2835 * math/fesetenv.c: Likewise.
2836 * math/fesetround.c: Likewise.
2837 * math/feupdateenv.c: Likewise.
2838 * math/fgetexcptflg.c: Likewise.
2839 * math/fraiseexcpt.c: Likewise.
2840 * math/fsetexcptflg.c: Likewise.
2841 * math/ftestexcept.c: Likewise.
2842 * math/k_cosl.c: Likewise.
2843 * math/k_rem_pio2l.c: Likewise.
2844 * math/k_sinl.c: Likewise.
2845 * math/k_tanl.c: Likewise.
2846 * math/s_asinhl.c: Likewise.
2847 * math/s_atanl.c: Likewise.
2848 * math/s_cbrtl.c: Likewise.
2849 * math/s_erfl.c: Likewise.
2850 * math/s_expm1l.c: Likewise.
2851 * math/s_log1pl.c: Likewise.
2852 * math/s_tanhl.c: Likewise.
2853 * misc/acct.c: Likewise.
2854 * misc/brk.c: Likewise.
2855 * misc/chflags.c: Likewise.
2856 * misc/chroot.c: Likewise.
2857 * misc/fchflags.c: Likewise.
2858 * misc/fgetxattr.c: Likewise.
2859 * misc/flistxattr.c: Likewise.
2860 * misc/fremovexattr.c: Likewise.
2861 * misc/fsetxattr.c: Likewise.
2862 * misc/fsync.c: Likewise.
2863 * misc/ftruncate.c: Likewise.
2864 * misc/futimes.c: Likewise.
2865 * misc/futimesat.c: Likewise.
2866 * misc/getdomain.c: Likewise.
2867 * misc/getdtsz.c: Likewise.
2868 * misc/gethostid.c: Likewise.
2869 * misc/gethostname.c: Likewise.
2870 * misc/getloadavg.c: Likewise.
2871 * misc/getpagesize.c: Likewise.
2872 * misc/getsysstats.c: Likewise.
2873 * misc/getxattr.c: Likewise.
2874 * misc/gtty.c: Likewise.
2875 * misc/ioctl.c: Likewise.
2876 * misc/lgetxattr.c: Likewise.
2877 * misc/listxattr.c: Likewise.
2878 * misc/llistxattr.c: Likewise.
2879 * misc/lremovexattr.c: Likewise.
2880 * misc/lsetxattr.c: Likewise.
2881 * misc/lutimes.c: Likewise.
2882 * misc/madvise.c: Likewise.
2883 * misc/mincore.c: Likewise.
2884 * misc/mlock.c: Likewise.
2885 * misc/mlockall.c: Likewise.
2886 * misc/mmap.c: Likewise.
2887 * misc/mprotect.c: Likewise.
2888 * misc/msync.c: Likewise.
2889 * misc/munlock.c: Likewise.
2890 * misc/munlockall.c: Likewise.
2891 * misc/munmap.c: Likewise.
2892 * misc/preadv.c: Likewise.
2893 * misc/preadv64.c: Likewise.
2894 * misc/ptrace.c: Likewise.
2895 * misc/pwritev.c: Likewise.
2896 * misc/pwritev64.c: Likewise.
2897 * misc/readv.c: Likewise.
2898 * misc/reboot.c: Likewise.
2899 * misc/remap_file_pages.c: Likewise.
2900 * misc/removexattr.c: Likewise.
2901 * misc/revoke.c: Likewise.
2902 * misc/select.c: Likewise.
2903 * misc/setdomain.c: Likewise.
2904 * misc/setegid.c: Likewise.
2905 * misc/seteuid.c: Likewise.
2906 * misc/sethostid.c: Likewise.
2907 * misc/sethostname.c: Likewise.
2908 * misc/setregid.c: Likewise.
2909 * misc/setreuid.c: Likewise.
2910 * misc/setxattr.c: Likewise.
2911 * misc/sstk.c: Likewise.
2912 * misc/stty.c: Likewise.
2913 * misc/swapoff.c: Likewise.
2914 * misc/swapon.c: Likewise.
2915 * misc/sync.c: Likewise.
2916 * misc/syncfs.c: Likewise.
2917 * misc/syscall.c: Likewise.
2918 * misc/truncate.c: Likewise.
2919 * misc/ualarm.c: Likewise.
2920 * misc/usleep.c: Likewise.
2921 * misc/ustat.c: Likewise.
2922 * misc/utimes.c: Likewise.
2923 * misc/vhangup.c: Likewise.
2924 * misc/writev.c: Likewise.
2925 * posix/_exit.c: Likewise.
2926 * posix/alarm.c: Likewise.
2927 * posix/execve.c: Likewise.
2928 * posix/fexecve.c: Likewise.
2929 * posix/fork.c: Likewise.
2930 * posix/fpathconf.c: Likewise.
2931 * posix/getaddrinfo.c: Likewise.
2932 * posix/getegid.c: Likewise.
2933 * posix/geteuid.c: Likewise.
2934 * posix/getgid.c: Likewise.
2935 * posix/getgroups.c: Likewise.
2936 * posix/getlogin.c: Likewise.
2937 * posix/getlogin_r.c: Likewise.
2938 * posix/getpgid.c: Likewise.
2939 * posix/getpid.c: Likewise.
2940 * posix/getppid.c: Likewise.
2941 * posix/getresgid.c: Likewise.
2942 * posix/getresuid.c: Likewise.
2943 * posix/getsid.c: Likewise.
2944 * posix/getuid.c: Likewise.
2945 * posix/glob64.c: Likewise.
2946 * posix/nanosleep.c: Likewise.
2947 * posix/pathconf.c: Likewise.
2948 * posix/pause.c: Likewise.
2949 * posix/posix_madvise.c: Likewise.
2950 * posix/pread.c: Likewise.
2951 * posix/pread64.c: Likewise.
2952 * posix/pwrite.c: Likewise.
2953 * posix/pwrite64.c: Likewise.
2954 * posix/sched_getaffinity.c: Likewise.
2955 * posix/sched_getp.c: Likewise.
2956 * posix/sched_gets.c: Likewise.
2957 * posix/sched_primax.c: Likewise.
2958 * posix/sched_primin.c: Likewise.
2959 * posix/sched_rr_gi.c: Likewise.
2960 * posix/sched_setaffinity.c: Likewise.
2961 * posix/sched_setp.c: Likewise.
2962 * posix/sched_sets.c: Likewise.
2963 * posix/sched_yield.c: Likewise.
2964 * posix/setgid.c: Likewise.
2965 * posix/setlogin.c: Likewise.
2966 * posix/setpgid.c: Likewise.
2967 * posix/setresgid.c: Likewise.
2968 * posix/setresuid.c: Likewise.
2969 * posix/setsid.c: Likewise.
2970 * posix/setuid.c: Likewise.
2971 * posix/sleep.c: Likewise.
2972 * posix/spawni.c: Likewise.
2973 * posix/sysconf.c: Likewise.
2974 * posix/times.c: Likewise.
2975 * posix/wait.c: Likewise.
2976 * posix/wait3.c: Likewise.
2977 * posix/wait4.c: Likewise.
2978 * posix/waitpid.c: Likewise.
2979 * resolv/gai_sigqueue.c: Likewise.
2980 * resource/getpriority.c: Likewise.
2981 * resource/getrlimit.c: Likewise.
2982 * resource/getrusage.c: Likewise.
2983 * resource/nice.c: Likewise.
2984 * resource/setpriority.c: Likewise.
2985 * resource/setrlimit.c: Likewise.
2986 * resource/ulimit.c: Likewise.
2987 * rt/aio_cancel.c: Likewise.
2988 * rt/aio_fsync.c: Likewise.
2989 * rt/aio_read.c: Likewise.
2990 * rt/aio_sigqueue.c: Likewise.
2991 * rt/aio_suspend.c: Likewise.
2992 * rt/aio_write.c: Likewise.
2993 * rt/clock_getres.c: Likewise.
2994 * rt/clock_gettime.c: Likewise.
2995 * rt/clock_nanosleep.c: Likewise.
2996 * rt/clock_settime.c: Likewise.
2997 * rt/lio_listio.c: Likewise.
2998 * rt/mq_close.c: Likewise.
2999 * rt/mq_getattr.c: Likewise.
3000 * rt/mq_notify.c: Likewise.
3001 * rt/mq_open.c: Likewise.
3002 * rt/mq_receive.c: Likewise.
3003 * rt/mq_send.c: Likewise.
3004 * rt/mq_setattr.c: Likewise.
3005 * rt/mq_timedreceive.c: Likewise.
3006 * rt/mq_timedsend.c: Likewise.
3007 * rt/mq_unlink.c: Likewise.
3008 * rt/shm_open.c: Likewise.
3009 * rt/shm_unlink.c: Likewise.
3010 * rt/timer_create.c: Likewise.
3011 * rt/timer_delete.c: Likewise.
3012 * rt/timer_getoverr.c: Likewise.
3013 * rt/timer_gettime.c: Likewise.
3014 * rt/timer_settime.c: Likewise.
3015 * setjmp/__longjmp.c: Likewise.
3016 * setjmp/setjmp.c: Likewise.
3017 * signal/kill.c: Likewise.
3018 * signal/killpg.c: Likewise.
3019 * signal/raise.c: Likewise.
3020 * signal/sigaction.c: Likewise.
3021 * signal/sigaltstack.c: Likewise.
3022 * signal/sigblock.c: Likewise.
3023 * signal/sigignore.c: Likewise.
3024 * signal/sigintr.c: Likewise.
3025 * signal/signal.c: Likewise.
3026 * signal/sigpause.c: Likewise.
3027 * signal/sigpending.c: Likewise.
3028 * signal/sigqueue.c: Likewise.
3029 * signal/sigreturn.c: Likewise.
3030 * signal/sigset.c: Likewise.
3031 * signal/sigsetmask.c: Likewise.
3032 * signal/sigstack.c: Likewise.
3033 * signal/sigsuspend.c: Likewise.
3034 * signal/sigtimedwait.c: Likewise.
3035 * signal/sigvec.c: Likewise.
3036 * signal/sigwait.c: Likewise.
3037 * signal/sigwaitinfo.c: Likewise.
3038 * signal/sysv_signal.c: Likewise.
3039 * socket/accept.c: Likewise.
3040 * socket/accept4.c: Likewise.
3041 * socket/bind.c: Likewise.
3042 * socket/connect.c: Likewise.
3043 * socket/getpeername.c: Likewise.
3044 * socket/getsockname.c: Likewise.
3045 * socket/getsockopt.c: Likewise.
3046 * socket/isfdtype.c: Likewise.
3047 * socket/listen.c: Likewise.
3048 * socket/recv.c: Likewise.
3049 * socket/recvfrom.c: Likewise.
3050 * socket/recvmsg.c: Likewise.
3051 * socket/send.c: Likewise.
3052 * socket/sendmsg.c: Likewise.
3053 * socket/sendto.c: Likewise.
3054 * socket/setsockopt.c: Likewise.
3055 * socket/shutdown.c: Likewise.
3056 * socket/sockatmark.c: Likewise.
3057 * socket/socket.c: Likewise.
3058 * socket/socketpair.c: Likewise.
3059 * stdio-common/ctermid.c: Likewise.
3060 * stdio-common/cuserid.c: Likewise.
3061 * stdio-common/remove.c: Likewise.
3062 * stdio-common/rename.c: Likewise.
3063 * stdio-common/renameat.c: Likewise.
3064 * stdio-common/tempname.c: Likewise.
3065 * stdlib/getcontext.c: Likewise.
3066 * stdlib/makecontext.c: Likewise.
3067 * stdlib/setcontext.c: Likewise.
3068 * stdlib/swapcontext.c: Likewise.
3069 * stdlib/system.c: Likewise.
3070 * streams/fattach.c: Likewise.
3071 * streams/fdetach.c: Likewise.
3072 * streams/getmsg.c: Likewise.
3073 * streams/getpmsg.c: Likewise.
3074 * streams/putmsg.c: Likewise.
3075 * streams/putpmsg.c: Likewise.
3076 * sysdeps/unix/bsd/getpt.c: Likewise.
3077 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3078 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3079 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3081 Likewise.
3082 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3083 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3084 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3085 * sysvipc/msgctl.c: Likewise.
3086 * sysvipc/msgget.c: Likewise.
3087 * sysvipc/msgrcv.c: Likewise.
3088 * sysvipc/msgsnd.c: Likewise.
3089 * sysvipc/semctl.c: Likewise.
3090 * sysvipc/semget.c: Likewise.
3091 * sysvipc/semop.c: Likewise.
3092 * sysvipc/semtimedop.c: Likewise.
3093 * sysvipc/shmat.c: Likewise.
3094 * sysvipc/shmctl.c: Likewise.
3095 * sysvipc/shmdt.c: Likewise.
3096 * sysvipc/shmget.c: Likewise.
3097 * termios/tcdrain.c: Likewise.
3098 * termios/tcflow.c: Likewise.
3099 * termios/tcflush.c: Likewise.
3100 * termios/tcgetattr.c: Likewise.
3101 * termios/tcgetpgrp.c: Likewise.
3102 * termios/tcsendbrk.c: Likewise.
3103 * termios/tcsetattr.c: Likewise.
3104 * termios/tcsetpgrp.c: Likewise.
3105 * time/adjtime.c: Likewise.
3106 * time/clock.c: Likewise.
3107 * time/getitimer.c: Likewise.
3108 * time/gettimeofday.c: Likewise.
3109 * time/setitimer.c: Likewise.
3110 * time/settimeofday.c: Likewise.
3111 * time/stime.c: Likewise.
3112 * time/time.c: Likewise.
3113
31142012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3115
a20492cf
PT
3116 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3117 /usr/old/bin.
3118
72e182e3
PT
3119 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3120 instead of spaces.
3121 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3122
fbeafede
JM
31232012-11-03 Joseph Myers <joseph@codesourcery.com>
3124
5b5b04d6
JM
3125 [BZ #14796]
3126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3127 FE_TONEAREST before applying Dekker multiplication and Knuth
3128 addition. Clear inexact exceptions and check for exact zero
3129 results afterwards.
3130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3131 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3133 * math/libm-test.inc (fma_test): Add more tests.
3134 (fma_test_towardzero): Likewise.
3135 (fma_test_downward): Likewise.
3136 (fma_test_upward): Likewise.
3137 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3138 function.
3139 (libc_fesetround): New macro.
3140 (libc_fesetroundf): Likewise.
3141 (libc_fesetroundl): Likewise.
3142 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3143 function.
3144 (libc_fesetround_387): Likewise.
3145 (libc_fesetroundf): New macro.
3146 (libc_fesetround): Likewise.
3147 (libc_fesetroundl): Likewise.
3148 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3149 function.
3150 (libc_fesetroundf): New macro.
3151 (libc_fesetround): Likewise.
3152 (libc_fesetroundl): Likewise.
3153 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3154 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3155 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3156 libm_hidden_ver.
3157 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3158 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3159 libm_hidden_def.
3160 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3161 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3162 libm_hidden_ver.
3163 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3164 libm_hidden_def.
3165
fbeafede
JM
3166 [BZ #3439]
3167 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3168 integer constant usable in #if and use that to give value to enum
3169 constant.
3170 (FE_DIVBYZERO): Likewise.
3171 (FE_UNDERFLOW): Likewise.
3172 (FE_OVERFLOW): Likewise.
3173 (FE_INVALID): Likewise.
3174 (FE_INVALID_SNAN): Likewise.
3175 (FE_INVALID_ISI): Likewise.
3176 (FE_INVALID_IDI): Likewise.
3177 (FE_INVALID_ZDZ): Likewise.
3178 (FE_INVALID_IMZ): Likewise.
3179 (FE_INVALID_COMPARE): Likewise.
3180 (FE_INVALID_SOFTWARE): Likewise.
3181 (FE_INVALID_SQRT): Likewise.
3182 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3183 (FE_TONEAREST): Likewise.
3184 (FE_TOWARDZERO): Likewise.
3185 (FE_UPWARD): Likewise.
3186 (FE_DOWNWARD): Likewise.
3187 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3188 (FE_DIVBYZERO): Likewise.
3189 (FE_OVERFLOW): Likewise.
3190 (FE_UNDERFLOW): Likewise.
3191 (FE_INEXACT): Likewise.
3192 (FE_TONEAREST): Likewise.
3193 (FE_DOWNWARD): Likewise.
3194 (FE_UPWARD): Likewise.
3195 (FE_TOWARDZERO): Likewise.
3196 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3197 (FE_UNDERFLOW): Likewise.
3198 (FE_OVERFLOW): Likewise.
3199 (FE_DIVBYZERO): Likewise.
3200 (FE_INVALID): Likewise.
3201 (FE_TONEAREST): Likewise.
3202 (FE_TOWARDZERO): Likewise.
3203 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3204 (FE_OVERFLOW): Likewise.
3205 (FE_UNDERFLOW): Likewise.
3206 (FE_DIVBYZERO): Likewise.
3207 (FE_INEXACT): Likewise.
3208 (FE_TONEAREST): Likewise.
3209 (FE_TOWARDZERO): Likewise.
3210 (FE_UPWARD): Likewise.
3211 (FE_DOWNWARD): Likewise.
3212 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3213 (FE_DIVBYZERO): Likewise.
3214 (FE_OVERFLOW): Likewise.
3215 (FE_UNDERFLOW): Likewise.
3216 (FE_INEXACT): Likewise.
3217 (FE_TONEAREST): Likewise.
3218 (FE_DOWNWARD): Likewise.
3219 (FE_UPWARD): Likewise.
3220 (FE_TOWARDZERO): Likewise.
3221
105ca950
CM
32222012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3223
3224 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3225
a542b389
AS
32262012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3227
3228 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3229 commands. Quote $PWD.
3230 (blacklist_exports): Don't use remove_newlines. Replace "declare
3231 -x" by "export".
3232 (remove_newlines): Remove.
3233
f62c8abc
L
32342012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3235
3236 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3237 * stdlib/stdlib.h (atof): Moved to ...
3238 * include/bits/stdlib-float.h: Here. New file.
3239 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3240 * stdlib/bits/stdlib-float.h: New file.
3241 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3242 -mno-sse -mno-mmx.
3243 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3244 <xmmintrin.h>.
3245
0155d5b2
JM
32462012-11-02 Joseph Myers <joseph@codesourcery.com>
3247
a68d0680
JM
3248 * conform/conformtest.pl (@headers): Add fenv.h.
3249 * conform/data/fenv.h-data: New file.
3250 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3251 include of <math/fenv.h>.
3252
caf7f573
JM
3253 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3254 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3255 && !UNIX98]. Enables tests for XOPEN2K8.
3256 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3257 POSIX2008]: Likewise.
3258
6c073ad6
JM
3259 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3260 (struct rusage): Do not expect type or its members.
3261
0155d5b2
JM
3262 [BZ #3439]
3263 * math/math.h (FP_NAN): Define macro to integer constant usable in
3264 #if and use that to give value to enum constant.
3265 (FP_INFINITE): Likewise.
3266 (FP_ZERO): Likewise.
3267 (FP_SUBNORMAL): Likewise.
3268 (FP_NORMAL): Likewise.
3269
b5dcacb4
AS
32702012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3271
3272 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3273 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3274 arguments.
3275
f7934be8
RM
32762012-11-02 Roland McGrath <roland@hack.frob.com>
3277
3278 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3279 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3280 autoconf-time if not.
3281 * configure.in: Remove AC_PREREQ.
3282
d7d08bde
TMQMF
32832012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3284
3285 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3286 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3287 of the internal implementation.
3288
dcdae19a
JM
32892012-11-02 Joseph Myers <joseph@codesourcery.com>
3290
3291 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3292 except include of <misc/sys/syslog.h>.
3293
d6cffd3e
AS
32942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3295
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3297 function returns with a NULL context exit with zero.
3298
b3563932
TMQMF
32992012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3300
3301 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3302
b288a93d
L
33032012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3304
3305 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3306 (run_program_cmd): This.
3307 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3308 (tst_langinfo): New variable. Use it.
3309
a2421a68
SAS
33102012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3311
3312 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3313 floating point opcodes.
3314
6f796e1b
TS
33152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3316
7402596b
TS
3317 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3318 variable.
3319
d0d4f868
TS
3320 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3321
6f796e1b
TS
3322 * sysdeps/mach/hurd/powerpc: Remove directory.
3323 * sysdeps/mach/powerpc: Likewise.
3324
4da224a2
AS
33252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3326
3327 * scripts/check-local-headers.sh: Ignore c++ headers.
3328
341dd673
TS
33292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3330
3331 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3332 __libc_cleanup_region_start argument.
3333
473611b2
JM
33342012-11-01 Joseph Myers <joseph@codesourcery.com>
3335
3336 [BZ #14784]
3337 [BZ #14785]
3338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3339 x * y using scaling, not as x * y + z.
3340 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3341 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3342 * math/libm-test.inc (fma_test): Add more tests.
3343 (fma_test_towardzero): Likewise.
3344 (fma_test_downward): Likewise.
3345 (fma_test_upward): Likewise.
3346
4078da3d
TS
33472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3348
3349 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3350
903252aa
JM
33512012-10-31 Joseph Myers <joseph@codesourcery.com>
3352
3353 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3354 New variable.
3355
cbc818d0
TS
33562012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3357
3358 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3359
5a03cb1e
AS
33602012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3361
3362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3363 Fix sort order.
3364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3365 Likewise.
3366
90aff2ff
TMQMF
33672012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3368
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3370 Fix the order of the list for glibc 2.17.
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3372 Likewise.
3373
1818fcb7
AS
33742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3375
3376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3377
ef82f4da
JM
33782012-10-31 Joseph Myers <joseph@codesourcery.com>
3379
16a0e2ec
JM
3380 [BZ #14610]
3381 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3382 for low part of x being zero before using __atanl (y).
3383 * math/libm-test.inc (atan2_test): Add another test.
3384
0eb69512
JM
3385 * manual/install.texi (Configuring and compiling): Document
3386 general use of test-wrapper and test-wrapper-env.
3387 * INSTALL: Regenerated.
3388
ef82f4da
JM
3389 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3390 (__fma): Do not extract and scale down low bits on after-rounding
3391 systems when result rounded to normal precision would have normal
3392 exponent.
3393 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3394 (__fmal): 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-96/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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3402 macro.
3403 (fma_test): Add more tests.
3404 (fma_test_towardzero): Likewise.
3405 (fma_test_downward): Likewise.
3406 (fma_test_upward): Likewise.
3407
954ef0d9
L
34082012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3409
3410 * sysdeps/i386/tininess.h: Renamed to ...
3411 * sysdeps/x86/tininess.h: This.
3412 * sysdeps/x86_64/tininess.h: Removed.
3413
df61ffb2
JM
34142012-10-30 Joseph Myers <joseph@codesourcery.com>
3415
3416 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3417 input. Use $(build-program-cmd).
3418 ($(objpfx)tst-array1-static.out): Likewise.
3419 ($(objpfx)tst-array2.out): Likewise.
3420 ($(objpfx)tst-array3.out): Likewise.
3421 ($(objpfx)tst-array4.out): Likewise.
3422 ($(objpfx)tst-array5.out): Likewise.
3423 ($(objpfx)tst-array5-static.out): Likewise.
3424
01767843
CM
34252012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3426
47cc1490
CM
3427 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3428 if defined.
3429
01767843
CM
3430 * nss/nsswitch.h (nss_interface_function): Provide new
3431 macro for use with NSS functions.
3432 * grp/initgroups.c: Use new macro.
3433 * nss/getXXbyYY.c: Likewise.
3434 * nss/getXXbyYY_r.c: Likewise.
3435 * nss/getXXent.c: Likewise.
3436 * nss/getXXent_r.c: Likewise.
3437 * sysdeps/posix/getaddrinfo.c: Likewise.
3438
8321aa97
AJ
34392012-10-30 Andreas Jaeger <aj@suse.de>
3440
3441 * po/ru.po: Update Russion translation from translation project.
3442
2a27fd6d
JM
34432012-10-30 Joseph Myers <joseph@codesourcery.com>
3444
8627a232
JM
3445 [BZ #14152]
3446 [BZ #14783]
3447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3448 result and shift together with sticky bit instead of replicating
3449 round-to-nearest rounding.
3450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3451 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3452 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3453 missing underflow exceptions.
3454 (fma_test_towardzero): Add more tests.
3455 (fma_test_downward): Likewise.
3456 (fma_test_upward): Likewise.
3457
2a27fd6d
JM
3458 [BZ #14047]
3459 * sysdeps/generic/tininess.h: New file.
3460 * sysdeps/i386/tininess.h: Likewise.
3461 * sysdeps/sh/tininess.h: Likewise.
3462 * sysdeps/x86_64/tininess.h: Likewise.
3463 * stdlib/tst-strtod-underflow.c: Likewise.
3464 * stdlib/tst-tininess.c: Likewise.
3465 * stdlib/strtod_l.c: Include <tininess.h>.
3466 (round_and_return): Do not set errno for exact underflow cases.
3467 Force an underflow exception when setting errno for underflow.
3468 Determine underflow based on rounding to normal precision if
3469 TININESS_AFTER_ROUNDING.
3470 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3471 ERANGE for exact underflow cases.
3472 * stdlib/Makefile (tests): Add tst-tininess and
3473 tst-strtod-underflow.
3474 ($(objpfx)tst-tininess): Use $(link-libm).
3475 ($(objpfx)tst-strtod-underflow): Likewise.
3476
e7170363
AJ
34772012-10-30 Andreas Jaeger <aj@suse.de>
3478
e5088dc6
AJ
3479 [BZ#14767]
3480 * elf/Makefile (tests): Remove conditional for have-initfini-array
3481 since this is now always required and the variable does not exist
3482 anymore.
3483 (tests-static): Likewise.
3484 (modules-names): Likewise.
3485
e7170363 3486 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3487
3488 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3489 merged with constructor/destructor.
3490 (init_array): Likewise.
3491 * elf/tst-array2dep.c (fini_array): Likewise.
3492 (init_array): Likewise.
3493
60457d8a
MF
34942012-10-29 Mike Frysinger <vapier@gentoo.org>
3495
3496 * manual/message.texi: Delete @cartouche tags.
3497
8bece752
PT
34982012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3499
94ce799f
PT
3500 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3501 EOPNOTSUPP.
3502 * sysdeps/mach/hurd/fsync.c: Likewise.
3503
8bece752
PT
3504 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3505 [_POSIX_REALTIME_SIGNALS]: Change condition to
3506 [_POSIX_REALTIME_SIGNALS > 0].
3507
86ebe6b1
AJ
35082012-10-27 Andreas Jaeger <aj@suse.de>
3509
3510 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3511 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3512 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3513 [__WORDSIZE != 64]: Likewise.
3514
54399c08
L
35152012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3516
3517 * iconvdata/tst-table.sh: Remove ${SHELL}.
3518 * iconvdata/tst-tables.sh: Likewise.
3519
e2211bed
DM
35202012-10-25 David S. Miller <davem@davemloft.net>
3521
3522 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3523 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3524 of strtoull.
3525
f303f97c
DM
3526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3527 ifunc-impl-list.c
3528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3529 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3530 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3531 file.
3532
1e9d84cd
RM
35332012-10-25 Roland McGrath <roland@hack.frob.com>
3534
3535 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3536 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3537 __getdirentries.
3538
df381762
JM
35392012-10-25 Joseph Myers <joseph@codesourcery.com>
3540 Jim Blandy <jimb@codesourcery.com>
3541
3542 * scripts/cross-test-ssh.sh: New file.
3543 * manual/install.texi (Configuring and compiling): Document use of
3544 cross-test-ssh.sh.
3545 * INSTALL: Regenerated.
3546
bff64913
PT
35472012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3548
3549 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3550 EOPNOTSUPP.
3551
25fe8932
JM
35522012-10-25 Joseph Myers <joseph@codesourcery.com>
3553
3554 * Makeconfig (run-program-prefix): Fix comment.
3555
cc1290d0
JM
35562012-10-24 Joseph Myers <joseph@codesourcery.com>
3557 Jim Blandy <jimb@codesourcery.com>
3558
3559 * Makeconfig (test-wrapper): New variable,
3560 (test-wrapper-env): Likewise.
3561 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3562 (run-built-tests): Define to yes.
3563 (run-program-prefix): Use $(test-wrapper).
3564 (built-program-cmd): Likewise.
3565 * Rules (make-test-out): Use $(test-wrapper-env) and
3566 $(host-built-program-cmd).
3567 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3568 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3569 tst-pathopt.sh.
3570 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3571 $(test-wrapper-env) to tst-rtld-load-self.sh.
3572 ($(objpfx)order2.out): Use $(test-wrapper).
3573 ($(objpfx)tst-initorder.out): Likewise.
3574 ($(objpfx)tst-initorder2.out): Likewise.
3575 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3576 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3577 (test_wrapper_env): New variable. Use it to run ld.so.
3578 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3579 Use it to run ld.so.
3580 (test_wrapper_env): Likewise.
3581 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3582 $(test-wrapper) to run-iconv-test.sh.
3583 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3584 (ICONV): Use $test_wrapper.
3585 * posix/Makefile ($(objpfx)globtest.out): Pass
3586 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3587 globtest.sh, not $(run-program-prefix).
3588 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3589 (test_wrapper): Likewise.
3590 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3591 set together with run_via_rtld_prefix.
3592 (run_program_prefix): Define in terms of test_wrapper and
3593 run_via_rtld_prefix.
3594
6e6249d0
RM
35952012-10-24 Roland McGrath <roland@hack.frob.com>
3596
3597 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3598 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3599 Targets removed.
3600
3601 [BZ #14743]
3602 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3603 Declare __clock_getres, __clock_gettime, __clock_settime,
3604 __clock_nanosleep, and __clock_getcpuclockid.
3605 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3606 Remove librt_hidden_def (clock_gettime).
3607 * sysdeps/unix/clock_gettime.c: Likewise.
3608 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3609 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3610 * rt/clock_getres.c: Define __clock_getres as an alias.
3611 * sysdeps/posix/clock_getres.c: Likewise.
3612 * rt/clock_settime.c: Define __clock_settime as an alias.
3613 * sysdeps/unix/clock_settime.c: Likewise.
3614 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3615 * sysdeps/unix/clock_nanosleep.c: Likewise.
3616 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3617 * rt/clock-compat.c: New file.
3618 * rt/Makefile (librt-routines): Add clock-compat and move
3619 $(clock-routines) to ...
3620 (routines): ... here, new variable.
3621 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3622 Don't add get_clockfreq here.
3623 * rt/Versions (libc: GLIBC_2.17): New version set.
3624 Add clock_* symbols here.
3625 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3626 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3627 (GLIBC_2.17): Add clock_* symbols.
3628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3630 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3632 Likewise.
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3634 Likewise.
3635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3639 * NEWS: Mention the move.
3640
3641 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3642 Use __open, __read, __close rather than their public counterparts.
3643 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3644 (__get_clockfreq_via_cpuinfo): Likewise.
3645 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3646 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3647
3648 * config.h.in (HAVE_IFUNC): New #undef.
3649 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3650 was successful.
3651 * configure: Regenerated.
3652
0cae3f4b
MF
36532012-10-24 Mike Frysinger <vapier@gentoo.org>
3654
3655 * configure.in: Move READELF check to start of file.
3656 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3657 libc_cv_asm_gnu_indirect_function in the process.
3658 * configure: Regenerated.
3659
8175a253
MF
36602012-10-24 Mike Frysinger <vapier@gentoo.org>
3661
3662 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3663 send the output to /dev/null.
3664 (libc_cv_cc_with_libunwind): Likewise.
3665 (libc_cv_as_noexecstack): Likewise.
3666 * configure: Regenerate.
3667
0708a7d1
JM
36682012-10-24 Joseph Myers <joseph@codesourcery.com>
3669
10b40d85
JM
3670 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3671
0708a7d1
JM
3672 * posix/globtest.sh (TMPDIR): Do not set.
3673 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3674 (testout): Likewise.
3675
9fddec1a
AJ
36762012-10-24 Andreas Jaeger <aj@suse.de>
3677
3a8db22f
AJ
3678 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3679 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3680 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3681 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3682 posix_fadvise64, posix_fallocate64.
3683
9fddec1a
AJ
3684 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3685 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3686 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3687 Likewise.
3688 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3689 Likewise.
3690 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3691
3692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3693 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3694 <bits/fcntl-linux.h>.
3695 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3696
3697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3698 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3699 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3700 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3701 [__WORDSIZE != 64]: Likewise.
3702
ebfd1bbd
JM
37032012-10-23 Joseph Myers <joseph@codesourcery.com>
3704
03ac099f
JM
3705 * Makeconfig (run-built-tests): New variable.
3706 * Rules [$(cross-compiling) = yes]: Change condition to
3707 [$(run-built-tests) = no].
3708 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3709 to [$(run-built-tests) = yes].
3710 * elf/Makefile [$(cross-compiling) = no]: Likewise
3711 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3712 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3713 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3714 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3715 * io/Makefile [$(cross-compiling) = no]: Likewise.
3716 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3717 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3718 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3719 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3720 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3721 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3722 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3723 * string/Makefile [$(cross-compiling) = no]: Likewise.
3724
ebfd1bbd
JM
3725 * posix/Makefile ($(objpfx)globtest.out): Pass
3726 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3727 $(rtld-installed-name).
3728 * posix/globtest.sh (elf_objpfx): Remove variable.
3729 (rtld_installed_name): Likewise.
3730 (library_path): Likewise.
3731 (run_program_prefix): New variable. Use for running globtest
3732 binary.
3733
166bca24
JB
37342012-10-23 Jim Blandy <jimb@codesourcery.com>
3735 Joseph Myers <joseph@codesourcery.com>
3736
3737 * Makeconfig (host-built-program-cmd): New variable.
3738 * elf/Makefile (tst-stackguard1-ARGS): Use
3739 $(host-built-program-cmd).
3740 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3741 (tst-spawn-ARGS): Likewise.
3742 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3743
88866099
JM
37442012-10-23 Joseph Myers <joseph@codesourcery.com>
3745 Jim Blandy <jimb@codesourcery.com>
3746
3747 * Makeconfig (run-via-rtld-prefix): New variable.
3748 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3749 (built-program-cmd): Likewise.
3750
b4b4c296
AJ
37512012-10-22 Andreas Jaeger <aj@suse.de>
3752
3753 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3754 __O_RSYNC if it exists, otherwise to O_SYNC.
3755
6fb54a22
JB
37562012-10-22 Jim Blandy <jimb@codesourcery.com>
3757 Joseph Myers <joseph@codesourcery.com>
3758
3759 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3760 /dev/null.
3761 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3762 from /dev/null
3763 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3764 /dev/null.
3765
481b90b9
AJ
37662012-10-22 Andreas Jaeger <aj@suse.de>
3767
2a0e2669
AJ
3768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3769 Define always.
3770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3771
76e38f9a
AJ
3772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3773 bits/fcntl-linux.h.
3774
7cd37b43
AJ
3775 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3776 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3777
481b90b9
AJ
3778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3779 to __O_LARGEFILE.
3780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3781 to __O_LARGEFILE.
3782
aba75984
JB
37832012-10-21 Jim Blandy <jimb@codesourcery.com>
3784 Joseph Myers <joseph@codesourcery.com>
3785
3786 * config.make.in (NM): New variable.
3787
88d4247f
AJ
37882012-10-21 Andreas Jaeger <aj@suse.de>
3789
3790 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3791 definitions and declarations that are provided by
3792 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3793
f2eed205
L
37942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3795
3796 [BZ #14683]
3797 * elf/Makefile (tests-static): Add tst-leaks1-static.
3798 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3799 ($(objpfx)tst-leaks1-static): New rule.
3800 ($(objpfx)tst-leaks1-static-mem): Likewise.
3801 (tst-leaks1-static-ENV): New macro.
3802 * elf/dl-open.c (dl_open_worker): Check the main application
3803 only if SHARED is defined.
3804 * elf/tst-leaks1-static.c: New file.
3805
335e6931
AJ
38062012-10-20 Andreas Jaeger <aj@suse.de>
3807
3808 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3809 generic values for Linux.
3810 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3811 and declarations that are provided by <bits/fcntl-linux.h> and
3812 include <bits/fcntl-linux.h>.
3813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3815
ac5c94d3
RM
38162012-10-20 Roland McGrath <roland@hack.frob.com>
3817
3818 * io/fcntl.h: Move include of <bits/types.h> to the top and
3819 include it unconditionally.
3820
de54b33a
L
38212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3822
228cfb01
L
3823 * wcsmbs/Makefile (tests-ifunc): New variable.
3824 (tests): Add $(tests-ifunc).
3825 * wcsmbs/test-wcschr-ifunc.c: New file.
3826 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3827 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3828 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3829 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3830 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3831
69f07e5f
L
3832 * string/Makefile (tests-ifunc): New variable.
3833 (tests): Add $(tests-ifunc).
3834 * string/test-memccpy.c (TEST_NAME): New macro.
3835 * string/test-memchr.c (TEST_NAME): Likewise.
3836 * string/test-memcmp.c (TEST_NAME): Likewise.
3837 * string/test-memcpy.c (TEST_NAME): Likewise.
3838 * string/test-memmem.c (TEST_NAME): Likewise.
3839 * string/test-memmove.c (TEST_NAME): Likewise.
3840 * string/test-memset.c (TEST_NAME): Likewise.
3841 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3842 * string/test-stpcpy.c (TEST_NAME): Likewise.
3843 * string/test-stpncpy.c (TEST_NAME): Likewise.
3844 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3845 * string/test-strcasestr.c (TEST_NAME): Likewise.
3846 * string/test-strcat.c (TEST_NAME): Likewise.
3847 * string/test-strchr.c (TEST_NAME): Likewise.
3848 * string/test-strcmp.c(TEST_NAME): Likewise.
3849 * string/test-strcpy.c (TEST_NAME): Likewise.
3850 * string/test-strcspn.c (TEST_NAME): Likewise.
3851 * string/test-strlen.c (TEST_NAME): Likewise.
3852 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3853 * string/test-strncmp.c (TEST_NAME): Likewise.
3854 * string/test-strncpy.c (TEST_NAME): Likewise.
3855 * string/test-strnlen.c (TEST_NAME): Likewise.
3856 * string/test-strpbrk.c (TEST_NAME): Likewise.
3857 * string/test-strrchr.c (TEST_NAME): Likewise.
3858 * string/test-strspn.c (TEST_NAME): Likewise.
3859 * string/test-strstr.c (TEST_NAME): Likewise.
3860 * string/test-bcopy-ifunc.c: New file.
3861 * string/test-bzero-ifunc.c: Likewise.
3862 * string/test-memccpy-ifunc.c: Likewise.
3863 * string/test-memchr-ifunc.c: Likewise.
3864 * string/test-memcmp-ifunc.c: Likewise.
3865 * string/test-memcpy-ifunc.c: Likewise.
3866 * string/test-memmem-ifunc.c: Likewise.
3867 * string/test-memmove-ifunc.c: Likewise.
3868 * string/test-mempcpy-ifunc.c: Likewise.
3869 * string/test-memset-ifunc.c: Likewise.
3870 * string/test-rawmemchr-ifunc.c: Likewise.
3871 * string/test-stpcpy-ifunc.c: Likewise.
3872 * string/test-stpncpy-ifunc.c: Likewise.
3873 * string/test-strcasecmp-ifunc.c: Likewise.
3874 * string/test-strcasestr-ifunc.c: Likewise.
3875 * string/test-strcat-ifunc.c: Likewise.
3876 * string/test-strchr-ifunc.c: Likewise.
3877 * string/test-strchrnul-ifunc.c: Likewise.
3878 * string/test-strcmp-ifunc.c: Likewise.
3879 * string/test-strcpy-ifunc.c: Likewise.
3880 * string/test-strcspn-ifunc.c: Likewise.
3881 * string/test-strlen-ifunc.c: Likewise.
3882 * string/test-strncasecmp-ifunc.c: Likewise.
3883 * string/test-strncat-ifunc.c: Likewise.
3884 * string/test-strncmp-ifunc.c: Likewise.
3885 * string/test-strncpy-ifunc.c: Likewise.
3886 * string/test-strnlen-ifunc.c: Likewise.
3887 * string/test-strpbrk-ifunc.c: Likewise.
3888 * string/test-strrchr-ifunc.c: Likewise.
3889 * string/test-strspn-ifunc.c: Likewise.
3890 * string/test-strstr-ifunc.c: Likewise.
3891
de54b33a
L
3892 * debug/Makefile (tests-ifunc): New variable.
3893 (tests): Add $(tests-ifunc).
3894 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3895 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3896 * debug/test-stpcpy_chk-ifunc.c: New file.
3897 * debug/test-strcpy_chk-ifunc.c: Likewise.
3898
88481c16
SP
38992012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3900
3901 [BZ #13601]
3902 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3903 header is not read in.
3904
135948bd
JM
39052012-10-19 Joseph Myers <joseph@codesourcery.com>
3906
89f1c388
JM
3907 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3908 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3909 directly. Pass built executable to script as
3910 $(built-program-cmd).
3911 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3912 $testprogram without using LD_LIBRARY_PATH and $ldso.
3913
e40a0d21
JM
3914 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3915 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3916 $(rtld-installed-name).
3917 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3918 (rtld_installed_name): Likewise.
3919 (library_path): Likewise.
3920 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3921 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3922 $(run-program-prefix) to tst-tables.sh.
3923 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3924 it to run tst-table-from and tst-table-to.
3925 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3926 Pass it to tst-table.sh.
3927 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3928 $(run-program-prefix) to tst-gettext.sh.
3929 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3930 tst-translit.sh.
3931 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3932 tst-gettext2.sh.
3933 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3934 to run tst-gettext.
3935 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3936 to run tst-gettext2.
3937 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3938 to run tst-translit.
3939 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3940 $(run-program-prefix) to tst-mtrace.sh.
3941 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3942 to run tst-mtrace.
3943 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3944 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3945 $(rtld-installed-name).
3946 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3947 (rtld_installed_name): Likewise.
3948 (run_program_prefix): New variable. Use it to run wordexp-test.
3949
728e272a
JM
3950 * Makeconfig (ARCH): Remove all definitions.
3951 (machine): Likewise.
3952 [ARCH]: Remove conditional code.
3953 [!objdir]: Give error.
3954 [!objdir] (objpfx): Remove.
3955 [!objdir] (common-objpfx): Likewise.
3956 [!objdir] (common-objdir): Likewise.
3957 * configure.in (config_makefile): Remove. Hardcode Makefile in
3958 AC_CONFIG_FILES call.
3959 * configure: Regenerated.
3960
d528cdcf
JM
3961 [BZ #13888]
3962 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3963 or TMPDIR.
3964 (testout): Likewise.
3965
135948bd
JM
3966 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3967 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3968 $(rtld-installed-name).
3969 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3970 (rtld_installed_name): Likwise.
3971 (runit): Remove function.
3972 (run_getconf): New variable, Use it for running getconf binary.
3973
38c78296
L
39742012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3975
3976 [BZ #14716]
3977 * string/test-memmem.c (check_result): New function.
3978 (do_one_test): Use it.
3979 (check1): New function.
3980 (test_main): Use it.
3981
d077f65f
MT
39822012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3983
3984 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3985
ced52c71
JM
39862012-10-18 Joseph Myers <joseph@codesourcery.com>
3987
3988 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3989 (_G_LSEEK64): Likewise.
3990 (_G_MMAP64): Likewise.
3991 (_G_FSTAT64): Likewise.
3992 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3993 (_G_LSEEK64): Likewise.
3994 (_G_MMAP64): Likewise.
3995 (_G_FSTAT64): Likewise.
3996 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3997 unconditional. Call __mmap64 directly.
3998 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3999 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4000 __lseek64 directly.
4001 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4002 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4003 __mmap64 directly.
4004 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4005 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4006 __lseek64 directly.
4007 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4008 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4009 __lseek64 directly.
4010 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4011 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4012 __lseek64 directly.
4013 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4014 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4015 __fxstat64 directly.
4016 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4017 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4018 unconditional.
4019 (freopen64) [!_G_OPEN64]: Remove conditional code.
4020 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4021 unconditional.
4022 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4023 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4024 unconditional.
4025 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4026 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4027 unconditional.
4028 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4029 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4030 unconditional.
4031 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4032 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4033 unconditional.
4034 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4035 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4036 unconditional.
4037 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4038 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4039 unconditional.
4040 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4041
b741de23
SP
40422012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4043
4044 [BZ #12140]
4045 * manual/memory.texi (Malloc Tunable Parameters): Add note
4046 about free list pointers overwriting some perturb bytes.
4047 Wording suggested by Roland McGrath.
4048
f9b9d9c9
JM
40492012-10-17 Joseph Myers <joseph@codesourcery.com>
4050
4051 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4052 (lgamma_test): Likewise.
4053 (tgamma_test): Likewise.
4054
172a631a
FW
40552012-10-16 Florian Weimer <fweimer@redhat.com>
4056
4057 [BZ #14700]
4058 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4059 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4060
e9f37252
MK
40612012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4062
4063 * NEWS: Mention BZ #14716.
4064 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4065 when removing AVAILABLE1_USES_J macro.
4066
d394eb74
L
40672012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4068
4069 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4070 (__bswap_64): __uint64_t for unsigned 64-bit int.
4071
ca38dc17
AS
40722012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4073
4074 * include/string.h (memmem): Declare libc hidden alias.
4075 * string/memmem.c (memmem): Define libc hidden alias.
4076 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4077 __read, __close instead of open, read, close.
4078
9a387d1f
L
40792012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4080
ac49ecaf
L
4081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4082 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4083 global and hidden.
4084 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4085 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4086 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4087 Likewise.
4088 (__rawmemchr_sse2): Likewise.
4089 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4090 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4091 (__strchr_sse2): Likewise.
4092 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4093 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4094 (__strcasecmp_sse2): Likewise.
4095 (__strncasecmp_sse2): Likewise.
4096 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4097 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4098 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4099 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4100 (__strrchr_sse2): Likewise.
4101 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4102 ifunc-impl-list.c.
4103 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4104 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4105 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4106 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4107 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4108 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4109 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4110 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4111 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4112 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4113 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4114 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4115 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4116 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4117 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4118 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4119 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4120 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4121 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4122 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4123 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4124 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4125 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4126 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4127 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4128 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4129 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4130 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4131 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4132 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4133
b090e8ea
L
4134 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4135 global and hidden.
4136 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4137 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4138 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4139 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4140 Likewise.
4141 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4142 Likewise.
4143 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4144 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4145 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4146 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4147 ifunc-impl-list.c.
4148 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4149 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4150 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4151 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4152 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4153 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4154 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4155 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4156 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4157 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4158 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4159 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4160 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4161 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4162 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4163 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4164 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4165 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4166 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4167 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4168 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4169 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4170 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4171 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4172 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4173 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4174 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4175 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4176 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4177 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4178 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4179 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4180 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4181 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4182 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4183 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4184 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4185 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4186 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4187 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4188 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4189
11dd4af6
L
4190 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4191 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4192 * include/ifunc-impl-list.h: New file.
4193 * misc/ifunc-impl-list.c: Likewise.
4194 * misc/Makefile (routines): Add ifunc-impl-list.
4195 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4196 * string/test-string.h: Include <ifunc-impl-list.h>.
4197 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4198 impl_array): New variables.
4199 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4200 are defined.
4201 (test_init): Call __libc_ifunc_impl_list to initialize
4202 func_list if TEST_IFUNC and TEST_NAME are defined.
4203
9a387d1f
L
4204 * string/Makefile (strop-tests): Add bcopy and bzero.
4205 * string/test-bcopy.c: New file.
4206 * string/test-bzero.c: Likewise.
4207 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4208 defined.
4209 * string/test-memset.c: Support bzero test if TEST_BZERO is
4210 defined.
4211 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4212 __libc_memmove.
4213 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4214 __libc_memset.
4215 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4216 of memset.
4217
472371b9
JM
42182012-10-10 Joseph Myers <joseph@codesourcery.com>
4219
1e4a9536
JM
4220 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4221 * configure: Regenerated.
4222
d173d12e
JM
4223 * Makeconfig (+link-static-before-libc): Don't include
4224 $(link-static-libc).
4225
472371b9
JM
4226 * libio/libio.h (_IO_pos_t): Remove.
4227
89a3ad0b
AO
42282012-10-10 Alexandre Oliva <aoliva@redhat.com>
4229
4230 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4231 McGrath.
4232
e7451425
AO
42332012-10-10 Alexandre Oliva <aoliva@redhat.com>
4234
4235 * crypt/crypt-entry.c: Include fips-private.h.
4236 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4237 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4238 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4239 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4240
4ba74a35
AO
42412012-10-10 Alexandre Oliva <aoliva@redhat.com>
4242
4243 * crypt/crypt-private.h: Include stdbool.h.
4244 (_ufc_setup_salt_r): Return bool.
4245 * crypt/crypt-entry.c: Include errno.h.
4246 (__crypt_r): Return NULL with EINVAL for bad salt.
4247 * crypt/crypt_util.c (bad_for_salt): New.
4248 (_ufc_setup_salt_r): Check that salt is long enough and within
4249 the specified alphabet.
4250 * crypt/badsalttest.c: New file.
4251 * crypt/Makefile (tests): Add it.
4252 ($(objpfx)badsalttest): New.
4253
f96f1242
MK
42542012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4255
4256 * NEWS: Add entry for BZ #14602.
4257
0e8e0c1c
JM
42582012-10-09 Joseph Myers <joseph@codesourcery.com>
4259
4260 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4261 type-generic.
4262 * math/libm-test.inc: Update comment listing what functions and
4263 macros are tested.
4264 (isgreater_test): New function.
4265 (isgreaterequal_test): Likewise.
4266 (isless_test): Likewise.
4267 (islessequal_test): Likewise.
4268 (islessgreater_test): Likewise.
4269 (isunordered_test): Likewise.
4270 (main): Call the new functions.
4271
273edc5e
RM
42722012-10-09 Roland McGrath <roland@hack.frob.com>
4273
b8493de0
RM
4274 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4275 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4276 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4277 * sysdeps/i386/configure: Regenerated.
4278 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4279 * sysdeps/mach/configure: Regenerated.
4280 * sysdeps/mach/hurd/configure: Regenerated.
4281 * sysdeps/powerpc/configure: Regenerated.
4282 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4283 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4284 * sysdeps/s390/s390-32/configure: Regenerated.
4285 * sysdeps/s390/s390-64/configure: Regenerated.
4286 * sysdeps/sh/configure: Regenerated.
4287 * sysdeps/sparc/configure: Regenerated.
4288 * sysdeps/unix/sysv/linux/configure: Regenerated.
4289 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4290 * sysdeps/x86_64/configure: Regenerated.
4291
273edc5e
RM
4292 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4293 defined. Don't check if MAP is NULL.
4294
c8450f70
JM
42952012-10-09 Joseph Myers <joseph@codesourcery.com>
4296
4297 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4298 (_G_stat64): Likewise.
4299 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4300 (_G_stat64): Likewise.
4301 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4302 instead of struct _G_stat64.
4303 * libio/fileops.c (mmap_remap_check): Likewise.
4304 (decide_maybe_mmap): Likewise.
4305 (_IO_new_file_seekoff): Likewise.
4306 (_IO_file_stat): Likewise.
4307 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4308 _G_off64_t.
4309 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4310 instead of struct _G_stat64.
4311 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4312
57e605ba
MK
43132012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4314
4315 [BZ #14602]
4316 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4317 Replace with ...
4318 (CHECK_EOL): New macro.
4319 (two_way_short_needle): Check beginning of haystack for EOL. Use
4320 CHECK_EOL.
4321 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4322 Replace with CHECK_EOL.
4323 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4324 Replace with CHECK_EOL.
4325
ef1bb361
JM
43262012-10-08 Joseph Myers <joseph@codesourcery.com>
4327
4328 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4329 type-generic.
4330 * math/libm-test.inc: Update comment listing what functions and
4331 macros are tested.
4332 (finite_test): New function.
4333 (isinf_test): Likewise.
4334 (isnan_test): Likewise.
4335 (fpclassify_test): Test subnormal input.
4336 (isfinite_test): Likewise.
4337 (isnormal_test): Likewise.
4338 (main): Call the new functions.
4339
55f11534
JN
43402012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4341
4342 [BZ #14660]
4343 * Makerules (%.dynsym): Force C locale when running
4344 $(OBJDUMP) --dynamic-syms.
4345
1ab29350
AS
43462012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4347
4348 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4349 <stdint.h>.
4350
f1ecb7ef
DM
43512012-10-06 David S. Miller <davem@davemloft.net>
4352
4353 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4354 upper 32-bits of the length value in %o2 since we use branch-on-register
4355 tests which consider the entire 64-bit register.
4356
5d41d91a
L
43572012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4358
4359 * string/test-strstr.c (check2): Add a test for page boundary.
4360
3baddb72
DM
43612012-10-05 David S. Miller <davem@davemloft.net>
4362
4363 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4364 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4365 file.
4366 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4367 sysdep_routines.
4368 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4369 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4370 and bzero when HWCAP_SPARC_CRYPTO is present.
4371
9cee5585
L
43722012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4373
d7e0dab9
L
4374 [BZ #14602]
4375 * string/test-strstr.c (check2): New function.
4376 (test_main): Call check2.
4377
03759f47
L
4378 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4379 and bug-strchr1.
4380 * string/bug-strcasestr1.c (do_test): Moved to ...
4381 * string/test-strcasestr.c (check1): Here. New function.
4382 (do_one_test): Break out result checking code into ...
4383 (check_result): This. New function.
4384 (do_one_test): Call check_result.
4385 (test_main): Call check1.
4386 * string/bug-strchr1.c (do_test): Moved to ...
4387 * string/test-strchr.c (check1): Here. New function.
4388 (do_one_test): Break out result checking code into ...
4389 (check_result): This. New function.
4390 (do_one_test): Call check_result.
4391 (test_main): Call check1.
4392 * string/bug-strstr1.c (main): Moved to ...
4393 * string/test-strchr.c (check1): Here. New function.
4394 (do_one_test): Break out result checking code into ...
4395 (check_result): This. New function.
4396 (do_one_test): Call check_result.
4397 (test_main): Call check1.
4398 * string/bug-strcasestr1.c: Removed.
4399 * string/bug-strchr1.c: Likewise.
4400 * string/bug-strstr1.c: Likewise.
4401
53cea63e
L
4402 * elf/Makefile (dl-routines): Add hwcaps.
4403 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4404 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4405 (_dl_important_hwcaps): Moved to ...
4406 * elf/dl-hwcaps.c: Here. New file.
4407 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4408
9cee5585 4409 [BZ #14557]
bb859b06
L
4410 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4411 if IS_IN_rtld isn't defined.
4412
9cee5585
L
4413 * elf/dl-support.c (_dl_sysinfo_map): New.
4414 Include "get-dynamic-info.h" and "setup-vdso.h".
4415 (_dl_non_dynamic_init): Call setup_vdso.
4416 * elf/dynamic-link.h: Don't include <assert.h>.
4417 (elf_get_dynamic_info): Moved to ...
4418 * elf/get-dynamic-info.h: Here. New file.
4419 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4420 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4421 * elf/setup-vdso.h: Here. New file.
4422 * elf/rtld.c: Include "setup-vdso.h".
4423 (dl_main): Call setup_vdso.
4424
23c31b76
JM
44252012-10-05 Joseph Myers <joseph@codesourcery.com>
4426
28234b07
JM
4427 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4428 creal in comment listing functions tested. List finite, isinf,
4429 isnan, isless, islessequal, isgreater, isgreaterequal,
4430 islessgreater, isunordered, lgamma_r and pow10 as functions and
4431 macros not tested. Mention which functions not tested are aliases
4432 for other functions. Fix typo. Note that signs of NaNs are not
4433 tested.
4434
23c31b76
JM
4435 * scripts/config.guess: Update from config.git.
4436 * scripts/config.sub: Likewise.
4437
9043e228
RM
44382012-10-04 Roland McGrath <roland@hack.frob.com>
4439
4440 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4441 * misc/madvise.c (madvise): Renamed to __madvise.
4442 Make madvise a weak alias.
4443 * include/sys/mman.h: Declare __madvise.
4444 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4445 * sysdeps/unix/syscalls.list
4446 (madvise): Make __madvise the strong name, and madvise a weak alias.
4447 * sysdeps/unix/sysv/linux/syscalls.list
4448 (madvise, mmap): Remove redundant entries.
4449 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4450 * malloc/malloc.c (mtrim): Likewise.
4451 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4452
f57f8055
RM
44532012-10-03 Roland McGrath <roland@hack.frob.com>
4454
4455 * sysdeps/mach/hurd/dl-cache.c: File removed.
4456 * config.h.in (USE_LDCONFIG): New #undef.
4457 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4458 * configure: Regenerated.
4459 * elf/Makefile (dl-routines): Add dl-cache only under
4460 [$(use-ldconfig) = yes].
4461 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4462 cache on [USE_LDCONFIG].
4463 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4464 [USE_LDCONFIG].
4465 * elf/rtld.c (dl_main): Likewise.
4466
5bb0c10a
PT
44672012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4468
4469 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4470 _SC_LEVEL4_CACHE_LINESIZE.
4471
010188c6
RM
44722012-10-03 Roland McGrath <roland@hack.frob.com>
4473
4474 * sysdeps/unix/bsd/confstr.h: File removed.
4475
b6c5ec07
AO
44762012-10-02 Alexandre Oliva <aoliva@redhat.com>
4477
4478 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4479 sys/sdt-config.h.
4480
408223d4
RM
44812012-10-02 Roland McGrath <roland@hack.frob.com>
4482
4483 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4484 Make 'mapoff' field ElfW(Off) rather than off_t.
4485
bb9510dc
DL
44862012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4487
fc997c6e
DL
4488 * nscd/Makefile: Remove nscd-cflags and all its users.
4489 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4490 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4491
bb9510dc
DL
4492 [BZ #10631]
4493 * malloc.c (malloc_printerr): Clarify error message.
4494
05699367
L
44952012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4496
4497 [BZ #14648]
4498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4499 Set bit_FMA_Usable if FMA is supported.
4500 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4501 macro.
4502 (bit_FMA4_Usable): Updated.
4503 (index_FMA_Usable): New macro.
4504 (CPUID_FMA): Likewise
4505 (HAS_FMA): Defined with bit_FMA_Usable.
4506
51367701
RM
45072012-10-01 Roland McGrath <roland@hack.frob.com>
4508
4509 * bits/types.h (__swblk_t): Type removed.
4510 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4511 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4513 (__SWBLK_T_TYPE): Likewise.
4514 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4515 (__SWBLK_T_TYPE): Likewise.
4516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4517 (__SWBLK_T_TYPE): Likewise.
4518 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4519 (__SWBLK_T_TYPE): Likewise.
4520
4d57bf63 45212012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4522 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4523
4524 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4525 (xdr_mapname): Use YPMAXMAP as maxsize.
4526 (xdr_peername): Use YPMAXPEER as maxsize.
4527 (xdr_keydat): Use YPAXRECORD as maxsize.
4528 (xdr_valdat): Use YPMAXRECORD as maxsize.
4529
93c65d43
RM
45302012-10-01 Roland McGrath <roland@hack.frob.com>
4531
497a03d6
RM
4532 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4533
93c65d43
RM
4534 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4535 * csu/init-first.c: ... here.
4536 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4537 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4538 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4539 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4540 * sysdeps/i386/init-first.c: File removed.
4541 * sysdeps/sh/init-first.c: File removed.
4542
bec749fd
JM
45432012-10-01 Joseph Myers <joseph@codesourcery.com>
4544
4545 [BZ #14645]
4546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4547 if x * y might underflow to zero and z is zero.
4548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4550 * math/libm-test.inc (min_subnorm_value): New variable.
4551 (fma_test): Add more tests.
4552 (fma_test_towardzero): Likewise.
4553 (fma_test_downward): Likewise
4554 (fma_test_upward): Likewise.
4555 (initialize): Set min_subnorm_value.
4556
8ec5b013
JM
45572012-09-29 Joseph Myers <joseph@codesourcery.com>
4558
4559 [BZ #14638]
4560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4561 0 + 0.
4562 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4563 mode for addition resulting in exact zero.
4564 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4566 exact 0 + 0.
4567 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4569 * math/libm-test.inc (fma_test): Add more tests.
4570 (fma_test_towardzero): New function.
4571 (fma_test_downward): Likewise.
4572 (fma_test_upward): Likewise.
4573 (main): Call the new functions.
4574
b1fa802e
DM
45752012-09-28 David S. Miller <davem@davemloft.net>
4576
4577 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4578
d3b9fd9e
RM
45792012-09-28 Roland McGrath <roland@hack.frob.com>
4580
ea4d37b3
RM
4581 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4582 instead of SIGALRM.
4583
ac51c949
RM
4584 * sysdeps/gnu/_G_config.h: Moved to ...
4585 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4586 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4587 * sysdeps/generic/_G_config.h: ... here.
4588
28c195f7
RM
4589 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4590
848917f9
RM
4591 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4592
6bacf05b
RM
4593 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4594 Conditionalize target on [libnss_test1.so-version].
4595
91363dbb
RM
4596 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4597
cc87f7d8
RM
4598 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4599 (elfobjdir): Move out of conditionals.
4600
b1c608fe
RM
4601 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4602 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4603 (__nss_lookup_function): Conditionalize label remove_from_tree on
4604 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4605
1d9a6d96
DM
46062012-09-28 David S. Miller <davem@davemloft.net>
4607
4608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4609 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4610 file.
4611 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4612 sysdep_routines.
4613 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4615 when HWCAP_SPARC_CRYPTO is present.
4616
72581615
PT
46172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4618
4619 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4620
715a900c
JL
46212012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4622
4623 [BZ #6530]
4624 * stdio-common/vfprintf.c (process_string_arg): Revert
4625 2000-07-22 change.
4626
46272011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4628
4629 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4630 for testcase.
4631 * stdio-common/tst-sprintf.c: Include <locale.h>
4632 (main): Test sprintf's handling of incomplete multibyte
4633 characters.
4634
9bac1d86
L
46352012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4636
4637 * elf/dl-runtime.c (VERSYMIDX): Removed.
4638 * elf/dl-version.c (VERSYMIDX): Likewise.
4639 * elf/do-rel.h (VERSYMIDX): Likewise.
4640 (VALIDX): Likewise.
4641 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4642 * elf/rtld.c (VALIDX): Likewise.
4643 (ADDRIDX): Likewise.
9bac1d86
L
4644 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4645 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4646 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4647 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4648 (VALIDX): Likewise.
4649 (ADDRIDX): Likewise.
9bac1d86 4650
b31606c0
PT
46512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4652
4653 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4654
11541177
JL
46552012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4656
4657 [BZ #11438]
4658 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4659 to global scope.
4660 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4661 addresses are in the same scope as 192.0.2/24.
4662 * posix/gai.conf: Document new scope table defaults.
4663
adb26fae
SP
46642012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4665
4666 [BZ #5298]
4667 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4668 for ftell. Compute offsets from write pointers instead.
4669 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4670
4573c6b0
SP
46712012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4672
4673 [BZ #14543]
4674 * libio/Makefile (tests): New test case tst-fseek.
4675 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4676 combination works in wide mode.
4677 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4678 state when the external buffer state changes.
4679
aa9bbfe6
DM
46802012-09-27 David S. Miller <davem@davemloft.net>
4681
4682 [BZ #14376]
4683 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4684 pass reloc->r_addend in as the 'high' argument to
4685 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4686
784421e7
DM
4687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4688
c39bc8b8
PT
46892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4690
4691 * rt/tst-aio2.c: Include <pthread.h>.
4692 * rt/tst-aio3.c: Likewise.
4693
1ccc2399
SE
46942012-09-27 Steve Ellcey <sellcey@mips.com>
4695
4696 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4697
31ed4153
L
46982012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4699
25f5f885
L
4700 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4701 contents on [SHARED].
31ed4153 4702
b7bfe116
MP
47032012-09-26 Marek Polacek <polacek@redhat.com>
4704
4705 [BZ #14530]
4706 [BZ #13741]
4707 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4708 for C++ and GCC <4.3 as well as for non GCC compilers.
4709
43c4edba
MT
47102012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4711
4712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4713
6a1bf82f
RM
47142012-09-25 Roland McGrath <roland@hack.frob.com>
4715
4716 * Makefile.in (all, install): Declare with .PHONY.
4717 Reported by Michael Hope <michael.hope@linaro.org>.
4718
8ad11b9a
TMQMF
47192012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4720
4721 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4722 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4723 system header.
4724 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4725 Likewise.
4726 (sydep_routines): Add the new and the internal functions.
4727 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4728 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4730 (GLIBC_2.17): Add the new function.
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4732 (GLIBC_2.17): Likewise.
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4734 (GLIBC_2.17): Likewise.
4735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4736 (GLIBC_2.17): Likewise.
4737 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4738
7e2fca8d
AM
47392012-09-25 Alan Modra <amodra@gmail.com>
4740
4741 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4742 Add release barrier before setting once_control to say
4743 initialisation is done. Add hints on lwarx. Use macro in
4744 place of isync.
4745 (clear_once_control): Add release barrier.
4746
b87c4b24
JM
47472012-09-25 Joseph Myers <joseph@codesourcery.com>
4748
d032e0d2
JM
4749 [BZ #13629]
4750 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4751 specially.
4752 * math/s_clog10.c (__clog10): Likewise.
4753 * math/s_clog10f.c (__clog10f): Likewise.
4754 * math/s_clog10l.c (__clog10l): Likewise.
4755 * math/s_clogf.c (__clogf): Likewise.
4756 * math/s_clogl.c (__clogl): Likewise.
4757 * math/Makefile (libm-calls): Add x2y2m1.
4758 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4759 (__x2y2m1): Likewise.
4760 (__x2y2m1l): Likewise.
4761 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4762 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4763 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4764 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4765 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4766 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4767 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4768 * sysdeps/i386/fpu/libm-test-ulps: Update.
4769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4770
b87c4b24
JM
4771 [BZ #14621]
4772 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4773 int as type of variable DEPTH.
4774 (glob): Use size_t instead of int as type of variables NEWCOUNT
4775 and OLD_PATHC.
4776
6d3bf199
LD
47772012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4778
22bf5c17
LD
4779 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4780 Add s_sincosf-sse2.
4781 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4782 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4783 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4784 macros for using routine as __sincosf_ia32.
4785 Use macro for function declaration and weak_alias.
4786 * sysdeps/i386/fpu/libm-test-ulps: Update.
4787
4788 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4790
4791 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4792 subnormal argument.
4793 * math/s_cexpf.c (__cexpf): Likewise.
4794 * math/s_csinf.c (__csinf): Likewise.
4795 * math/s_csinhf.c (__csinhf): Likewise.
4796 * math/s_ctanf.c (__ctanf): Likewise.
4797 * math/s_ctanhf.c (__ctanhf): Likewise.
4798 * math/s_ccosh.c (__ccoshf): Likewise.
4799 * math/s_cexp.c (__cexpl): Likewise.
4800 * math/s_csin.c (__csin): Likewise.
4801 * math/s_csinh.c (__csinh): Likewise.
4802 * math/s_ctan.c (__ctan): Likewise.
4803 * math/s_ctanh.c (ctanh): Likewise.
4804 * math/s_ccoshl.c (__ccoshl): Likewise.
4805 * math/s_cexpl.c (__cexpl): Likewise.
4806 * math/s_csinl.c (__csinl): Likewise.
4807 * math/s_csinhl.c (__csinhl): Likewise.
4808 * math/s_ctanl.c (__ctanl): Likewise.
4809 * math/s_ctanhl.c (__ctanhl): Likewise.
4810
203e5603
JM
48112012-09-25 Joseph Myers <joseph@codesourcery.com>
4812
4813 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4814 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4815 (_IO_off_t): Define to __off_t, not _G_off_t.
4816 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4817 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4818 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4819 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4820 type of __dummy and __dummy2 fields.
4821 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4822 (_G_ssize_t): Likewise.
4823 (_G_off_t): Likewise.
4824 (_G_pid_t): Likewise.
4825 (_G_uid_t): Likewise.
4826 (_G_wchar_t): Likewise.
4827 (_G_wint_t): Likewise.
4828 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4829 (_G_ssize_t): Likewise.
4830 (_G_off_t): Likewise.
4831 (_G_pid_t): Likewise.
4832 (_G_uid_t): Likewise.
4833 (_G_wchar_t): Likewise.
4834 (_G_wint_t): Likewise.
4835 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4836 (_G_ssize_t): Likewise.
4837 (_G_off_t): Likewise.
4838 (_G_pid_t): Likewise.
4839 (_G_uid_t): Likewise.
4840 (_G_wchar_t): Likewise.
4841 (_G_wint_t): Likewise.
4842
9fab36eb
SP
48432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4844
4845 * malloc/arena.c: Include malloc-sysdep.h.
4846 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4847 is sufficient to shrink the heap or an unmap is needed.
4848 * sysdeps/generic/malloc-sysdep.h: New file. Define
4849 new function check_may_shrink_heap.
4850 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4851 new function check_may_shrink_heap.
4852
2b4f00d1
SP
48532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4854
4855 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4856 comments.
4857
9a9028b1
DL
48582012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4859
57c69bef
DL
4860 * catgets/test-gencat.sh: Add "set -e".
4861 * elf/tst-pathopt.sh: Likewise.
4862 * grp/tst_fgetgrent.sh: Likewise.
4863 * iconvdata/run-iconv-test.sh: Likewise.
4864 * intl/tst-gettext.sh: Likewise.
4865 * intl/tst-gettext2.sh: Likewise.
4866 * intl/tst-gettext4.sh: Likewise.
4867 * intl/tst-gettext6.sh: Likewise.
4868 * intl/tst-translit.sh: Likewise.
4869 * io/ftwtest-sh: Likewise.
4870 * libio/test-freopen.sh: Likewise.
4871 * malloc/tst-mtrace.sh: Likewise.
4872 * posix/globtest.sh: Likewise.
4873 * posix/tst-getconf.sh: Likewise.
4874 * posix/wordexp-tst.sh: Likewise.
4875 * stdio-common/tst-printf.sh: Likewise.
4876 * stdio-common/tst-unbputc.sh: Likewise.
4877 * stdlib/tst-fmtmsg.sh: Likewise.
4878 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4879 * catgets/Makefile: Do not specify -e option when running
4880 testsuite shell scripts.
4881 * elf/Makefile: Likewise.
4882 * grp/Makefile: Likewise.
4883 * iconvdata/Makefile: Likewise.
4884 * intl/Makefile: Likewise.
4885 * io/Makefile: Likewise.
4886 * libio/Makefile: Likewise.
4887 * malloc/Makefile: Likewise.
4888 * posix/Makefile: Likewise.
4889 * stdio-common/Makefile: Likewise.
4890 * stdlib/Makefile: Likewise.
4891 * sysdeps/x86_64/Makefile: Likewise.
4892
9a9028b1
DL
4893 * io/ftwtest-sh: Add copyright header.
4894 * posix/globtest.sh: Likewise.
4895 * posix/tst-getconf.sh: Likewise.
4896 * posix/wordexp-tst.sh: Likewise.
4897 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4898
ced6f16e
L
48992012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4900
94b32c39
L
4901 [BZ #13679]
4902 * Makeconfig (+link): Defined as $(+link-static) if
4903 $(build-shared) isn't yes.
4904 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4905 isn't yes.
4906 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4907
189e935b
L
4908 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4909
ced6f16e
L
4910 [BZ #14562]
4911 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4912 new chunk size with MALLOC_ALIGN_MASK.
4913
a9f8e53a
JM
49142012-09-24 Joseph Myers <joseph@codesourcery.com>
4915
4916 [BZ #5044]
4917 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4918 <rounding-mode.h>.
4919 (__printf_fphex): Determine rounding using get_rounding_mode and
4920 round_away.
4921 * stdio-common/tst-printf-round.c (struct hex_test): New
4922 structure.
4923 (hex_tests): New variable.
4924 (test_hex_in_one_mode): New function.
4925 (do_test): Also run tests for hex float output.
4926
43153109
JM
49272012-09-21 Joseph Myers <joseph@codesourcery.com>
4928
4929 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4930 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4931 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4932 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4933 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4934 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4935 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4936 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4937
8a26625d
JM
49382012-09-20 Joseph Myers <joseph@codesourcery.com>
4939
4940 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4941 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4942 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4943 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4944
f3fd569c
DL
49452012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4946
4947 [BZ #14579]
4948 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4949 mode only.
4950 * elf/tst-rtld-load-self.sh: New test.
4951 * elf/Makefile: Run it.
4952
63bbedd4
JM
49532012-09-18 Joseph Myers <joseph@codesourcery.com>
4954
4955 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4956 (tst-writev-ENV): Remove.
4957 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4958
626f8b6a
CM
49592012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4960
4961 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4962
b7aaa4d6
JM
49632012-09-17 Joseph Myers <joseph@codesourcery.com>
4964
4965 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4966 unconditional.
4967 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4968 Likewise.
4969 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4970 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4971 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4972 Likewise.
4973
65513990
L
49742012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4975
4976 [BZ #14587]
4977 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4978 * config.make.in (have-cpp-asm-debuginfo): Removed.
4979 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4980 * configure: Regenerated.
4981
784761be
JM
49822012-09-14 Joseph Myers <joseph@codesourcery.com>
4983
4984 [BZ #5044]
4985 * stdio-common/printf_fp.c: Include <stdbool.h> and
4986 <rounding-mode.h>.
4987 (___printf_fp): Determine rounding using get_rounding_mode and
4988 round_away.
4989 * stdio-common/tst-printf-round.c: New file.
4990 * stdio-common/Makefile (tests): Add tst-printf-round.
4991 (link-libm): New variable.
4992 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4993
9503345f
L
49942012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4995
4996 [BZ #14576]
4997 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4998 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4999 Likewise.
5000 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5001 Likewise.
5002
ad35fc00
JM
50032012-09-13 Joseph Myers <joseph@codesourcery.com>
5004
5005 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5006 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5007 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5008 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5009
6c9b0f68
JM
50102012-09-12 Joseph Myers <joseph@codesourcery.com>
5011
5012 [BZ #14518]
5013 * include/rounding-mode.h: New file.
5014 * sysdeps/generic/get-rounding-mode.h: Likewise.
5015 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5016 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5017 (MAX_VALUE): New macro.
5018 (MIN_VALUE): Likewise.
5019 (overflow_value): New function.
5020 (underflow_value): Likewise.
5021 (round_and_return): Use overflow_value and underflow_value to
5022 determine return values in overflow and underflow cases. Use
5023 round_away to determine rounding depending on rounding mode.
5024 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5025 determine return values in overflow and underflow cases.
5026 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5027 (struct test_results): New structure.
5028 (struct test): Use struct test_results to store expected results
5029 for all rounding modes.
5030 (TEST): Include expected results for all rounding modes.
5031 (test_in_one_mode): New function.
5032 (do_test): Use test_in_one_mode to compute and check results.
5033 Check results for all rounding modes.
5034 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5035 $(link-libm).
5036
19fcedd5
AM
50372012-12-09 Allan McRae <allan@archlinux.org>
5038
1e9d84cd 5039 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5040
8bbfd2f1
JM
50412012-09-11 Joseph Myers <joseph@codesourcery.com>
5042
5043 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5044 (_G_int32_t): Likewise.
5045 (_G_uint16_t): Likewise.
5046 (_G_uint32_t): Likewise.
5047 (_G_HAVE_BOOL): Likewise.
5048 (_G_HAVE_ATEXIT): Likewise.
5049 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5050 (_G_HAVE_IO_FILE_OPEN): Likewise.
5051 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5052 (_G_int32_t): Likewise.
5053 (_G_uint16_t): Likewise.
5054 (_G_uint32_t): Likewise.
5055 (_G_HAVE_BOOL): Likewise.
5056 (_G_HAVE_ATEXIT): Likewise.
5057 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5058 (_G_HAVE_IO_FILE_OPEN): Likewise.
5059 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5060 (_G_int32_t): Likewise.
5061 (_G_uint16_t): Likewise.
5062 (_G_uint32_t): Likewise.
5063 (_G_HAVE_BOOL): Likewise.
5064 (_G_HAVE_ATEXIT): Likewise.
5065 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5066 (_G_HAVE_IO_FILE_OPEN): Likewise.
5067
b1dc5912
L
50682012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5069
5070 * csu/libc-tls.c: Update copyright years.
5071
0e886ef9
JM
50722012-09-10 Joseph Myers <joseph@codesourcery.com>
5073
28361c5e
JM
5074 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5075 [!_G_USING_THUNKS]: Remove conditional code.
5076 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5077 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5078
0e886ef9
JM
5079 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5080 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5081 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5082 (_G_VTABLE_LABEL_PREFIX): Likewise.
5083 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5084 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5085 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5086 (_G_VTABLE_LABEL_PREFIX): Likewise.
5087 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5088 * sysdeps/mach/hurd/_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
bcba7aa2
L
50932012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5094
5095 * libio/Makefile: Include ../Makeconfig before tests.
5096 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5097 only if $(build-shared) is yes.
5098
06585ee8
L
5099 * iconv/gconv_db.c: Update copyright years.
5100
80ccd52c
LD
51012012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5102
5103 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5104 unwind info if defined PIC. Fix special cases description.
5105 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5106
5107 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5108 DP_HI_MASK entry.
5109 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5110
691bc9c1
L
51112012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5112
3d9b46b3
L
5113 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5114
de2139a9
L
5115 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5116 is NULL.
5117
5ca78dd0
L
5118 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5119 (LDLIBS-tst-chk4): This.
5120 (LDFLAGS-tst-chk5): Renamed to ...
5121 (LDLIBS-tst-chk5): This.
5122 (LDFLAGS-tst-chk6): Renamed to ...
5123 (LDLIBS-tst-chk6): This.
5124 (LDFLAGS-tst-lfschk4): Renamed to ...
5125 (LDLIBS-tst-lfschk4): This.
5126 (LDFLAGS-tst-lfschk5): Renamed to ...
5127 (LDLIBS-tst-lfschk5): This.
5128 (LDFLAGS-tst-lfschk6): Renamed to ...
5129 (LDLIBS-tst-lfschk6): This.
5130
691bc9c1
L
5131 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5132 on $(common-objpfx)soversions.mk.
5133
65cafb1c
JM
51342012-09-07 Joseph Myers <joseph@codesourcery.com>
5135
5136 [BZ #10014]
5137 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5138 example host name.
5139
c78ab094
SP
51402012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5141
5142 * malloc/arena.c (arena_get_retry): New function that gets
5143 another arena for the caller to try its request on.
5144 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5145 current arena cannot fulfill the request.
5146 (__libc_memalign): Likewise.
5147 (__libc_memalign): Likewise.
5148 (__libc_pvalloc): Likewise.
5149 (__libc_calloc): Likewise.
5150
01f49f59
JT
51512012-09-05 John Tobey <john.tobey@gmail.com>
5152
5153 [BZ #13542]
5154 * manual/arith.texi (Operations on Complex): Fix description
5155 of carg branch cut.
5156
4c23fed5
JM
51572012-09-06 Joseph Myers <joseph@codesourcery.com>
5158
1d3c8572
JM
5159 [BZ #10014]
5160 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5161 host name.
5162
4c23fed5
JM
5163 [BZ #10038]
5164 * manual/memory.texi (Memory): Make order of menu items match
5165 order of sections.
5166
04570aaa
L
51672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5168
5169 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5170 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5171 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5172
b80af2f4
L
51732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5174
5175 * csu/libc-tls.c (static_dtv): Renamed to ...
5176 (_dl_static_dtv): This. Make it global.
5177 (_dl_initial_dtv): Removed.
5178 (__libc_setup_tls): Updated.
5179 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5180 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5181 DL_INITIAL_DTV.
5182
2abe9f15
PM
51832012-09-06 Petr Machata <pmachata@redhat.com>
5184
5185 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5186 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5187 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5188 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5189
0948c3af
L
51902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5191
5192 [BZ #14545]
5193 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5194 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5195 freeing dtv[-1].
5196
a5055ad1
L
51972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5198
5199 [BZ #14544]
5200 * Makeconfig (link-static-before-libc): Replace $(+prector)
5201 with $(+prectorT).
5202 (link-static-after-libc): Replace $(+postctor) with
5203 $(+postctorT).
5204 (link-bounded): Replace $(+prector)/$(+postctor) with
5205 $(+prectorT)/$(+postctorT).
5206 (+prectorT): New macro.
5207 (+postctorT): Likewise.
5208
ed8c2ecd
JM
52092012-09-06 Joseph Myers <joseph@codesourcery.com>
5210
5211 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5212 (round_str): Handle values above the maximum for IBM long double
5213 as inexact.
5214 * stdlib/tst-strtod-round.c (tests): Regenerated.
5215
14c996c8
AK
52162012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5217
5218 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5219 assembler flag.
5220 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5221 zarch_nohighgprs around the zarch optimized routines.
5222 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5223 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5224 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5225 for zarch.
5226
430d6ce6
DM
52272012-09-05 David S. Miller <davem@davemloft.net>
5228
5229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5230
ff04dda4
DM
5231 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5232 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5233 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5234 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5235 entries.
5236
24d4e01b
AO
52372012-09-05 Alexandre Oliva <aoliva@redhat.com>
5238
5239 * malloc/arena.c: Fold copyright years.
5240 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5241
61d58174
AO
52422012-09-05 Alexandre Oliva <aoliva@redhat.com>
5243
5244 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5245
20196a5e
AO
52462012-09-05 Alexandre Oliva <aoliva@redhat.com>
5247
5248 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5249
5c447383
AO
52502012-09-05 Alexandre Oliva <aoliva@redhat.com>
5251
5252 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5253 change internal state upon failure.
5254
fad64255
AO
52552012-09-05 Alexandre Oliva <aoliva@redhat.com>
5256
5257 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5258 * malloc/memusage.c (mmap): Likewise.
5259 (mmap64, mremap): Likewise. Adjust name in comment.
5260
1ffb8c90
SP
52612012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5262
5263 * libio/fileops.c: Fix typos in comments.
5264 * libio/oldfileops.c: Likewise.
5265 * libio/wfileops.c: Likewise.
5266
6ef9cc37
SP
52672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5268
5269 [BZ #1349]
5270 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5271 (tst-malloc-usable-ENV): Set environment for test case.
5272 * malloc/hooks.c (malloc_check_get_size): New function to get
5273 requested size.
5274 * malloc/malloc.c (musable): Use malloc_check_get_size.
5275 * malloc/tst-malloc-usable.c: New test case.
5276
4d038ae3
AS
52772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5278
5279 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5280
c4e85184
AM
52812012-09-05 Allan McRae <allan@archlinux.org>
5282
b9dafc56 5283 [BZ #13966]
c4e85184
AM
5284 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5285 determine header location.
5286 * configure: Regenerated.
5287
e1343020
AS
52882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5289
5290 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5291 float format.
5292 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5293 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5294 format.
e1343020
AS
5295 (test): Regenerate.
5296
0a9f1987
DM
52972012-09-04 David S. Miller <davem@davemloft.net>
5298
5299 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5300 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5301 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5302
29237804
FW
53032012-09-04 Florian Weimer <fweimer@redhat.com>
5304
5305 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5306 failures.
5307
edb3cb88
FW
5308 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5309
60160d83
JM
53102012-09-04 Joseph Myers <joseph@codesourcery.com>
5311
5312 [BZ #9914]
5313 * libio/iogetdelim.c: Include <limits.h>.
5314 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5315 + len + 1 would overflow.
5316
bcd6c8dc
AJ
53172012-09-03 Andreas Jaeger <aj@suse.de>
5318
5319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5320 * sysdeps/i386/fpu/libm-test-ulps: Update.
5321
4ffffbd2
LD
53222012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5323
5324 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5325 Add s_sinf-sse2, s_conf-sse2.
5326
5327 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5328 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5329 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5330 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5331
5332 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5333 for using routine as __sinf_ia32.
5334 Use macro for function declaration and weak_alias.
5335 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5336 for using routine as __cosf_ia32.
5337 Use macro for function declaration and weak_alias.
5338
5339 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5340 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5341
5342 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5343 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5345
5346 * math/libm-test.inc (cos_test): Add more test cases.
5347 (sin_test): Likewise.
5348 (sincos_test): Likewise.
5349
511fa286
AK
53502012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5351
5352 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5353 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5354 hidden.
5355 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5356
5f30cfec
L
53572012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5358
5359 [BZ #14538]
5360 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5361 first element of the GOT.
5362 (elf_machine_load_address): Return the difference between
5363 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5364
0786794f
AM
53652012-09-01 Allan McRae <allan@archlinux.org>
5366
5f30cfec
L
5367 [BZ #13412]
5368 * configure.in (AWK): Require gawk version 3.0 or later.
5369 * configure: Regenerated.
0786794f 5370
26889eac
JM
53712012-09-01 Joseph Myers <joseph@codesourcery.com>
5372
5373 * sysdeps/unix/sysv/linux/kernel-features.h
5374 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5375 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5376 [__NR_clock_getres]: Make code unconditional.
5377 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5378 (clock_getcpuclockid): Remove code left unreachable by removal of
5379 conditionals.
5380 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5381 code unconditional.
5382 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5383 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5384 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5385 Make code unconditional.
5386 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5387 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5388 * sysdeps/unix/sysv/linux/clock_settime.c
5389 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5390 conditional code.
5391 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5392 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5393
d22e28b0
L
53942012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5395
5396 [BZ #14476]
5397 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5398 scripts/test-installation.pl.
5399
5400 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5401 and $ld_so_version if it is set.
5402
050af9c4
SP
54032012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5404
5405 [BZ #14516]
5406 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5407 failure if reading from procfs failed.
5408 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5409
ad845c0b
JM
54102012-08-27 Joseph Myers <joseph@codesourcery.com>
5411
5412 * sysdeps/unix/sysv/linux/kernel-features.h
5413 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5414 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5415 Remove conditional code.
5416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5417 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5418 Remove conditional code.
5419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5420 * sysdeps/unix/sysv/linux/i386/fxstat.c
5421 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5423 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5424 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5425 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5426 * sysdeps/unix/sysv/linux/i386/lxstat.c
5427 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5428 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5429 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5430 Remove conditional code.
5431 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5432 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5433 Remove conditional code.
5434 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5435 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5436 <kernel-features.h>.
5437 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5438 Remove.
5439 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5440 Remove conditional code.
5441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5442 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5443 Remove conditional.
5444
5dbf56af
MF
54452012-08-27 Mike Frysinger <vapier@gentoo.org>
5446
5447 [BZ #5400]
5448 * NEWS: Add fixed bug number.
5449
d6e70f43
JM
54502012-08-27 Joseph Myers <joseph@codesourcery.com>
5451
7efb4737
JM
5452 [BZ #14519]
5453 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5454 underflowing exponent in case of negative sign.
5455 * stdlib/tst-strtod-round-data: Add more tests.
5456 * stdlib/tst-strtod-round.c (tests): Regenerated.
5457
af92131a
JM
5458 [BZ #3479]
5459 * stdlib/strtod_l.c (NDIG): Remove.
5460 (HEXNDIG): Likewise.
5461 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5462 smallest representable value.
5463 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5464 lie within an exact representation of 1/2 ulp of the result.
5465 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5466 unconditionally.
5467 (TENS_P9_IDX): Define unconditionally.
5468 (TENS_P9_SIZE): Likewise.
5469 (TENS_P10_IDX): Likewise.
5470 (TENS_P10_SIZE): Likewise.
5471 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5472 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5473 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5474 entries for 10^2^13 and 10^2^14.
5475 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5476 (TENS_P13_IDX): Define.
5477 (TENS_P13_SIZE): Likewise.
5478 (TENS_P14_IDX): Likewise.
5479 (TENS_P14_SIZE): Likewise.
5480 (_fpioconst_pow10): Change array size to
5481 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5482 unconditional.
5483 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5484 1024]: Add entries for 10^2^13 and 10^2^14.
5485 [LAST_POW10 > _LAST_POW10]: Remove #error.
5486 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5487 (_fpioconst_pow10): Change array size to
5488 FPIOCONST_POW10_ARRAY_SIZE.
5489 * stdlib/gen-fpioconst.c: New file.
5490 * stdlib/gen-tst-strtod-round.c: Likewise.
5491 * stdlib/tst-strtod-round-data: Likewise.
5492 * stdlib/tst-strtod-round.c: Likewise.
5493 * stdlib/Makefile (tests): Add tst-strtod-round.
5494
d6e70f43
JM
5495 [BZ #14459]
5496 * stdlib/strtod_l.c: Include <stdint.h>.
5497 (NDEBUG): Do not define.
5498 (round_and_return): Change EXPONENT parameter to type intmax_t.
5499 Rearrange calculations to avoid internal overflow possibilities.
5500 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5501 Rearrange calculations to avoid internal overflow possibilities.
5502 Assert that number fits inside MPNSIZE limbs.
5503 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5504 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5505 calculations and add assertions to avoid internal overflow
5506 possibilities. Add casts to avoid signed/unsigned operations.
5507 * stdlib/tst-strtod-overflow.c: New file.
5508 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5509
1f529f7d
MP
55102012-08-25 Marek Polacek <polacek@redhat.com>
5511
5512 * time/time.h: Fix some typos in comments.
5513
59a629f1
RM
55142012-08-23 Roland McGrath <roland@hack.frob.com>
5515
5516 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5517 * posix/tst-rfc3484-2.c: Likewise.
5518 * posix/tst-rfc3484-3.c: Likewise.
5519
d3bafbc9
SM
55202012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5521
5522 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5523 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5524
4efcc022
JM
55252012-08-23 Joseph Myers <joseph@codesourcery.com>
5526
5527 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5528 #include of fxstatat64.c.
5529
3cc3ef96
RM
55302012-08-22 Roland McGrath <roland@hack.frob.com>
5531
f04e2132
RM
5532 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5533 * shadow/getspent_r.c: Likewise.
5534 * shadow/getspnam.c: Likewise.
5535 * shadow/getspnam_r.c: Likewise.
5536 * gshadow/getsgent.c: Likewise.
5537 * gshadow/getsgent_r.c: Likewise.
5538 * gshadow/getsgnam.c: Likewise.
5539 * gshadow/getsgnam_r.c: Likewise.
5540 * inet/getnetbyad.c: Likewise.
5541 * inet/getnetbyad_r.c: Likewise.
5542 * inet/getnetbynm.c: Likewise.
5543 * inet/getnetbynm_r.c: Likewise.
5544 * inet/getnetent.c: Likewise.
5545 * inet/getnetent_r.c: Likewise.
5546 * inet/getproto.c: Likewise.
5547 * inet/getproto_r.c: Likewise.
5548 * inet/getprtent.c: Likewise.
5549 * inet/getprtent_r.c: Likewise.
5550 * inet/getprtname.c: Likewise.
5551 * inet/getprtname_r.c: Likewise.
5552 * inet/getrpcbyname.c: Likewise.
5553 * inet/getrpcbyname_r.c: Likewise.
5554 * inet/getrpcbynumber.c: Likewise.
5555 * inet/getrpcbynumber_r.c: Likewise.
5556 * inet/getrpcent.c: Likewise.
5557 * inet/getrpcent_r.c: Likewise.
5558 * inet/getaliasent.c: Likewise.
5559 * inet/getaliasent_r.c: Likewise.
5560 * inet/getaliasname.c: Likewise.
5561 * inet/getaliasname_r.c: Likewise.
5562 * nscd/getgrgid_r.c: Likewise.
5563 * nscd/getgrnam_r.c: Likewise.
5564 * nscd/gethstbyad_r.c: Likewise.
5565 * nscd/gethstbynm3_r.c: Likewise.
5566 * nscd/getpwnam_r.c: Likewise.
5567 * nscd/getpwuid_r.c: Likewise.
5568 * nscd/getsrvbynm_r.c: Likewise.
5569 * nscd/getsrvbypt_r.c: Likewise.
5570 * nscd/gai.c: Likewise.
5571
c53d909c
RM
5572 * configure.in (build_nscd): New substituted variable, set
5573 by --disable-build-nscd and defaults to $use_nscd.
5574 * configure: Regenerated.
5575 * config.make.in (build-nscd): New substituted variable.
5576 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5577 Change conditional to require [$(build-nscd) = yes] as well.
5578 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5579
3cc3ef96
RM
5580 [BZ# 13696]
5581 * configure.in (use_nscd): New substituted variable, set by
5582 --disable-nscd. If enabled, define USE_NSCD.
5583 * configure: Regenerated.
5584 * config.h.in: Add USE_NSCD.
5585 * config.make.in (use-nscd): New substituted variable.
5586 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5587 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5588 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5589 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5590 (CFLAGS-getgrnam_r.c): Likewise.
5591 (CFLAGS-initgroups.c): Likewise.
5592 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5593 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5594 Variables removed.
5595 * inet/getnetgrent_r.c
5596 (nscd_setnetgrent): New function, broken out of ...
5597 (setnetgrent): ... here. Call it.
5598 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5599 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5600 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5601 * nscd/Makefile (routines, aux): Move definitions after include of
5602 Makeconfig. Conditionalize on [$(use-nscd) != no].
5603 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5604 Conditionalize on [USE_NSCD].
5605 (is_nscd, nscd_init_cb): Likewise.
5606 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5607 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5608 * nss/nss_db/db-init.c: Likewise.
5609 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5610 [USE_NSCD].
5611 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5612 (make_request): Use it.
5613 (cache_valid_p): New function.
5614 (__check_pf): Use it.
5615 * NEWS: Add item for --disable-nscd.
5616
07e51550
DL
56172012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5618
5619 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5620 to support sed >= 4.2.1-20-ga9bf076.
5621 * configure: Regenerated.
5622
35a5b08b
RM
56232012-08-22 Roland McGrath <roland@hack.frob.com>
5624
5625 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5626 Conditionalize whole body on [IREL].
5627
8479f23a
JL
56282012-08-22 Jeff Law <law@redhat.com>
5629
5630 [BZ #14505]
5631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5632 if the family is PF_UNSPEC.
5633
48da0b21
MF
56342012-08-22 Mike Frysinger <vapier@gentoo.org>
5635
5636 * Makerules (lib-version): Rename from V.
5637 (install-lib-nosubdir): Change V to lib-version.
5638
15d0da8c
WS
56392012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5640
5641 [BZ #14252]
5642 * powerpc32/power6/wcschr.c: New file.
5643 * powerpc32/power6/wcscpy.c: New file.
5644 * powerpc32/power6/wcsrchr.c: New file.
5645 * powerpc64/power6/wcschr.c: New file.
5646 * powerpc64/power6/wcscpy.c: New file.
5647 * powerpc64/power6/wcsrchr.c: New file.
5648
bcca0895
MK
56492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5650
5651 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5652 (two_way_short_needle): Use it.
5a4aaa33
RM
5653 * string/strstr.c (AVAILABLE1_USES_J): Define.
5654 * string/strcasestr.c: Likewise.
99677e57
MK
5655
5656 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5657 array references.
5658 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5659
400726de
MK
5660 [BZ #11607]
5661 * NEWS: Add an entry.
5662 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5663 define their defaults.
5664 (two_way_short_needle): Detect end-of-string on-the-fly.
5665 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5666 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5667 * string/bug-strcasestr1.c: New test.
5668 * string/Makefile: Run it.
5669
20a71f2c
MK
56702012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5671
5672 [BZ #11607]
5673 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5674 the first character.
5675
21ad0558
RM
56762012-08-21 Roland McGrath <roland@hack.frob.com>
5677
5678 * csu/elf-init.c (__libc_csu_irel): Function removed.
5679 * csu/libc-start.c (apply_irel): New function.
5680 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5681
0e1d9911
JM
56822012-08-21 Joseph Myers <joseph@codesourcery.com>
5683
5684 * sysdeps/unix/sysv/linux/kernel-features.h
5685 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5686 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5687 <kernel-features.h>.
5688 [__NR_fadvise64_64]: Make code unconditional.
5689 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5690 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5691 !__NR_fadvise64_64)]: Likewise.
5692 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5693 !__NR_fadvise64_64))]: Likewise.
5694 [__NR_fadvise64]: Make code unconditional.
5695 [!__NR_fadvise64]: Remove conditional code.
5696 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5697 <kernel-features.h>.
5698 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5699 unconditional.
5700 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5701 conditional code.
5702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5703 not include <kernel-features.h>.
5704 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5705 unconditional.
5706 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5707 conditional code.
5708 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5709 include <kernel-features.h>.
5710 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5711 unconditional.
5712 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5713 conditional code.
5714
14a50c9d
WS
57152012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5716
5717 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5718 slight instruction rearrangements per scrollpipe analysis.
5719 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5720
c0f4faf0
RM
57212012-08-20 Roland McGrath <roland@hack.frob.com>
5722
696da859
RM
5723 * manual/syslog.texi (syslog; vsyslog, closelog):
5724 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5725 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5726
c0f4faf0
RM
5727 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5728 DSOCAPS to match condition on defining it.
5729
348363b2
JM
57302012-08-20 Joseph Myers <joseph@codesourcery.com>
5731
a35cbf28
JM
5732 * sysdeps/unix/sysv/linux/kernel-features.h
5733 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5735 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5736 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5738 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5739 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5741 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5742 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5743
445f7ecd
JM
5744 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5745 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5746
348363b2
JM
5747 * sysdeps/unix/sysv/linux/kernel-features.h
5748 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5749 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5750 unconditional.
5751 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5752 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5753 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5754 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5755 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5756 Make code unconditional.
5757 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5758 (__mmap64) [!__NR_mmap2]: Likewise.
5759 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5760 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5761 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5762 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5763 [__NR_mmap2]: Make code unconditional.
5764 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5765 (__mmap64) [!__NR_mmap2]: Likewise.
5766
bc5bc0e5
AK
57672012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5768
5769 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5770
88d506de
AJ
57712012-08-18 Andreas Jaeger <aj@suse.de>
5772
5773 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5774
493387d2
MF
57752012-08-18 Mike Frysinger <vapier@gentoo.org>
5776
5777 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5778 * include/unistd.h (__have_sock_cloexec): Likewise.
5779 (__have_pipe2): Likewise.
5780 (__have_dup3): Likewise.
5781
a277af22
MF
57822012-08-18 Mike Frysinger <vapier@gentoo.org>
5783
5784 [BZ #9685]
5785 * include/unistd.h (__have_pipe2): Change define into an extern int.
5786 (__have_dup3): Likewise.
5787 * socket/have_sock_cloexec.c: Include fcntl.h.
5788 (__have_pipe2): New variable.
5789 (__have_dup3): Likewise.
5790
fdab8fd3
MF
57912012-08-17 Mike Frysinger <vapier@gentoo.org>
5792
5793 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5794
31035e80
MP
57952012-08-17 Marek Polacek <polacek@redhat.com>
5796
5797 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5798 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5799
3bd9e993
RM
58002012-08-17 Roland McGrath <roland@hack.frob.com>
5801
c91c505f
RM
5802 * configure.in: Add AC_SUBST for sysheaders.
5803 * configure: Regenerated.
5804 * config.make.in (sysheaders): New substituted variable.
5805
7c6f9d53
RM
5806 * sysdeps/unix/mkfifo.c: Moved ...
5807 * sysdeps/posix/mkfifo.c: ... here.
5808 * sysdeps/unix/mkfifoat.c: Moved ...
5809 * sysdeps/posix/mkfifoat.c: ... here.
5810
5811 * sysdeps/unix/utime.c: Moved ...
5812 * sysdeps/posix/utime.c: ... here.
5813
5814 * sysdeps/unix/time.c: Moved ...
5815 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5816 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5817 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5818
5819 * sysdeps/unix/nice.c: Moved ...
5820 * sysdeps/posix/nice.c: ... here.
5821
5822 * sysdeps/unix/alarm.c: Moved ...
5823 * sysdeps/posix/alarm.c: ... here.
5824
3bd9e993
RM
5825 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5826
d1f09384
JL
58272012-08-17 Jeff Law <law@redhat.com>
5828
5829 * intl/Makefile (codeset_mo): New variable.
5830 ($(codeset_mo)): New target.
5831 (tst-codeset.out): Depend on that. Remove explicit rule.
5832 (tst-gettext3.out, tst-gettext5.out): Likewise.
5833 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5834 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5835 * intl/tst-codeset.sh: Remove.
5836 * intl/tst-gettext3.sh: Likewise.
5837 * intl/tst-gettext5.sh: Likewise.
5838
2ae1ae5c
RM
58392012-08-17 Roland McGrath <roland@hack.frob.com>
5840
c31fdb83
RM
5841 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5842 * sysdeps/unix/syscalls.list: ... here.
5843
a0844057
RM
5844 * sysdeps/posix/getaddrinfo.c
5845 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5846 (gaiconf_init, gaiconf_reload): Use them.
5847 [!_STATBUF_ST_NSEC]
5848 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5849 Define using time_t rather than struct timespec.
5850
750c1f2a
RM
5851 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5852 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5853 Macros removed.
5854 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5855 [!NO_THREADS].
5856 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5857 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5858 Likewise.
5859
2ae1ae5c
RM
5860 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5861 __libc_cleanup_push argument.
5862
e66a42f5
RM
5863 * bits/param.h: New file.
5864 * misc/sys/param.h: New file.
5865 * include/sys/param.h: New file.
5866 * misc/Makefile (headers): Add bits/param.h.
5867 * sysdeps/generic/sys/param.h: File removed.
5868 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5869 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5870 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5871 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5872
b7c08a66
RM
5873 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5874 last change.
5875
b2e1c562
RM
5876 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5877 [_IO_MTSAFE_IO].
5878 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5879 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5880 New macros.
5881
c75ccd4c
RM
5882 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5883 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5884 rather than -D_IO_MTSAFE_IO conditionally.
5885 * stdio-common/Makefile (CPPFLAGS): Likewise.
5886 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5887 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5888 Use $(libio-mtsafe).
5889 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5890 of -D_IO_MTSAFE_IO.
5891 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5892 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5893 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5894 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5895 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5896 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5897 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5898 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5899 (CFLAGS-fread_u_chk.c): Likewise.
5900 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5901 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5902 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5903 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5904 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5905 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5906 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5907 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5908 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5909
5910 * libio/Makefile: Test [$(libc-reentrant) = yes]
5911 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5912
5913 * Makeconfig
5914 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5915 * sysdeps/pthread/configure: File removed.
5916 * sysdeps/pthread/Makeconfig: New file.
5917 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5918 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5919
d9195db8
GB
59202012-08-16 Gary Benson <gbenson@redhat.com>
5921
5922 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5923 unmapping the first object in a namespace.
5924
86466cd9
RM
59252012-08-16 Roland McGrath <roland@hack.frob.com>
5926
5927 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5928 (__internal_setnetgrent): ... this. Add internal_function to
5929 definition. Add libc_hidden_def.
5930 (setnetgrent): Update caller.
5931 (internal_endnetgrent): Renamed to ...
5932 (__internal_endnetgrent): ... this. Add internal_function to
5933 definition. Add libc_hidden_def.
5934 (endnetgrent): Update caller.
5935 (internal_getnetgrent_r): Renamed to ...
5936 (__internal_getnetgrent_r): ... this. Add internal_function to
5937 definition. Add libc_hidden_def.
5938 (__getnetgrent_r): Update caller.
5939 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5940
c3c8283c
JM
59412012-08-16 Joseph Myers <joseph@codesourcery.com>
5942
5943 * stdlib/longlong.h: Update from GCC.
5944
db1ee0a8
RM
59452012-08-16 Roland McGrath <roland@hack.frob.com>
5946
5947 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5948 on _QL, which is set by umul_ppmm but never used.
5949 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5950 variables, which are set by GMP macros but never used.
5951 * stdio-common/_itowa.c (_itowa): Likewise.
5952 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5953 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5954
30f69637
CD
59552012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5956
5957 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5958 struct La_sh_regs is not constant.
5959 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5960 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5961 and struct La_sparc64_regs are not constant.
5962
93a78ac4
JM
59632012-08-16 Joseph Myers <joseph@codesourcery.com>
5964
5965 * sysdeps/unix/sysv/linux/kernel-features.h
5966 (__ASSUME_POSIX_TIMERS): Remove.
5967 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5968 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5969 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5970 Make code unconditional.
5971 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5972 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5973 Make code unconditional.
5974 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5975 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5976 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5977 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5978 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5979 Make code unconditional.
5980 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5981 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5982 (__libc_missing_posix_timers): Remove.
5983
dd924cd7
RM
59842012-08-15 Roland McGrath <roland@hack.frob.com>
5985
4b4f2771
RM
5986 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5987 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5988
601c888b
RM
5989 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5990
176790a7
RM
5991 * elf/dl-sym.c: Include <stdlib.h>.
5992
329bc018
RM
5993 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5994 constants, which avoids warnings in 32-bit builds.
5995
e04e272d
RM
5996 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5997 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5998
952bf94a
RM
5999 * misc/lseek.c: File moved to ...
6000 * io/lseek.c: ... here.
6001
7c99b50a
RM
6002 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6003
dd924cd7
RM
6004 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6005 shifting LEN more than 31 bits at once.
6006
b3f479a8
LD
60072012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6008
6009 [BZ #14195]
8c4ae0d4
RM
6010 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6011 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6012 * string/test-strncasecmp.c (check1): Renamed to...
6013 (bz12205): ...this.
6014 (bz14195): Add new testcase for two empty input strings and N > 0.
6015 (test_main): Call new testcase, adapt for renamed function.
6016
9c55864e
AJ
60172012-08-15 Andreas Jaeger <aj@suse.de>
6018
6019 [BZ #14090]
6020 * crypt/md5test2.c: New test, based on test supplied by Serge
6021 Belyshev <belyshev@depni.sinp.msu.ru>.
6022 * crypt/Makefile (xtests): Add md5test-giant..
6023 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6024
02dcb6c5
PE
60252012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6026
6027 [BZ #14090]
6028 * crypt/md5.c (md5_process_block): Don't assume the buffer
6029 length is less than 2**32.
6030 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6031 length is less than 2**64.
6032
a3f95dcc
RM
60332012-08-15 Roland McGrath <roland@hack.frob.com>
6034
be75d758
RM
6035 * string/str-two-way.h: Include <sys/param.h>.
6036 (MAX): Macro removed.
6037
7312ca90
RM
6038 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6039 Move #define and #undef of memmove to just before and after
6040 including <string.h>.
6041
9a0a5486
RM
6042 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6043 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6044 and after including <string.h>. Move declarations of
6045 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6046 to before #include "string/memmove.c".
6047
67cc348d
RM
6048 * include/dirent.h: Declare __getdirentries.
6049
a3f95dcc
RM
6050 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6051 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6052
ca98e171
MF
60532012-08-14 Mike Frysinger <vapier@gentoo.org>
6054
6055 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6056 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6057 * sysdeps/i386/configure: Regenerated.
6058 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6059 STABS_CURRENT_FILE, and STABS_FUN.
6060 (END): Remove call to STABS_FUN_END.
6061 (STABS_CURRENT_FILE1): Delete.
6062 (STABS_CURRENT_FILE): Likewise.
6063 (STABS_FUN): Likewise.
6064 (STABS_FUN_END): Likewise.
6065 (STABS_FUN2): Likewise.
6066 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6067 * sysdeps/x86_64/configure: Regenerated.
6068
5908bf46
RM
60692012-08-14 Roland McGrath <roland@hack.frob.com>
6070
6071 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6072 * elf/dl-lookup.c: Likewise.
5908bf46 6073
f2c05b9e
JM
60742012-08-14 Joseph Myers <joseph@codesourcery.com>
6075
6076 * sysdeps/unix/sysv/linux/kernel-features.h
6077 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6078 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6079 unconditionally.
6080 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6081 unconditionally.
6082 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6083 condition on __ASSUME_CLONE_THREAD_FLAGS.
6084
e11f5155
AJ
60852012-08-14 Andreas Jaeger <aj@suse.de>
6086
6087 * sysdeps/i386/fpu/libm-test-ulps: Update.
6088
51a9ba86
MK
60892012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6090
2fdd4f78
AJ
6091 * include/atomic.h (atomic_exchange_and_add): Split into ...
6092 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6093 New atomic macros.
51a9ba86 6094
ba6cba9e
MT
60952012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6096
6097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6098
42443a47
JL
60992012-08-13 Jeff Law <law@redhat.com>
6100
6101 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6102 null byte in the output string.
6103
121dce05
JM
61042012-08-10 Joseph Myers <joseph@codesourcery.com>
6105
6106 * sysdeps/unix/sysv/linux/kernel-features.h
6107 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6108 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6109 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6110 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6111 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6112 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6113 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6114
bf51f568
JL
61152012-08-09 Jeff Law <law@redhat.com>
6116
6117 [BZ #13939]
6118 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6119 When avoid_arena is set, don't retry in the that arena. Pick the
6120 next one, whatever it might be.
6121 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6122 (arena_lock): Pass in new parameter to arena_get2.
6123 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6124 arena_get2.
6125 (__libc_malloc): Unify retrying after main arena failure with
6126 __libc_memalign version.
6127 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6128
f85fa270
L
61292012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6130
6131 [BZ #14166]
6132 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6133 to __redirect_strstr.
6134 (__strstr_sse42): Use typeof __redirect_strstr.
6135 (__strstr_ia32): Likewise.
6136 (__libc_strstr): New prototype.
6137 (strstr): Renamed to ...
6138 (__libc_strstr): This.
6139 (strstr): New strong alias of __libc_strstr.
6140 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6141 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6142 __redirect_time.
6143 Include <time.h>.
6144 (__libc_time): New prototype.
6145 (time_ifunc): Replace time with __libc_time.
6146 (time): New strong alias and hidden definition of __libc_time.
6147 (__GI_time): Remove strong alias.
6148 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6149 Include <stddef.h>.
6150 (memmove): Redefined to __redirect_memmove.
6151 (__memmove_sse2): Use typeof __redirect_memmove.
6152 (__memmove_ssse3): Likewise.
6153 (__memmove_ssse3_back): Likewise.
6154 (__libc_memmove): New prototype.
6155 (memmove): Renamed to ...
6156 (__libc_memmove): This.
6157 (memmove): New strong alias of __libc_memmove.
6158
33b4a91e
MS
61592012-08-08 Mark Salter <msalter@redhat.com>
6160
6161 * elf/elf.h
6162 (R_MN10300_TLS_GD): Define.
6163 (R_MN10300_TLS_LD): Likewise.
6164 (R_MN10300_TLS_LDO): Likewise.
6165 (R_MN10300_TLS_GOTIE): Likewise.
6166 (R_MN10300_TLS_IE): Likewise.
6167 (R_MN10300_TLS_LE): Likewise.
6168 (R_MN10300_TLS_DTPMOD): Likewise.
6169 (R_MN10300_TLS_DTPOFF): Likewise.
6170 (R_MN10300_TLS_TPOFF): Likewise.
6171 (R_MN10300_SYM_DIFF): Likewise.
6172 (R_MN10300_ALIGN): Likewise.
6173 (R_MN10300_NUM): Update.
6174
b36137f1
JM
61752012-08-08 Joseph Myers <joseph@codesourcery.com>
6176
6177 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6178 Remove.
6179
cdd915fd
RM
61802012-08-08 Roland McGrath <roland@hack.frob.com>
6181
a2433aac
RM
6182 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6183
cdd915fd
RM
6184 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6185 sysdeps/unix -> sysdeps/posix move.
6186 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6187
bf9b740a
AM
61882012-08-07 Allan McRae <allan@archlinux.org>
6189
6190 [BZ #14303]
6191 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6192 (SUNOS_CPP): Likewise.
6193 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6194 not found.
6195 (open_input): Call CPP using execvp.
6196
93df14ee
JM
61972012-08-07 Joseph Myers <joseph@codesourcery.com>
6198
6199 * sysdeps/unix/sysv/linux/kernel-features.h
6200 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6201 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6202 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6203 (__ASSUME_WAITID_SYSCALL): Likewise.
6204 * sysdeps/unix/sysv/linux/dl-execstack.c
6205 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6206 code unconditional.
6207 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6208 conditional code.
6209 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6210 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6211 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6212 code.
6213 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6214 unconditional.
6215 [__ASSUME_WAITID_SYSCALL]: Likewise.
6216 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6217
d34689de
RM
62182012-08-07 Roland McGrath <roland@hack.frob.com>
6219
a281decc
RM
6220 * sysdeps/unix/closedir.c: Renamed to ...
6221 * sysdeps/posix/closedir.c: ... here.
6222 * sysdeps/unix/dirfd.c: Renamed to ...
6223 * sysdeps/posix/dirfd.c: ... here.
6224 * sysdeps/unix/dirstream.h: Renamed to ...
6225 * sysdeps/posix/dirstream.h: ... here.
6226 * sysdeps/unix/fdopendir.c: Renamed to ...
6227 * sysdeps/posix/fdopendir.c: ... here.
6228 * sysdeps/unix/opendir.c: Renamed to ...
6229 * sysdeps/posix/opendir.c: ... here.
6230 * sysdeps/unix/readdir.c: Renamed to ...
6231 * sysdeps/posix/readdir.c: ... here.
6232 * sysdeps/unix/readdir_r.c: Renamed to ...
6233 * sysdeps/posix/readdir_r.c: ... here.
6234 * sysdeps/unix/rewinddir.c: Renamed to ...
6235 * sysdeps/posix/rewinddir.c: ... here.
6236 * sysdeps/unix/seekdir.c: Renamed to ...
6237 * sysdeps/posix/seekdir.c: ... here.
6238 * sysdeps/unix/telldir.c: Renamed to ...
6239 * sysdeps/posix/telldir.c: ... here.
6240 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6241 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6242 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6243 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6244
22895b47
RM
6245 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6246 * bits/fcntl.h: ... here.
6247
707a53b6
RM
6248 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6249 not 0.
6250 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6251 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6252 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6253 (struct flock): Move l_start, l_len to the beginning.
6254 Use __pid_t for l_pid.
6255 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6256 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6257 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6258 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6259 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6260 [__USE_LARGEFILE64] (struct flock64): New type.
6261 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6262
f0bd3e25
RM
6263 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6264 * bits/dirent.h: ... here.
6265
d34689de
RM
6266 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6267 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6268
6dad2c06
JM
62692012-08-07 Joseph Myers <joseph@codesourcery.com>
6270
6271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6272 Change from 2.6.0 to 2.6.16.
6273 * sysdeps/unix/sysv/linux/configure: Regenerated.
6274 * sysdeps/unix/sysv/linux/kernel-features.h
6275 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6276 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6277 version.
6278 (__ASSUME_UTIMES): Likewise.
6279 (__ASSUME_CLONE_STOPPED): Remove.
6280 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6281 architectures, not kernel version.
6282 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6283 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6284 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6285 (__ASSUME_WAITID_SYSCALL): Likewise.
6286 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6287 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6288 * README: State 2.6.16 as minimum Linux kernel version. Do not
6289 refer to older versions.
6290
03af9520
RM
62912012-08-06 Roland McGrath <roland@hack.frob.com>
6292
8e49df1d
RM
6293 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6294 Define alphasort64 as an alias.
6295 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6296 Define versionsort64 as an alias.
6297 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6298 Define scandir64 as an alias.
6299 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6300 Define scandirat64 as an alias.
6301 * dirent/alphasort64.c (alphasort64):
6302 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6303 * dirent/versionsort64.c: Likewise.
6304 * dirent/scandir64.c: Likewise.
6305 * dirent/scandirat64.c: Likewise.
6306 * sysdeps/wordsize-64/alphasort.c: File removed.
6307 * sysdeps/wordsize-64/alphasort64.c: File removed.
6308 * sysdeps/wordsize-64/scandir.c: File removed.
6309 * sysdeps/wordsize-64/scandir64.c: File removed.
6310 * sysdeps/wordsize-64/scandirat.c: File removed.
6311 * sysdeps/wordsize-64/scandirat64.c: File removed.
6312 * sysdeps/wordsize-64/versionsort.c: File removed.
6313 * sysdeps/wordsize-64/versionsort64.c: File removed.
6314 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6315 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6316 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6317 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6318 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6319 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6320 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6321 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6322
6323 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6324 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6325 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6326 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6327 [defined __arch64__ || defined __sparcv9]
6328 (__INO_T_MATCHES_INO64_T): New macro.
6329 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6330 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6331 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6332 * sysdeps/unix/sysv/linux/bits/dirent.h
6333 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6334 (_DIRENT_MATCHES_DIRENT64): New macro.
6335
03af9520
RM
6336 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6337 Define lockf64 as an alias.
6338 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6339 Define fseeko64 as an alias.
6340 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6341 Define ftello64 as an alias.
6342 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6343 Define _IO_fgetpos64 and fgetpos64 as aliases.
6344 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6345 Define _IO_fsetpos64 and fsetpos64 as aliases.
6346 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6347 Conditionalize body on this.
6348 * libio/fseeko64.c: Likewise.
6349 * libio/ftello64.c: Likewise.
6350 * libio/iofgetpos64.c: Likewise.
6351 * libio/iofsetpos64.c: Likewise.
6352 * sysdeps/wordsize-64/lockf.c: File removed.
6353 * sysdeps/wordsize-64/lockf64.c: File removed.
6354 * sysdeps/wordsize-64/fseeko.c: File removed.
6355 * sysdeps/wordsize-64/fseeko64.c: File removed.
6356 * sysdeps/wordsize-64/ftello.c: File removed.
6357 * sysdeps/wordsize-64/ftello64.c: File removed.
6358 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6359 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6360 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6361 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6362 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6363 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6364 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6365 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6366 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6367 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6368 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6370 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6371 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6372
6373 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6374 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6375 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6376 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6377 [defined __arch64__ || defined __sparcv9]
6378 (__OFF_T_MATCHES_OFF64_T): New macro.
6379 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6380 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6382 (__OFF_T_MATCHES_OFF64_T): New macro.
6383
c5757acd
L
63842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6385
6386 * stdlib/secure-getenv.c (__secure_getenv): Replace
6387 GLIBC_2_16 with GLIBC_2_17.
6388
3a31811e
L
63892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6390
6391 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6392 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6393
faa2bccb
DM
63942012-08-03 David S. Miller <davem@davemloft.net>
6395
6396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6397
85fe1997
JM
63982012-08-03 Joseph Myers <joseph@codesourcery.com>
6399
6400 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6401 Remove.
6402 (__ASSUME_CORRECT_SI_PID): Likewise.
6403 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6404 (__ASSUME_TMPFS_NAME): Likewise.
6405 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6406 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6407 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6408 (HAVE_AUX_SECURE): Make definition unconditional.
6409 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6410 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6411
4f75b7a0
RM
64122012-08-03 Roland McGrath <roland@hack.frob.com>
6413
6414 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6415 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6416 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6417 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6418 __eloop_threshold instead of SYMLOOP_MAX.
6419
6420 * sysdeps/generic/eloop-threshold.h: New file.
6421 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6422 of MAXSYMLINKS.
6423 * elf/chroot_canon.c (chroot_canon): Likewise.
6424
7aab07e4
JM
64252012-08-03 Joseph Myers <joseph@codesourcery.com>
6426
6427 [BZ #13717]
6428 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6429 Change to 2.6.0 everywhere.
6430 * sysdeps/unix/sysv/linux/configure: Regenerated.
6431 * sysdeps/unix/sysv/linux/kernel-features.h
6432 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6433 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6434 kernel versions.
6435 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6436 (__ASSUME_FUTEX_REQUEUE): Remove.
6437 (__ASSUME_STATFS64): Define unconditionally.
6438 (__ASSUME_AT_SECURE): Likewise.
6439 (__ASSUME_CORRECT_SI_PID): Likewise.
6440 (__ASSUME_TGKILL): Define without depending on kernel version for
6441 i386.
6442 (__ASSUME_UTIMES): Likewise.
6443 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6444 kernel version.
6445 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6446 (__ASSUME_TMPFS_NAME): Likewise.
6447 * README: Update reference to Linux kernel versions.
6448
b67e9372
MP
64492012-08-02 Marek Polacek <polacek@redhat.com>
6450
1f529f7d 6451 [BZ# 14150]
b67e9372
MP
6452 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6453 libc_cv_asm_type_prefix with %.
6454 * configure: Regenerated.
d2441631
RM
6455 * include/libc-symbols.h: Remove comment about
6456 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6457 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6458 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6459 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6460 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6461 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6462 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6463 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6464 * elf/tst-unique2mod1.c: Likewise.
6465 * elf/tst-unique1mod2.c: Likewise.
6466 * elf/tst-unique1mod1.c: Likewise.
6467 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6468 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6469 Replace ASM_TYPE_DIRECTIVE with .type.
6470 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6471 * sysdeps/i386/sysdep.h: Likewise.
6472 * sysdeps/x86_64/sysdep.h: Likewise.
6473 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6475 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6476 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6477 * sysdeps/powerpc/powerpc32/sysdep.h:
6478 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6479 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6480 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6481 * sysdeps/i386/fpu/e_powf.S: Likewise.
6482 * sysdeps/i386/fpu/e_expl.S: Likewise.
6483 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6484 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6485 * sysdeps/i386/fpu/e_pow.S: Likewise.
6486 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6487 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6488 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6489 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6490 * sysdeps/i386/fpu/e_log2.S: Likewise.
6491 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6492 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6493 * sysdeps/i386/fpu/e_powl.S: Likewise.
6494 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6495 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6496 * sysdeps/i386/fpu/e_logl.S: Likewise.
6497 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6498 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6499 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6500 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6501 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6502 * sysdeps/i386/fpu/e_log.S: Likewise.
6503 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6504 * sysdeps/i386/fpu/e_logf.S: Likewise.
6505 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6506 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6507 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6508 * sysdeps/i386/fpu/e_log10.S: Likewise.
6509 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6510 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6511 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6512 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6513 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6514 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6515 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6516 * sysdeps/i386/i686/strtok.S: Likewise.
6517 * sysdeps/i386/i386-mcount.S: Likewise.
6518 * sysdeps/i386/strtok.S: Likewise.
6519 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6520 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6521 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6522 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6523 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6524 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6525 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6526 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6527 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6528 * sysdeps/x86_64/_mcount.S: Likewise.
6529 * sysdeps/x86_64/strtok.S: Likewise.
6530 * sysdeps/sh/_mcount.S: Likewise.
6531
2747bf9a
RM
65322012-08-01 Roland McGrath <roland@hack.frob.com>
6533
6534 * libio/iofopen.c: Include <fcntl.h>.
6535 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6536 (_IO_fopen64, fopen64): Define as aliases.
6537 * libio/iofopen64.c: Include <fcntl.h>.
6538 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6539 Conditionalize body on this.
6540 * sysdeps/wordsize-64/iofopen.c: File removed.
6541 * sysdeps/wordsize-64/iofopen64.c: File removed.
6542
3fb791b8
MP
65432012-08-01 Marek Polacek <polacek@redhat.com>
6544
6545 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6546 Use dlfcn directly instead of a variable.
6547 (binfmt-subdir): Do not define.
6548 (dlfcn): Likewise.
6549
a9f1039f
JM
65502012-08-01 Joseph Myers <joseph@codesourcery.com>
6551
23bddc06
JM
6552 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6553 Remove all definitions.
6554 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6555 <kernel-features.h>.
6556 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6557 (miss_F_GETOWN_EX): Remove all definitions.
6558 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6559 macro definition.
6560 [!__ASSUME_FCNTL64]: Remove conditional code.
6561 [__ASSUME_FCNTL64]: Make code unconditional.
6562 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6563 <kernel-features.h>.
6564 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6565 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6566 (lockf64) [__NR_fcntl64]: Make code unconditional.
6567 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6568
a9f1039f
JM
6569 * sysdeps/unix/sysv/linux/kernel-features.h
6570 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6571 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6572 Make code unconditional.
6573 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6574 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6576 [__NR_vfork]: Make code unconditional.
6577 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6578 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6580 [__NR_vfork]: Make code unconditional.
6581 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6582 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6583
09c0ee5f
RM
65842012-08-01 Roland McGrath <roland@hack.frob.com>
6585
48aec5b9
RM
6586 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6587 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6588
cd97c966
RM
6589 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6590 Define mkstemp64 as an alias.
3f55550c
RM
6591 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6592 Define mkstemps64 as an alias.
cd97c966
RM
6593 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6594 Define mkostemp64 as an alias.
b8625cfc
RM
6595 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6596 Define mkostemps64 as an alias.
cd97c966
RM
6597 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6598 Conditionalize body on this.
6599 * misc/mkostemp64.c: Likewise.
b8625cfc 6600 * misc/mkostemps64.c: Likewise.
3f55550c 6601 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6602 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6603 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6604 * sysdeps/wordsize-64/mkostemp.c: File removed.
6605 * sysdeps/wordsize-64/mkstemp.c: File removed.
6606 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6607 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6608 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6609 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6610
09c0ee5f
RM
6611 [BZ #14138]
6612 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6613 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6614 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6615 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6616
6617 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6618 compat_symbol macros from <shlib-compat.h> rather than the underlying
6619 default_symbol_version and symbol_version macros, so that DEFAULT
6620 lines in shlib-versions are respected.
6621 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6622
7e66ee51
FW
66232012-08-01 Florian Weimer <fweimer@redhat.com>
6624
6625 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6626 Declare with warn_unused_result.
6627 (setgid, setregid, setegid, setresgid): Likewise.
6628 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6629 Likewise.
6630 * WUR-REPORT: Remove set*id functions.
6631
d2a54255
PT
66322012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6633
6634 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6635
7ecdb005
RM
66362012-07-31 Roland McGrath <roland@hack.frob.com>
6637
789bd351
RM
6638 * include/sys/socket.h (__libc_accept, __libc_accept4):
6639 Add attribute_hidden.
6640 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6641
40ce302d
RM
6642 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6643 use of PTR_MANGLE.
6644 * inet/getnetgrent_r.c (setup): Likewise.
6645
7ecdb005
RM
6646 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6647
e2eabb2c
DM
66482012-07-31 David S. Miller <davem@davemloft.net>
6649
6650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6651
d0419dbf
JM
66522012-07-31 Joseph Myers <joseph@codesourcery.com>
6653
6654 [BZ #13629]
6655 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6656 value between 1.0 and 2.0 and smaller part has absolute value less
6657 than 1.0.
6658 * math/s_clog10.c (__clog10): Likewise.
6659 * math/s_clog10f.c (__clog10f): Likewise.
6660 * math/s_clog10l.c (__clog10l): Likewise.
6661 * math/s_clogf.c (__clogf): Likewise.
6662 * math/s_clogl.c (__clogl): Likewise.
6663 * math/libm-test.inc (clog_test): Add more tests.
6664 (clog10_test): Likewise.
6665 * sysdeps/i386/fpu/libm-test-ulps: Update.
6666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6667
2bc13872
FW
66682012-07-31 Florian Weimer <fweimer@redhat.com>
6669
6670 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6671 Exit with zero in case no suitable GID is found, and write a
6672 message to standard error.
6673
bea9b193
RM
66742012-07-30 Roland McGrath <roland@hack.frob.com>
6675
6676 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6677 rather than to 1.
6678 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6679 (MAXPATHLEN): Removed.
6680 (NOGROUP, NODEV): New macros.
6681 (setbit, clrbit, isset, isclr): New macros.
6682 (howmany, roundup, powerof2): New macros.
6683 (DEV_BSIZE): New macro.
6684
6685 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6686 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6687
6688 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6689 definition on [!__NO_LONG_DOUBLE_MATH].
6690
6691 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6692 PTR_MANGLE and PTR_DEMANGLE.
6693
6694 * socket/accept4.c (accept4): Rename to __libc_accept4.
6695 Define accept4 as a weak alias.
6696
6697 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6698 on [_DIRENT_HAVE_D_TYPE].
6699 * io/ftw.c (ftw_dir): Likewise.
6700
6701 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6702
6703 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6704
6705 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6706 Use the BSD numbers rather than the arbitrary ones we had.
6707 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6708 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6709 (SIGXCPU, SIGXFSZ): New macros.
6710 (_NSIG): Now 32.
6711
6712 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6713 initializer on [_LIBC_REENTRANT].
6714
6715 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6716 definitions inside [_POSIX_MAPPED_FILES].
6717
6718 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6719
6720 * dirent/opendir.c: Include <fcntl.h>.
6721
6722 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6723 (__libc_getspecific): Likewise.
6724 (__libc_key_create): Likewise.
6725
6726 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6727 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6728 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6729 (tmpfile64): Define as alias.
6730 * sysdeps/wordsize-64/tmpfile.c: File removed.
6731 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6732 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6733 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6734
6735 * stdio-common/vfscanf.c: Include <stdbool.h>.
6736 * nss/makedb.c: Likewise.
6737 * stdio-common/_i18n_number.h: Likewise.
6738 * argp/argp-help.c: Likewise.
6739 * posix/wordexp.c: Likewise.
6740 * sysdeps/posix/spawni.c: Likewise.
6741 * nss/nss_files/files-initgroups.c: Likewise.
6742 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6743 * nss/nss_files/files-initgroups.c: Likewise.
6744 * nss/nss_db/db-netgrp.c: Likewise.
6745 * nss/nss_db/db-initgroups.c: Likewise.
6746 * io/fchmodat.c: Include <sys/stat.h>.
6747
6748 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6749 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6750
6751 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6752 [HAVE_MMAP].
6753
6754 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6755 Add multiple inclusion protection.
6756
e5abc686
DM
67572012-07-27 David S. Miller <davem@davemloft.net>
6758
6759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6760
815e6fa3
GB
67612012-07-27 Gary Benson <gbenson@redhat.com>
6762
6763 [BZ #14298]
6764 * elf/rtld.c: Include <stap-probe.h>.
6765 (dl_main): Added static probes "init_start" and "init_complete".
6766 * elf/dl-load.c: Include <stap-probe.h>.
6767 (lose): Take new parameter "nsid".
6768 Added static probe "map_failed".
6769 (_dl_map_object_from_fd): Pass namespace id to lose.
6770 Added static probe "map_start".
6771 (open_verify): Pass namespace id to lose.
6772 * elf/dl-open.c: Include <stap-probe.h>.
6773 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6774 and "reloc_complete".
6775 * elf/dl-close.c: Include <stap-probe.h>.
6776 (_dl_close_worker): Added static probes "unmap_start" and
6777 "unmap_complete".
6778 * elf/rtld-debugger-interface.txt: New file documenting the above.
6779
9f98c16c
RM
67802012-07-26 Roland McGrath <roland@hack.frob.com>
6781
6782 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6783 rather than a string variable.
6784 * sunrpc/rpc_main.c (h_output): Likewise.
6785 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6786
f3c22df3
PT
67872012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6788
6789 * inet/check_native.c: New file.
6790
3129cfc6
JM
67912012-07-26 Joseph Myers <joseph@codesourcery.com>
6792
da865e95
JM
6793 [BZ #13629]
6794 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6795 if larger part has absolute value 1.0.
6796 * math/s_clog10.c (__clog10): Likewise.
6797 * math/s_clog10f.c (__clog10f): Likewise.
6798 * math/s_clog10l.c (__clog10l): Likewise.
6799 * math/s_clogf.c (__clogf): Likewise.
6800 * math/s_clogl.c (__clogl): Likewise.
6801 * math/libm-test.inc (clog_test): Add more tests.
6802 (clog10_test): Likewise.
6803 * sysdeps/i386/fpu/libm-test-ulps: Update.
6804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6805
3129cfc6
JM
6806 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6807 (pltexit): Likewise.
6808 (La_regs): Likewise.
6809 (La_retval): Likewise.
6810 (int_retval): Likewise.
6811 Update #error for removed macros to refer only to definitions in
6812 tst-audit.h.
6813 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6814 macro.
6815 (pltexit): Likewise.
6816 (La_regs): Likewise.
6817 (La_retval): Likewise.
6818 (int_retval): Likewise.
6819 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6820 macro.
6821 (pltexit): Likewise.
6822 (La_regs): Likewise.
6823 (La_retval): Likewise.
6824 (int_retval): Likewise.
6825 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6826 macro.
6827 (pltexit): Likewise.
6828 (La_regs): Likewise.
6829 (La_retval): Likewise.
6830 (int_retval): Likewise.
6831 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6832 macro.
6833 (pltexit): Likewise.
6834 (La_regs): Likewise.
6835 (La_retval): Likewise.
6836 (int_retval): Likewise.
6837 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6838 macro.
6839 (pltexit): Likewise.
6840 (La_regs): Likewise.
6841 (La_retval): Likewise.
6842 (int_retval): Likewise.
6843 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6844 macro.
6845 (pltexit): Likewise.
6846 (La_regs): Likewise.
6847 (La_retval): Likewise.
6848 (int_retval): Likewise.
6849 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6850 macro definitions in tst-audit.h.
6851 * sysdeps/i386/tst-audit.h: New file.
6852 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6853 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6854 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6855 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6856 * sysdeps/sh/tst-audit.h: Likewise.
6857 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6858 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6859 * sysdeps/x86_64/tst-audit.h: Likewise.
6860
bfc07087
AJ
68612012-07-26 Andreas Jaeger <aj@suse.de>
6862
b1b2aaf8
AJ
6863 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6864 ptrace.
6865
6866 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6867 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6868 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6869 PTRACE_O_MASK.
6870 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6871 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6872 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6873
bfc07087
AJ
6874 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6875 value.
6876
6877 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6878 _sigsys.
6879 (si_call_addr, si_syscall, si_arch): Define new macro.
6880 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6881 _sigsys.
6882 (si_call_addr, si_syscall, si_arch): Define new marcro.
6883 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6884 _sigsys.
6885 (si_call_addr, si_syscall, si_arch): Define new macro.
6886 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6887 _sigsys.
6888 (si_call_addr, si_syscall, si_arch): Define new macro.
6889
89b4b02f
JM
68902012-07-25 Joseph Myers <joseph@codesourcery.com>
6891
6892 [BZ #13717]
6893 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6894 Change to 2.4.21 where previously 2.4.1.
6895 * sysdeps/unix/sysv/linux/configure: Regenerated.
6896 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6897 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6898 Linux kernel version.
6899 (__ASSUME_STD_AUXV): Remove.
6900 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6901 kernel version.
6902 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6903 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6904 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6905 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6906 (__ASSUME_NETLINK_SUPPORT): Likewise.
6907 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6908 (__no_netlink_support): Remove conditional definition.
6909 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6910 Remove.
6911 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6912 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6913 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6914 (if_nameindex_ioctl): Remove.
6915 (if_nameindex_netlink): Do not handle __no_netlink_support.
6916 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6917 code.
6918 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6919 Remove conditional code.
6920 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6921 code.
6922 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6923 unconditional.
6924 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6925 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6926 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6927 Remove.
6928 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6929 [!__ASSUME_STD_AUXV]: Remove conditional code.
6930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6931 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6932 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6934 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6935 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6936 code.
6937 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6939 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6940 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6941 conditional code.
6942 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6944 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6945 code.
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6947 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6948 conditional code.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6950 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6951 code unconditional.
6952 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6953 conditional code.
6954 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6955 unconditional.
6956 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6957 conditional code.
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6959 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6960 unconditional.
6961 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6962 conditional code.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6964 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6965 code unconditional.
6966 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6967 conditional code.
6968 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6969 unconditional.
6970 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6971 conditional code.
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6973 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6974 code unconditional.
6975 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6976 conditional code.
6977 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6978 unconditional.
6979 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6980 conditional code.
6981
842a39cd
AS
69822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6983
6984 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6985 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6986 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6987 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6988 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6989 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6990 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6991 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6992 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6993 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6994 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6995 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6996 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6997 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6998 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6999 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7000 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7001 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7002 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7004 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7005 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7006 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7007
84b3fd84
FW
70082012-07-25 Florian Weimer <fweimer@redhat.com>
7009
7010 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7011 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7012 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7013 Introduce __libc_secure_getenv.
0c7936d5
FW
7014 * stdlib/Versions (2.17): Add secure_getenv
7015 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7016 * stdlib/secure-getenv.c: Rename __secure_getenv to
7017 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7018 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7019 * stdlib/tst-secure-getenv.c: New.
7020 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7021 * manual/startup.texi (Environment Access): Document
7022 secure_getenv.
84b3fd84
FW
7023 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7024 __libc_secure_getenv.
7025 * inet/ruserpass.c (ruserpass): Likewise.
7026 * malloc/mtrace.c (mtrace): Likewise.
7027 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7028 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7029 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7030 * sysdeps/posix/tempname.c: Likewise. Evaluate
7031 HAVE_SECURE_GETENV.
7032 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7033 __secure_getenv to __libc_secure_getenv.
84b3fd84 7034 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7036 Likewise.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7038 Likewise.
7039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7041 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7046
56e49b71
JM
70472012-07-25 Joseph Myers <joseph@codesourcery.com>
7048
7049 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7050 (struct La_i86_retval): Likewise.
7051 (struct La_x86_64_regs): Likewise.
7052 (struct La_x86_64_retval): Likewise.
7053 (struct La_x32_regs): Likewise.
7054 (struct La_x32_retval): Likewise.
7055 (struct La_ppc32_regs): Likewise.
7056 (struct La_ppc32_retval): Likewise.
7057 (struct La_ppc64_regs): Likewise.
7058 (struct La_ppc64_retval): Likewise.
7059 (struct La_sh_regs): Likewise.
7060 (struct La_sh_retval): Likewise.
7061 (struct La_s390_32_regs): Likewise.
7062 (struct La_s390_32_retval): Likewise.
7063 (struct La_s390_64_regs): Likewise.
7064 (struct La_s390_64_retval): Likewise.
7065 (struct La_sparc32_regs): Likewise.
7066 (struct La_sparc32_retval): Likewise.
7067 (struct La_sparc64_regs): Likewise.
7068 (struct La_sparc64_retval): Likewise.
7069 (struct audit_ifaces): Remove architecture-specific pltenter and
7070 pltexit members.
7071 * sysdeps/i386/ldsodefs.h: New file.
7072 * sysdeps/powerpc/ldsodefs.h: Likewise.
7073 * sysdeps/s390/ldsodefs.h: Likewise.
7074 * sysdeps/sh/ldsodefs.h: Likewise.
7075 * sysdeps/sparc/ldsodefs.h: Likewise.
7076 * sysdeps/x86_64/ldsodefs.h: Likewise.
7077
354691b7
MP
70782012-07-25 Marek Polacek <polacek@redhat.com>
7079
7080 [BZ #6808]
7081 * math/libm-test.inc (yn_test): Add another test.
7082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7083 to ERANGE when the result is +-Inf.
7084 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7085 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7086 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7087 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7088
bf9e2071
JM
70892012-07-24 Joseph Myers <joseph@codesourcery.com>
7090
7091 * conform/data/time.h-data (NULL): Use macro-constant. Require
7092 equal to 0.
7093 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7094 clock_t.
7095 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7096
57633811
TS
70972012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7098
7099 * configure.in <sysdeps resolving>: Correct printing
7100 Implies_before.
7101 * configure: Regenerate.
7102
c23c33b0
TS
71032012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7104
7105 * math/w_ilogb.c: Include <limits.h>.
7106 * math/w_ilogbl.c: Likewise.
7107
b5982523
JM
71082012-07-20 Joseph Myers <joseph@codesourcery.com>
7109
7110 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7111 va_copy. Document allowing for unavailable va_copy only as
7112 pre-C99 compatibility.
7113 * manual/string.texi (Copying and Concatenation): Use va_copy
7114 instead of __va_copy in concat example.
7115
ac4ea442
PT
71162012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7117
7118 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7119 (__sendto): Use create_address_port. Initialize APORT and deallocate
7120 it if not null.
7121
f98eafbd
PT
7122 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7123 with O_NOLINK passed to __file_name_lookup.
7124
898c7aab
PT
7125 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7126 with O_NOLINK passed to __file_name_lookup.
7127
0ced335a
PT
7128 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7129 negative N or less than NGIDS.
7130
b3404dbd
PT
7131 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7132 type to string_t. Set ERANGE as errno and return it if NAME is not big
7133 enough. Use memcpy instead of strncpy.
7134
0f48659e
JM
71352012-07-20 Joseph Myers <joseph@codesourcery.com>
7136
7137 * elf/Makefile (check-data): Remove.
7138 (localplt.data): New vpath directive.
7139 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7140 instead of $(check-data).
7141 * scripts/data/localplt-generic.data: Move to ...
7142 * sysdeps/generic/localplt.data: ... here.
7143 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7144 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7145 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7147 ... here.
7148 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7150 ... here.
7151 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7153 ... here.
7154 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7156 ... here.
7157 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7159 ... here.
7160 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7162 ... here.
7163
d37cbdaa
AZ
71642012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7165
7166 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7167 PPC32 and PPC64 files.
7168 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7169 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7170
46f85fc2
AK
71712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7172
7173 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7174 __makecontext_ret to ...
7175 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7176 ... here and call exit if uc_link is NULL. New file.
7177 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7178 __makecontext_ret.S.
7179 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7180 __makecontext_ret to ...
7181 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7182 ... here and call exit if uc_link is NULL. New file.
7183 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7184 __makecontext_ret.S.
7185
08f43f9b
AK
71862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7187
7188 * elf/elf.h (R_390_IRELATIVE): New definition.
7189 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7190 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7191 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7192 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7193 (elf_machine_lazy_rel): Likewise.
7194 * sysdeps/s390/dl-irel.h: New file.
7195 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7196 * sysdeps/s390/s390-64/memset.S: New asm code.
7197 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7198 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7199 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7200 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7201 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7202 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7203 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7204 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7205 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7206 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7207 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7208 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7209 * sysdeps/s390/s390-32/memset.S: New asm code.
7210 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7211
3b05db33
MP
72122012-07-17 Marek Polacek <polacek@redhat.com>
7213
7214 [BZ #14349]
7215 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7216 * sysdeps/s390/s390-64/configure.in: Likewise.
7217 * sysdeps/sparc/configure.in: Likewise.
7218 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7219 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7220 * sysdeps/i386/configure.in: Likewise.
7221 * sysdeps/x86_64/configure.in: Likewise.
7222 * sysdeps/sh/configure.in: Likewise.
7223 * sysdeps/s390/s390-32/configure: Regenerated.
7224 * sysdeps/s390/s390-64/configure: Likewise.
7225 * sysdeps/x86_64/configure: Likewise.
7226 * sysdeps/sh/configure: Likewise.
7227 * sysdeps/powerpc/powerpc64/configure: Likewise.
7228 * sysdeps/powerpc/powerpc32/configure: Likewise.
7229 * sysdeps/sparc/configure: Likwise.
7230 * sysdeps/i386/configure: Likewise.
7231
a66877c6
MP
7232 * elf/dl-open.c: Comment fixes.
7233
cfc82fd8
JM
72342012-07-17 Joseph Myers <joseph@codesourcery.com>
7235
bd29910a
JM
7236 * Makefile [CXX] (check-data): Remove.
7237 [CXX] (c++-types.data): New vpath directive.
7238 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7239 vpath. Do not allow for C++ type data being missing.
7240 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7241 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7242 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7243 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7244 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7245 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7246 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7248 ... here.
7249 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7251 ... here.
7252 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7254 ... here.
7255 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7257 ... here.
7258 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7260 ... here.
7261 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7263 ... here.
7264 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7266 ... here.
7267 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7269
cfc82fd8
JM
7270 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7271 definitions to architecture-specific files.
7272 (TLS_IE): Likewise.
7273 (TLS_LD): Likewise.
7274 (TLS_GD): Likewise.
7275 * sysdeps/i386/tls-macros.h: New file.
7276 * sysdeps/powerpc/tls-macros.h: Likewise.
7277 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7278 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7279 * sysdeps/sh/tls-macros.h: Likewise.
7280 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7281 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7282 * sysdeps/x86_64/tls-macros.h: Likewise.
7283
f7db3170
TS
72842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7285
07cbfc23
TS
7286 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7287 zero value for regular exit case.
7288
f7db3170
TS
7289 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7290 (__start_context): Preserve zero value for regular exit case.
7291
dc97c227
TS
72922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7293 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7294
7295 * manual/setjmp.texi (setcontext): Clarify normal process
7296 termination when uc_link is the null pointer.
7297 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7298 exit call.
7299
d0cd7d02
AS
73002012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7301
7302 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7303 preprocessor. Test for each exception mask separately.
7304
dd318934
AJ
73052012-07-16 Andreas Jaeger <aj@suse.de>
7306
7307 * po/ru.po: Update from translation team.
7308
8048311a
JM
73092012-07-15 Joseph Myers <joseph@codesourcery.com>
7310
7311 * conform/data/string.h-data (NULL): Use macro-constant. Require
7312 equal to 0.
7313 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7314 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7315 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7316 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7317 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7318
b637d46e
AJ
73192012-07-13 Andreas Jaeger <aj@suse.de>
7320
7321 * po/fr.po: Update from translation team.
7322
541428fe
MP
73232012-07-12 Marek Polacek <polacek@redhat.com>
7324
7325 [BZ #14173]
7326 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7327 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7328 loop condition.
7329
ec332e94
JM
73302012-07-12 Joseph Myers <joseph@codesourcery.com>
7331
7332 [BZ #13717]
7333 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7334 Change to 2.4.1 where previously 2.4.0.
7335 * sysdeps/unix/sysv/linux/configure: Regenerated.
7336 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7337 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7338 version.
7339 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7340 (__ASSUME_AT_CLKTCK): Remove.
7341 (__ASSUME_AT_PAGESIZE): Likewise.
7342 (__ASSUME_AT_XID): Likewise.
7343 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7344 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7345 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7346 unconditionally.
7347 (HAVE_AUX_PAGESIZE): Likewise.
7348 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7349 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7350 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7351
7b6e99be
JB
73522012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7353
7354 [BZ #14307]
7355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7356 the temporary buffer used to invoke __gethostbyname2_r,
7357 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7358 host_data / struct gaih_addrtuple.
7359 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7360 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7361 header file nss/nsswitch.h.
7362 * nss/nsswitch.h (global scope): Add definition of implementation
7363 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7364 resolv/nss_dns/dns-host.c).
7365
608404eb
AJ
73662012-07-11 Andreas Jaeger <aj@suse.de>
7367
7368 * po/fr.po: Update from translation team.
7369
71220aca
AJ
7370 * po/sv.po: Update from translation team
7371 * po/fr.po: Another update from translation team.
7372
28cfe843
AZ
73732012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7374
7375 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7376 for subnormals or multiply small sinh result by itself.
7377 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7379
6b90f981
DM
73802012-07-11 David S. Miller <davem@davemloft.net>
7381
7382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7383
c6825772
AS
73842012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7385
7386 [BZ #14347]
7387 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7388 (INTERNAL_MARK): Shift it here.
7389
7b8e0d49
MP
73902012-07-10 Marek Polacek <polacek@redhat.com>
7391
7392 [BZ #14151]
7393 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7394 libc_cv_asm_global_directive with .globl.
7395 * configure: Regenerated.
7396 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7397 with .globl.
7398 * sysdeps/i386/configure: Regenerated.
7399 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7400 with .globl.
7401 * sysdeps/x86_64/configure: Regenerated.
7402 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7403 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7404 * elf/tst-unique2mod2.c: Likewise.
7405 * elf/tst-unique2mod1.c: Likewise.
7406 * elf/tst-unique1mod2.c: Likewise.
7407 * elf/tst-unique1mod1.c: Likewise.
7408 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7409 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7410 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7411 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7412 * sysdeps/mach/sysdep.h: Likewise.
7413 * sysdeps/i386/sysdep.h: Likewise.
7414 * sysdeps/i386/i386-mcount.S: Likewise.
7415 * sysdeps/x86_64/_mcount.S: Likewise.
7416 * sysdeps/x86_64/sysdep.h: Likewise.
7417 * sysdeps/sh/_mcount.S: Likewise.
7418 * sysdeps/sh/sysdep.h: Likewise.
7419 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7420 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7421 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7422 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7423 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7424 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7425 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7426 * locale/localeinfo.h: Likewise.
7427 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7428 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7429
6c55cda3
RM
74302012-07-09 Roland McGrath <roland@hack.frob.com>
7431
7432 [BZ #14336]
7433 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7434 system".
7435 * manual/message.texi (The Uniforum approach): Likewise.
7436 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7437 (glibc iconv Implementation): Likewise.
7438
638a572e
JM
74392012-07-09 Joseph Myers <joseph@codesourcery.com>
7440
7441 [BZ #14337]
7442 * math/s_clog.c (__clog): Avoid scaling a value down where that
7443 could result in underflow.
7444 * math/s_clog10.c (__clog10): Likewise.
7445 * math/s_clog10f.c (__clog10f): Likewise.
7446 * math/s_clog10l.c (__clog10l): Likewise.
7447 * math/s_clogf.c (__clogf): Likewise.
7448 * math/s_clogl.c (__clogl): Likewise.
7449 * math/libm-test.inc (clog_test): Add more tests.
7450 (clog10_test): Likewise.
7451 * sysdeps/i386/fpu/libm-test-ulps: Update.
7452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7453
261f4859
AS
74542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7455
0abaf3e4
AS
7456 [BZ #14283]
7457 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7458 by 7 not 8 to examine high bit of fractional part.
7459
261f4859
AS
7460 [BZ #14042]
7461 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7462 for call to __mcount_internal.
7463 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7464 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7465 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7466
f17ac40d
JM
74672012-07-06 Joseph Myers <joseph@codesourcery.com>
7468
9ad63c23
JM
7469 [BZ #14154]
7470 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7471 approximation for values within 0x1p-13f of an odd multiple of
7472 pi/4.
7473 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7474 exception. Add more tests.
7475 * sysdeps/i386/fpu/libm-test-ulps: Update.
7476
f17ac40d
JM
7477 [BZ #6778]
7478 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7479 inputs and return -1 for them. Do not check for +Inf in case not
7480 reachable for +Inf.
7481 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7482 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7483 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7484 and return -1 for them. Do not check for +Inf in case not
7485 reachable for +Inf.
7486 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7487 define.
7488 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7489 and return -1 for them. Do not check for +Inf in case not
7490 reachable for +Inf.
7491 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7492 spurious underflow.
7493 * sysdeps/i386/fpu/libm-test-ulps: Update.
7494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7495
fb21f89b
MF
74962012-07-06 Mike Frysinger <vapier@gentoo.org>
7497
7498 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7499
cdfe2c5e
JM
75002012-07-05 Joseph Myers <joseph@codesourcery.com>
7501
7502 [BZ #14157]
7503 [BZ #14331]
7504 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7505 could result in spurious underflow. Scale down values above
7506 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7507 * math/s_csqrtf.c (__csqrtf): Likewise.
7508 * math/s_csqrtl.c (__csqrtl): Likewise.
7509 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7510 spurious underflow.
7511 * sysdeps/i386/fpu/libm-test-ulps: Update.
7512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7513
70d35b67
AS
75142012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7515
704bc459
AS
7516 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7517 xopen-msg.sed.
7518 * catgets/xopen-msg.awk: New file.
7519 * catgets/xopen-msg.sed: Removed.
7520
70d35b67
AS
7521 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7522 po2text.sed.
7523 * intl/po2test.awk: New file.
7524 * intl/po2test.sed: Removed.
7525
ca61cf32
JM
75262012-07-04 Joseph Myers <joseph@codesourcery.com>
7527
7528 [BZ #14328]
7529 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7530 or multiply small sinh result by itself.
7531 * math/s_ctanf.c (__ctanf): Likewise.
7532 * math/s_ctanh.c (__ctanh): Likewise.
7533 * math/s_ctanhf.c (__ctanhf): Likewise.
7534 * math/s_ctanhl.c (__ctanhl): Likewise.
7535 * math/s_ctanl.c (__ctanl): Likewise.
7536 * math/libm-test.inc (ctan_test_tonearest): New function.
7537 (ctan_test_towardzero): Likewise.
7538 (ctan_test_downward): Likewise.
7539 (ctan_test_upward): Likewise.
7540 (ctanh_test_tonearest): Likewise.
7541 (ctanh_test_towardzero): Likewise.
7542 (ctanh_test_downward): Likewise.
7543 (ctanh_test_upward): Likewise.
7544 (main): Call these new functions.
7545 * sysdeps/i386/fpu/libm-test-ulps: Update.
7546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7547
ca48a46a
MF
75482012-07-03 Mike Frysinger <vapier@gentoo.org>
7549
7550 * .gitignore: Delete /ports entry.
7551
9d63d37d
AJ
75522012-07-03 Andreas Jaeger <aj@suse.de>
7553
7554 * po/bg.po: Update from translation team.
7555 * po/cs.po: Likewise.
7556 * po/de.po: Likewise.
7557 * po/hr.po: Likewise.
7558 * po/nl.pl: Likewise.
7559 * po/pl.po: Likewise.
7560 * po/vi.po: Likewise.
7561
370ca3d2
JM
75622012-07-03 Joseph Myers <joseph@codesourcery.com>
7563
95f5a9a8
JM
7564 * Makeconfig [!+link] (+link-before-libc): New variable.
7565 [!+link] (+link-after-libc): Likewise.
7566 [!+link] (+link-tests): Likewise.
7567 [!+link] (+link): Define in terms of $(+link-before-libc) and
7568 $(+link-after-libc).
7569 [!+link-static] (+link-static-before-libc): New variable.
7570 [!+link-static] (+link-static-after-libc): Likewise.
7571 [!+link-static] (+link-static-tests): Likewise.
7572 [!+link-static] (+link-static): Define in terms of
7573 $(+link-static-before-libc) and $(+link-static-after-libc).
7574 [build-shared] (link-libc-before-gnulib): New variable.
7575 [build-shared] (link-libc-tests): Likewise.
7576 [build-shared] (link-libc): Define in terms of
7577 $(link-libc-before-gnulib).
7578 [!build-shared] (link-libc-tests): New variable.
7579 (link-libc-static-tests): New variable.
7580 [!gnulib] (gnulib-arch): New variable.
7581 [!gnulib] (gnulib-tests): Likewise.
7582 [!gnulib] (static-gnulib-arch): Likewise.
7583 [!gnulib] (static-gnulib-tests): Likewise.
7584 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7585 Define with "=" instead of ":=".
7586 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7587 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7588 * Rules (binaries-all-notests): New variable.
7589 (binaries-all-tests): Likewise.
7590 (binaries-static-notests): Likewise.
7591 (binaries-static-tests): Likewise.
7592 (binaries-all): Define using $(binaries-all-notests) and
7593 $(binaries-all-tests).
7594 (binaries-static): Define using $(binaries-static-notests) and
7595 $(binaries-static-tests).
7596 (binaries-shared-tests): New variable.
7597 (binaries-shared-notests): Likewise.
7598 (binaries-shared): Remove variable.
7599 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7600 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7601 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7602 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7603 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7604 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7605 * elf/Makefile (sln-modules): New variable.
7606 (extra-objs): Add $(sln-modules:=.o).
7607 (ldconfig-modules): Add static-stubs.
7608 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7609 * elf/static-stubs.c: New file.
7610
7a845b2c
JM
7611 [BZ #14283]
7612 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7613 by 7 not 8 to examine high bit of fractional part. Use volatile
7614 variables when splitting into final array of floats if
7615 __FLT_EVAL_METHOD__ != 0.
7616 * math/libm-test.inc (cos_test): Add another test.
7617 (sin_test): Likewise.
7618 * sysdeps/i386/fpu/libm-test-ulps: Update.
7619
e2283f38
JM
7620 [BZ #14273]
7621 * math/libm-test.inc (cosh_test): Add more tests.
7622
370ca3d2
JM
7623 * version.h (RELEASE): Set to "development".
7624 (VERSION): Set to "2.16.90".
7625
ee9247c3
CD
76262012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7627
7628 * NEWS: Update copyright. Remove last-updated date.
7629 Mention math library bug fixes and timezone data changes.
7630 * README: Mention GNU/Hurd, x32, and HPPA support status.
7631
4648c381
TS
76322012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7633
7634 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7635
aac78a43
AJ
76362012-06-27 Andreas Jaeger <aj@suse.de>
7637
7638 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7639
ed3dbfad
AJ
76402012-06-25 Andreas Jaeger <aj@suse.de>
7641
7642 * sysdeps/s390/fpu/libm-test-ulps: Update.
7643
4d0ee855
AS
76442012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7645 Thomas Schwinge <thomas@codesourcery.com>
7646
7647 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7648 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7649 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7650 fanotify_mark.
7651
af1bce34
TS
76522012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7653
a9fa33ba
TS
7654 * sysdeps/mach/start.c: Remove file.
7655 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7656 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7657 * sysdeps/sh/init-first.c: Likewise.
7658
58f902b8
TS
7659 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7660 registers for frame unwinding purposes, add CFI directives.
7661 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7662 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7663 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7664 Likewise.
7665
1518f58b
TS
7666 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7667 __fortify_fail returning.
7668 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7669
db9b5059
TS
7670 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7671 sysdeps/sh/____longjmp_chk.S.
7672 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7673 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7674 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7675 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7676
967705fe
TS
7677 * sysdeps/sh/abort-instr.h: New file.
7678 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7679 process in case exit returns.
7680
a9def8c4
TS
7681 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7682 initialize the GOT register before use.
7683
2a649725
TS
7684 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7685 calculation of ARGC > 4.
7686
af1bce34
TS
7687 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7688 meaningful names to some local labels.
7689
d230f50a
KK
76902012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7691 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7692
7693 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7694 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7695 (__arch_compare_and_exchange_val_16_acq): Likewise.
7696 (__arch_compare_and_exchange_val_32_acq): Likewise.
7697 (atomic_exchange_and_add): Fix gUSA sequence.
7698 (atomic_add): Likewise.
7699 (atomic_add_negative): Likewise.
7700 (atomic_add_zero): Likewise.
7701 (atomic_bit_test_set): Likewise.
7702
0479b305
AS
77032012-06-22 Andreas Schwab <schwab@redhat.com>
7704
7705 [BZ #13579]
7706 * include/link.h (struct link_map): Add l_free_initfini.
7707 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7708 l_initfini.
7709 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7710 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7711 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7712 set.
7713
0e3933b9
CD
77142012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7715
7716 * configure.in: Use AC_LANG_SOURCE.
7717 * configure: Regenerate.
7718
4248b1b1
RM
77192012-06-22 Roland McGrath <roland@hack.frob.com>
7720
7721 * configure.in (libc_cv_localstatedir): New substituted variable.
7722 * configure: Regenerated.
7723 * config.make.in (localstatedir): New variable, substituted from
7724 libc_cv_localstatedir.
7725 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7726 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7727 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7728 * sysdeps/gnu/configure: Regenerated.
7729
006dd861
JL
77302012-06-21 Jeff Law <law@redhat.com>
7731
7732 [BZ #14277]
7733 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7734 free. Simplify list management for _LIBC case.
7735
79662d42
JM
77362012-06-21 Joseph Myers <joseph@codesourcery.com>
7737
b7abb4bf
JM
7738 [BZ #14273]
7739 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7740 Clear sign bit of 64-bit integer value before comparing against
7741 overflow value.
7742
79662d42
JM
7743 * sysdeps/mach/configure: Regenerated.
7744
1f150908
L
77452012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7746
7747 [BZ #14278]
7748 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7749
28363bbf
JL
77502012-06-21 Jeff Law <law@redhat.com>
7751
7752 [BZ #13882]
7753 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7754 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7755 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7756 * elf/dl-open.c (dl_open_worker): Likewise.
7757
09615db4
CD
77582012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7759
7760 * scripts/list-sources.sh: Scan PORTS for translations.
7761 * po/libc.pot: Regenerated.
7762
2174c6dd
AJ
77632012-06-21 Andreas Jaeger <aj@suse.de>
7764
7765 [BZ #12194]
7766 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7767 warning.
7768 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7769 * bits/byteswap-16.h (__bswap_16): Likewise.
7770 * bits/byteswap.h (__bswap_constant_16): Likewise.
7771
3ee947b1
L
77722012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7773
7774 [BZ #14117]
a2f34833
L
7775 * sysdeps/i386/fpu_control.h: Removed.
7776 * sysdeps/x86_64/fpu_control.h: Moved to ...
7777 * sysdeps/x86/fpu_control.h: Here.
7778
3ee947b1
L
7779 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7780 (_FPU_SETCW): Likewise.
7781
ed1825f8
L
77822012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7783
25f1282a
L
7784 [BZ #14117]
7785 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7786 * sysdeps/x86/fpu/bits/mathinline.h: This.
7787 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7788
ed1825f8
L
7789 [BZ #14050]
7790 [BZ #14117]
7791 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7792 functions if __x86_64__ is defined.
7793
36d54b74
CLT
77942012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7795
7796 * string/endian.h: Add !__ASSEMBLER__ condition for including
7797 conversion interfaces.
7798
10285c21
JM
77992012-06-15 Joseph Myers <joseph@codesourcery.com>
7800
7801 [BZ #14241]
7802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7803 of ABS(x) in calculating zero to negative powers other than odd
7804 integers.
7805 * math/libm-test.inc (pow_test): Add more tests.
7806
06c5abbd
AJ
78072012-06-15 Andreas Jaeger <aj@suse.de>
7808
7809 * manual/contrib.texi (Contributors): Update entry of Liubov
7810 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7811 Machado Filho.
7812
a3aeac40
CH
78132012-06-15 Cyril Hrubis <metan@ucw.cz>
7814
7815 * string/string.h: Add __wur to GNU version of strerror_r.
7816
49bdf4c1
L
78172012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7818
7819 [BZ #14229]
7820 * string/Makefile (tests): Add tst-strtok_r.
7821 * string/tst-strtok_r.c: New file.
7822 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7823 RAX_LP/RDX_LP on SAVE_PTR.
7824
834f9b8d
RM
78252012-06-14 Roland McGrath <roland@hack.frob.com>
7826
7827 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7828
75fa1921
JM
78292012-06-14 Joseph Myers <joseph@codesourcery.com>
7830
7831 * libm_test.inc (csqrt_test): Allow more spurious underflow
7832 exceptions.
7833 (j0_test): Likewise.
7834 (j1_test): Likewise.
7835 (y0_test): Likewise.
7836 (y1_test): Likewise.
7837
771766df
CD
78382012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7839
7840 * po/Makefile (libc.pot): Use UTF-8 charset.
7841
ceb9e56b
PP
78422012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7843
7844 [BZ #14210]
7845 Suppress sign-conversion warning from FD_SET.
7846 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7847 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7848 not unsigned long int.
7849 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7850
ddb28975
L
78512012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7852
7853 [BZ #14050]
7854 [BZ #14117]
7855 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7856 __extern_always_inline instead of __extern_inline.
7857 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7858 (__signbit): Likewise.
7859 (__signbitl): Support C++ namespace.
7860 (lrintf): New inline function.
7861 (lrint): Likewise.
7862 (llrintf): Likewise.
7863 (llrint): Likewise.
7864 (fmaxf): Likewise.
7865 (fmax): Likewise.
7866 (fminf): Likewise.
7867 (fmin): Likewise.
7868 (rint): Likewise.
7869 (rintf): Likewise.
7870 (ceil): Likewise.
7871 (ceilf): Likewise.
7872 (floor): Likewise.
7873 (floorf): Likewise.
7874 (nearbyint): Likewise.
7875 (nearbyintf): Likewise.
7876
d7b4fb26
TS
78772012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7878
7879 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7880 non-default versions.
7881
eb55f5c2
RM
78822012-06-11 Roland McGrath <roland@hack.frob.com>
7883
7884 [BZ #14218]
7885 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7886
366af02c
TS
78872012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7888
99ff6e5c
TS
7889 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7890 (FE_UPWARD, FE_DOWNWARD): Don't define.
7891 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7892 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7893
366af02c
TS
7894 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7895 reading it.
7896 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7897 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7898
793ea851
KK
78992012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7900
7901 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7902 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7903 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7904 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7905
a728a38f
L
79062012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7907
7908 [BZ #14117]
c08010c7
L
7909 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7910 * sysdeps/i386/fpu/Implies: New file.
7911 * sysdeps/x86_64/fpu/Implies: Likewise.
7912 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7913 * sysdeps/x86/fpu/bits/fenv.h: This.
7914
a728a38f
L
7915 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7916 __SSE_MATH__.
7917
6e230d11
SP
79182012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7919
7920 [BZ #14134]
7921 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7922 character 0xffff that matches the last element of the
7923 conversion table.
7924
1b671feb
AZ
79252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7926
7927 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7928 fmodl commit.
7929
6043738b
AZ
79302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7931
7932 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7933 values higher than 25.6283.
7934
34ae0b32
AZ
79352012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7936
7937 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7938 subnormal exponent extraction and add some __builtin_expect.
7939 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7940 Fix for subnormal mantissa calculation.
7941
1214ec8f
MF
79422012-06-04 Mike Frysinger <vapier@gentoo.org>
7943
7944 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7945 cpu2 is -1 and errno is not ENOSYS.
7946
f3d1f93c
L
79472012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7948
7949 [BZ #14117]
0e4a3cd7
L
7950 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7951 * sysdeps/x86/bits/string.h: This.
7952 * sysdeps/x86_64/bits/string.h: Removed.
7953
6704c645
L
7954 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7955 if not compiling for x86-64, but compiling for >= i486.
7956
48495318
L
7957 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7958 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7959
14adcbfc
L
7960 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7961 New macro from Linux kernel 3.4.0.
7962 (FP_XSTATE_MAGIC2): Likewise.
7963 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7964 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7965 (struct _fpx_sw_bytes): New struct.
7966 (struct _xsave_hdr): Likewise.
7967 (struct _ymmh_state): Likewise.
7968 (struct _xstate): Likewise.
7969
68e408ab
L
7970 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7971 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7972 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7973 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7974 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7975 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7976
f3d1f93c
L
7977 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7978 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7979 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7980 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7981 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7982 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7983
d9dc34cd
TMQMF
79842012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7985
7986 [BZ #13743]
7987 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7988 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7989 (sysdep_headers): Include sys/platform/ppc.h.
7990 * sysdeps/powerpc/test-gettimebase.c: Test for
7991 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7992 * manual/Makefile (appendices): Include platform.texi.
7993 * manual/contrib.texi (Contributors): Update @node pointers.
7994 * manual/maint.texi (Maintenance): Likewise.
7995 (Platform): New node.
7996 * manual/platform.texi: New file. Document the new features.
7997
4af3879c
SP
79982012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7999 Jakub Jelinek <jakub@redhat.com>
8000
8001 [BZ #14188]
8002 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8003 where __builtin_expect is unavailable.
8004
2fd6ff13
DM
80052012-06-03 David S. Miller <davem@davemloft.net>
8006
8007 * stdlib/longlong.h: Updated from GCC.
8008
173f7220
AS
80092012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8010
8011 [BZ #14042]
8012 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8013 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8014 __mcount_internal.
8015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8016 (GLIBC_2.16): Likewise.
8017
f34a1c6f
L
80182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8019
8020 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8021
88a4576f
JM
80222012-06-01 Joseph Myers <joseph@codesourcery.com>
8023
ea32bcdd
JM
8024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8025 (default-abi): New variable.
8026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8027 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8028 variable.
8029 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8030 Likewise.
8031 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8032 Likewise.
8033 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8034 Likewise.
8035
88a4576f
JM
8036 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8037 definition. Document in comment.
8038
402fe938
DM
80392012-06-01 David S. Miller <davem@davemloft.net>
8040
8041 * stdlib/longlong.h: Updated from GCC.
8042
3553723f
L
80432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8044
8045 [BZ #14117]
3bd872c4
L
8046 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8047 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8048 sys/debugreg.h sys/io.h here.
8049 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8050 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8051 sys/io.h.
8052 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8053 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8054 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8055 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8056 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8057 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8058
3553723f
L
8059 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8060 Define only if __x86_64__ is defined.
8061
4842e4fe
JM
80622012-06-01 Joseph Myers <joseph@codesourcery.com>
8063
c5bfe3d5
JM
8064 [BZ #14048]
8065 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8066 Use int64_t for variable i.
8067 * math/libm-test.inc (fmod_test): Add more tests.
8068
4842e4fe
JM
8069 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8070 z computation is not scheduled after fetestexcept.
8071 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8072 Use math_force_eval instead of asm to ensure calculation scheduled
8073 before exception test.
8074 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8075 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8076
efb73488
AJ
80772012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8078
8079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8080 computation is not scheduled after fetestexcept.
8081
29bcce7c
L
80822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8083
8084 [BZ #14117]
8085 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8086 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8087
73a68f94
AZ
80882012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8089
8090 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8091 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8092
67b6df78
L
80932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8094
edf2933a 8095 [BZ #14117]
ebc64a18
L
8096 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8097 <bits/wordsize.h>.
8098 (__WCHAR_MIN): Support __WORDSIZE == 64.
8099 (__WCHAR_MAX): Likewise.
8100
edf2933a
L
8101 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8102 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8103
57c6cf40
L
8104 [BZ #14183]
8105 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8106 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8107
67b6df78 8108 [BZ #14117]
8eb6281e
L
8109 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8110 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8111
aac639f4
L
8112 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8113 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8114
67b6df78
L
8115 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8116 Defined to 1 if __x86_64__ isn't defined.
8117 (_STAT_VER_LINUX_OLD): New.
8118 (st_atime): Remove duplicate.
8119 (st_mtime): Likewise.
8120 (st_ctime): Likewise.
8121
1c2cfe81
DM
81222012-05-31 David S. Miller <davem@davemloft.net>
8123
8124 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8125 entries.
8126
5be8418c
AS
81272012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8128
e7725326
AS
8129 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8130 gen-libm-test.pl.
8131
5be8418c
AS
8132 [BZ #14132]
8133 * elf/dl-reloc.c: Include <_itoa.h>.
8134 (_dl_reloc_bad_type): Remove use of INTUSE.
8135 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8136 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8137 * stdio-common/psiginfo.c (psiginfo): Likewise.
8138 * stdio-common/psignal.c (psignal): Likewise.
8139 * string/strsignal.c (strsignal): Likewise.
8140 * include/signal.h (_sys_siglist): Declare hidden proto.
8141 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8142 INTVARDEF with libc_hidden_data_def.
8143 * stdio-common/itoa-udigits.c: Likewise.
8144 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8145 (_itoa_lower_digits_internal): Remove declaration.
8146 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8147 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8148 (_sys_sigabbrev_internal): Remove aliases.
8149 (_sys_siglist): Define hidden alias.
8150
507352f1
MT
81512012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8152
8153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8154 bits/sysctl.h.
8155
42bbb1c3
L
81562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8157
8158 [BZ #14117]
6bd784b6
L
8159 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8160 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8161
8bca20f0
L
8162 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8163 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8164 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8165 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8166 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8167 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8168
f9e890a9
L
8169 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8170 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8171 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8172
471101a1
L
8173 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8174 with __addr.
8175 (insw): Likewise.
8176 (insl): Likewise.
8177 (outsb): Likewise.
8178 (outsw): Likewise.
8179 (outsl): Likewise.
8180
6451c862
L
8181 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8182 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8183 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8184
a254b8c9
L
8185 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8186 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8187 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8188 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8189 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8190 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8191
b8dfdd92
L
8192 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8193 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8194
578cd270
L
8195 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8196 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8197
de662f5f
L
8198 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8200 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8201
25653439
L
8202 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8203 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8204 to ...
8205 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8206
6bad24a0
L
8207 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8208 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8209 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8210
42bbb1c3
L
8211 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8212 for x86-64.
8213 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8214
2d10d547
JM
82152012-05-31 Joseph Myers <joseph@codesourcery.com>
8216
8217 * math/math.h (M_El): Use two more decimal places.
8218 (M_LOG2El): Likewise.
8219 (M_LOG10El): Likewise.
8220 (M_LN2l): Likewise.
8221 (M_LN10l): Likewise.
8222 (M_PIl): Likewise.
8223 (M_PI_2l): Likewise.
8224 (M_PI_4l): Likewise.
8225 (M_1_PIl): Likewise.
8226 (M_2_PIl): Likewise.
8227 (M_2_SQRTPIl): Likewise.
8228 (M_SQRT2l): Likewise.
8229 (M_SQRT1_2l): Likewise.
8230
f230c29b
DM
82312012-05-31 David S. Miller <davem@davemloft.net>
8232
8233 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8234 values between float registers.
8235 * sysdeps/sparc/sparc64/memset.S: Likewise.
8236 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8237
fed806c3
MF
82382012-05-31 Mike Frysinger <vapier@gentoo.org>
8239
8240 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8241 -D_FORTIFY_SOURCE=1.
8242 (CPPFLAGS-tst-longjmp_chk.c): Define.
8243 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8244 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8245 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8246 CFLAGS-tst-wchar-h.c.
8247
30917259
MP
82482012-05-31 Marek Polacek <polacek@redhat.com>
8249
8250 [BZ #14132]
8251 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8252 __endmntent_internal): Remove declaration.
8253 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8254 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8255 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8256
1c58d5dc
DM
82572012-05-30 David S. Miller <davem@davemloft.net>
8258
8259 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8260 (___Q_simulate_exceptions): Use real FP ops rather than writing
8261 into the %fsr.
8262 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8263 Likewise.
8264
7dc00e0d
L
82652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8266
8267 [BZ #14117]
0bd53985
L
8268 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8269 * sysdeps/x86/bits/xtitypes.h: This.
8270
3a257e66
L
8271 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8272 * sysdeps/x86/bits/wordsize.h: This.
8273
62f62904
L
8274 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8275 * sysdeps/x86/bits/huge_vall.h: This.
8276
404fe9d9
L
8277 * sysdeps/i386/bits/select.h: Removed.
8278 * sysdeps/x86_64/bits/select.h: Renamed to ...
8279 * sysdeps/x86/bits/select.h: This.
8280
d48d0446
L
8281 * sysdeps/i386/bits/setjmp.h: Removed.
8282 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8283 * sysdeps/x86/bits/setjmp.h: This.
8284
7dc00e0d
L
8285 * sysdeps/i386/bits/mathdef.h: Removed.
8286 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8287 * sysdeps/x86/bits/mathdef.h: This.
8288
03277f8f
AS
82892012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8290
8291 [BZ #14132]
8292 * include/sys/socket.h (__connect_internal)
8293 (__libc_sa_len_internal): Remove declaration.
8294 (__connect, __libc_sa_len): Declare hidden_proto.
8295 (SA_LEN): Remove use of INTUSE.
8296 * socket/connect.c: Add libc_hidden_def.
8297 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8298 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8299 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8300 alias.
8301 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8302 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8303 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8304 of adding _internal alias.
8305
13764867
L
83062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8307
8308 [BZ #14117]
6bd97696
L
8309 * sysdeps/i386/bits/link.h: Removed.
8310 * sysdeps/i386/bits/linkmap.h: Likewise.
8311 * sysdeps/x86_64/bits/link.h: Renamed to ...
8312 * sysdeps/x86/bits/link.h: This.
8313 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8314 * sysdeps/x86/bits/linkmap.h: This.
8315
f726f0bb
L
8316 * sysdeps/i386/bits/endian.h: Removed.
8317 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8318 * sysdeps/x86/bits/endian.h: This.
8319
13764867
L
8320 * sysdeps/i386/bits/byteswap.h: Removed.
8321 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8322 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8323 * sysdeps/x86/bits/byteswap.h: This.
8324 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8325 * sysdeps/x86/bits/byteswap-16.h: This.
8326 * sysdeps/i386/Implies: Add x86.
8327 * sysdeps/x86_64/Implies: Likewise.
8328
ae251b0b
DM
83292012-05-30 David S. Miller <davem@davemloft.net>
8330
8331 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8332 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8333 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8334 (FP_TRAPPING_EXCEPTIONS): Define.
8335 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8336 (FP_TRAPPING_EXCEPTIONS): Define.
8337 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8338 subnormals only when inexact has been signalled or underflow
8339 exceptions are enabled.
8340 (_FP_PACK_CANONICAL): Likewise.
8341
d5c90867
L
83422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8343
8344 [BZ #14183]
8345 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8346 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8347
63f1549e
RH
83482012-05-30 Richard Henderson <rth@twiddle.net>
8349
8d8f2279
RH
8350 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8351 with #ifndef NOT_IN_libc.
8352
63f1549e
RH
8353 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8354 marked to avoid plt entry.
8355
0ab0291b
L
83562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8357
8358 [BZ #14112]
8359 * Makeconfig (default-abi): New macro.
8360 (abi-includes): Likewise.
8361 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8362 $(abi-$(default-abi)-lib-soname) for soname if defined.
8363 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8364 abi-variants.
8365 * Makefile (installed-stubs): Likewise.
8366 * include/stubs-biarch.h: Removed.
8367 * scripts/lib-names.awk: Only handle one library at a time.
8368 * scripts/soversions.awk: Remove WORDSIZE support.
8369 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8370 entries.
8371 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8372 Removed.
8373 (syscall-list-default-condition): Likewise.
8374 (syscall-list-default-condition): Likewise.
8375 (syscall-list-includes): Likewise.
8376 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8377 syscall-list-* with abi-*. Handle undefined abi-variants.
8378 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8379 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8380 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8381 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8382 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8383 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8384 Removed.
8385 (syscall-list-32-options): Likewise.
8386 (syscall-list-32-condition): Likewise.
8387 (syscall-list-64-options): Likewise.
8388 (syscall-list-64-condition): Likewise.
8389 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8390 macro.
8391 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8392 Renamed to ...
8393 (abi-*): This.
8394 (abi-64-ld-soname): New macro.
8395 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8396 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8397 Renamed to ...
8398 (abi-*): This.
8399 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8400 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8401
4da0431d
JM
84022012-05-30 Joseph Myers <joseph@codesourcery.com>
8403
3a85279c
JM
8404 * sysdeps/unix/sysv/linux/kernel-features.h
8405 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8406 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8407 include <kernel-features.h>.
8408 [!__NR_ftruncate64]: Remove conditional code.
8409 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8410 [__NR_ftruncate64]: Make code unconditional.
8411 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8412 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8413 include <kernel-features.h>.
8414 [!__NR_ftruncate64]: Remove conditional code.
8415 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8416 [__NR_ftruncate64]: Make code unconditional.
8417 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8419 include <kernel-features.h>.
8420 [!__NR_ftruncate64]: Remove conditional code.
8421 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8422 [__NR_ftruncate64]: Make code unconditional.
8423 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8425 include <kernel-features.h>.
8426 [!__NR_ftruncate64]: Remove conditional code.
8427 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8428 [__NR_ftruncate64]: Make code unconditional.
8429 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8430
4da0431d
JM
8431 * configure.in (libc_cv_fpie): Weaken to a compile test using
8432 LIBC_TRY_CC_OPTION.
8433 * configure: Regenerated.
8434
11ef492c
AK
84352012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8436
8437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8441 Refreshed.
8442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8448 Refreshed.
8449
d66ef399
DM
84502012-05-27 David S. Miller <davem@davemloft.net>
8451
8452 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8453 (___Q_zero): New.
8454 (__Q_simulate_exceptions): Return void. Change to simulate
8455 exceptions by writing into the %fsr.
8456 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8457 (__Qp_handle_exceptions): Likewise.
8458 (numbers): Delete.
8459 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8460 __Qp_handle_exceptions.
8461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8462 __Qp_handle_exceptions.
8463 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8464 as unused and give dummy FP_RND_NEAREST initializer.
8465 (FP_INHIBIT_RESULTS): Define.
8466 (___Q_simulate_exceptions): Update declaration.
8467 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8468 formatting.
8469 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8470 as unused and give dummy FP_RND_NEAREST initializer.
8471 (__Qp_handle_exceptions): Update declaration.
8472 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8473 formatting.
8474
04fb54b5
TS
84752012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8476
8477 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8478 the temporary FPU control word.
8479 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8480 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8481 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8482 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8483 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8484 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8485 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8486 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8487 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8488 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8489 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8490
3f99608f
KK
84912012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8492
8493 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8494 fields.
8495
65a4de4e
CLT
84962012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8497
8498 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8499 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8500 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8501 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8502 Likewise.
8503 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8504 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8505 Likewise.
8506
15749d40
UD
85072012-05-27 Ulrich Drepper <drepper@gmail.com>
8508
8509 * po/h.po: Update from translation team.
8510
25dbcb27
AS
85112012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8512
3d3f8e55
AS
8513 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8514
25dbcb27
AS
8515 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8516 handling of denormals.
8517 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8518 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8519 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8520 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8521 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8523 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8524 Likewise.
8525
7ad47a80 85262012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8527
8528 [BZ #14152]
8529 * math/libm-test.inc (fma_test): Don't always expect underflow
8530 exception.
8531
9c6ea9fa
SP
85322012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8533
8534 [BZ #12416]
8535 * elf/tst-execstack.c: Include stackinfo.h.
8536 (do_test): Adjust test case to ensure that pthread_getattr_np
8537 behaviour remains the same after marking stack executable.
8538
a8239222
JM
85392012-05-25 Joseph Myers <joseph@codesourcery.com>
8540
8541 * sysdeps/unix/sysv/linux/kernel-features.h
8542 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8543 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8544 kernel-features.h.
8545 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8546 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8547 * sysdeps/unix/sysv/linux/i386/setrlimit.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
918b5606
L
85522012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8553
8554 * configure.in: Define the default includes to being none.
8555 * configure: Regenerated.
8556
3a097cc7
RM
85572012-05-25 Roland McGrath <roland@hack.frob.com>
8558
8422c9a5
RM
8559 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8560 * sysdeps/x86_64/setjmp.S: Likewise.
8561 * sysdeps/i386/bsd-setjmp.S: Likewise.
8562 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8563 * sysdeps/i386/setjmp.S: Likewise.
8564 * sysdeps/i386/__longjmp.S: Likewise.
8565 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8566 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8567
3a097cc7
RM
8568 * include/stap-probe.h: New file.
8569 * configure.in: Handle --enable-systemtap.
8570 * configure: Regenerated.
8571 * config.h.in (USE_STAP_PROBE): New #undef.
8572 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8573 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8574 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8575
21708942
JM
85762012-05-25 Joseph Myers <joseph@codesourcery.com>
8577
8578 [BZ #13717]
8579 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8580 to 2.4.0 where earlier.
8581 * sysdeps/unix/sysv/linux/configure: Regenerated.
8582 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8583 <kernel-features.h>.
8584 [__ASSUME_32BITUIDS]: Make code unconditional.
8585 [!__ASSUME_32BITUIDS]: Remove conditional code.
8586 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
8591 [__ASSUME_32BITUIDS]: Make code unconditional.
8592 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8593 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8594 <kernel-features.h>.
8595 [__ASSUME_32BITUIDS]: Make code unconditional.
8596 [!__ASSUME_32BITUIDS]: Remove conditional code.
8597 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
8634 <kernel-features.h>.
8635 [__NR_setresgid] (__setresgid): Do not declare.
8636 [__ASSUME_32BITUIDS]: Make code unconditional.
8637 [!__ASSUME_32BITUIDS]: Remove conditional code.
8638 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8639 <kernel-features.h>.
8640 [__NR_setresuid] (__setresuid): Do not declare.
8641 [__ASSUME_32BITUIDS]: Make code unconditional.
8642 [!__ASSUME_32BITUIDS]: Remove conditional code.
8643 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8644 <kernel-features.h>.
8645 [__ASSUME_32BITUIDS]: Make code unconditional.
8646 [!__ASSUME_32BITUIDS]: Remove conditional code.
8647 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
8684 (__ASSUME_SETRESUID_SYSCALL): Remove.
8685 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8686 (__ASSUME_32BITUIDS): Likewise.
8687 (__ASSUME_LDT_WORKS): Likewise.
8688 (__ASSUME_O_DIRECTORY): Likewise.
8689 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8690 architecture but not kernel version.
8691 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8692 (__ASSUME_MMAP2_SYSCALL): Likewise.
8693 (__ASSUME_STAT64_SYSCALL): Likewise.
8694 (__ASSUME_IPC64): Likewise.
8695 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8696 <kernel-features.h>.
8697 [__ASSUME_32BITUIDS]: Make code unconditional.
8698 [!__ASSUME_32BITUIDS]: Remove conditional code.
8699 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8700 <kernel-features.h>.
8701 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8702 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8703 132096]: Remove conditional code.
8704 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8705 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8706 <kernel-features.h>.
8707 [__ASSUME_32BITUIDS]: Make code unconditional.
8708 [!__ASSUME_32BITUIDS]: Remove conditional code.
8709 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
8714 <kernel-features.h>.
8715 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8716 unconditional.
8717 (__setresgid): Do not declare.
8718 [__ASSUME_32BITUIDS]: Make code unconditional.
8719 [!__ASSUME_32BITUIDS]: Remove conditional code.
8720 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8721 <kernel-features.h>.
8722 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8723 unconditional.
8724 (__setresuid): Do not declare.
8725 [__ASSUME_32BITUIDS]: Make code unconditional.
8726 [!__ASSUME_32BITUIDS]: Remove conditional code.
8727 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8728 <kernel-features.h>.
8729 [__ASSUME_32BITUIDS]: Make code unconditional.
8730 [!__ASSUME_32BITUIDS]: Remove conditional code.
8731 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8732 <kernel-features.h>.
8733 [__ASSUME_32BITUIDS]: Make code unconditional.
8734 [!__ASSUME_32BITUIDS]: Remove conditional code.
8735
a386f1cc
RH
87362012-05-25 Richard Henderson <rth@twiddle.net>
8737
8738 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8739 dl_hwcap to ifunc resolver.
8740 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8741 elf_ifunc_invoke.
8742 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8743 dl_hwcap to ifunc resolver.
8744 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8745
b6550497
JM
87462012-05-24 Joseph Myers <joseph@codesourcery.com>
8747
8748 [BZ #14153]
8749 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8750 for |x| <= 2**-26, not 2**-57.
8751 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8752 exception.
8753
b0bc23a1
JL
87542012-05-24 Jeff Law <law@redhat.com>
8755
8756 * stdio-common/Makefile (tests): Add bug25.
8757 * stdio-common/bug25.c: New test.
8758
347c92e9
L
87592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8760
8761 [BZ #13576]
8762 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8763 multiple of MALLOC_ALIGNMENT in size.
8764 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8765
6bcc8b3f
JM
87662012-05-24 Joseph Myers <joseph@codesourcery.com>
8767
8768 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8769 Require >= 256.
8770 (FILENAME_MAX): Use macro-int-constant.
8771 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8772 (_IOFBF): Use macro-int-constant.
8773 (_IOLBF): Likewise.
8774 (_IONBF): Likewise.
8775 (SEEK_CUR): Likewise.
8776 (SEEK_END): Likewise.
8777 (SEEK_SET): Likewise.
8778 (TMP_MAX): Likewise.
8779 (EOF): Use macro-int-constant. Require < 0.
8780 (NULL): Use macro-constant. Require == 0.
8781 (stdin): Require type to be FILE *.
8782 (stdout): Likewise.
8783 (stderr): Likewise.
8784 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8785 macro-int-constant.
8786 (EXIT_SUCCESS): Likewise.
8787 (NULL): Use macro-constant. Require == 0.
8788 (RAND_MAX): Use macro-int-constant.
8789 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8790 [C99-based standards] (strtof): Require function.
8791 [C99-based standards] (strtold): Likewise.
8792 [C99-based standards] (strtoll): Likewise.
8793 [C99-based standards] (strtoull): Likewise.
8794 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8795 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8796 [ISO || ISO99 || ISO11] (math.h): Likewise.
8797 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8798 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8800
d18ea0c5
AS
88012012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8802
8803 [BZ #14132]
56d25bb8
AS
8804 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8805 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8806 * intl/dgettext.c (DCGETTEXT): Likewise.
8807 * intl/gettext.c (DCGETTEXT): Likewise.
8808 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8809 * posix/regex_internal.h (gettext): Likewise.
8810 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8811 Remove declaration.
8812 * include/argz.h (__argz_count_internal)
8813 (__argz_stringify_internal): Remove declaration.
8814 (__argz_count, __argz_stringify): Declare hidden proto.
8815 * intl/dcgettext.c: Remove use of INTDEF.
8816 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8817 * string/argz-stringify.c: Likewise.
8818 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8819 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8820 Declare hidden proto.
d18ea0c5
AS
8821 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8822 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8823 Declare hidden proto.
8824 * include/stdio.h (__asprintf_internal): Don't declare.
8825 (__asprintf): Don't define as macro. Declare hidden proto.
8826 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8827 (__fsetlocking): Declare hidden proto.
8828 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8829 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8830 hidden proto.
8831 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8832 (_IO_setlinebuf): Remove use of INTUSE.
8833 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8834 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8835 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8836 Remove declaration.
8837 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8838 (_IO_do_flush): Remove use of INTUSE.
8839 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8840 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8841 (_IO_adjust_column, _IO_least_wmarker)
8842 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8843 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8844 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8845 (_IO_default_doallocate, _IO_wdefault_doallocate)
8846 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8847 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8848 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8849 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8850 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8851 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8852 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8853 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8854 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8855 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8856 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8857 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8858 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8859 proto.
8860 (_IO_flush_all_internal, _IO_adjust_column_internal)
8861 (_IO_default_uflow_internal, _IO_default_finish_internal)
8862 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8863 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8864 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8865 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8866 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8867 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8868 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8869 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8870 (_IO_file_close_internal, _IO_file_close_it_internal)
8871 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8872 (_IO_file_init_internal, _IO_file_attach_internal)
8873 (_IO_file_fopen_internal, _IO_file_read_internal)
8874 (_IO_file_sync_internal, _IO_file_seek_internal)
8875 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8876 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8877 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8878 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8879 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8880 (_IO_list_all_internal, _IO_link_in_internal)
8881 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8882 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8883 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8884 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8885 (_IO_do_write_internal, _IO_padn_internal)
8886 (_IO_getline_info_internal, _IO_getline_internal)
8887 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8888 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8889 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8890 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8891 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8892 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8893 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8894 with libc_hidden_ver, remove use of INTUSE.
8895 * libio/genops.c: Likewise.
8896 * libio/freopen.c: Likewise.
8897 * libio/freopen64.c: Likewise.
8898 * libio/iofclose.c: Likewise.
8899 * libio/iofdopen.c: Likewise.
8900 * libio/iofflush.c: Likewise.
8901 * libio/iofflush_u.c: Likewise.
8902 * libio/iofgets.c: Likewise.
8903 * libio/iofgets_u.c: Likewise.
8904 * libio/iofopen.c: Likewise.
8905 * libio/iofopncook.c: Likewise.
8906 * libio/iofread.c: Likewise.
8907 * libio/iofread_u.c: Likewise.
8908 * libio/ioftell.c: Likewise.
8909 * libio/iofwrite.c: Likewise.
8910 * libio/iogetline.c: Likewise.
8911 * libio/iogets.c: Likewise.
8912 * libio/iogetwline.c: Likewise.
8913 * libio/iopadn.c: Likewise.
8914 * libio/iopopen.c: Likewise.
8915 * libio/ioseekoff.c: Likewise.
8916 * libio/ioseekpos.c: Likewise.
8917 * libio/iosetbuffer.c: Likewise.
8918 * libio/iosetvbuf.c: Likewise.
8919 * libio/ioungetc.c: Likewise.
8920 * libio/ioungetwc.c: Likewise.
8921 * libio/iovdprintf.c: Likewise.
8922 * libio/iovsprintf.c: Likewise.
8923 * libio/iovsscanf.c: Likewise.
8924 * libio/memstream.c: Likewise.
8925 * libio/obprintf.c: Likewise.
8926 * libio/oldfileops.c: Likewise.
8927 * libio/oldiofclose.c: Likewise.
8928 * libio/oldiofdopen.c: Likewise.
8929 * libio/oldiofopen.c: Likewise.
8930 * libio/oldiopopen.c: Likewise.
8931 * libio/oldstdfiles.c: Likewise.
8932 * libio/putc.c: Likewise.
8933 * libio/setbuf.c: Likewise.
8934 * libio/setlinebuf.c: Likewise.
8935 * libio/stdfiles.c: Likewise.
8936 * libio/strops.c: Likewise.
8937 * libio/vasprintf.c: Likewise.
8938 * libio/vscanf.c: Likewise.
8939 * libio/vsnprintf.c: Likewise.
8940 * libio/vswprintf.c: Likewise.
8941 * libio/wfiledoalloc.c: Likewise.
8942 * libio/wfileops.c: Likewise.
8943 * libio/wgenops.c: Likewise.
8944 * libio/wmemstream.c: Likewise.
8945 * libio/wstrops.c: Likewise.
8946 * libio/__fpurge.c: Likewise.
8947 * libio/__fsetlocking.c: Likewise.
8948 * assert/assert.c: Likewise.
8949 * debug/fgets_chk.c: Likewise.
8950 * debug/fgets_u_chk.c: Likewise.
8951 * debug/fread_chk.c: Likewise.
8952 * debug/fread_u_chk.c: Likewise.
8953 * debug/gets_chk.c: Likewise.
8954 * debug/obprintf_chk.c: Likewise.
8955 * debug/vasprintf_chk.c: Likewise.
8956 * debug/vdprintf_chk.c: Likewise.
8957 * debug/vsnprintf_chk.c: Likewise.
8958 * debug/vsprintf_chk.c: Likewise.
8959 * malloc/mtrace.c: Likewise.
8960 * misc/error.c: Likewise.
8961 * misc/syslog.c: Likewise.
8962 * stdio-common/asprintf.c: Likewise.
8963 * stdio-common/fxprintf.c: Likewise.
8964 * stdio-common/getw.c: Likewise.
8965 * stdio-common/isoc99_fscanf.c: Likewise.
8966 * stdio-common/isoc99_scanf.c: Likewise.
8967 * stdio-common/isoc99_vfscanf.c: Likewise.
8968 * stdio-common/isoc99_vscanf.c: Likewise.
8969 * stdio-common/isoc99_vsscanf.c: Likewise.
8970 * stdio-common/printf-prs.c: Likewise.
8971 * stdio-common/printf_fp.c: Likewise.
8972 * stdio-common/printf_fphex.c: Likewise.
8973 * stdio-common/printf_size.c: Likewise.
8974 * stdio-common/putw.c: Likewise.
8975 * stdio-common/scanf.c: Likewise.
8976 * stdio-common/sprintf.c: Likewise.
8977 * stdio-common/tmpfile.c: Likewise.
8978 * stdio-common/vfprintf.c: Likewise.
8979 * stdio-common/vfscanf.c: Likewise.
8980 * stdlib/strfmon_l.c: Likewise.
8981 * sunrpc/openchild.c: Likewise.
8982 * sunrpc/xdr_stdio.c: Likewise.
8983 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8984 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8985
d6c33fda
RM
89862012-05-24 Roland McGrath <roland@hack.frob.com>
8987
c1487492
RM
8988 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8989
8990 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8991 in the third column, to generate for the shared library an IFUNC
8992 that uses _dl_vdso_vsym.
8993 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8994 * Makeconfig (object-suffixes-noshared): New variable.
8995
8996 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8997 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8998 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8999 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9000
d6c33fda
RM
9001 [BZ #14132]
9002 * include/sys/time.h (__gettimeofday): Remove macro.
9003 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9004 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9005 Remove INTDEF.
9006 (__gettimeofday): Add libc_hidden_def.
9007 (gettimeofday): Add libc_hidden_weak.
9008 * sysdeps/mach/gettimeofday.c: Likewise.
9009 * sysdeps/posix/gettimeofday.c: Likewise.
9010 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9011 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9012 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9013 (__gettimeofday_internal): Remove strong_alias.
9014 (__gettimeofday): Add libc_hidden_def.
9015 (gettimeofday): Add libc_hidden_weak.
9016 * sysdeps/unix/syscalls.list (gettimeofday):
9017 Remove __gettimeofday_internal alias.
9018
b5a2bbe6
L
90192012-05-24 Daniel Jacobowitz <drow@false.org>
9020 H.J. Lu <hongjiu.lu@intel.com>
9021
9022 [BZ #12495]
9023 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9024 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9025 (largebin_index_32_big): New.
9026 (largebin_index): Use it for 16-byte alignment.
9027 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9028 correction with front_misalign.
9029
cfba4fda
L
90302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9031
7f907421
L
9032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9034 Likewise.
9035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9036 Likewise.
9037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9038 Likewise.
9039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9040 Likewise.
9041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9042 Likewise.
9043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9044 Likewise.
9045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9046 Likewise.
9047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9048 Likewise.
9049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9050 Likewise.
9051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9052 Likewise.
9053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9054 Likewise.
9055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9056 Likewise.
9057
cfba4fda
L
9058 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9059 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9060
80bad0cc
JM
90612012-05-24 Joseph Myers <joseph@codesourcery.com>
9062
7a25eb06
JM
9063 [BZ #10846]
9064 [BZ #14036]
9065 * math/libm-test.inc (exp_test): Add test from bug 14036.
9066 (pow_test): Add test from bug 10846.
9067
795405f9
JM
9068 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9069 and other flags.
9070 (special_function): Do not include flags in test name.
9071 (parse_args): Likewise.
9072 * sysdeps/i386/fpu/libm-test-ulps: Update.
9073 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9074 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9075 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9077
80bad0cc
JM
9078 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9079 exceptions.
9080 * math/libm-test.inc ("Philosophy"): Update comment about
9081 exception testing.
9082 (UNDERFLOW_EXCEPTION): New macro.
9083 (UNDERFLOW_EXCEPTION_OK): Likewise.
9084 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9085 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9086 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9087 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9088 (INVALID_EXCEPTION_OK): Update value.
9089 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9090 (OVERFLOW_EXCEPTION_OK): Likewise.
9091 (IGNORE_ZERO_INF_SIGN): Likewise.
9092 (test_exceptions): Handle underflow exceptions.
9093 (acos_test): Update for underflow exception expectations.
9094 (cexp_test): Likewise.
9095 (clog_test): Likewise.
9096 (clog10_test): Likewise.
9097 (csqrt_test): Likewise.
9098 (ctan_test): Likewise.
9099 (ctanh_test): Likewise.
9100 (exp_test): Likewise.
9101 (exp10_test): Likewise.
9102 (exp2_test): Likewise.
9103 (expm1_test): Likewise.
9104 (fma_test): Likewise.
9105 (j0_test): Likewise.
9106 (jn_test): Likewise.
9107 (nexttoward_test): Likewise.
9108 (pow_test): Likewise.
9109 (scalbn_test): Likewise.
9110 (scalbln_test): Likewise.
9111 (tan_test): Likewise.
9112 (y1_test): Likewise.
9113 * sysdeps/i386/fpu/libm-test-ulps: Update.
9114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9115
9e0e3d0b
DM
91162012-05-23 David S. Miller <davem@davemloft.net>
9117
9118 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9119 (__libc_sigaction): Remove unused local variables.
9120
ccd0a08f
L
91212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9122
9123 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9124
62bdf9a6
PE
91252012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9126
f8591f80
PE
9127 mktime: avoid signed integer overflow
9128 * time/mktime.c (__mktime_internal): Do not mishandle the case
9129 where diff == INT_MIN.
9130
94c7d826
PE
9131 mktime: simplify computation of average
9132 * time/mktime.c (ranged_convert): Use new time_t_avg function
9133 instead of rolling our own (probably-slower) code.
9134
ce73d683
PE
9135 mktime: do not assume signed right shift propagates sign bit
9136 * time/mktime.c (isdst_differ): New static function.
9137 (__mktime_internal): No need to normalize tm_isdst now.
9138 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9139 tm_isdst values.
9140
72a22e59
PE
9141 mktime: merge another wrapv change from gnulib
9142 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9143 from some compilers.
9144
68605433
PE
9145 mktime: remove incorrect attempt at unusual arithmetics
9146 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9147 The code didn't really work on such machines anyway.
9148 (TYPE_MINIMUM): Assume two's complement.
9149 (twos_complement_arithmetic): Verify that long_int and time_t
9150 are two's complement (or unsigned, in the latter case).
9151
03cf7fe3
PE
9152 mktime: check signed shifts on long_int and time_t, too
9153 * time/mktime.c (SHR): Check that shifts work as desired
9154 on the types long_int and time_t too, as SHR is used on
9155 such types.
9156
f04dfbc2
PE
9157 mktime: do not assume 'long' is wide enough
9158 * time/mktime.c (verify): Move decl up.
9159 (long_int): New type.
9160 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9161 to remove assumption in the code that 'long' is wide enough to
9162 store year values. This assumption is not true on x32 and on
9163 some non-glibc platforms.
9164
62bdf9a6
PE
9165 mktime: merge wrapv change from gnulib
9166 * time/mktime.c (WRAPV): New macro.
9167 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9168 (guess_time_tm, __mktime_internal): Do not assume that signed
9169 integer overflow wraps around; modern compilers generate code
9170 where this assumption is no longer valid.
9171
5e292e4f
L
91722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9173
9174 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9175 Replace "jmp L(pseudo_end)" with "ret".
9176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9177 Likewise.
9178
8caf8c87
AJ
91792012-05-23 Andreas Jaeger <aj@suse.de>
9180
9181 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9182 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9183
1a09dc56
AJ
91842012-05-23 Andreas Jaeger <aj@suse.de>
9185 Maximilian Attems <max@stro.at>
9186
9187 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9188 New macros.
9189
1c87aba0
L
91902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9191
9192 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9193 code so that pseudo_end is just ret and the stack pointer is
9194 correct also for static library in error case.
9195
40e45bd5
JM
91962012-05-23 Joseph Myers <joseph@codesourcery.com>
9197
c2670533
JM
9198 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9199 move to syscalls.list.
9200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9204
40e45bd5
JM
9205 * manual/install.texi (Running make install): Do not mention Linux
9206 kernel version for which pt_chown is not needed.
9207 (Linux): Do not mention problems with nscd with 2.0 kernels.
9208 * INSTALL: Regenerated.
9209
be08eda5
AJ
92102012-05-23 Andreas Jaeger <aj@suse.de>
9211
9212 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9213 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9214 macro.
9215 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9216 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9217 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9218 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9219 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9220 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9221 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9222 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9223 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9224 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9225 * sysdeps/unix/sysv/linux/bits/in.h
9226 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9227
a6a056bb
RM
92282012-05-22 Roland McGrath <roland@hack.frob.com>
9229
9230 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9231 (PREPARE_VERSION): Just use assert instead, it will be elided
9232 under [NDEBUG] anyway.
9233
c9009328
L
92342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9235
9236 * sysdeps/unix/sysv/linux/Makefile: Include
9237 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9238 (sysdep_routines): Remove sysctl.
c9009328
L
9239 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9240 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9241 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9242 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9243 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9244
73338355
AJ
92452012-05-22 Andreas Jaeger <aj@suse.de>
9246
9247 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9248 that pseudo_end is just ret and the stack pointer is correct also
9249 for static library in error case.
9250
d44638b0
PP
92512012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9252
9253 [BZ #14122]
9254 * nss/nsswitch.c (defconfig_entries): New variable.
9255 (__nss_database_lookup): Don't leak defconfig entries.
9256 (nss_parse_service_list): Don't leak on error paths.
9257 (free_database_entries): New function.
9258 (free_defconfig): New function.
9259 (free_mem): Move common code to free_database_entries.
9260
31a39bd8
L
92612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9262
da0331a8
L
9263 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9264 Add arch_prctl.
9265 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9266
31a39bd8
L
9267 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9268 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9270 New macro.
9271 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9272 (INTERNAL_SYSCALL_TYPES): Likewise.
9273 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9274 (LOAD_REGS_TYPES_[1-6]): Likewise.
9275 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9276 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9277
45470df3
AZ
92782012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9279
9280 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9281 copysignl for GLIBC_2_0.
9282 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9283 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9284 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9285 logbl for GLIBC_2_0.
9286 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9287 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9288
98a61bcb
L
92892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9290
a4f6e481
L
9291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9292 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9293
f63d5db6
L
9294 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9295 Use "neg %eax".
9296
98a61bcb
L
9297 * time/mktime.c: Update copyright years.
9298
95770f14
PE
92992012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9300
6226efbd
PE
9301 mktime: merge comment-quoting-style change from gnulib
9302 * time/mktime.c: Quote 'like this' in comments.
9303 The GNU coding standards suggest that we no longer quote `like this',
9304 as "`" and "'" are typically rendered asymmetrically nowadays.
9305 The typical gnulib style is to quote 'like this' when quoting
9306 code, and "like this" when quoting English.
9307
b99e4f78
PE
9308 * time/mktime.c (compile-command): Add "-I.".
9309
643e01e6
PE
9310 mktime: merge mktime-internal.h change from gnulib
9311 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9312
2554247d
PE
9313 mktime: merge time_r change from gnulib
9314 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9315
826dd0ab
PE
9316 mktime: merge DEBUG change from gnulib
9317 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9318 case system <time.h> has a #define.
9319
bd83aabe
PE
9320 mktime: merge <sys/types.h> change from gnulib
9321 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9322 since <time.t> is now guaranteed to define time_t.
9323
95770f14
PE
9324 mktime: merge HAVE_CONFIG_H change from gnulib
9325 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9326
5e1a27a9
L
93272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9328
0e44a77e
L
9329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9330 Use "neg %eax".
9331
5e1a27a9
L
9332 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9333 __rlim_t cast.
9334 (struct rusage): Use anonymous union to pad each field to
9335 __syscall_slong_t.
9336
46259bec
DM
93372012-05-21 David S. Miller <davem@davemloft.net>
9338
9339 * Makefules (o-iterator): Remove .s cases.
9340 (compile-command.s): Delete.
9341 (COMPILE.s): Delete.
9342 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9343
59f0c22e
JM
93442012-05-21 Joseph Myers <joseph@codesourcery.com>
9345
9346 * configure.in (libc_cv_predef_stack_protector): Only consider
9347 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9348 * configure: Regenerated.
9349
20c07380
L
93502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9351
bbb3154b
L
9352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9353 New macro. Use R*LP on int and pointer.
9354 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9355 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9356 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9357 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9358
20c07380
L
9359 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9360 [__WORDSIZE_TIME64_COMPAT32] instead of
9361 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9362 (struct utmp): Likewise.
9363 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9364 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9365 Renamed to ...
9366 (__WORDSIZE_TIME64_COMPAT32): This.
9367 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9368 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9369 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9370 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9371 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9372 (__WORDSIZE_TIME64_COMPAT32): New macro.
9373
d8d1017e
AJ
93742012-05-21 Andreas Jaeger <aj@suse.de>
9375
9376 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9377 only if [SHARED]. Add prototype for __wcschr_ia32.
9378
6c7fb145
RM
93792012-05-21 Roland McGrath <roland@hack.frob.com>
9380
9381 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9382 of %rbp unmolested in the jmp_buf while mangling the low bits.
9383 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9384 unmolested high bits of %rbp while demangling the low bits.
9385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9386
66274218
AJ
93872012-05-21 Andreas Jaeger <aj@suse.de>
9388
07c58f8f
AJ
9389 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9390 * sunrpc/svc_simple.c: Use it for registerrpc.
9391 * sunrpc/xcrypt.c: Use it for passwd2des.
9392
66274218
AJ
9393 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9394
61f65140
L
93952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9396
9397 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9398 Don't define if [__SYSCALL_WORDSIZE != 32].
9399 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9400 New macro.
9401
5fefb436
AJ
94022012-05-21 Bruno Haible <bruno@clisp.org>
9403 Andreas Jaeger <aj@suse.de>
9404
9405 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9406 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9407 inptr and inend for must_buffer_ch.
9408 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9409 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9410 * stdio-common/Makefile (tests): Remove bug15.
9411 (bug15-ENV): Remove macro.
9412 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9413 anymore.
9414
d8e272ab
AJ
94152012-05-19 Andreas Jaeger <aj@suse.de>
9416 Roland McGrath <roland@hack.frob.com>
9417
9418 * manual/contrib.texi: Completely rewritten. It contains now an
9419 alphabetical list of contributors and their contributions.
9420
4a56a162
RH
94212012-05-21 Richard Henderson <rth@twiddle.net>
9422
9423 * misc/getauxval.c (__getauxval): Use unsigned long int.
9424 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9425 (getauxval): Use unsigned long int.
9426
d024d23c
L
94272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9428
9429 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9430
cbc00a03
RM
94312012-05-21 Roland McGrath <roland@hack.frob.com>
9432
9433 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9434 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9435 __alignof__ (long double).
9436
478143fa
AZ
94372012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9438
9439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9440
c7683a6d
RH
94412012-05-20 Richard Henderson <rth@twiddle.net>
9442
9443 * misc/getauxval.c: New file.
9444 * misc/sys/auxv.h: New file.
9445 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9446 (routines): Add getauxval.
9447 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9448 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9449 * elf/dl-sysdep.c (_dl_auxv): Remove.
9450 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9451 * elf/dl-support.c (_dl_auxv): New variable.
9452 (_dl_aux_init): Initialize it.
9453 * manual/startup.texi (Auxiliary Vector): New node.
9454 * sysdeps/generic/bits/hwcap.h: New file.
9455 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9456 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9457 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9458 * sysdeps/sparc/sysdep.h: ... here. Include it.
9459 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9460 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9462 Update.
c7683a6d
RH
9463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9466 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9471
a6f1845d
AZ
94722012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9473
9474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9475
cbcbe830
DM
94762012-05-19 David S. Miller <davem@davemloft.net>
9477
9478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9479
e0b16cc2
JM
94802012-05-19 Joseph Myers <joseph@codesourcery.com>
9481
9482 [BZ #14123]
9483 * math/s_ccosh.c: Include <float.h>
9484 (__ccosh): Avoid internal overflow calculating sinh and cosh
9485 values before multiplying by sin and cos values.
9486 * math/s_ccoshf.c: Likewise.
9487 * math/s_ccoshl.c: Likewise.
9488 * math/s_csin.c: Likewise.
9489 * math/s_csinf.c: Likewise.
9490 * math/s_csinl.c: Likewise.
9491 * math/s_csinh.c: Likewise.
9492 * math/s_csinhf.c: Likewise.
9493 * math/s_csinhl.c: Likewise.
9494 * math/libm-test.inc (ccos_test): Add more tests.
9495 (ccosh_test): Likewise.
9496 (csin_test): Likewise.
9497 (csinh_test): Likewise.
9498 * sysdeps/i386/fpu/libm-test-ulps: Update.
9499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9500
6ad13e08
L
95012012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9502
f66f0ce8
L
9503 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9504 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9505
6ad13e08
L
9506 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9507
b1d072a7
JM
95082012-05-19 Joseph Myers <joseph@codesourcery.com>
9509
9510 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9511 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9512 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9513 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9514 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9515 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9516 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9517 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9518 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9519 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9520 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9521 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9522 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9523 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9524 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9525 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9526 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9527 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9528 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9529 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9530 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9531 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9532 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9533 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9534 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9535 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9536 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9537 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9538 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9539 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9540 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9541
9eae47cb
AJ
95422012-05-18 Andreas Jaeger <aj@suse.de>
9543
9544 * csu/.gitignore: Delete.
9545
bb07f69f
L
95462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9547
9548 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9549 (timex): Use __syscall_slong_t.
9550
e6bdb741
AJ
95512012-05-18 Andreas Jaeger <aj@suse.de>
9552 Carlos O'Donell <carlos_odonell@mentor.com>
9553
9554 * manual/install.texi (Configuring and compiling): Update
9555 description about files modified in the source directory.
d6c33fda 9556 * INSTALL: Regenerated.
e6bdb741 9557
1b74487e
L
95582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9559
9560 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9561 value. Use "or" to set return value to -1.
9562 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9563 negate return value.
9564
a88b64b9
TMQMF
95652012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9566
9567 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9568 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9569 failure if the compiler has Graphite support disabled.
9570 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9571 Likewise.
9572 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9573 CFLAGS-memmove.c): Likewise.
9574 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9575 Likewise.
9576
3707636e
L
95772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9578
610b8622
L
9579 * sysdeps/x86_64/x32/_itoa.h: New file.
9580
7cd195df
L
9581 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9582 getdents system call only if kernel and user dirents have the
9583 same d_ino and d_off.
9584
94b07d20
L
9585 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9586 LLONG_MAX != LONG_MAX.
9587 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9588 (_fitoa_word): Likewise.
9589
18298070
L
9590 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9591 years.
9592 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9593 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9594 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9595
553c7ea4
L
9596 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9597 include <bits/wordsize.h>. Check __x86_64__ instead of
9598 __WORDSIZE.
9599 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9600 if __x86_64__ is defined. Use anonymous union on fpstate.
9601
3707636e
L
9602 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9603 anonymous union.
9604
b53ef01a
AS
96052012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9606
37fb1dc0
AS
9607 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9608 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9609 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9610 Refer to _rtld_local_ro instead of _rtld_global_ro.
9611 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9612 Likewise.
9613 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9614 Likewise.
9615 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9616 Likewise.
9617 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9618 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9619 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9620
b53ef01a
AS
9621 * sysdeps/powerpc/powerpc32/dl-machine.c
9622 (__elf_machine_runtime_setup) [PROF]: Don't reference
9623 _dl_prof_resolve.
9624
7a185db2
AJ
96252012-05-18 Andreas Jaeger <aj@suse.de>
9626
9627 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9628 function only available for GCCs before 3.4 since GCC 3.4
9629 introduced a builtin.
9630 (lrint): Likewise.
9631 (llrintf): Likewise.
9632 (llrint): Likewise.
9633 (fmaxf): Likewise.
9634 (fmax): Likewise.
9635 (fminf): Likewise.
9636 (fmin): Likewise.
9637 (rint): Likewise.
9638 (rintf): Likewise.
9639 (nearbyint): Likewise.
9640 (nearbyintf): Likewise.
9641 (ceil): Likewise.
9642 (ceilf): Likewise.
9643 (floor): Likewise.
9644 (floorf): Likewise.
9645
3e5aef87
L
96462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9647
428bd707
L
9648 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9649 on both fields and cast pointer to __syscall_ulong_t.
9650
3e5aef87
L
9651 * bits/types.h (__fsword_t): New type.
9652 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9653 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9655 (__FSWORD_T_TYPE): Likewise.
9656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9657 (__FSWORD_T_TYPE): Likewise.
9658 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9659 (__FSWORD_T_TYPE): Likewise.
9660 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9661 (__FSWORD_T_TYPE): Likewise.
9662 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9663 __SWORD_TYPE with __fsword_t.
9664 (statfs64): Likewise.
9665
1ba7c3dc
DM
96662012-05-17 David S. Miller <davem@davemloft.net>
9667
9668 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9669
59910343
AJ
96702012-05-17 Andreas Jaeger <aj@suse.de>
9671
9672 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9673 warning.
9674
2e4c1e9e
L
96752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9676
9677 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9678
de7f5ce7
AJ
96792012-05-17 Andreas Jaeger <aj@suse.de>
9680
9681 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9682 when it is used.
9683
286abc3d
CM
96842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9685
9686 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9687
477cc68e
L
96882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9689
9690 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9691 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9692
1a0994f5
CD
96932012-05-17 Andreas Jaeger <aj@suse.de>
9694 Carlos O'Donell <carlos_odonell@mentor.com>
9695
9696 [BZ #14059]
9697 * sysdeps/x86_64/multiarch/init-arch.h
9698 (bit_YMM_Usable): Rename to...
9699 (bit_AVX_Usable): ... this.
9700 (bit_FMA4_Usable): New macro.
9701 (bit_XMM_state): New macro.
9702 (bit_YMM_state): New macro.
9703 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9704 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9705 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9706 (CPUID_OSXSAVE): New macro.
9707 (CPUID_AVX): New macro.
9708 (CPUID_FMA4): New macro.
9709 (index_YMM_Usable): Rename to...
9710 (index_AVX_Usable): ... this.
9711 (HAS_AVX): Use HAS_ARCH_FEATURE.
9712 (HAS_FMA4): Likewise.
9713 (HAS_YMM_USABLE): Remove.
9714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9715 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9716 are present.
9717 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9718 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9719 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9720 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9721 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9722
0af797de
CM
97232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9724
9725 * math/libm-test.c: Support platforms without multiple rounding modes.
9726 * math/bug-nextafter.c: Support platforms without FP exceptions.
9727 * math/bug-nexttoward.c: Likewise.
9728 * math/test-fenv.c: Likewise.
9729 * math/test-misc.c: Likewise.
9730 * stdlib/bug-getcontext.c: Likewise.
9731
e39745ff
AJ
97322012-05-17 Andreas Jaeger <aj@suse.de>
9733
9734 * manual/examples/search.c (critter_cmp): Change signature to
9735 avoid warnings.
9736 * manual/string.texi (Collation Functions): Likewise.
9737
48970aba
L
97382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9739
9740 * bits/types.h: Fold copyright years.
9741 * bits/typesizes.h: Likewise.
9742 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9745 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9746 * time/time.h: Likewise.
9747
bedee953
PP
97482012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9749
9750 [BZ #208]
9751 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9752 in instead of returning them. Return void.
9753 (__libc_mallinfo): Accumulate over all arenas.
9754 (__malloc_stats): Adjust for change in int_mallinfo interface.
9755
61653dfb
RM
97562012-05-16 Roland McGrath <roland@hack.frob.com>
9757
30b99d79
RM
9758 [BZ #10375]
9759 * configure.in (NM): Add AC_CHECK_TOOL for it.
9760 (libc_extra_cflags): New substituted variable.
9761 Check for -fstack-protector being used implicitly.
9762 * configure: Regenerated.
9763 * config.make.in (config-extra-cflags): New variable,
9764 gets @libc_extra_cflags@.
9765 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9766
61653dfb
RM
9767 [BZ #10375]
9768 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9769 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9770 * configure: Regenerated.
9771 * config.make.in (CPPUNDEFS): New substituted variable.
9772 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9773 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9774 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9775
661768bb
L
97762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9777
9778 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9779 (mq_attr): Use __syscall_slong_t.
9780
d4261567
L
97812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9782
9783 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9784 Check __x86_64__ instead of __WORDSIZE.
9785 (_STAT_VER_LINUX): Likewise.
9786 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9787 __syscall_ulong_t and __syscall_slong_t.
9788 (stat64): Likewise.
9789
cf3ff365
L
97902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9791
9792 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9793
76cf3e4d
L
97942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9795
9796 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9797
a637753a
L
97982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9799
9800 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9801 __syscall_ulong_t.
9802
d5e05119
L
9803 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9804 include <bits/wordsize.h>. Check __x86_64__ instead of
9805 __WORDSIZE.
9806 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9807 defined.
9808 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9809
f62ee380
L
9810 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9811 include <bits/wordsize.h>. Check __x86_64__ instead of
9812 __WORDSIZE.
9813 (user_regs_struct): Use "__extension__ unsigned long long"
9814 instead of "unsigned long" if __x86_64__ is defined.
9815 (user): Likewise. Pad after pointer field if __ILP32__ is
9816 defined.
9817
4e124ced
JM
98182012-05-16 Joseph Myers <joseph@codesourcery.com>
9819
6a3951a0
JM
9820 * configure.in (makeinfo): Require version 4.5 or later. Allow
9821 versions 5 to 9.
9822 * configure: Regenerated.
9823 * manual/install.texi (texinfo): Increase version requirement to
9824 4.5 or later.
9825 * INSTALL: Regenerated.
9826
4e124ced
JM
9827 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9828
953ca31a
L
98292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9830
9831 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9832
617aca05
L
9833 * sysdeps/x86_64/x32/ffs.c: New file.
9834
5762f7ae
L
9835 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9836 __syscall_ulong_t.
9837 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9838 defined. Use __syscall_ulong_t.
9839 (shminfo): Use __syscall_ulong_t.
9840 (shm_info): Likewise.
9841
a26b6856
L
9842 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9843 __syscall_ulong_t.
9844
cb2b9ef7
L
9845 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9846 <bits/wordsize.h>.
9847 (msgqnum_t): Use __syscall_ulong_t.
9848 (msglen_t): Likewise.
9849 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9850 __syscall_ulong_t.
9851
34683bb0
L
9852 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9853 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9854
84a68786
L
9855 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9856
48baa5f1
L
9857 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9858 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9859
180be88b
L
9860 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9861 __syscall_slong_t.
9862
5e90c8ad
L
9863 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9864 include <bits/wordsize.h>. Check __x86_64__ instead of
9865 __WORDSIZE.
9866
23dfb58b
L
9867 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9868 "unsigned long long int" if __x86_64__ is defined.
9869 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9870
ce5d54b0
L
9871 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9872 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9873 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9874
13dc9eac
L
9875 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9876 <stdint.h>.
9877 (GET_PC): Cast to uintptr_t first.
9878 (GET_FRAME): Likewise.
9879 (GET_STACK): Likewise.
9880
a7895d15
L
9881 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9882 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9883 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9884 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9885 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9886 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9887 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9888 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9889 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9890 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9891 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9892 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9893 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9894 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9895 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9896 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9897 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9898 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9899 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9900 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9901 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9902 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9903 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9904 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9905 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9906 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9907 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9908 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9909 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9910
656416c9
AS
99112012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9912
5bd66283
AS
9913 * Makerules (+depfiles): Also collect depfiles from .oS in
9914 $(extra-objs).
9915 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9916 .oS, $(libnldbl-routines)).
9917
656416c9
AS
9918 * Makerules (native-compile-mkdep-flags): Define.
9919 * sunrpc/Makefile (extra-objs): Add $(addprefix
9920 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9921 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9922 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9923 calling $(make-target-directory).
9924
a46f2169
L
99252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9926
9927 * bits/types.h (__snseconds_t): Removed.
9928 * time/time.h (struct timespec): Replace __snseconds_t with
9929 __syscall_slong_t.
9930 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9931 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9932 Likewise.
9933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9934 (__SNSECONDS_T_TYPE): Likewise.
9935 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9936 (__SNSECONDS_T_TYPE): Likewise.
9937 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9938 (__SNSECONDS_T_TYPE): Likewise.
9939
6af6528b
L
99402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9941
9942 * sysdeps/mach/hurd/bits/typesizes.h
9943 (__SYSCALL_SLONG_TYPE): New macro.
9944 (__SYSCALL_ULONG_TYPE): Likewise.
9945
de986b56
L
99462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9947
9948 * bits/types.h (__syscall_slong_t): New type.
9949 (__syscall_ulong_t): Likewise.
9950
9951 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9952 (__SYSCALL_ULONG_TYPE): Likewise.
9953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9954 (__SYSCALL_SLONG_TYPE): Likewise.
9955 (__SYSCALL_ULONG_TYPE): Likewise.
9956 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9957 (__SYSCALL_SLONG_TYPE): Likewise.
9958 (__SYSCALL_ULONG_TYPE): Likewise.
9959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9960 (__SYSCALL_SLONG_TYPE): Likewise.
9961 (__SYSCALL_ULONG_TYPE): Likewise.
9962
85736dc7
L
99632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9964
9965 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9966 Add sigaltstack-offsets.sym.
9967 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9968 <sigaltstack-offsets.h>.
9969 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9970 longjmp_msg pointer.
9971 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9972 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9973 signal stack.
9974 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9975
cc03b296
JM
99762012-05-15 Joseph Myers <joseph@codesourcery.com>
9977
a9538892
JM
9978 * elf/stackguard-macros.h: Remove file.
9979 * sysdeps/generic/stackguard-macros.h: New file.
9980 * sysdeps/i386/stackguard-macros.h: Likewise.
9981 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9982 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9983 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9984 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9985 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9986 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9987 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9988 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9989 <elf/stackguard-macros.h>.
9990
cc03b296
JM
9991 [BZ #14109]
9992 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9993 __aligned__ in attribute.
9994 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9995 (gregset_t): Likewise.
9996
93171016
L
99972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9998
9999 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10000 * sysdeps/x86_64/64/Implies-after: Here. New file.
10001 * sysdeps/x86_64/x32/Implies-after: New file.
10002
d86813a0
L
100032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10004
10005 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10006 and access return value for _dl_profile_fixup. Use R10_LP to
10007 load frame size.
10008
2953ec75
L
100092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10010
10011 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10012
3b550e9e
L
100132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10014
10015 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10016 * sysdeps/x86_64/x32/sysdep.h: New file.
10017
eda41706
L
100182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10019
10020 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10021 * sysdeps/x86_64/setjmp.S: Likewise.
10022
9ea01d93
AZ
100232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10024
10025 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10026 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10027 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10028 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10029 remove unused global constant.
10030
02a91938
CM
100312012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10032
10033 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10034 include of <not-cancel.h>.
10035
6540185f
RM
100362012-05-15 Roland McGrath <roland@hack.frob.com>
10037
10038 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10039
509072a0
AJ
100402012-05-15 Jeff Law <law@redhat.com>
10041 Andreas Jaeger <aj@suse.de>
10042
10043 [BZ #13594]
10044 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10045 out from...
10046 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10047 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10048 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10049 code changing __hst_map_handle.map.
10050
ba75122d
RM
100512012-05-15 Roland McGrath <roland@hack.frob.com>
10052
10053 * configure.in (sysnames): Look for Implies-before and Implies-after
10054 files.
10055 * configure: Regenerated.
10056
890d8bd8
L
100572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10058
10059 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10060 8-byte data alignment with LP_SIZE alignment.
10061
f6ee6623
L
100622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10063
10064 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10065 into R10_LP.
10066
ea2626f6
L
100672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10068
10069 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10070
085f715e
L
100712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10072
10073 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10074 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10075 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10076 Likewise.
10077 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10078
be8498fc
L
100792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10080
10081 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10082 (stackinfo_sub_sp): Likewise.
10083
70bc83b9
L
100842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10085
10086 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10087 RAX_LP.
10088
9bc0b730
L
100892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10090
10091 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10092 into R*_LP.
10093
6d2850e7
L
100942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10095
10096 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10097 sizes into R*_LP.
10098
3cb84561
L
100992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10100
10101 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10102
54e2ed81
L
101032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10104
10105 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10106 into R11_LP and load __x86_64_shared_cache_size_half into
10107 R8_LP.
10108
8a17f349
L
101092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10110
10111 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10112 R8_LP.
10113
777b1eea
AZ
101142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10115
10116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10117 logb for POWER7.
10118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10119 logbf for POWER7.
10120 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10121 logbl for POWER7.
10122 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10123 powerpc32/power7/fpu/s_logb.c via #include.
10124 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10125 powerpc32/power7/fpu/s_logbf.c via #include.
10126 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10127 powerpc32/power7/fpu/s_logbl.c via #include.
10128
d20d4ac2
JM
101292012-05-15 Joseph Myers <joseph@codesourcery.com>
10130
10131 * README.libm: Remove file.
10132
6cdef1ab
L
101332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10134
10135 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10136 count for x32. Use R*_LP and omit operand-size suffix.
10137
0b254d8f
L
101382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10139
10140 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10141 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10142 * sysdeps/x86_64/x32/shlib-versions: New file.
10143
ceb809dc
RM
101442012-05-14 Roland McGrath <roland@hack.frob.com>
10145
10146 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10147 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10148 Use _dl_fatal_printf instead.
10149
37f1abd4
JM
101502012-05-14 Joseph Myers <joseph@codesourcery.com>
10151
10152 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10153 set if not set by the user. Do not allow for being unset.
10154 * sysdeps/unix/sysv/linux/configure: Regenerated.
10155
11de3a33
L
101562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10157
10158 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10159 the `q' suffix from lea and replace .quad with ASM_ADDR.
10160
e02f153a
L
101612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10162
10163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10164 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10165 instead of $17.
10166 (PTR_DEMANGLE): Likewise.
10167
520ae0fd
L
101682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10169
10170 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10171 (LP_OP): Likewise.
10172 (ASM_ADDR): Likewise.
10173 (RAX_LP): Likewise.
10174 (RBP_LP): Likewise.
10175 (RBX_LP): Likewise.
10176 (RCX_LP): Likewise.
10177 (RDI_LP): Likewise.
10178 (RSI_LP): Likewise.
10179 (RSP_LP): Likewise.
10180 (R8_LP): Likewise.
10181 (R9_LP): Likewise.
10182 (R10_LP): Likewise.
10183 (R10_LP): Likewise.
10184 (R11_LP): Likewise.
10185 (R12_LP): Likewise.
10186 (R13_LP): Likewise.
10187 (R14_LP): Likewise.
10188 (R15_LP): Likewise.
10189
b985be81
L
101902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10191
10192 * sysdeps/x86_64/x32/dl-machine.h: New file.
10193
6a4888ff
AJ
101942012-05-14 Andreas Jaeger <aj@suse.de>
10195
10196 * manual/Makefile (subdir): Remove export of subdir.
10197 (all): Remove target.
10198 (.PHONY): Remove all from list.
10199 (mkinstalldirs): Remove.
10200 (.PHONY): Remove installdirs from list.
10201 ($(inst_infodir)/libc.info): Use make-target-directory.
10202 (installdirs): Remove.
10203 (subdir_%): Remove.
10204 (glibc-targets): Remove.
10205 (lib): Remove.
10206 (stubs): Remove.
10207 ($(objpfx)stubs ../po/manual.pot): Remove.
10208 ($(objpfx)stamp%): Remove.
10209 (make-target-directory): Remove.
10210 (subdir_install): Remove.
10211 (routines): Remove.
10212 (aux): Remove.
10213 (sources): Remove.
10214 (objects): Remove.
10215 (headers): Remove.
10216
10217 [BZ #13750]
10218 * manual/.gitignore: Remove, it's not needed anymore.
10219 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10220 all files in it.
10221 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10222 directory.
10223 (texis): Renamed to $(objpfx)texis.
10224 (texis-path): New, contains path to generated files.
10225 (chapters.%): Use texis-path for complete path, add extra argument
10226 libc-texinfo.sh.
10227 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10228 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10229 (summary,texi, stamp-summary): Use complete path of
10230 files. Generate files in build dir.
10231 (dir-add.texi): Build in build dir.
10232 (libm-err.texi,stamp-libm-err): Likewise.
10233 (version.texi, stamp-version): Likewise.
10234 (.%c.texi): Likewise.
10235 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10236 (mostlyclean): Remove target.
10237 (realclean): Remove target.
10238 (generated): Add new variable with contents from mostlyclean and
10239 realclean, remove entries duplicated in common-mostlyclean, add
10240 stamp-libm-err and stamp-version.
10241 (generated-dirs): Add libc directory.
10242 ($(inst_infodir)/libc.info): Install files from build dir.
10243
10244 * manual/install.texi (Configuring and compiling): Adjust since
10245 the info files are not part of the tar ball anymore.
10246
7ac77294
AJ
102472012-05-14 Andreas Jaeger <aj@suse.de>
10248
10249 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10250 variable.
10251
ffb7875d
JM
102522012-05-14 Joseph Myers <joseph@codesourcery.com>
10253
10254 [BZ #13717]
10255 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10256 to 2.2.0 where earlier.
10257 * sysdeps/unix/sysv/linux/configure: Regenerated.
10258 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10259 Remove conditional code.
10260 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10261 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10262 Remove conditional code.
10263 [!__NR_lchown]: Likewise.
10264 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10265 [__NR_lchown]: Likewise.
10266 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10267 comment referencing __ASSUME_LCHOWN_SYSCALL.
10268 * sysdeps/unix/sysv/linux/i386/sigaction.c
10269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10271 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10272 Remove conditional code.
10273 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10274 (__protocol_available): Remove #if 0 code.
10275 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10276 conditional code.
10277 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10278 * sysdeps/unix/sysv/linux/kernel-features.h
10279 (__ASSUME_GETCWD_SYSCALL): Don't define.
10280 (__ASSUME_REALTIME_SIGNALS): Likewise.
10281 (__ASSUME_PREAD_SYSCALL): Likewise.
10282 (__ASSUME_PWRITE_SYSCALL): Likewise.
10283 (__ASSUME_POLL_SYSCALL): Likewise.
10284 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10285 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10286 non-SPARC.
10287 (__ASSUME_SIOCGIFNAME): Don't define.
10288 (__ASSUME_MSG_NOSIGNAL): Likewise.
10289 (__ASSUME_SENDFILE): Define unconditionally.
10290 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10291 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10292 conditional code.
10293 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10294 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10295 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10296 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10297 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10298 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10299 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10301 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10302 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10304 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10307 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10308 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10310 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10313 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10314 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10316 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10319 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10320 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10324 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10325 Remove conditional code.
10326 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10327 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10328 Remove conditional code.
10329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10330 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10331 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10332 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10333 Remove conditional code.
10334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10335 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10336 Remove conditional code.
10337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10338 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10339 Remove conditional code.
10340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10341 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10342 Remove conditional code.
10343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10344 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10345 Remove conditional code.
10346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10347 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10350 * sysdeps/unix/sysv/linux/sigaction.c
10351 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10352 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10353 * sysdeps/unix/sysv/linux/sigpending.c
10354 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10355 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10356 * sysdeps/unix/sysv/linux/sigprocmask.c
10357 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10358 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10359 * sysdeps/unix/sysv/linux/sigsuspend.c
10360 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10361 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10362 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10363 (__libc_missing_rt_sigs): Remove.
10364 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10365 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10366 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10367 Remove conditional code.
10368 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10369 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10370 return 1.
10371 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10372 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10373 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10374 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10375
1bfb7291
AJ
103762012-05-14 Andreas Jaeger <aj@suse.de>
10377
caae5a81
AJ
10378 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10379 it's not used in glibc.
10380 (__coshm1): Likewise.
10381 (__acosh1p): Likewise.
10382 (__sgn): Likewise.
10383
1bfb7291
AJ
10384 * manual/string.texi (Copying and Concatenation): Add missing
10385 variable in concat example.
10386 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10387
c044d724
L
103882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10389
144c5467 10390 [BZ #14103]
c044d724
L
10391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10392 __builtin_clzl with __builtin_clzll.
10393
2523c62b
L
103942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10395
10396 [BZ #14104]
10397 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10398 libc_freeres_ptr.
10399
d7bb4c42
LD
104002012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10401
10402 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10403 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10404 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10405 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10406
9dc4e1fb
MF
104072012-05-14 Mike Frysinger <vapier@gentoo.org>
10408
10409 * NEWS: Update ia64 info.
10410
c7df0112
AS
104112012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10412
10413 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10414 used as bcopy.
10415
dc70356c
TS
104162012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10417
10418 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10419 * sysdeps/unix/syscalls.list (dup3): Likewise.
10420 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10421 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10422
9fb1a21f
L
104232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10424
10425 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10426 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10427
4822a2a5
L
104282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10429
10430 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10431 thread pointer.
10432 (TLS_IE): Use mov/add instead of movq/addq to load thread
10433 pointer.
10434 (TLS_GD_PREFIX): New.
10435 (TLS_GD): Use it.
10436
842b81d6
DM
104372012-05-11 David S. Miller <davem@davemloft.net>
10438
10439 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10440 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10441 (_FPU_SETCW): Likewise.
10442
1cf463cd
L
104432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10444
10445 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10446 is 32-byte aligned.
10447
60cc4a18
AS
104482012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10449
10450 [BZ #11837]
10451 * iconvdata/gb18030.c: Update tables.
10452 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10453 characters specially.
10454 (BODY for TO_LOOP): Add encoding of missing ranges.
10455
febb44a4
TS
104562012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10457
10458 [BZ #13673]
10459 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10460 * sysdeps/mach/hurd/dup3.c: Likewise.
10461 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10462 * sysdeps/powerpc/memmove.c:: Likewise.
10463
0a10fb9e
L
104642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10465
10466 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10467 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10468
df8a552f
L
104692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10470
10471 * elf/elf.h (R_X86_64_RELATIVE64): New.
10472 (R_X86_64_NUM): Updated.
10473 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10474 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10475 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10476 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10477 tst-quad1pie tst-quad2pie
10478 (modules-names): Add tst-quadmod1 tst-quadmod2.
10479 ($(objpfx)tst-quad1): New dependency.
10480 ($(objpfx)tst-quad2): Likewise.
10481 ($(objpfx)tst-quad1pie): Likewise.
10482 ($(objpfx)tst-quad2pie): Likewise.
10483 * sysdeps/x86_64/tst-quad1.c: New file.
10484 * sysdeps/x86_64/tst-quad1pie.c: New file.
10485 * sysdeps/x86_64/tst-quad2.c: Likewise.
10486 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10487 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10488 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10489 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10490 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10491
f34d6f84
ST
104922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10493
f42d41d1
ST
10494 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10495 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10496 * streams/stropts.h (t_scalar_t): Define type.
10497
3c3571fc
ST
10498 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10499 (_PATH_PRESERVE): Set to "/var/lib".
10500 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10501
61f06bd3
ST
10502 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10503 instead of int.
10504
918d4d71
ST
10505 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10506 if __dir_mkfile succeeded.
10507
f34d6f84
ST
10508 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10509 checking for _hurd_dtablesize. Unlock it right after having
10510 finished _hurd_dtable allocation.
10511
10589b4a
TS
105122012-05-10 Thomas Schwinge <thomas@schwinge.name>
10513
674cdbc7
TS
10514 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10515 * sysdeps/mach/hurd/configure: Regenerated.
10516 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10517 special-casing to...
10518 * sysdeps/gnu/configure.in: ... this new file.
10519 * sysdeps/unix/sysv/linux/configure: Regenerated.
10520 * sysdeps/gnu/configure: New generated file.
10521
8e41b99f
TS
10522 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10523 for Linux: use nsec instead of usec, as well as:
10524 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10525 members of type struct timespec.
10526 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10527 New macros.
10528 (struct stat64): Likewise.
10529 (_STATBUF_ST_NSEC): New macro.
10530 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10531
10589b4a
TS
10532 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10533 __strtoul_internal rather than strtoul.
10534
63643c85
PT
105352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10536
10537 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10538 and reject them.
10539
3faebe6a
ST
105402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10541
10542 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10543 which preserves existing values.
10544 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10545
c6474b07
PT
105462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10547
10548 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10549 TIMEOUT values. Return EINVAL for NFDS values either negative or
10550 greater than FD_SETSIZE.
10551
1043890b
ST
105522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10553
10554 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10555 allocated, call __vm_protect to finish enabling the existing space, and
10556 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10557 allocate the remainder.
10558
37ed8b9b
PT
105592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10560
10561 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10562 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10563
db653660
ST
105642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10565
37ed8b9b
PT
10566 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10567 sysdeps/mach/hurd/readlink.c.
b29d4053 10568
db653660
ST
10569 * posix/tst-sysconf.c (posix_options): Only use
10570 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10571 _POSIX_SYNCHRONIZED_IO when they are defined
10572 * sysdeps/mach/hurd/bits/posix_opt.h:
10573 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10574 (_XOPEN_REALTIME): Undefine macro.
10575 (_XOPEN_REALTIME_THREADS): Undefine macro.
10576 (_XOPEN_SHM): Undefine macro.
10577 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10578 macro to -1.
10579 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10580 macro to -1.
10581 (_POSIX_ASYNC_IO): Undefine macro.
10582 (_POSIX_PRIORITIZED_IO): Undefine macro.
10583 (_POSIX_SPIN_LOCKS): Define macro to -1.
10584
ee16e894
ST
10585 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10586 SA_NODEFER, SA_RESETHAND.
10587 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10588 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10589 F_DUPFD_CLOEXEC.
10590
6103ae3b
TS
105912012-05-10 Thomas Schwinge <thomas@schwinge.name>
10592
10593 * elf/Makefile (pldd-modules): Define unconditionally.
10594
80b4e5f3
TS
105952012-05-10 Thomas Schwinge <thomas@schwinge.name>
10596
10597 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10598
edadcbd6
ST
105992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10600
10601 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10602 Return ENOENT when name is empty.
10603 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10604
80694780
TS
106052012-05-10 Thomas Schwinge <thomas@schwinge.name>
10606
1792c087
TS
10607 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10608
80694780
TS
10609 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10610
6b645f0d
ST
106112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10612
80694780
TS
10613 Fix mlock in all cases except non-readable pages.
10614 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10615 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10616
6b645f0d
ST
10617 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10618 (__mkdir): When path is `/', just fail with EEXIST.
10619 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10620
e468f8a3
TS
106212012-05-10 Thomas Schwinge <thomas@schwinge.name>
10622
10623 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10624 <sys/uio.h> (for writev).
10625 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10626 and <sys/param.h> (for MIN).
10627
a4186cff
PT
106282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10629
10630 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10631 REQUESTED_TIME. Properly set the remaining time and return EINTR
10632 if interrupted.
10633
510bbf14
TS
106342012-05-10 Thomas Schwinge <thomas@schwinge.name>
10635
10636 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10637 Depend on against $(link-rpcuserlibs).
10638
5d5722e8
ST
106392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10640
a4186cff
PT
10641 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10642 (__libc_stack_end): Do not use attribute_relro.
10643 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10644 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10645 to libthread-provided value.
a4186cff
PT
10646 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10647 attribute_relro.
5d5722e8 10648
37233df9
TS
106492012-05-10 Thomas Schwinge <thomas@schwinge.name>
10650
be971a2b
TS
10651 [BZ #3748]
10652 * bits/libc-lock.h (__libc_once_get): New macro.
10653 * sysdeps/mach/bits/libc-lock.h: Likewise.
10654 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10655 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10656 instead of using implementation details.
10657
37233df9
TS
10658 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10659 * libio/freopen.c: Likewise.
10660 * libio/freopen64.c: Likewise.
10661 * misc/syslog.c: Likewise.
10662 * nscd/connections.c: Likewise.
10663 * nscd/netgroupcache.c: Likewise.
10664 * sysdeps/posix/getcwd.c: Likewise.
10665
38de94a5
RM
106662012-05-10 Roland McGrath <roland@hack.frob.com>
10667
10668 * math/w_ilogbf.c: Add #include <limits.h>.
10669
67530489
ST
106702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10671
a4186cff 10672 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10673 path instead of returning without unlocking.
10674
67530489
ST
10675 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10676 immediate-write ioctls.
10677 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10678
5aa3a74a
TS
106792012-05-10 Thomas Schwinge <thomas@schwinge.name>
10680
18bad2ae
TS
10681 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10682 __builtin_frame_address instead of making assumptions about the
10683 location of the return address relative to DATA. Force early load of
10684 the return address.
10685 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10686 __builtin_frame_address.
10687
5aa3a74a
TS
10688 dup3 for GNU Hurd.
10689 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10690 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10691 implement dup3 and do some further code clean-ups.
10692 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10693 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10694
ecd0de9a
ST
106952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10696
cd9fa985
ST
10697 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10698
a4186cff
PT
10699 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10700 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10701 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10702 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10703 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10704 d->port.lock.
802ca5a5 10705
a4186cff
PT
10706 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10707 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10708 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10709
bcf55240
TS
107102012-05-10 Thomas Schwinge <thomas@schwinge.name>
10711
6960eb42
TS
10712 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10713 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10714 definitions.
10715
eb43375f
TS
10716 accept4 for GNU Hurd.
10717 * include/sys/socket.h (__libc_accept4): New prototype.
10718 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10719 to implement __libc_accept4.
10720 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10721 __libc_accept4.
10722 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10723
bcf55240
TS
10724 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10725 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10726 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10727 signal-defines.sym.
10728
6178c55b
ST
107292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10730
a4186cff 10731 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10732
6f080c2f
TS
107332012-05-10 Thomas Schwinge <thomas@schwinge.name>
10734
10735 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10736 assertion on O_CLOEXEC flag.
10737 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10738 * hurd/intern-fd.c: Likewise.
10739 * hurd/port2fd.c: Likewise.
10740
bcfe3a54
ST
107412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10742
10743 [BZ #3906]
10744 * bits/in.h (IPV6_PKTINFO): Define new macro.
10745 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10746
89c9aa49
AZ
107472012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10748
10749 [BZ #13954]
10750 [BZ #13955]
10751 [BZ #13956]
10752 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10753 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10754 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10755 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10756 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10757 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10758 * math/libm-test.inc (logb_test) : Additional logb tests.
10759
021db4be
AJ
107602012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10761 Andreas Jaeger <aj@suse.de>
10762
10763 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10764 * configure: Regenerated.
10765 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10766 * config.make.in (link-obsolete-rpc): New substituted variable.
10767 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10768 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10769 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10770 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10771 so that libc.a contains the symbols.
10772 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10773 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10774 * sunrpc/auth_none.c: Likewise.
10775 * sunrpc/auth_unix.c: Likewise.
10776 * sunrpc/authdes_prot.c: Likewise.
10777 * sunrpc/authuxprot.c: Likewise.
10778 * sunrpc/clnt_gen.c: Likewise.
10779 * sunrpc/clnt_perr.c: Likewise.
10780 * sunrpc/clnt_raw.c: Likewise.
10781 * sunrpc/clnt_simp.c: Likewise.
10782 * sunrpc/clnt_tcp.c: Likewise.
10783 * sunrpc/clnt_udp.c: Likewise.
10784 * sunrpc/clnt_unix.c: Likewise.
10785 * sunrpc/des_crypt.c: Likewise.
10786 * sunrpc/des_soft.c: Likewise.
10787 * sunrpc/get_myaddr.c: Likewise.
10788 * sunrpc/key_call.c: Likewise.
10789 * sunrpc/key_prot.c: Likewise.
10790 * sunrpc/netname.c: Likewise.
10791 * sunrpc/pm_getmaps.c: Likewise.
10792 * sunrpc/pm_getport.c: Likewise.
10793 * sunrpc/pmap_clnt.c: Likewise.
10794 * sunrpc/pmap_prot.c: Likewise.
10795 * sunrpc/pmap_prot2.c: Likewise.
10796 * sunrpc/pmap_rmt.c: Likewise.
10797 * sunrpc/publickey.c: Likewise.
10798 * sunrpc/rpc_cmsg.c: Likewise.
10799 * sunrpc/rpc_common.c: Likewise.
10800 * sunrpc/rpc_dtable.c: Likewise.
10801 * sunrpc/rpc_prot.c: Likewise.
10802 * sunrpc/rpc_thread.c: Likewise.
10803 * sunrpc/rtime.c: Likewise.
10804 * sunrpc/svc.c: Likewise.
10805 * sunrpc/svc_auth.c: Likewise.
10806 * sunrpc/svc_raw.c: Likewise.
10807 * sunrpc/svc_run.c: Likewise.
10808 * sunrpc/svc_tcp.c: Likewise.
10809 * sunrpc/svc_udp.c: Likewise.
10810 * sunrpc/svc_unix.c: Likewise.
10811 * sunrpc/svcauth_des.c: Likewise.
10812 * sunrpc/xcrypt.c: Likewise.
10813 * sunrpc/xdr.c: Likewise.
10814 * sunrpc/xdr_array.c: Likewise.
10815 * sunrpc/xdr_float.c: Likewise.
10816 * sunrpc/xdr_intXX_t.c: Likewise.
10817 * sunrpc/xdr_mem.c: Likewise.
10818 * sunrpc/xdr_rec.c: Likewise.
10819 * sunrpc/xdr_ref.c: Likewise.
10820 * sunrpc/xdr_sizeof.c: Likewise.
10821 * sunrpc/xdr_stdio.c: Likewise.
10822
b5c086a2
RM
108232012-05-10 Roland McGrath <roland@hack.frob.com>
10824
10825 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10826 change. Update copyright years.
10827
6d74dd09
JM
108282012-05-10 Joseph Myers <joseph@codesourcery.com>
10829
10830 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10831
28e72501
MK
108322012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10833 Joseph Myers <joseph@codesourcery.com>
10834 Paul Pluzhnikov <ppluzhnikov@google.com>
10835
10836 [BZ #14012]
10837 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10838 requiring rpcgen.
10839 [cross-compiling] (extra-libs): Likewise.
10840 [cross-compiling] (extra-libs-others): Likewise.
10841 [cross-compiling] (librpcsvc-routines): Likewise.
10842 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10843 [cross-compiling] (omit-deps): Likewise.
10844 (sunrpc-CPPFLAGS): New variable.
10845 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10846 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10847 (cross-rpcgen-objs): New variable.
10848 (extra-objs): Append $(cross-rpcgen-objs).
10849 ($(cross-rpcgen-objs)): New rule.
10850 ($(objpfx)cross-rpcgen): Likewise.
10851 (rpcgen-cmd): Define to use $(built-program-file). Expand
10852 comment.
10853 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10854 ($(objpfx)x%.stmp): Likewise.
10855 * sunrpc/proto.h [IS_IN_build] (_): Define.
10856 [IS_IN_build] (_libc_intl_domainname): Likewise.
10857
c8c59454
L
108582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10859
10860 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10861 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10862 and R_X86_64_TPOFF64.
10863
6f27cd16
JM
108642012-05-10 Joseph Myers <joseph@codesourcery.com>
10865
10866 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10867 sysdeps/unix/sysv/syscalls.list.
10868 (stime): Likewise.
10869 (utime): Likewise.
10870 * sysdeps/unix/sysv/syscalls.list: Remove file.
10871
02467e1c
PE
108722012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10873
10874 [BZ #3440]
10875 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10876 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10877 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10878 (__LC_IDENTIFICATION): Make these macros useful in #if
10879 expressions, as required by C99.
10880
da392631
AS
108812012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10882
10883 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10884 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10885 after this.
10886
8115f29b
L
108872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10888
10889 * stdlib/longlong.h: Updated from GCC.
10890
bdd74070
AJ
108912012-05-09 Andreas Jaeger <aj@suse.de>
10892
edfe0dbe
AJ
10893 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10894 default is first entry.
10895 (run_mode): Set type.
10896 (main): Remove informal message about syslog.
10897 (options): Fix typo.
10898
bcfe3a54
ST
10899 [BZ #14053]
10900 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10901 to asm.
bcfe3a54
ST
10902 (lrint): Likewise.
10903 (llrintf): Likewise.
10904 (llrint): Likewise.
10905 (rint): Likewise.
10906 (rintf): Likewise.
10907 (nearbyint): Likewise.
10908 (nearbyintf): Likewise.
bdd74070 10909
91d8d69e
AJ
109102012-05-09 Andreas Jaeger <aj@suse.de>
10911 Pedro Alves <palves@redhat.com>
10912
10913 * nscd/nscd.c (run_mode): Use enum.
10914 (main): Cleanup coding style issue.
10915
bb90b80b
AJ
109162012-05-09 Alexandre Oliva <aoliva@redhat.com>
10917 Andreas Jaeger <aj@suse.de>
10918
bcfe3a54
ST
10919 * nscd/nscd.c (go_background): Replaced with...
10920 (run_mode): ... this.
bb90b80b 10921 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10922 (options): Add -F --foreground.
10923 (main): Implement it.
10924 (parse_opt): Parse it.
bb90b80b 10925
1a4b75a1
AJ
109262012-05-09 Andreas Jaeger <aj@suse.de>
10927
10928 [BZ #14083]
10929 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10930 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10931 -Wconversion warning.
10932 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10933 Likewise.
10934
b1cc2472
JM
109352012-05-09 Joseph Myers <joseph@codesourcery.com>
10936
10937 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10938 == 0.
10939 (LC_ALL): Use macro-int-constant.
10940 (LC_COLLATE): Likewise.
10941 (LC_CTYPE): Likewise.
10942 (LC_MESSAGES): Likewise.
10943 (LC_MONETARY): Likewise.
10944 (LC_NUMERIC): Likewise.
10945 (LC_TIME): Likewise.
10946 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10947 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10949 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10950 Specify type.
10951 [C99-based standards] (float_t): Expect type.
10952 [C99-based standards] (double_t): Expect type.
10953 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10954 type.
10955 [C99-based standards] (HUGE_VALL): Likewise.
10956 [C99-based standards] (INFINITY): Likewise.
10957 [C99-based standards] (NAN): Likewise.
10958 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10959 [C99-based standards] (FP_NAN): Likewise.
10960 [C99-based standards] (FP_NORMAL): Likewise.
10961 [C99-based standards] (FP_SUBNORMAL): Likewise.
10962 [C99-based standards] (FP_ZERO): Likewise.
10963 [C99-based standards] (FP_FAST_FMA): Use
10964 optional-macro-int-constant. Specify type. Require == 1.
10965 [C99-based standards] (FP_FAST_FMAF): Likewise.
10966 [C99-based standards] (FP_FAST_FMAL): Likewise.
10967 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10968 [C99-based standards] (FP_ILOGBNAN): Likewise.
10969 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10970 Specify type.
10971 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10972 [C99-based standards] (math_errhandling): Specify type.
10973 [ISO99 || ISO11] (signgam): Do not allow.
10974 [non-C99-based standards] (copysignf): Do not allow.
10975 [non-C99-based standards] (exp2f): Likewise.
10976 [non-C99-based standards] (log2f): Likewise.
10977 [non-C99-based standards] (modff): Allow.
10978 [non-C99-based standards] (erff): Do not allow.
10979 [non-C99-based standards] (erfcf): Likewise.
10980 [non-C99-based standards] (gammaf): Likewise.
10981 [non-C99-based standards] (hypotf): Likewise.
10982 [non-C99-based standards] (j0f): Likewise.
10983 [non-C99-based standards] (j1f): Likewise.
10984 [non-C99-based standards] (jnf): Likewise.
10985 [non-C99-based standards] (lgammaf): Likewise.
10986 [non-C99-based standards] (tgammaf): Likewise.
10987 [non-C99-based standards] (y0f): Likewise.
10988 [non-C99-based standards] (y1f): Likewise.
10989 [non-C99-based standards] (ynf): Likewise.
10990 [non-C99-based standards] (isnanf): Likewise.
10991 [non-C99-based standards] (acoshf): Likewise.
10992 [non-C99-based standards] (asinhf): Likewise.
10993 [non-C99-based standards] (atanhf): Likewise.
10994 [non-C99-based standards] (cbrtf): Likewise.
10995 [non-C99-based standards] (expm1f): Likewise.
10996 [non-C99-based standards] (ilogbf): Likewise.
10997 [non-C99-based standards] (log1pf): Likewise.
10998 [non-C99-based standards] (logbf): Likewise.
10999 [non-C99-based standards] (nextafterf): Likewise.
11000 [non-C99-based standards] (remainderf): Likewise.
11001 [non-C99-based standards] (rintf): Likewise.
11002 [non-C99-based standards] (scalbf): Likewise.
11003 [non-C99-based standards] (copysignl): Likewise.
11004 [non-C99-based standards] (exp2l): Likewise.
11005 [non-C99-based standards] (log2l): Likewise.
11006 [non-C99-based standards] (modfl): Allow.
11007 [non-C99-based standards] (erfl): Do not allow.
11008 [non-C99-based standards] (erfcl): Likewise.
11009 [non-C99-based standards] (gammal): Likewise.
11010 [non-C99-based standards] (hypotl): Likewise.
11011 [non-C99-based standards] (j0l): Likewise.
11012 [non-C99-based standards] (j1l): Likewise.
11013 [non-C99-based standards] (jnl): Likewise.
11014 [non-C99-based standards] (lgammal): Likewise.
11015 [non-C99-based standards] (tgammal): Likewise.
11016 [non-C99-based standards] (y0l): Likewise.
11017 [non-C99-based standards] (y1l): Likewise.
11018 [non-C99-based standards] (ynl): Likewise.
11019 [non-C99-based standards] (isnanl): Likewise.
11020 [non-C99-based standards] (acoshl): Likewise.
11021 [non-C99-based standards] (asinhl): Likewise.
11022 [non-C99-based standards] (atanhl): Likewise.
11023 [non-C99-based standards] (cbrtl): Likewise.
11024 [non-C99-based standards] (expm1l): Likewise.
11025 [non-C99-based standards] (ilogbl): Likewise.
11026 [non-C99-based standards] (log1pl): Likewise.
11027 [non-C99-based standards] (logbl): Likewise.
11028 [non-C99-based standards] (nextafterl): Likewise.
11029 [non-C99-based standards] (remainderl): Likewise.
11030 [non-C99-based standards] (rintl): Likewise.
11031 [non-C99-based standards] (scalbl): Likewise.
11032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11033 [non-C99-based standards] (FP_*): Do not allow.
11034 [C99-based standards] (FP_*): Change to
11035 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11036 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11037 allow.
11038 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11039 (SIG_ERR): Likewise.
11040 [X/Open-based standards] (SIG_HOLD): Likewise.
11041 (SIG_IGN): Likewise.
11042 (SIGABRT): Use macro-int-constant. Specify type. Require
11043 positive value.
11044 (SIGFPE): Likewise.
11045 (SIGILL): Likewise.
11046 (SIGINT): Likewise.
11047 (SIGSEGV): Likewise.
11048 (SIGTER): Likewise.
11049 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11050 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11051 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11052 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11053 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11054 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11055 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11056 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11057 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11058 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11059 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11060 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11061 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11062 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11063 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11064 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11065 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11066 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11067 [X/Open-based standards] (SIGTRAP): Likewise.
11068 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11069 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11070 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11071 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11072 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11073 allow.
11074
b9f1922d
IW
110752012-05-08 Ian Wienand <ianw@vmware.com>
11076
11077 [BZ #14080]
11078 * time/tzset.c (__tzset_parse_tz): Update default rules for
11079 daylight time changes in the Energy Policy Act of 2005.
11080
1db86e88
AJ
110812012-05-09 Andreas Jaeger <aj@suse.de>
11082
11083 [BZ #13983]
11084 * elf/ldconfig.c (parse_conf): Change string to make clear that
11085 ldconfig only issued a warning if ld.so.conf does not exist.
11086
dee4a4e3
DM
110872012-05-08 David S. Miller <davem@davemloft.net>
11088
ee0db190
DM
11089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11090 movxtod instead of popping the value on the stack.
11091
dee4a4e3
DM
11092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11093
6a43ec98
CD
110942012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11095
11096 * config.h.in: Add HAVE_ARM_PCS_VFP.
11097
05c2c961
RMG
110982012-05-08 Roland Mc Grath <roland@hack.frob.com>
11099
bcfe3a54
ST
11100 [BZ #13979]
11101 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11102 checking but the checks are disabled for any reason.
05c2c961 11103
4b30f61a
L
111042012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11105
11106 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11107 and ELF64_R_TYPE with ELFW(R_TYPE).
11108
eee2bc67
JM
111092012-05-08 Joseph Myers <joseph@codesourcery.com>
11110
7ea5391a
JM
11111 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11112 (ulimit): Likewise.
11113
eee2bc67
JM
11114 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11115 (settimeofday): Likewise.
11116
abb66a67
MF
111172012-05-08 Mike Frysinger <vapier@gentoo.org>
11118
11119 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11120 a struct th_u2 inside the union, and move tu_block/tu_code into
11121 a new th_u3 union of tu_block/tu_code inside of that. Move
11122 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11123 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11124 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11125 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11126 (th_stuff): Change to th_u1.tu_stuff.
11127 (th_data): Define.
11128 (th_msg): Change to th_u1.th_u2.tu_data.
11129
7f18b530
DM
111302012-05-07 David S. Miller <davem@davemloft.net>
11131
05760585
DM
11132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11133
7f18b530
DM
11134 [BZ #14074]
11135 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11136 (SETUP_PIC_REG): Use it.
11137 (SETUP_PIC_REG_LEAF): Use it.
11138
495fd99f
JM
111392012-05-07 Joseph Myers <joseph@codesourcery.com>
11140
11141 [BZ #13885]
11142 [BZ #13923]
11143 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11144 USE_AS_EXPM1L.
11145 (EXPL_FINITE): Likewise.
11146 (FLDLOG): Likewise.
11147 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11148 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11149 e_expl.S.
11150 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11151 USE_AS_EXPM1L.
11152 (EXPL_FINITE): Likewise.
11153 (FLDLOG): Likewise.
11154 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11155 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11156 e_expl.S.
11157 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11158 test of -max_value argument for long double.
11159 * sysdeps/i386/fpu/libm-test-ulps: Update.
11160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11161
6693d694
DM
111622012-05-06 David S. Miller <davem@davemloft.net>
11163
11164 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11165 quad soft-float symbols whose references which are compiler
11166 generated.
11167 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11168
6c23e11c
JM
111692012-05-06 Joseph Myers <joseph@codesourcery.com>
11170
d8b82cad
JM
11171 [BZ #13884]
11172 [BZ #13914]
11173 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11174 USE_AS_EXP10L.
11175 (EXPL_FINITE): Likewise.
11176 (FLDLOG): Likewise.
11177 (c0): Likewise.
11178 (c1): Likewise.
11179 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11180 Adjust comments for base varying.
11181 (__expl_finite): Change alias to EXPL_FINITE.
11182 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11183 e_expl.S.
11184 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11185 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11187 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11188 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11189 USE_AS_EXP10L.
11190 (EXPL_FINITE): Likewise.
11191 (FLDLOG): Likewise.
11192 (c0): Likewise.
11193 (c1): Likewise.
11194 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11195 Adjust comments for base varying.
11196 (__expl_finite): Change alias to EXPL_FINITE.
11197 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11198 tests for bugs.
11199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11200
6c23e11c
JM
11201 [BZ #14064]
11202 * math/libm-test.inc (check_float_internal): Correct ulp
11203 calculation for subnormal expected results.
11204
29ba805c
AJ
112052012-05-06 Andreas Jaeger <aj@suse.de>
11206
11207 * Makeconfig (+math-flags): New, set to -frounding-math.
11208 (+cflags): Add +math-flags so that all of glibc gets compiled with
11209 it.
11210
11211 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11212
7b17aeda
JM
112132012-05-05 Joseph Myers <joseph@codesourcery.com>
11214
5779f134
JM
11215 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11216 Disable one test.
11217
41498f4d
JM
11218 [BZ #13787]
11219 [BZ #13922]
11220 [BZ #14036]
11221 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11222 (__ieee754_expl): Allow for and saturate large arguments.
11223 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11224 (u_threshold): Likewise.
11225 (__exp): Call __ieee754_exp before checking for overflow and
11226 underflow.
11227 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11228 (u_threshold): Likewise.
11229 (__expf): Call __ieee754_expf before checking for overflow and
11230 underflow.
11231 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11232 (u_threshold): Likewise.
11233 (__expl): Call __ieee754_expl before checking for overflow and
11234 underflow.
11235 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11236 (__ieee754_expl): Allow for and saturate large arguments.
11237 * math/libm-test.inc (exp_test): Add another test. Do not allow
11238 missing overflow exception on overflow.
11239 (expm1_test): Do not allow missing overflow exception on overflow.
11240
6698b8bf
JM
11241 * sysdeps/i386/fpu/e_expl.c: Move to ...
11242 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11243 rather than using inline asm.
11244 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11245 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11246 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11247
7b17aeda
JM
11248 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11249 (nice): Likewise.
11250 (poll): Likewise.
11251 (signal): Likewise.
11252 (time): Likewise.
11253 (times): Likewise.
11254
f7c85819
JM
112552012-05-04 Joseph Myers <joseph@codesourcery.com>
11256
11257 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11258 sysdeps/unix/common/syscalls.list.
11259 (fchmod): Likewise.
11260 (fchown): Likewise.
11261 (ftruncate): Likewise.
11262 (getrusage): Likewise.
11263 (gettimeofday): Likewise.
11264 (setpgid): Likewise.
11265 (setregid): Likewise.
11266 (setreuid): Likewise.
11267 (sigaction): Likewise.
11268 (truncate): Likewise.
11269 (vhangup): Likewise.
11270 * sysdeps/unix/common/syscalls.list: Remove file.
11271 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11272 * sysdeps/unix/sysv/linux/Implies: Likewise.
11273
336270d0
L
112742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11275
11276 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11278 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11279 Moved to ...
11280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11281 Here.
11282 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11283 to ...
11284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11285 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11286 to ...
11287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11288 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11289 to ...
11290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11291 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11292 to ...
11293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11294 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11295 to ...
11296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11297 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11298 to ...
11299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11300 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11301 to ...
11302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11303 Here.
11304 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11305 to ...
11306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11307 Here.
11308 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11309 to ...
11310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11311 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11312 Moved to ...
11313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11314 Here.
11315 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11316 to ...
11317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11318
d128e450
JM
113192012-05-04 Joseph Myers <joseph@codesourcery.com>
11320
fa8ee516
JM
11321 * sysdeps/unix/common/bits/dirent.h: Remove file.
11322 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11323
d128e450
JM
11324 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11325 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11326 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11327 * sysdeps/unix/bsd/isatty.c: Likewise.
11328 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11329 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11330 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11331
ff8faaf0 113322012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11333
62881be4 11334 [BZ #13563]
31dc8730
AZ
11335 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11336 long double comparison inaccuracies.
11337 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11339
6fef930c
AS
113402012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11341
11342 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11343 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11344
8f203e6c
JM
113452012-05-04 Joseph Myers <joseph@codesourcery.com>
11346
11347 [BZ #14049]
11348 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11349 nonzero digits before rounding a hex value.
11350 * stdlib/tst-strtod.c (tests): Add another test.
11351
5197d9c2
AK
113522012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11353
11354 * sysdeps/s390/fpu/libm-test-ulps: Update.
11355
f0c1dedf
AJ
113562012-05-03 Andreas Jaeger <aj@suse.de>
11357
11358 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11359 does not get optimized out.
11360 (malloc_opt_barrier): New.
11361
a65ef2ae 113622012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11363 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11364
2b942cb7 11365 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11366 intermediate file deletion.
2b942cb7 11367 (generated): Add .symlist files.
a65ef2ae 11368
54b71e02
JM
113692012-05-03 Joseph Myers <joseph@codesourcery.com>
11370
11371 [BZ #13775]
11372 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11373 Redirect under this condition.
11374 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11375 [__USE_GNU] (__dprintf_chk): Not under this condition.
11376 [__USE_GNU] (__vdprintf_chk): Likewise.
11377 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11378 under this condition.
11379 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11380 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11381 [__USE_XOPEN2K8] (vdprintf): Likewise.
11382 [__USE_GNU] (__dprintf_chk): Not under this condition.
11383 [__USE_GNU] (__vdprintf_chk): Likewise.
11384 [__USE_GNU] (dprintf): Likewise.
11385 [__USE_GNU] (vdprintf): Likewise.
11386
d3dfcc41
RM
113872012-05-03 Roland McGrath <roland@hack.frob.com>
11388
11389 * elf/Makefile (common-generated): Set this instead of generated for
11390 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11391 $(all-built-dso)-derived lists.
11392
7ac30cc5
AJ
113932012-05-03 Andreas Jaeger <aj@suse.de>
11394
0c51e550
AJ
11395 * sysdeps/i386/fpu/libm-test-ulps: Update.
11396
7ac30cc5
AJ
11397 * FAQ: Removed.
11398 * FAQ.in: Likewise.
11399 * scripts/gen-FAQ.pl: Likewise.
11400 * manual/install.texi (Installation): Point to online location of
11401 FAQ.
11402 * Makefile (files-for-dist): Remove FAQ.
11403 (FAQ): Remove.
11404
d4c2917f
AM
114052012-05-02 Allan McRae <allan@archlinux.org>
11406
11407 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11408 (LDFLAGS-reldepmod5.so): Likewise.
11409 (LDFLAGS-reldep6mod1.so): Likewise.
11410 (LDFLAGS-reldep6mod4.so): Likewise.
11411 (LDFLAGS-reldep8mod3.so): Likewise.
11412 (LDFLAGS-unload4mod1.so): Likewise.
11413 (LDFLAGS-unload4mod2.so): Likewise.
11414 (LDFLAGS-tst-initorder): Likewise.
11415 (LDFLAGS-tst-initordera2.so): Likewise.
11416 (LDFLAGS-tst-initordera3.so): Likewise.
11417 (LDFLAGS-tst-initordera4.so): Likewise.
11418 (LDFLAGS-tst-initorderb2.so): Likewise.
11419 (LDFLAGS-noload): Likewise.
11420 (LDFLAGS-next): Likewise.
11421 (LDFLAGS-order2mod1.so): Likewise.
11422 (LDFLAGS-order2mod2.so): Likewise.
11423 (LDFLAGS-tst-initorder2): Likewise.
11424 (LDFLAGS-tst-initorder2a.so): Likewise.
11425 (LDFLAGS-tst-initorder2b.so): Likewise.
11426 (LDFLAGS-tst-initorder2c.so): Likewise.
11427 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11428
d77f993f
DM
114292012-05-02 David S. Miller <davem@davemloft.net>
11430
11431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11432
171a70b4
PP
114332012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11434
11435 [BZ #14055]
11436 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11437
0be196ad
AJ
114382012-05-02 Andreas Jaeger <aj@suse.de>
11439
11440 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11441 since we manipulate rounding mode.
11442 (CPPFLAGS-test-idouble.c): Likewise.
11443 (CPPFLAGS-test-ifloat.c): Likewise.
11444 (CFLAGS-test-ldouble.c): Likewise.
11445 (CFLAGS-test-double.c): Likewise.
11446 (CFLAGS-test-float.c): Likewise.
11447 (CFLAGS-test-misc.c): Likewise.
11448 (CFLAGS-test-test-fenv.c): Likewise.
11449
4f9d04aa
AZ
114502012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11451
2b942cb7
RM
11452 [BZ #2550]
11453 [BZ #2570]
11454 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11455 comparisons to determine direction to adjust input.
4f9d04aa 11456
82a79e7d
RM
114572012-05-01 Roland McGrath <roland@hack.frob.com>
11458
f5a01ca9
RM
11459 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11460 output to the target.
11461
90fe4186
RM
11462 * scripts/localplt.awk: New file.
11463 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11464 (check-localplt-CFLAGS): Variable removed.
11465 ($(all-built-dso:=.jmprel)): New static pattern rule.
11466 (generated): Add those targets.
11467 (localplt-built-dso): New variable.
11468 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11469
11470 * elf/check-localplt.c: File removed.
11471
82397ed6
RM
11472 * scripts/check-execstack.awk: New file.
11473 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11474 (check-execstack-CFLAGS): Variable removed.
11475 ($(objpfx)check-execstack.h): Target removed.
11476 ($(objpfx)execstack-default): New target.
11477 (generated): Add that instead of check-execstack.h.
11478 ($(all-built-dso:=.phdr)): New static pattern rule.
11479 (generated): Add those targets.
11480 * elf/check-execstack.c: File removed.
11481
82a79e7d
RM
11482 * scripts/check-textrel.awk: New file.
11483 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11484 (check-textrel-CFLAGS): Variable removed.
11485 (all-built-dso): Use := to define.o
11486 ($(all-built-dso:=.dyn)): New static pattern rule.
11487 (generated): Add those targets.
11488 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11489 * config.make.in (READELF): New substituted variable.
11490 * elf/check-textrel.c: File removed.
11491
62fde54f 114922012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11493
615605c9
JM
11494 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11495 allow.
11496 * conform/data/ctype.h-data [C99-based standards] (isblank):
11497 Expect function.
11498 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11499 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11501 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11502 Specify type. Require positive value.
11503 (EILSEQ): Likewise.
11504 (ERANGE): Likewise.
11505 [ISO || POSIX] (EILSEQ): Do not expect.
11506 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11507 Specify type. Require positive value.
11508 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11509 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11510 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11511 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11512 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11513 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11514 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11515 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11516 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11517 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11518 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11519 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11520 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11521 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11522 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11523 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11524 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11525 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11526 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11527 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11528 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11529 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11530 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11531 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11532 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11533 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11534 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11535 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11536 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11537 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11538 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11539 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11540 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11541 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11542 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11543 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11544 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11545 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11546 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11547 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11548 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11549 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11550 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11551 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11552 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11553 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11554 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11555 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11556 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11557 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11558 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11559 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11560 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11561 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11562 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11563 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11564 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11565 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11566 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11567 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11568 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11569 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11570 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11571 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11572 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11573 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11574 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11575 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11576 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11577 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11578 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11579 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11580 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11581 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11582 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11583 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11584 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11585 Require >= 2.
11586 (FLT_ROUNDS): Expect as macro, not constant.
11587 (FLT_MANT_DIG): Use macro-int-constant.
11588 (DBL_MANT_DIG): Likewise.
11589 (LDBL_MANT_DIG): Likewise.
11590 (FLT_DIG): Likewise.
11591 (DBL_DIG): Likewise.
11592 (LDBL_DIG): Likewise.
11593 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11594 (DBL_MIN_EXP): Likewise.
11595 (LDBL_MIN_EXP): Likewise.
11596 (FLT_MAX_EXP): Use macro-int-constant.
11597 (DBL_MAX_EXP): Likewise.
11598 (LDBL_MAX_EXP): Likewise.
11599 (FLT_MAX_10_EXP): Likewise.
11600 (DBL_MAX_10_EXP): Likewise.
11601 (LDBL_MAX_10_EXP): Likewise.
11602 (FLT_MAX): Use macro-constant.
11603 (DBL_MAX): Likewise.
11604 (LDBL_MAX): Likewise.
11605 (FLT_EPSILON): Use macro-constant. Give upper bound.
11606 (DBL_EPSILON): Likewise.
11607 (LDBL_EPSILON): Likewise.
11608 (FLT_MIN): Likewise.
11609 (DBL_MIN): Likewise.
11610 (LDBL_MIN): Likewise.
11611 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11612 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11613 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11614 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11615 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11616 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11617 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11618 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11619 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11620 [ISO11] (FLT_TRUE_MIN): Likewise.
11621 [ISO11] (LDBL_TRUE_MIN): Likewise.
11622 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11623 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11624 (SCHAR_MIN): Use macro-int-constant. Specify type.
11625 (SCHAR_MAX): Likewise.
11626 (UCHAR_MAX): Likewise.
11627 (CHAR_MIN): Likewise.
11628 (CHAR_MAX): Likewise.
11629 (MB_LEN_MAX): Use macro-int-constant.
11630 (SHRT_MIN): Use macro-int-constant. Specify type.
11631 (SHRT_MAX): Likewise.
11632 (USHRT_MAX): Likewise.
11633 (INT_MAX): Likewise.
11634 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11635 bound negative.
11636 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11637 bound with "U".
11638 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11639 bound with "L".
11640 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11641 bound negative. Suffix upper bound with "L".
11642 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11643 bound with "UL".
11644 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11645 Specify type.
11646 [C99-based standards] (LLONG_MAX): Likewise.
11647 [C99-based standards] (ULLONG_MAX): Likewise.
11648 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11649 == 0.
11650 [ISO11] (max_align_t): Require type.
11651 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11652
c9140a62
JM
11653 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11654 from $CFLAGS, without defining away __attribute__ calls.
11655 (checknamespace): Use $CFLAGS_namespace.
11656
9af0bf29
JM
11657 * conform/conformtest.pl (@keywords): Only include C99 keywords
11658 for standards based on C99 or C11.
11659
343222a2
JM
11660 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11661 Disable tests.
11662 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11663 UNIX98]: Likewise.
11664
661f8cf0
JM
11665 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11666 usability of symbols in #if.
11667
ee74b9cb
JM
11668 * conform/conformtest.pl: If macro or constant types start
11669 "promoted:", expect the symbol to be of the following type
11670 promoted by the integer promotions.
62fde54f 11671
aafc49b3
JM
11672 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11673 in one place. Also handle "macro-constant".
11674
fefdf574
JM
11675 * conform/conformtest.pl: Only accept expected macro values with
11676 "==". Parse all "macro" lines in one place.
11677 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11678
f2d922fe
JM
11679 * conform/conformtest.pl: Handle braced types on "constant" lines
11680 instead of handling "typed-constant".
11681 * conform/data/signal.h-data: Use "constant" instead of
11682 "typed-constant".
11683
d22956c9
JM
11684 * conform/conformtest.pl: Handle "optional-" at start of lines in
11685 one place rather than duplicating several cases. Handle each
11686 format of "macro" line with initial "optional-".
11687
028e2e38
JM
11688 * conform/conformtest.pl: Only accept expected constant or
11689 optional-constant values with "==". Parse all "constant" lines in
11690 one place. Parse all "optional-constant" lines in one place.
11691 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11692 * conform/data/fmtmsg.h-data: Likewise.
11693 * conform/data/netinet/in.h-data: Likewise.
11694 * conform/data/tar.h-data: Likewise.
11695 * conform/data/limits.h-data: Use "==" form on "constant" and
11696 "optional-constant" lines.
11697
1b8f2850
JM
11698 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11699 Use -std=c99 for XOPEN2K.
11700 (@knownproblems): Remove.
11701 (newtoken): Don't check %isknown.
11702
a05a144b
JM
11703 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11704 Do not expect macro.
11705 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11706 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11707 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11708 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11709 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11710 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11711 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11712 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11713 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11714 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11715 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11716 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11717 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11718 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11719 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11720 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11721 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11722 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11723 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11724 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11725 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11726 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11727 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11728 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11729 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11730 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11731 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11732 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11733 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11734 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11735 [XPG3] (acosh): Likewise.
11736 [XPG3] (asinh): Likewise.
11737 [XPG3] (atanh): Likewise.
11738 [XPG3] (cbrt): Likewise.
11739 [XPG3] (expm1): Likewise.
11740 [XPG3] (ilogb): Likewise.
11741 [XPG3] (log1p): Likewise.
11742 [XPG3] (logb): Likewise.
11743 [XPG3] (nextafter): Likewise.
11744 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11745 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11746 [XPG3] (remainder): Likewise.
11747 [XPG3] (rint): Likewise.
11748 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11749 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11750 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11751 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11752 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11753 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11754 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11755 [UNIX98 || XOPEN2K] (scalb): Expect.
11756 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11757 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11758 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11759 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11760 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11761 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11762 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11763 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11764 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11765 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11766 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11767 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11768 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11769 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11770 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11771 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11772 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11773 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11774 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11775 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11776 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11777 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11778 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11779 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11780 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11781 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11782 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11783 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11784 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11785 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11786 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11787 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11788 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11789 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11790 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11791 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11792 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11793 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11794 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11795 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11796 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11797 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11798 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11799 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11800 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11801 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11802 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11803 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11804 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11805 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11806 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11807 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11808 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11809 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11810 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11811 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11812 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11813 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11814 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11815 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11816 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11817 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11818 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11819 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11820 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11821 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11822 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11823 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11824 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11825 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11826 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11827 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11828 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11829 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11830 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11831 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11832 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11833 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11834 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11835 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11836 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11837 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11838 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11839 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11840 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11841 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11842 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11843 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11844 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11845 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11846 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11847 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11848 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11849 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11850 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11851 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11852 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11853 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11854 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11855 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11856 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11857 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11858 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11859 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11860 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11861 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11862 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11863 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11864 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11865 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11866 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11867 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11868 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11869 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11870 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11871 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11872 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11873 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11874 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11875 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11876 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11877 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11878 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11879 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11880 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11881 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11882 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11883 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11884 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11885 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11886 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11887 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11888 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11889 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11890 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11891 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11892 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11893
73c5ebe3
JM
11894 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11895 _XOPEN_SOURCE_EXTENDED for XPG4.
11896
39c33b6c
JM
11897 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11898
62fde54f
JM
11899 * Makeconfig (localtime): Remove variable.
11900 (inst_localtime-file): Likewise.
11901
0741d64c
AS
119022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11903
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11905 Update.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11907 Update.
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11909 Update.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11911 Update.
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11913 Update.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11915 Update.
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11917 Update.
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11919 Update.
11920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11921 Update.
11922
7cb029ee
JM
119232012-05-01 Joseph Myers <joseph@codesourcery.com>
11924
11925 [BZ #2550]
11926 [BZ #2570]
11927 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11928 comparisons to determine direction to adjust input.
11929 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11930 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11931 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11932 Likewise.
11933 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11934 Likewise.
11935 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11936 Likewise.
11937 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11938 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11939 Likewise.
11940 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11941 Likewise.
11942 * math/libm-test.inc (nexttoward_test): Add more tests.
11943
412bd966
AS
119442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11945
11946 [BZ #14040]
11947 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11948 in version GLIBC_2.1, not GLIBC_2.0.
11949 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11950 Likewise.
11951
9568c0c2
JM
119522012-04-30 Joseph Myers <joseph@codesourcery.com>
11953
adfbc8ac
JM
11954 [BZ #13942]
11955 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11956 (1 - x) * (1 + x).
11957 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11958 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11959 * math/libm-test.inc (acos_test): Add more tests.
11960 (asin_test): Likewise.
11961 * sysdeps/i386/fpu/libm-test-ulps: Update.
11962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11963
5ba3cc69
JM
11964 [BZ #14034]
11965 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11966 of square root.
11967 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11968 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11969 * math/libm-test.inc (acos_test_tonearest): New function.
11970 (acos_test_towardzero): Likewise.
11971 (acos_test_downward): Likewise.
11972 (acos_test_upward): Likewise.
11973 (asin_test_tonearest): Likewise.
11974 (asin_test_towardzero): Likewise.
11975 (asin_test_downward): Likewise.
11976 (asin_test_upward): Likewise.
11977 (main): Call the new functions.
11978 * sysdeps/i386/fpu/libm-test-ulps: Update.
11979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11980
9568c0c2
JM
11981 [BZ #13884]
11982 [BZ #13924]
11983 * math/e_exp10.c: Include <float.h>.
11984 (__ieee754_exp10): Handle underflow here rather than multiplying
11985 large negative argument by M_LN10.
11986 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11987 of __ieee754_expf.
11988 * math/e_exp10l.c: Include <float.h>.
11989 (__ieee754_exp10l): Handle underflow here rather than multiplying
11990 large negative argument by M_LN10l.
11991 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11992 spurious overflow exception on underflow.
11993
5ac3ea17
MP
119942012-04-29 Marek Polacek <polacek@redhat.com>
11995
11996 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11997 (__fortify_function): New macro.
11998 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11999 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12000 __extern_always_inline.
12001 * libio/bits/stdio2.h: Likewise.
12002 * libio/bits/stdio.h: Likewise.
12003 * string/string.h: Likewise.
12004 * string/bits/string3.h: Likewise.
12005 * include/stdio.h: Likewise.
12006 * stdlib/bits/stdlib.h: Likewise.
12007 * stdlib/stdlib.h: Likewise.
12008 * rt/bits/mqueue2.h: Likewise.
12009 * rt/mqueue.h: Likewise.
12010 * posix/bits/unistd.h: Likewise.
12011 * posix/unistd.h: Likewise.
12012 * io/bits/poll2.h: Likewise.
12013 * io/bits/fcntl2.h: Likewise.
12014 * io/fcntl.h: Likewise.
12015 * io/sys/poll.h: Likewise.
12016 * misc/bits/syslog.h: Likewise.
12017 * misc/bits/syslog-ldbl.h: Likewise.
12018 * misc/sys/syslog.h: Likewise.
12019 * socket/bits/socket2.h: Likewise.
12020 * socket/sys/socket.h: Likewise.
12021 * debug/tst-chk1.c: Likewise.
12022 * wcsmbs/bits/wchar2.h: Likewise.
12023 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12024 * wcsmbs/wchar.h: Likewise.
12025
ecf0ebfb
AJ
120262012-04-29 Andreas Jaeger <aj@suse.de>
12027
12028 * Makerules (tests): Remove enable-check-abi protection.
12029 (check-abi-warn): Remove.
12030 (check-abi-%): Remove check-abi-warn usage.
12031
12032 * configure.in: Remove check-abi configure option.
12033 * configure: Regenerated.
12034 * config.make.in (enable-check-abi): Remove.
12035
6d5c57fa
AS
120362012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12037
24c5d07e 12038 [BZ #14033]
ded5180a
AS
12039 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12040 double functions to double *_finite functions.
12041
7e0d315d
AS
12042 [BZ #13941]
12043 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12044 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12045 LDBL_MIN_EXP.
12046 * stdio-common/Makefile (tests): Add tst-sprintf3.
12047 * stdio-common/tst-sprintf3.c: New file.
12048
6d5c57fa
AS
12049 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12050 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12051
0749ff8b
JM
120522012-04-28 Joseph Myers <joseph@codesourcery.com>
12053
12054 * conform/conformtest.pl: Remove duplicate typed-constant
12055 handling.
12056
8dbd5d7b
DM
120572012-04-28 David S. Miller <davem@davemloft.net>
12058
12059 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12060 (check-abi-%): Remove AWK script prerequisite and explicit
12061 abilist directory.
12062 (check-abi): Rewrite to just diff the symlist with the abilist.
12063 (config-tls, config-abi-config): Delete, no longer used.
12064 (update-abi-%): Remove AWK script and explicit abilist directory.
12065 (update-abi): Rewrite to simply compare and conditionally copy the
12066 symlist and the sysdep abilist file. Remove update-abi-config
12067 checks.
12068 * abilist/ld.abilist: Remove.
12069 * abilist/libBrokenLocale.abilist: Remove.
12070 * abilist/libanl.abilist: Remove.
12071 * abilist/libcrypt.abilist: Remove.
12072 * abilist/libdl.abilist: Remove.
12073 * abilist/librt.abilist: Remove.
12074 * abilist/libthread_db.abilist: Remove.
12075 * abilist/libutil.abilist: Remove.
12076 * scripts/extract-abilist.awk: Remove.
12077 * scripts/merge-abilist.awk: Remove.
12078 * sysdeps/generic/libcidn.abilist: New file.
12079 * sysdeps/generic/libnss_compat.abilist: New file.
12080 * sysdeps/generic/libnss_db.abilist: New file.
12081 * sysdeps/generic/libnss_dns.abilist: New file.
12082 * sysdeps/generic/libnss_files.abilist: New file.
12083 * sysdeps/generic/libnss_hesiod.abilist: New file.
12084 * sysdeps/generic/libnss_nis.abilist: New file.
12085 * sysdeps/generic/libnss_nisplus.abilist: New file.
12086 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12087 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12088 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12089 file.
12090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12091 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12092 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12093 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12094 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12095 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12096 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12097 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12098 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12099 file.
12100 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12101 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12102 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12103 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12104 file.
12105 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12106 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12107 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12108 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12109 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12110 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12111 file.
12112 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12113 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12114 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12115 file.
12116 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12118 New file.
12119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12120 New file.
12121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12122 New file.
12123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12124 New file.
12125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12126 New file.
12127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12128 New file.
12129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12130 New file.
12131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12132 New file.
12133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12134 New file.
12135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12136 New file.
12137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12138 New file.
12139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12140 New file.
12141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12142 New file.
12143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12144 file.
12145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12146 New file.
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12148 New file.
12149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12150 file.
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12152 New file.
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12154 New file.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12156 file.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12158 New file.
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12160 New file.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12162 New file.
12163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12164 New file.
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12166 New file.
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12168 New file.
12169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12171 file.
12172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12173 New file.
12174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12175 file.
12176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12177 file.
12178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12179 file.
12180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12181 file.
12182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12183 file.
12184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12185 New file.
12186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12187 file.
12188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12189 file.
12190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12191 New file.
12192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12193 file.
12194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12196 file.
12197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12198 New file.
12199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12200 file.
12201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12202 file.
12203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12204 file.
12205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12206 file.
12207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12208 file.
12209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12210 New file.
12211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12212 file.
12213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12214 file.
12215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12216 New file.
12217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12218 file.
12219 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12220 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12221 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12222 file.
12223 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12224 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12225 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12226 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12227 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12228 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12229 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12230 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12231 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12232 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12235 file.
12236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12237 New file.
12238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12239 file.
12240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12241 file.
12242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12243 file.
12244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12245 file.
12246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12247 file.
12248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12249 New file.
12250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12251 New file.
12252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12253 file.
12254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12255 New file.
12256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12257 file.
12258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12260 file.
12261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12262 New file.
12263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12264 file.
12265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12266 file.
12267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12268 file.
12269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12270 file.
12271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12272 file.
12273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12274 New file.
12275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12276 New file.
12277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12278 file.
12279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12280 New file.
12281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12282 file.
12283
41d73a1b
JM
122842012-04-28 Joseph Myers <joseph@codesourcery.com>
12285
12286 * conform/conformtest.pl: Fix typo in handling typed-constant from
12287 allow-header.
12288
28aeeda4
JM
122892012-04-27 Joseph Myers <joseph@codesourcery.com>
12290
adae8f5e
JM
12291 * README: Cut down references to pre-2.6 Linux kernels and
12292 Linuxthreads. Update lists of configurations in libc and ports
12293 and sort alphabetically. Say "or newer" with Linux kernel version
12294 requirements.
12295
28aeeda4
JM
12296 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12297
a462cb63
RA
122982012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12299
12300 [BZ #887]
12301 * math/libm-test.inc (logb_test_downward): New test to expose
12302 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12303 rounding mode.
12304
6ad3493e
JM
123052012-04-27 Joseph Myers <joseph@codesourcery.com>
12306
12307 [BZ #14027]
12308 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12309 to be done.
12310 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12311 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12312
2ce4f015
JM
123132012-04-26 Joseph Myers <joseph@codesourcery.com>
12314
5aeb141a
JM
12315 * sysdeps/unix/i386/brk.S: Remove file.
12316 * sysdeps/unix/i386/dl-brk.S: Likewise.
12317 * sysdeps/unix/i386/pipe.S: Likewise.
12318 * sysdeps/unix/i386/sigreturn.S: Likewise.
12319 * sysdeps/unix/i386/syscall.S: Likewise.
12320 * sysdeps/unix/i386/vfork.S: Likewise.
12321 * sysdeps/unix/i386/wait.S: Likewise.
12322
7143acae
JM
12323 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12324 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12325
2ce4f015
JM
12326 * configure.in (arm*-none*): Do not allow without
12327 --enable-hacker-mode.
12328 (netbsd*): Remove case setting base_os.
12329 (386bsd*): Likewise.
12330 (freebsd*): Likewise.
12331 (bsdi*): Likewise.
12332 (osf*): Likewise.
12333 (sunos*): Likewise.
12334 (ultrix*): Likewise.
12335 (newsos*): Likewise.
12336 (dynix*): Likewise.
12337 (*bsd*): Likewise.
12338 (sysv*): Likewise.
12339 (isc*): Likewise.
12340 (esix*): Likewise.
12341 (sco*): Likewise.
12342 (minix*): Likewise.
12343 (irix4*): Likewise.
12344 (irix6*): Likewise.
12345 (solaris[2-9]*): Likewise.
12346 (none): Likewise.
12347 * configure: Regenerated.
12348
0ac229c8
AZ
123492012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12350
12351 [BZ #11521]
12352 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12353 overflow or cancellation in calculating denominator.
12354 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12355 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12356 down expression to avoid unexpected rounding in newer GCCs.
12357 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12358
33f244f4
DM
123592012-04-26 David S. Miller <davem@davemloft.net>
12360
12361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12362 long-double compat symbols.
12363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12376
cfa1f3e8
DM
123772012-04-25 David S. Miller <davem@davemloft.net>
12378
12379 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12380 HWCAP_* values only after the memory barriers have been defined.
12381 (atomic_full_barrier): Define.
12382 (atomic_read_barrier): Define.
12383 (atomic_write_barrier): Define.
12384
6e236b92
SP
123852012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12386
12387 * shlib-versions: Add libgcc_s version information.
12388 * sysdeps/generic/libgcc_s.h: Remove.
12389 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12390 libgcc_s.h.
12391 * sysdeps/gnu/unwind-resume.c: Likewise.
12392 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12393
aab39a09
DM
123942012-04-25 David S. Miller <davem@davemloft.net>
12395
12396 * sysdeps/unix/sparc/brk.S: Delete.
12397 * sysdeps/unix/sparc/dl-brk.S: Delete.
12398 * sysdeps/unix/sparc/pipe.S: Delete.
12399 * sysdeps/unix/sparc/sysdep.S: Delete.
12400 * sysdeps/unix/sparc/sysdep.h: Delete.
12401 * sysdeps/unix/sparc/vfork.S: Delete.
12402 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12403 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12404 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12405 ret_ERRVAL, r0, r1, MOVE): Define.
12406 (JUMPTARGET): Remove.
12407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12408 sysdeps/unix/sparc/sysdep.h
12409 (ENTRY, END): Remove.
12410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12411
a3cc4f48
JM
124122012-04-25 Joseph Myers <joseph@codesourcery.com>
12413
2ed8cda2
JM
12414 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12415 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12416 -DIS_IN_build.
12417
35d76d59
JM
12418 * timezone/README: Update upstream location and email address for
12419 tzcode and tzdata.
12420 * timezone/zdump.c: Update from tzcode 2012b.
12421 * timezone/zic.c: Likewise.
12422
a3cc4f48
JM
12423 * configure.in (libc_cv_as_needed): Remove test.
12424 * configure: Regenerated.
12425 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12426 conditional definition.
12427 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12428 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12429 * config.make.in (have-as-needed): Remove variable.
12430
ceab42c3
SP
124312012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12432 Paul Pluzhnikov <ppluzhnikov@google.com>
12433
12434 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12435 strings correctly.
12436
3ce2865f
CLT
124372012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12438
12439 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12440 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12441 * sysdeps/sh/strlen.S: Likewise.
12442
f37e0d68
JM
124432012-04-24 Joseph Myers <joseph@codesourcery.com>
12444
ae186e9a
JM
12445 * sysdeps/unix/fork.S: Remove file.
12446 * sysdeps/unix/i386/fork.S: Likewise.
12447 * sysdeps/unix/sparc/fork.S: Likewise.
12448
b96914af
JM
12449 * sysdeps/unix/system.c: Remove file.
12450 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12451
f37e0d68
JM
12452 * sysdeps/unix/getegid.S: Remove file.
12453 * sysdeps/unix/geteuid.S: Likewise.
12454
87ef29ca
RM
124552012-04-24 Roland McGrath <roland@hack.frob.com>
12456
83bcd236
RM
12457 * scripts/check-localplt.awk: New file.
12458 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12459 of diff.
12460 * scripts/data/localplt-generic.data: Add a comment.
12461
87ef29ca
RM
12462 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12463 NODE when __dir_mkfile failed.
12464 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12465 Reported by Ludovic Courtès <ludo@gnu.org>.
12466
e5a6e567
AJ
124672012-04-24 Andreas Jaeger <aj@suse.de>
12468
12469 * Makerules (common-clean): Also remove gen-as-const-headers
12470 files.
12471
c1820385
JM
124722012-04-24 Joseph Myers <joseph@codesourcery.com>
12473
12474 * Makerules (native-compile): Do not change working directory for
12475 build. Use $(OUTPUT_OPTION) in command.
12476 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12477
94e02fc4
AZ
124782012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12479
12480 [BZ #13886]
12481 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12482 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12483 * math/libm-test.inc (floor_test): Add more tests.
12484 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12485
3a533ca3
JM
124862012-04-24 Joseph Myers <joseph@codesourcery.com>
12487
940ab4b3
JM
12488 * sysdeps/unix/getdents.c: Remove file.
12489 * sysdeps/unix/sysv/getdents.c: Likewise.
12490 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12491
90e037bd
JM
12492 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12493 sysdeps/unix/mman/syscalls.list.
12494 (mmap): Likewise.
12495 (mprotect): Likewise.
12496 (msync): Likewise.
12497 (munmap): Likewise.
12498 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12499 * sysdeps/unix/mman/syscalls.list: Remove.
12500 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12501
3a533ca3
JM
12502 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12503 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12504 * configure: Regenerated.
12505 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12506 $(libgcc_s_suffix).
12507 * config.make.in (libgcc_s_suffix): Remove variable.
12508
1ad743de
JM
125092012-04-23 Joseph Myers <joseph@codesourcery.com>
12510
4ad451e2
JM
12511 * sysdeps/unix/sysv/gethostname.c: Move to ...
12512 * sysdeps/posix/gethostname.c: ... here.
12513
5e37ce39
JM
12514 * sysdeps/unix/execve.S: Remove file.
12515
1ad743de
JM
12516 * sysdeps/unix/_exit.S: Remove file.
12517
4e681b5b
AJ
125182012-04-23 Andreas Jaeger <aj@suse.de>
12519
12520 [BZ #13739]
12521 * manual/Makefile: Remove make dist support, there's no
12522 need for a stand-alone documentation tar ball.
12523 (TEXI2DVI): Define always, it's not in Makeconfig.
12524 (dist): Removed.
12525 (tar-it): Removed.
12526 (edition): Removed.
12527 (glibc-doc-$(edition).tar): Removed
12528 (%.Z): Removed.
12529 (%.gz): Removed.
12530 (%.uu): Removed.
12531 (ETAGS): Remove, it's in Makeconfig.
12532 (move-if-change): Remove, it's in Makeconfig.
12533
38686a03 125342012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12535
12536 [BZ #13970]
12537 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12538 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12539 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12540 (strtod_l, strtof_l, strtold_l): Remove __wur.
12541 It is not necessarily an error to ignore strtol's return value.
12542 One can reliably look at the stored endptr to decide whether
12543 the number had valid syntax.
12544
7c0616fa
AJ
125452012-04-21 Andreas Jaeger <aj@suse.de>
12546
803cb6b7 12547 [BZ #13739]
7c0616fa
AJ
12548 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12549
b0fe253f
JM
125502012-04-21 Joseph Myers <joseph@codesourcery.com>
12551
12552 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12553 * sysdeps/unix/sysv/Versions: Remove file.
12554
8280f22d
MT
125552012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12556
12557 [BZ #13927]
12558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12559
75ce411f 125602012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12561
12562 [BZ #7064]
12563 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12564 version from __vm86.
12565
097d59fa
JM
125662012-04-20 Joseph Myers <joseph@codesourcery.com>
12567
a90f3bcb
JM
12568 * sysdeps/unix/common/lxstat.c: Remove file.
12569 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12570
edc7ea78
JM
12571 * sysdeps/unix/sysv/Makefile: Remove file.
12572
cb78c221
JM
12573 * sysdeps/unix/sysv/direct.h: Remove file.
12574
efa6a45f
JM
12575 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12576 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12577 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12578 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12579 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12580 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12581 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12582
9c9f2d0c
JM
12583 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12584
4541c83b
JM
12585 * sysdeps/unix/xmknod.c: Remove file.
12586 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12587
f5d153a0
JM
12588 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12589
aa746595
JM
12590 * sysdeps/unix/sysv/i386/time.S: Remove file.
12591
cce5905e
JM
12592 * sysdeps/unix/fxstat.c: Remove file.
12593 * sysdeps/unix/xstat.c: Likewise.
12594 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12595
37fa3841
JM
12596 * sysdeps/unix/sysv/sigaction.c: Remove file.
12597
ff1962a3
JM
12598 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12599 (sysdep_headers): Remove variable.
12600 [termio.h not in sysdep_headers] (generated): Likewise.
12601 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12602 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12603 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12604 * sysdeps/unix/sysv/tcflow.c: Likewise.
12605 * sysdeps/unix/sysv/tcflush.c: Likewise.
12606 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12607 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12608 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12609 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12610 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12611
e7740d31
JM
12612 * sysdeps/unix/siglist.c: Remove file.
12613
ee06f18b
JM
12614 * sysdeps/unix/getppid.S: Remove file.
12615
097d59fa
JM
12616 * sysdeps/unix/mkdir.c: Remove file.
12617 * sysdeps/unix/rmdir.c: Likewise.
12618
ff3d51ec
AS
126192012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12620
12621 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12622 ERR_MAX value.
12623 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12624 errlist-compat value.
12625
50f81fd7
DM
126262012-04-18 David S. Miller <davem@davemloft.net>
12627
12628 * sysdeps/generic/memcopy.h (reg_char): Delete.
12629 * debug/strcat_chk.c: Use char, not reg_char.
12630 * debug/strcpy_chk.c: Likewise.
12631 * debug/strncat_chk.c: Likewise.
12632 * debug/strncpy_chk.c: Likewise.
12633 * string/memchr.c: Likewise.
12634 * string/memrchr.c: Likewise.
12635 * string/rawmemchr.c: Likewise.
12636 * string/strcat.c: Likewise.
12637 * string/strchr.c: Likewise.
12638 * string/strchrnul.c: Likewise.
12639 * string/strcmp.c: Likewise.
12640 * string/strcpy.c: Likewise.
12641 * string/strncat.c: Likewise.
12642 * string/strncmp.c: Likewise.
12643 * string/strncpy.c: Likewise.
12644
8ff41c46
WS
126452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12646
12647 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12648 __builtin_memcopy is called when src and dest ranges are known to not
12649 overlap.
12650
6b652f46
WS
126512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12652
12653 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12654 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12655 fwd_align_merge macro call.
12656 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12657 bwd_align_merge macro call.
12658 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12659
b282631e
WS
126602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12661
12662 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12663 bwd_align_merge macros.
12664 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12665 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12666 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12667
95aa737c
DM
126682012-04-18 David S. Miller <davem@davemloft.net>
12669
12670 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12671
7a99a614
AJ
126722012-04-18 Andreas Jaeger <aj@suse.de>
12673
12674 [BZ# 6794]
12675 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12676 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12677 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12678
12679 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12680 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12681 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12682
12683 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12684 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12685 Adjust for changed ldbl-128 files.
12686
12687 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12688 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12689 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12690
e5270c23
DM
126912012-04-17 David S. Miller <davem@davemloft.net>
12692
12693 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12694
fb5e92c9
AS
126952012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12696
12697 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12698 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12699 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12700 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12701 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12702 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12703
76da7265
AZ
127042012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12705
12706 [BZ #6794]
12707 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12708 * math/libm-test.inc: Add ilogb errno and exception tests.
12709 * math/w_ilogb.c: New file: ilogb wrapper.
12710 * math/w_ilogbf.c: New file: ilogbf wrapper.
12711 * math/w_ilogbl.c: New file: ilogbl wrapper.
12712 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12713 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12714 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12715 exception being thrown with 0.0 as argument.
12716 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12717 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12718 exception being thrown with 0.0 as argument.
12719 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12720 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12721 exception being thrown with 0.0 as argument.
12722 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12723 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12724 exception being thrown with 0.0 as argument.
12725 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12726 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12727 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12728 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12729 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12730 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12731 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12732 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12733 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12734
0396e69d
PB
127352012-04-17 Petr Baudis <pasky@ucw.cz>
12736
12737 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12738 with altivec.
12739
750b5926
MP
127402012-04-16 Marek Polacek <polacek@redhat.com>
12741
12742 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12743
751728a1
MP
127442012-04-16 Marek Polacek <polacek@redhat.com>
12745
12746 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12747 operands of fdivp instruction.
12748
34a27407
L
127492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12750
12751 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12752 * elf/tst-auditmod3b.c: Likewise.
12753 * elf/tst-auditmod4b.c: Likewise.
12754 * elf/tst-auditmod5b.c: Likewise.
12755 * elf/tst-auditmod6b.c: Likewise.
12756 * elf/tst-auditmod6c.c: Likewise.
12757 * elf/tst-auditmod7b.c: Likewise.
12758 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12759 * sysdeps/x86_64/preconfigure.in: Likewise.
12760 * sysdeps/x86_64/preconfigure: Regenerated.
12761
7e73e17d
L
127622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12763
12764 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12765 __ILP32__.
12766
c7a6ab72
AB
127672012-04-13 Antoine Balestrat <merkil33@gmail.com>
12768
12769 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12770 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12771
a9e8e0e0
CL
127722012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12773
12774 [BZ #13973]
12775 * locale/iso-639.def: Fix gl language name. Spotted by
12776 Yaron Shahrabani.
12777
ec98af7d
RM
127782012-04-12 Roland McGrath <roland@hack.frob.com>
12779
12780 [BZ #2074]
12781 * libio/libio.h (__io_write_fn): Update comment.
12782
247c3ede
PB
127832012-04-12 Petr Baudis <pasky@ucw.cz>
12784
12785 [BZ #2074]
12786 * stdio.texi (Hook Functions): The user provided writer function
12787 is not allowed to return -1.
12788
55939d6d
DM
127892012-04-11 David S. Miller <davem@davemloft.net>
12790
12791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12792
90020f5a
MF
127932012-04-11 Mike Frysinger <vapier@gentoo.org>
12794
12795 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12796 Add a leading slash to rtkaio.
12797
288f9098
JM
127982012-04-11 Jim Meyering <meyering@redhat.com>
12799
90020f5a
MF
12800 [BZ #11959]
12801 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12802 It is not necessarily an error to ignore fwrite's return
12803 value. One can reliably use ferror to test for errors after
12804 the fact.
288f9098 12805
4be2b570
L
128062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12807
12808 * bits/types.h (__snseconds_t): New type.
12809 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12810
12811 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12813 (__SNSECONDS_T_TYPE): Likewise.
12814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12815 (__SNSECONDS_T_TYPE): Likewise.
12816 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12817 (__SNSECONDS_T_TYPE): Likewise.
12818
288f9098 128192012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12820
12821 [BZ #2636]
12822 * manual/time.texi (Processor Time): Return type of times is
12823 elapsed real time since an arbitrary point in the past.
12824 (CPU Time): Move CLK_TCK from here...
12825 (Processor Time): ...to here. Correct description.
12826 * manual/conf.texi (Constants for Sysconf): Correct description of
12827 _SC_CLK_TCK.
12828
d7dd4413
DM
128292012-04-10 David S. Miller <davem@davemloft.net>
12830
12831 [BZ #13967]
12832 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12833 where the is a gap between DT_REL(A) and DT_JMPREL.
12834
b46068fc
L
128352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12836
12837 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12838 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12839 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12840
73d65cc3
SP
128412012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12842
12843 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12844 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12845 (dl_main): Handle --inhibit-cache.
12846 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12847 _dl_inhibit_cache.
12848 * elf/dl-load.c (_dl_map_object): Use it.
12849 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12850
bcc8d661
JM
128512012-04-09 Joseph Myers <joseph@codesourcery.com>
12852
8f9a2fae
JM
12853 [BZ #13872]
12854 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12855 (__ieee754_powl): Saturate large exponents rather than testing for
12856 overflow of y*log2(x).
12857 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12858 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12859 exceptions.
12860
bcc8d661
JM
12861 [BZ #11521]
12862 * math/s_ctan.c: Include <float.h>.
12863 (__ctan): Avoid internal overflow or cancellation in calculating
12864 denominator.
12865 * math/s_ctanf.c: Likewise.
12866 * math/s_ctanl.c: Likewise.
12867 * math/s_ctanh.c: Likewise.
12868 * math/s_ctanhf.c: Likewise.
12869 * math/s_ctanhl.c: Likewise.
12870 * math/libm-test.inc (ctan_test): Add more tests.
12871 (ctanh_test): Likewise.
12872 * sysdeps/i386/fpu/libm-test-ulps: Update.
12873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12874
823fbbb4
AJ
128752012-04-09 Andreas Jaeger <aj@suse.de>
12876
03879793
AJ
12877 [BZ #6894]
12878 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12879 is an optional BSD extension.
12880
823fbbb4
AJ
12881 [BZ #10254]
12882 * manual/stdio.texi (Opening Streams): Document additional fopen
12883 parameters.
12884
8de131cb
RM
128852012-04-09 Roland McGrath <roland@hack.frob.com>
12886
12887 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12888 %eax without telling the compiler.
12889
c0ed9d7d
CD
128902012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12891
12892 [BZ # 13963]
12893 * manual/install.texi: Use sourceware.org.
12894
c483f6b4
JM
128952012-04-09 Joseph Myers <joseph@codesourcery.com>
12896
d7dd9453
JM
12897 [BZ #13873]
12898 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12899 (__ieee754_pow): Generate overflow and underflow using huge*huge
12900 and tiny*tiny rather than just returning constant infinity or zero
12901 for large exponents.
12902 * math/libm-test.inc (pow_test): Require overflow exceptions for
12903 applicable cases of large exponents.
12904
c483f6b4
JM
12905 [BZ #706]
12906 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12907 (__ieee754_pow): Use iterative multiplication algorithm only for
12908 integer exponents with absolute value below 1024. Check for odd
12909 integer exponents when using algorithm for real exponents.
12910 * math/libm-test.inc (pow_test): Add more tests.
12911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12912
d2de7579
JM
129132012-04-08 Joseph Myers <joseph@codesourcery.com>
12914
12915 [BZ #13705]
12916 * math/libm-test.inc (exp_test): Do not allow overflow exception
12917 on underflow test.
12918
f77f1232
AJ
129192012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12920
12921 [BZ #13705]
12922 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12923 instead of __kernel_standard_f.
12924
3884932b
MF
129252012-04-08 Mike Frysinger <vapier@gentoo.org>
12926
12927 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12928 * sysdeps/x86_64/memset_chk.S: Likewise.
12929
54472e9c
AJ
129302012-04-08 Andreas Jaeger <aj@suse.de>
12931
6ab0fbfc
AJ
12932 [BZ #10153]
12933 * manual/startup.texi (Environment Access): Describe return value
12934 for putenv and setenv.
12935
61efba8c
AJ
12936 [BZ #6895]
12937 * manual/filesys.texi (Directory Entries): Add description for
12938 DT_LNK.
12939
95c3f29a
AJ
12940 [BZ #6890]
12941 * manual/filesys.texi (Directory Entries): Clarify that it's file
12942 system not operating system in the description of DT_UNKNOWN.
12943
54472e9c
AJ
12944 [BZ #6578]
12945 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12946
624254b1
SC
129472012-04-08 Stephen Compall <s11@member.fsf.org>
12948
12949 [BZ #6649]
12950 * manual/llio.texi (Opening and Closing Files): Add cross
12951 reference to explain mode argument.
12952
1e4920e0
MF
129532012-04-07 Mike Frysinger <vapier@gentoo.org>
12954
12955 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12956 * sysdeps/x86_64/memset_chk.S: Likewise.
12957
5ed848f3
DM
129582012-04-07 David S. Miller <davem@davemloft.net>
12959
12960 * elf/elf.h (R_SPARC_WDISP10): Define.
12961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12962 R_SPARC_SIZE32.
12963 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12964 R_SPARC_SIZE64 and R_SPARC_H34.
12965
96154cd8
CD
129662012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12967
12968 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12969 conditions and remove no longer applicable assertion.
12970
9904dc47
L
129712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12972
12973 * bits/byteswap.h: Include <features.h>.
12974 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12975 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12976
f8887d0a
L
129772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12978
12979 * bits/byteswap.h (__bswap_16): Removed.
12980 Include <bits/byteswap-16.h> to get __bswap_16.
12981 * sysdeps/i386/bits/byteswap.h: Likewise.
12982 * sysdeps/s390/bits/byteswap.h: Likewise.
12983 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12984 * bits/byteswap-16.h: New file.
12985 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12986 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12987 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12988 * string/Makefile (headers): Add bits/byteswap-16.h.
12989
62470f60
PP
129902012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12991
12992 [BZ #13895]
12993 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12994 extra indirection.
12995 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12996 * nss/tst-nss-static.c: New.
12997
4dad7bab
RM
129982012-04-06 Robert Millan <rmh@gnu.org>
12999
13000 [BZ #6486]
13001 * manual/llio.texi (File Position Primitive): lseek
13002 refers to WHENCE when it really means OFFSET.
13003
e9142a17
AJ
130042012-04-06 Andreas Jaeger <aj@suse.de>
13005
2c040eff
AJ
13006 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13007 strncmp declarations.
13008
e9142a17
AJ
13009 * abilist/libc.abilist: Add __poll and __ppoll.
13010
ff9f1c5f
DM
130112012-04-05 David S. Miller <davem@davemloft.net>
13012
dcd2ae90
DM
13013 * scripts/check-local-headers.sh: Accept a host triplet in the
13014 path matched by the exclude regexp.
13015
993eb054
DM
13016 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13017 definition.
13018 * sysdeps/powerpc/powerpc32/dl-machine.h
13019 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13020 * sysdeps/s390/s390-32/dl-machine.h
13021 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13022 * sysdeps/sparc/sparc32/dl-machine.h
13023 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13024 * sysdeps/sparc/sparc64/dl-machine.h
13025 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13026
ff9f1c5f
DM
13027 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13028 lazy binding.
48e2e132 13029 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13030 undefined symbol errors.
13031
48e2e132 13032 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13033 DT_NEEDED entries.
13034
e80d6f94
MM
130352012-04-05 Michael Matz <matz@suse.de>
13036
13037 [BZ #13592]
13038 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13039
349fa79f
AJ
130402012-04-05 Andreas Jaeger <aj@suse.de>
13041
13042 [BZ #13908]
13043 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13044 comment.
13045
f402708f
KK
130462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13047
13048 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13049 which ROUND is no valid rounding mode.
13050
2ecccfc9
KK
130512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13052
13053 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13054 read again.
13055 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13056
8a53f50f
KK
130572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13058
13059 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13060 an exception using FPU order intentionally.
13061
130622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13063
13064 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13065 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13066 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13067 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13068
d653abb7
SJ
130692012-04-05 Simon Josefsson <simon@josefsson.org>
13070
13071 [BZ #12340]
13072 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13073 EINVAL when BUFLEN is too smal.
13074
c3b1bf7d
TS
130752012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13076
13077 [BZ #13553]
13078 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13079 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13080
b1aa60f3
AJ
130812012-04-03 Andreas Jaeger <aj@suse.de>
13082
c3b1bf7d 13083 [BZ #13938]
67f60a26
AJ
13084 * manual/setjmp.texi (System V contexts): Fix sentence.
13085
b1aa60f3
AJ
13086 [BZ #13926]
13087 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13088 New macro for this case.
13089 [!__GNUC__] (__bswap_64): New inline function for this case.
13090 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13091 * bits/byteswap.h: Likewise.
13092 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13093 ull, guard with __GLIBC_HAVE_LONG_LONG.
13094
13095 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13096 __GLIBC_HAVE_LONG_LONG.
13097
13098 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13099 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13100
39c59c35
TMQMF
131012012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13102
13103 [BZ #13691]
13104 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13105 inptr and inend, rather than using last_ch.
13106
135ffda8
DM
131072012-04-02 David S. Miller <davem@davemloft.net>
13108
13109 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13110 * stdio-common/printf-parse.h (read_int): Change return type to
13111 'int', return -1 on INT_MAX overflow.
13112 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13113 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13114 overflows INT_MAX. Check for overflow of in-format-string precision
13115 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13116 SIZE_MAX not INT_MAX for integer overflow test.
13117 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13118 skip the construct in the format string but do not record anything.
13119 * stdio-common/bug22.c: Adjust to test both width/prevision
13120 INT_MAX overflow as well as total length INT_MAX overflow. Check
13121 explicitly for proper errno values.
13122
228c019e
TS
131232012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13124
302cadd3
TS
13125 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13126 CHAR_MAX.
13127 * string/test-strcmp.c [! WIDE]: Likewise.
13128 * time/tst-mktime2.c: Likewise for INT_MAX.
13129 * string/test-string.h: #include <sys/param.h> for MIN.
13130
228c019e
TS
13131 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13132 * sysdeps/i386/init-first.c (init): Likewise.
13133 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13134 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13135 * sysdeps/sh/init-first.c (init): Likewise.
13136
cfa633f5
UD
131372012-04-01 Ulrich Drepper <drepper@gmail.com>
13138
13139 * po/ru.po: Update from translation team.
d1635ef8 13140 * po/vi.po: Likewise.
cfa633f5 13141
6cd0a5ea
SP
131422012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13143
13144 * resolv/nss_dns/dns-host.c: Merge copyright years.
13145
4b43400f
LD
131462012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13147
13148 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13149 Optimize memcpy with prefetch if
13150 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13151 src, dst pointers have unequal 16 byte alignments.
13152
48c41d04
SP
131532012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13154
13155 [BZ #13928]
13156 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13157 from a CNAME entry and return the minimum ttl for the query.
13158 (gaih_getanswer_slice): Likewise.
13159
b8dc394d
JL
131602012-03-30 Jeff Law <law@redhat.com>
13161
13162 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13163 due to long keys.
13164 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13165 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13166
2f5a5ed0
JL
13167 * resolv/nss_dns/dns-host.c: Update copyright year.
13168
1d39e359
UD
131692012-03-30 Ulrich Drepper <drepper@gmail.com>
13170
c030f70c 13171 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13172 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13173
1d39e359
UD
13174 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13175 comments for sendmmsg.
13176
131772012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13178
13179 [BZ #13691]
13180 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13181 with only 1 character between 0x0041 and 0x01b0.
13182 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13183 * wcsmbs/tst-mbsnrtowcs.c: New file.
13184
20fde227
DM
131852012-03-29 David S. Miller <davem@davemloft.net>
13186
13187 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13188 small copies by hand.
13189
984a4237
JL
131902012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13191
13192 [BZ #13761]
13193 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13194 _nss_compat_initgroups_dyn): Fall back to malloc/free
13195 for large group memberships.
13196
18c9d62b
DM
131972012-03-28 David S. Miller <davem@davemloft.net>
13198
88d85d4f
DM
13199 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13200 that branches into memcpy.
13201 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13203 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13204 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13206 bits.
13207 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13208 implementation too.
13209 * sysdeps/sparc/mempcpy.S: New file.
13210
e5aa83e1
DM
13211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13212 the IFUNC routine in the libc case.
13213 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13214
88570753
DM
13215 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13216 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13217 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13218 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13219 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13220 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13221 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13222 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13223
249d7567
DM
13224 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13225 loop to 256 bytes instead of 64 bytes and fix test signedness.
13226
18c9d62b
DM
13227 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13228 * sysdeps/sparc/sparc32/Makefile: rather than here...
13229 * sysdeps/sparc/sparc64/Makefile: and here.
13230
05f3d1f6
UD
132312012-03-28 Ulrich Drepper <drepper@gmail.com>
13232
13233 * malloc/mallocbug.c: Avoid warnings about unused variables.
13234
86ae07a8
JL
132352012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13236
13237 [BZ #13760]
13238 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13239 in the right place. Discard and retry query if response is
13240 larger than input buffer size.
13241
41bf21a1
JM
132422012-03-28 Joseph Myers <joseph@codesourcery.com>
13243
d6270972
JM
13244 [BZ #369]
13245 [BZ #2678]
13246 [BZ #3866]
13247 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13248 x for large integer exponent.
13249 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13250 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13251 sign of result as needed afterwards.
13252 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13253 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13254 result for underflowing pow the same as for overflow.
13255 (__kernel_standard_l): Handle powl overflow and underflow here
13256 rather than calling __kernel_standard.
13257 * math/libm-test.inc (pow_test): Add more tests.
13258
414fca03 13259 [BZ #3868]
41bf21a1
JM
13260 [BZ #13879]
13261 [BZ #13910]
13262 [BZ #13911]
13263 [BZ #13912]
13264 [BZ #13913]
13265 [BZ #13915]
13266 [BZ #13916]
13267 [BZ #13917]
13268 [BZ #13918]
13269 [BZ #13919]
13270 [BZ #13920]
13271 [BZ #13921]
13272 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13273 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13274 (__kernel_standard_l): New function.
13275 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13276 __kernel_standard.
13277 * math/w_acosl.c (__acosl): Likewise.
13278 * math/w_asinl.c (__asinl): Likewise.
13279 * math/w_atan2l.c (__atan2l): Likewise.
13280 * math/w_atanhl.c (__atanhl): Likewise.
13281 * math/w_coshl.c (__coshl): Likewise.
13282 * math/w_exp10l.c (__exp10l): Likewise.
13283 * math/w_exp2l.c (__exp2l): Likewise.
13284 * math/w_fmodl.c (__fmodl): Likewise.
13285 * math/w_hypotl.c (__hypotl): Likewise.
13286 * math/w_j0l.c (__j0l, __y0l): Likewise.
13287 * math/w_j1l.c (__j1l, __y1l): Likewise.
13288 * math/w_jnl.c (__jnl, __ynl): Likewise.
13289 * math/w_lgammal.c (__lgammal): Likewise.
13290 * math/w_log10l.c (__log10l): Likewise.
13291 * math/w_log2l.c (__log2l): Likewise.
13292 * math/w_logl.c (__logl): Likewise.
13293 * math/w_powl.c (__powl): Likewise.
13294 * math/w_remainderl.c (__remainderl): Likewise.
13295 * math/w_scalbl.c (sysv_scalbl): Likewise.
13296 * math/w_sinhl.c (__sinhl): Likewise.
13297 * math/w_sqrtl.c (__sqrtl): Likewise.
13298 * math/w_tgammal.c (__tgammal): Likewise.
13299 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13300 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13301 * math/libm-test.inc (acos_test): Add more tests.
13302 (acosh_test): Likewise.
13303 (asin_test): Likewise.
13304 (atanh_test): Likewise.
13305 (exp_test): Likewise.
13306 (exp10_test): Likewise.
13307 (exp2_test): Likewise.
13308 (expm1_test): Likewise.
13309 (lgamma_test): Likewise.
13310 (log_test): Likewise.
13311 (log10_test): Likewise.
13312 (log1p_test): Likewise.
13313 (log2_test): Likewise.
13314 (pow_test): Do not allow some spurious overflow exceptions.
13315 (sqrt_test): Add more tests.
13316 (tgamma_test): Likewise.
13317 (y0_test): Likewise.
13318 (y1_test): Likewise.
13319 (yn_test): Likewise.
13320
dd62fda6
AB
133212012-03-27 Anton Blanchard <anton@samba.org>
13322
13323 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13324 MAP_HUGETLB.
13325 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13326 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13327 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13328
1e3cdfda
AJ
133292012-03-27 David S. Miller <davem@davemloft.net>
13330
b855ab85
DM
13331 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13332
1e3cdfda
AJ
13333 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13334 have-as-vis3 check.
13335
133362012-03-27 Andreas Jaeger <aj@suse.de>
13337
13338 * sysdeps/x86_64/elf/configure.in: Moved to ...
13339 * sysdeps/x86_64/configure.in: ... here.
13340 * sysdeps/x86_64/elf/start.S: Moved to ...
13341 * sysdeps/x86_64/start.S: ... here.
13342 * sysdeps/x86_64/elf/configure: Delete.
13343
13344 * sysdeps/x86_64/configure.in: Merge contents from
13345 sysdeps/i386/configure.in (without i686 check).
13346
13347 * sysdeps/i386/elf/Versions: Merge into ...
13348 * sysdeps/i386/Versions: ... this.
13349 * sysdeps/i386/elf/Versions: Delete file.
13350 * sysdeps/i386/elf/start.S: Moved to ...
13351 * sysdeps/i386/start.S: ...here.
13352 * sysdeps/i386/elf/configure.in: Merge into...
13353 * sysdeps/i386/configure.in: ...here.
13354 * sysdeps/i386/elf/configure.in: Delete file.
13355 * sysdeps/i386/elf/configure: Delete file.
13356
13357 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13358 * debug/backtracesyms.c: ... here.
13359 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13360 * debug/backtracesymsfd.c: ... here.
13361 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13362 * sysdeps/generic/ifunc-sel.h: ... here.
13363
13364 * sysdeps/unix/i386/start.c: Delete file.
13365 * sysdeps/unix/sparc/start.c: Delete file.
13366 * sysdeps/unix/start.c: Delete file.
13367
13368 * sysdeps/sh/elf/configure.in: Moved to ...
13369 * sysdeps/sh/configure.in: ... here.
13370 * sysdeps/sh/elf/start.S: Moved to ...
13371 * sysdeps/sh/start.S: ... here.
13372 * sysdeps/sh/elf/configure: Delete file.
13373
13374 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13375 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13376 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13377 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13378 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13379 * sysdeps/powerpc/powerpc64/start.S: here.
13380 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13381 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13382 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13383 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13384 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13385
13386 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13387 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13388 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13389 * sysdeps/powerpc/powerpc32/start.S: ... here.
13390 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13391 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13392 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13393
13394 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13395 * sysdeps/powerpc/ifunc-sel.h: ... here.
13396 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13397 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13398
13399 * sysdeps/sparc/elf/configure.in: Moved to ...
13400 * sysdeps/sparc/configure.in: ... here.
13401 * sysdeps/sparc/elf/configure: Delete file.
13402 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13403 * sysdeps/sparc/sparc32/start.S: ... here.
13404 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13405 * sysdeps/sparc/sparc64/start.S: ... here.
13406 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13407 * sysdeps/sparc/sparc32/Makefile: ... this.
13408 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13409 * sysdeps/sparc/sparc64/Makefile: ... this.
13410
13411 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13412 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13413 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13414 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13415 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13416 * sysdeps/s390/s390-32/setjmp.S: ... here.
13417 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13418 * sysdeps/s390/s390-32/configure.in: ... here.
13419 * sysdeps/s390/s390-32/elf/configure: Delete file.
13420 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13421 * sysdeps/s390/s390-32/start.S: ... here.
13422
13423 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13424 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13425 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13426 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13427 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13428 * sysdeps/s390/s390-64/setjmp.S: ... here.
13429 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13430 * sysdeps/s390/s390-64/configure.in: ... here
13431 * sysdeps/s390/s390-64/elf/configure: Delete file.
13432 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13433 * sysdeps/s390/s390-64/start.S: ... here.
13434 * sysdeps/s390/s390-64/elf/configure: Delete.
13435
13436 * configure.in: Remove support for elf directories in sysdeps.
13437
13438 * configure: Regenerated.
13439 * sysdeps/i386/configure: Regenerated.
13440 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13441 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13442 * sysdeps/s390/s390-32/configure: Regenerated.
13443 * sysdeps/s390/s390-64/configure: Regenerated.
13444 * sysdeps/sh/configure: Regenerated.
13445 * sysdeps/sparc/configure: Regenerated.
13446 * sysdeps/x86_64/configure: Regenerated.
13447
a3f61311
AS
134482012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13449
c876e002
AS
13450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13451
a3f61311
AS
13452 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13453 denormal result into account.
13454
ac4c54f0
RM
134552012-03-25 Roland McGrath <roland@hack.frob.com>
13456
13457 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13458 Reported by Allan McRae <allan@archlinux.org>.
13459
6a9b9c02
JL
134602012-03-23 Jeff Law <law@redhat.com>
13461
13462 * nss/getnssent.c (__nss_getent): Fix typo.
13463
4c42a0c1
DM
134642012-03-23 David S. Miller <davem@davemloft.net>
13465
13466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13467
1532c7ac
L
134682012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13469
13470 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13471 to pad to uint64_t for each field.
13472 (dl_tls_index): Replace unsigned long with uint64_t.
13473
3ff42526
PP
134742012-03-23 Daniel Jacobowitz <dmj@google.com>
13475 Paul Pluzhnikov <ppluzhnikov@google.com>
13476
13477 [BZ #6528]
13478 * grp/Makefile (otherlibs): Don't set it.
13479 * inet/Makefile (otherlibs): Likewise.
13480 * login/Makefile (otherlibs): Likewise.
13481 * nscd/Makefile (otherlibs): Likewise.
13482 * posix/Makefile (otherlibs): Likewise.
13483 * pwd/Makefile (otherlibs): Likewise.
13484 * rt/Makefile (otherlibs): Likewise.
13485 * sunrpc/Makefile (otherlibs): Likewise.
13486 * nss/Makefile (otherlibs): Likewise.
13487 Add libnss_files to routines and static-only-routines.
13488 ($(objpfx)getent): Remove rule.
13489 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13490 static-only-routines.
13491
7c69cd14
JM
134922012-03-22 Joseph Myers <joseph@codesourcery.com>
13493
13494 [BZ #13892]
13495 * math/s_cexp.c: Include <float.h>.
13496 (__cexp): Handle exp result overflowing not necessarily
13497 overflowing both real and imaginary parts of result.
13498 * math/s_cexpf.c: Likewise.
13499 * math/s_cexpl.c: Likewise.
13500 * math/libm-test.inc (cexp_test): Add more tests.
13501 * sysdeps/i386/fpu/libm-test-ulps: Update.
13502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13503
81b035fe
L
135042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13505
13506 * include/link.h (ELFW): New macro.
13507 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13508 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13509
1da7940c
L
135102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13511
13512 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13513 with uint64_t.
13514
b749dbb9
L
135152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13516
13517 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13518 declaration.
13519 (struct La_x32_retval): Likewise.
13520
2ff87f3f
L
135212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13522
13523 * sysdeps/x86_64/preconfigure.in: New file.
13524 * sysdeps/x86_64/preconfigure: New generated file.
13525
c0df8e69
JM
135262012-03-22 Joseph Myers <joseph@codesourcery.com>
13527
48e44791
JM
13528 [BZ #13824]
13529 * math/e_exp2l.c: Include <float.h>.
13530 (__ieee754_exp2l): Handle overflow and underflow cases
13531 separately. Only pass fractional part of argument to
13532 __ieee754_expl.
13533 * math/libm-test.inc (exp2_test): Add more tests.
13534
c0df8e69
JM
13535 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13536 negating x to take absolute value.
13537 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13538 Likewise.
13539 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13541 Likewise.
13542 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13543 computing low part if x was negated.
13544 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13545
c8e43ba7
L
135462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13547
13548 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13549 la_x32_gnu_pltexit.
13550 (pltexit): Cast int_retval to ptrdiff_t.
13551 * elf/tst-auditmod3b.c: Likewise.
13552 * elf/tst-auditmod4b.c: Likewise.
13553 * elf/tst-auditmod5b.c: Likewise.
13554 * elf/tst-auditmod6b.c: Likewise.
13555 * elf/tst-auditmod6c.c: Likewise.
13556 * elf/tst-auditmod7b.c: Likewise.
13557
13558 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13559 and x32_gnu_pltexit.
13560
13561 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13562 __ELF_NATIVE_CLASS.
13563 (La_x32_regs): New macro.
13564 (La_x32_retval): Likewise.
13565 (la_x32_gnu_pltenter): New function prototype.
13566 (la_x32_gnu_pltexit): Likewise.
13567
7998fa78
AS
135682012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13569
dcb33988
AS
13570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13571 exponent.
13572
233fc563
AS
13573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13574
7998fa78
AS
13575 * configure.in (libc_cv_cc_nofma): Check for option to disable
13576 generation of FMA instructions.
13577 * configure: Regenerate.
13578 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13579 * sysdeps/ieee754/dbl-64/Makefile: New file.
13580 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13581 Remove brandred-fma4.
13582 (CFLAGS-brandred-fma4.c): Remove.
13583 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13584 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13585 define.
13586 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13587 define.
13588
8e95c99a
L
135892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13590
13591 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13592 LLONG_MAX != LONG_MAX.
13593 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13594 (_fitoa_word): Likewise.
13595 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13596 LLONG_MAX != LONG_MAX.
13597 * stdio-common/_itowa.h: Include <_itoa.h>.
13598 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13599 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13600 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13601 only if not defined.
13602 (_ITOA_WORD_TYPE): Likewise.
13603 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13604 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13605
6f4db457
DM
136062012-03-21 David S. Miller <davem@davemloft.net>
13607
13608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13609
7785fe5a
L
136102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13611
13612 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13613 of x86_64 when setting libc_cv_slibdir, libdir and
13614 libc_cv_localedir.
13615 * sysdeps/unix/sysv/linux/configure: Regenerated.
13616
4535cd55
JM
136172012-03-21 Joseph Myers <joseph@codesourcery.com>
13618
13619 * manual/lang.texi (Old Varargs): Remove section.
13620 (How Variadic): Update menu.
13621 (va_start): Do not mention varargs.h.
13622
17228132
TS
136232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13624 Joseph Myers <joseph@codesourcery.com>
13625
13626 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13627 link test.
13628 * configure: Regenerated.
13629
8149f976
TS
136302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13631
05f3d1f6
UD
13632 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13633 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13634 conformtest.pl
8149f976 13635
1a4ac776
JM
136362012-03-21 Joseph Myers <joseph@codesourcery.com>
13637
be22ce65
JM
13638 * NOTES: Remove.
13639 * Makefile (files-for-dist): Remove NOTES.
13640 (NOTES): Remove rule.
13641 * README: Don't refer to NOTES.
13642 * manual/creature.texi: Don't include macros.texi.
13643 * manual/intro.texi (creature.texi): Remove comment referring to
13644 NOTES.
13645
40b601fb
JM
13646 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13647 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13648 * configure: Regenerated.
13649 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13650 LIBC_TRY_CC_OPTION.
13651 (libc_cv_as_i686): Likewise.
13652 (libc_cv_cc_avx): Likewise.
13653 (libc_cv_cc_sse2avx): Likewise.
13654 (libc_cv_cc_fma4): Likewise.
13655 (libc_cv_cc_novzeroupper): Likewise.
13656 * sysdeps/i386/configure: Regenerated.
13657
1a4ac776
JM
13658 [BZ #13883]
13659 * sysdeps/i386/fpu/s_cexp.S: Remove.
13660 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13661 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13662 * math/libm-test.inc (cexp_test): Add more tests.
13663 * sysdeps/i386/fpu/libm-test-ulps: Update.
13664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13665
a458e7fe
AM
136662012-03-21 Allan McRae <allan@archlinux.org>
13667
13668 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13669
0cb7efc5
JM
136702012-03-21 Joseph Myers <joseph@codesourcery.com>
13671
13672 [BZ #13871]
13673 * math/w_exp2.c: Do not include <float.h>.
13674 (o_threshold, u_threshold): Remove.
13675 (__exp2): Calculate result before checking finiteness and calling
13676 __kernel_standard.
13677 * math/w_exp2f.c: Likewise.
13678 * math/w_exp2l.c: Likewise.
13679 * math/libm-test.inc (exp2_test): Require overflow exception for
13680 1e6 input.
2460d3aa
JM
13681
13682 [BZ #3866]
13683 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13684 range of signed 64-bit integers before using fistpll. Remove
13685 checks for whether integers fit in mantissa bits.
13686 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13687 the range of signed 32-bit integers before using fistpl. Remove
13688 checks for whether integers fit in mantissa bits.
13689 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13690 (__ieee754_powl): Test for y outside the range of signed 64-bit
13691 integers before using fistpll. Reduce 64-bit values to 63-bit
13692 ones as needed.
13693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13694 divide-by-zero is raised for zero to large negative powers.
13695 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13696 (__ieee754_powl): Test for y outside the range of signed 64-bit
13697 integers before using fistpll. Reduce 64-bit values to 63-bit
13698 ones as needed.
13699 * math/libm-test.inc (pow_test): Add more tests.
13700
eb96ffb0
L
137012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13704 <stdio-common/_itoa.h>.
13705 * debug/segfault.c: Likewise.
13706 * elf/dl-cache.c: Likewise.
13707 * elf/dl-minimal.c: Likewise.
13708 * elf/dl-misc.c: Likewise.
13709 * elf/dl-sysdep.c: Likewise.
13710 * elf/dl-version.c: Likewise.
13711 * elf/rtld.c: Likewise.
13712 * hurd/hurdsock.c: Likewise.
13713 * hurd/lookup-retry.c: Likewise.
13714 * malloc/malloc.c: Likewise.
13715 * malloc/mtrace.c: Likewise.
13716 * nscd/nscd_getgr_r.c: Likewise.
13717 * nscd/nscd_getpw_r.c: Likewise.
13718 * nscd/nscd_getserv_r.c: Likewise.
13719 * posix/getopt_init.c: Likewise.
13720 * posix/wordexp.c: Likewise.
13721 * stdio-common/_itoa.c: Likewise.
13722 * stdio-common/printf_fphex.c: Likewise.
13723 * stdio-common/vfprintf.c: Likewise.
13724 * string/_strerror.c: Likewise.
13725 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13726 * sysdeps/i386/i686/hp-timing.h: Likewise.
13727 * sysdeps/mach/_strerror.c: Likewise.
13728 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13729 * sysdeps/mach/hurd/sethostid.c: Likewise.
13730 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13731 * sysdeps/mach/xpg-strerror.c: Likewise.
13732 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13733 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13734 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13735 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13736 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13737 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13738 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13739 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13740 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13741 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13742 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13743 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13744 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13745 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13746 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13747 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13748 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13750 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13751 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13752 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13753
13754 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13755
13756 * stdio-common/_itoa.h: Moved to ...
13757 * sysdeps/generic/_itoa.h: Here.
13758
13759 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13760
13761 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13762 instead of "_itoa.h" and "_itowa.h".
13763 * stdio-common/vfprintf.: Likewise.
13764
d1af992d
L
137652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13766
13767 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13768 <bits/wordsize.h>.
13769 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13770 (__signbit): Likwise.
13771 (llrintf): Likwise.
13772 (llrint): Likwise.
13773
114883e0
L
137742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13775
13776 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13777 __WORDSIZE != 64.
13778
c135cc1b
JM
137792012-03-20 Joseph Myers <joseph@codesourcery.com>
13780
13781 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13782 OVERFLOW_EXCEPTION_OK.
13783 * math/libm-test.inc ("Philosophy"): Update comment about
13784 exception testing.
13785 (OVERFLOW_EXCEPTION): Define.
13786 (OVERFLOW_EXCEPTION_OK): Likewise.
13787 (INVALID_EXCEPTION_OK): Renumber.
13788 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13789 (IGNORE_ZERO_INF_SIGN): Likewise.
13790 (test_exceptions): Handle FE_OVERFLOW.
13791 (exp10_test): Expect overflow exceptions.
13792 (exp2_test): Likewise.
13793 (expm1_test): Likewise.
13794 (nextafter_test): Likewise.
13795 (pow_test): Likewise.
13796 (scalbn_test): Likewise.
13797 (scalbln_test): Likewise.
13798
95443d88
L
137992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13800
13801 * sysdeps/x86_64/bits/atomic.h
13802 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13803 64bit integer.
13804 (atomic_exchange_acq): Likewise.
13805 (__arch_exchange_and_add_body): Likewise.
13806 (__arch_add_body): Likewise.
13807 (atomic_add_negative): Likewise.
13808 (atomic_add_zero): Likewise.
13809
490df6c4
L
138102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13811
c2722551 13812 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13813 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13814
5e52b189
L
138152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13816
13817 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13818 Check __x86_64__ instead of __WORDSIZE.
13819
a9879d4c
L
138202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13821
13822 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13823
5df98260
DM
138242012-03-19 David S. Miller <davem@davemloft.net>
13825
e1497744
DM
13826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13827
5df98260
DM
13828 * sysdeps/sparc/fpu/fenv_private.h: New file.
13829 * sysdeps/sparc/fpu/math_private.h: Use it.
13830 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13831 Remove.
13832 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13833 (libc_feholdexcept_setroundl): Remove.
13834 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13835 Remove.
13836 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13837 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13838
b4c35121
L
138392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13840
13841 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13842 int64_t instead of long int.
13843 (INSERT_WORDS64): Likwise.
13844
56965fd7
L
138452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13846
13847 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13848 _Unwind_GetCFA return to _Unwind_Ptr first.
13849
83d1aec8
JM
138502012-03-19 Joseph Myers <joseph@codesourcery.com>
13851
1897ad44
JM
13852 [BZ #13629]
13853 * math/s_clog.c: Include <float.h>.
13854 (__clog): Scale large or subnormal inputs.
13855 * math/s_clogf.c: Likewise.
13856 * math/s_clogl.c: Likewise.
13857 * math/s_clog10.c: Include <float.h>.
13858 (M_LOG10_2): Define.
13859 (__clog10): Scale large or subnormal inputs.
13860 * math/s_clog10f.c: Likewise.
13861 * math/s_clog10l.c: Likewise.
13862 * math/libm-test.inc (clog_test): Add more tests.
13863 (clog10_test): Likewise.
13864 * sysdeps/i386/fpu/libm-test-ulps: Update.
13865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13866
7726d6a9
JM
13867 [BZ #11451]
13868 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13869 x and y.
13870 * math/libm-test.inc (atan2_test): Add another test.
13871
83d1aec8
JM
13872 * Makerules (common-objdir-compile): Remove.
13873 * sysdeps/unix/Makefile (config-generated): Do not add
13874 $(unix-generated) to variable.
13875 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13876 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13877 Remove rule.
13878 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13879 Likewise.
13880 [generic bits/local_lim.h] (before-compile): Do not append to
13881 variable.
13882 [generic bits/local_lim.h] (common-generated): Likewise.
13883 [generic sys/param.h] (before-compile): Do not append to variable.
13884 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13885 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13886 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13887 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13888 include.
13889 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13890 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13891 [generic sys/param.h] ($(addprefix
13892 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13893 [generic sys/param.h] (common-generated): Do not append to
13894 variable.
13895 [generic sys/param.h] (sysdep_headers): Likewise.
13896 [generic bits/errno.h] (before-compile): Do not append to
13897 variable.
13898 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13899 rule.
13900 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13901 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13902 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13903 [generic bits/errno.h] (common-generated): Do not append to
13904 variable.
13905 [generic bits/ioctls.h] (before-compile): Do not append to
13906 variable.
13907 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13908 rule.
13909 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13910 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13911 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13912 rule.
13913 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13914 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13915 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13916 [generic bits/ioctls.h] (common-generated): Do not append to
13917 variable.
13918 [generic sys/syscall.h] (syscall.h): Remove variable.
13919 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13920 rule.
13921 [generic sys/syscall.h] (before-compile): Do not append to
13922 variable.
13923 [generic sys/syscall.h] (common-generated): Likewise.
13924 * sysdeps/unix/errnos-tmpl.c: Remove file.
13925 * sysdeps/unix/errnos.awk: Likewise.
13926 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13927 * sysdeps/unix/ioctls.awk: Likewise.
13928 * sysdeps/unix/mk-local_lim.c: Likewise.
13929 * sysdeps/unix/snarf-ioctls: Likewise.
13930
4851a949
RH
139312012-03-19 Richard Henderson <rth@twiddle.net>
13932
bd37f2ee
RH
13933 * sysdeps/i386/fpu/fenv_private.h: New file.
13934 * sysdeps/i386/fpu/math_private.h: Use it.
13935 (math_opt_barrier, math_force_eval): Remove.
13936 (libc_feholdexcept_setround_53bit): Remove.
13937 (libc_feupdateenv_53bit): Remove.
13938 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13939 (math_opt_barrier, math_force_eval): Remove.
13940 (libc_feholdexcept): Remove.
13941 (libc_feholdexcept_setround): Remove.
13942 (libc_fetestexcept, libc_fesetenv): Remove.
13943 (libc_feupdateenv_test): Remove.
13944 (libc_feupdateenv, libc_feholdsetround): Remove.
13945 (libc_feresetround): Remove.
13946
d0adc922
RH
13947 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13948 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13949
0fe0f1f8
RH
13950 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13951 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13952 (libc_feupdateenv_testl): New.
13953 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13954 (libc_feupdateenv_testf): New.
13955 (libc_feupdateenv): Use libc_feupdateenv_test.
13956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13957 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13958
eb92c487
RH
13959 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13960 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13961 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13962 (libc_feresetround_noex): New.
13963 (libc_feresetround_noexf): New.
13964 (libc_feresetround_noexl): New.
13965 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13966 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13967 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13968 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13969 SET_RESTORE_ROUND.
13970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13971 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13972 (__cos): Likewise.
13973 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13974 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13975 SET_RESTORE_ROUND_NOEX.
13976 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13977 SET_RESTORE_ROUND_NOEXF.
13978 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13979 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13980 (libc_feholdsetroundf): New.
13981 (libc_feresetround, libc_feresetroundf): New.
13982
7d2e8012
RH
13983 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13984 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13985 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13986
b4dabbb4
RH
13987 * sysdeps/generic/math_private.h: Include <fenv.h>.
13988 (default_libc_feholdexcept): New.
13989 (default_libc_feholdexcept_setround): New.
13990 (default_libc_fesetenv, default_libc_feupdateenv): New.
13991 (libc_feholdexcept): Only define if undefined.
13992 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13993 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13994 (libc_feholdexcept_setroundl): Likewise.
13995 (libc_feholdexcept_setround_53bit): Likewise.
13996 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13997 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13998 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13999 (libc_feupdateenv_53bit): Likewise.
14000 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14001 (libc_feholdexcept): Convert from macro to inline function.
14002 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14003 (libc_fesetenv, libc_feupdateenv): Likewise.
14004
4851a949
RH
14005 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14006 not previously defined.
14007 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14008 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14009 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14010 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14011 * sysdeps/ieee754/flt-32/math_private.h: New file.
14012 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14013 math_private.h below SET_FLOAT_WORD.
14014 (__isnan, __isinf_ns, __finite): Remove.
14015 (__isnanf, __isinf_nsf, __finitef): Remove.
14016
e79d442e
AS
140172012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14018
14019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14020
90b80344
DM
140212012-03-17 David S. Miller <davem@davemloft.net>
14022
14023 [BZ #6471]
14024 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14025 for 2.16.
14026
edc21804
DM
140272012-03-16 David S. Miller <davem@davemloft.net>
14028
77e927af
DM
14029 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14030 warnings.
14031
374976dd
DM
14032 [BZ #6471]
14033 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14034 properly.
14035 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14036 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14037 sysdep_routines when subdir is sysvipc.
14038 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14039 __getshmlba helper.
14040
edc21804
DM
14041 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14042
473c3ef3
L
140432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14044
14045 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14046 [__LP64__].
14047
eb0f39b6
L
140482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14049
14050 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14051 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14052 (__lround): Renamed to ...
14053 (__llround): This. Replace long int with long long int.
14054 Define lround functions as aliases of llround functions.
14055 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14056
6b6cd74b
L
140572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14058
14059 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14060 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14061 adresses to uintptr_t. Replace "long int" and "unsigned long
14062 int" with "greg_t" on va_arg.
14063
f1a77b01
L
140642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14065
14066 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14067 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14068
14069 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14070 Move e_machine check before EI_CLASS check. Handle x32
14071 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14072 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14073 SKIP_EM_IA_64 and include
14074 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14075
14076 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14077 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14078 (add_system_dir): New macro.
14079
14080 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14081 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14082
11b90b9f
JM
140832012-03-16 Joseph Myers <joseph@codesourcery.com>
14084
c36e1d23
JM
14085 [BZ #2551]
14086 [BZ #2552]
14087 [BZ #2553]
14088 [BZ #2554]
14089 [BZ #2562]
14090 [BZ #2563]
14091 [BZ #2565]
14092 [BZ #2566]
14093 [BZ #2576]
14094 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14095 (y0): Likewise.
14096 * math/w_j0f.c (j0f): Likewise.
14097 (y0f): Likewise.
14098 * math/w_j0l.c (__j0l): Likewise.
14099 (__y0l): Likewise.
14100 * math/w_j1.c (j1): Likewise.
14101 (y1): Likewise.
14102 * math/w_j1f.c (j1f): Likewise.
14103 (y1f): Likewise.
14104 * math/w_j1l.c (__j1l): Likewise.
14105 (__y1l): Likewise.
14106 * math/w_jn.c (jn): Likewise.
14107 (yn): Likewise.
14108 * math/w_jnf.c (jnf): Likewise.
14109 (ynf): Likewise.
14110 * math/w_jnl.c (__jnl): Likewise.
14111 (__ynl): Likewise.
14112 * math/libm-test.inc (j0_test): Add more tests.
14113 (j1_test): Likewise.
14114 (jn_test): Likewise. Add trailing semicolon to existing test.
14115 (y0_test): Likewise.
14116 (y1_test): Likewise.
14117 * sysdeps/i386/fpu/libm-test-ulps: Update.
14118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14119
11b90b9f
JM
14120 [BZ #13851]
14121 [BZ #13854]
14122 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14123 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14124 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14125 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14126 (__tanl): Set errno for infinite argument.
14127 * sysdeps/i386/fpu/mptan.c: Remove.
14128 * sysdeps/i386/fpu/s_tan.S: Likewise.
14129 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14130 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14131 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14132 * math/libm-test.inc (tan_test): Add more tests and enable more
14133 tests for double and long double.
14134 * sysdeps/i386/fpu/libm-test-ulps: Update.
14135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14136
6a1bd2a1
JK
141372012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14138
14139 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14140 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14141
10a803e0
RM
141422012-03-16 Roland McGrath <roland@hack.frob.com>
14143
14144 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14145 * configure.in: Use it for both main tree and add-ons.
14146 * configure: Regenerated.
14147
f196c7f7
L
141482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14149
14150 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14151
8848d99d
JM
141522012-03-16 Joseph Myers <joseph@codesourcery.com>
14153
96cbe7f4
JM
14154 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14155 in comment.
14156
8848d99d
JM
14157 [BZ #13851]
14158 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14159 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14160 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14161 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14162 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14163 infinite argument.
14164 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14166 != 0 for prec == 2.
14167 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14168 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14169 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14170 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14171 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14172 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14173 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14174 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14175 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14176 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14177 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14178 * math/libm-test.inc (cos_test): Add more tests and enable more
14179 tests for long double.
14180 (sin_test): Likewise.
14181 (sincos_test): Likewise.
14182 * sysdeps/i386/fpu/libm-test-ulps: Update.
14183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14184
dd7f4703
DM
141852012-03-16 David S. Miller <davem@davemloft.net>
14186
14187 * sysdeps/sparc/fpu/math_private.h: New file.
14188
006f1daa
DM
141892012-03-15 David S. Miller <davem@davemloft.net>
14190
c0c83bc8
DM
14191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14192 file.
e6a62e18 14193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14195 file.
e6a62e18
DM
14196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14202 sysdep routines.
14203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14204
88cb87d9
DM
14205 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14206 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14207
006f1daa 14208 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14210 sparc-ifunc.h
006f1daa 14211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14213 Likewise.
14214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14215 Likewise.
006f1daa
DM
14216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14220 Likewise.
006f1daa
DM
14221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14226 Likewise.
14227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14228 Likewise.
006f1daa
DM
14229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14235 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14236 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14250 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14253
11e0098e
AS
142542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14255
14256 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14257 scaling.
14258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14259
e85b09d0
AJ
142602012-03-15 Andreas Jaeger <aj@suse.de>
14261
14262 [BZ #13852]
14263 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14264 ieee754/flt-32 implementation for sin, cos and sincos.
14265 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14266 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14267 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14268 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14269 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14270 ieee754/flt-32 implementation for tan.
14271
14272 * math/libm-test.inc (cos_test): Enable some large input tests for
14273 float as well
14274 (sin_test): Likewise.
14275 (sincos_test): Likewise.
14276 (tan_test): Add tests for large input.
14277
14278 * sysdeps/i386/fpu/libm-test-ulps: Update.
14279
81c64153
AJ
142802012-03-15 Andreas Jaeger <aj@suse.de>
14281
14282 [BZ #13658]
14283 * math/libm-test.inc (cos_test): Add more test cases.
14284 (sin_test): Likewise.
14285 (sincos_test): Likewise.
14286
7bbfa5c6
AJ
142872012-03-15 Andreas Jaeger <aj@suse.de>
14288
14289 [BZ #13837]
14290 * math/libm-test.inc (cos_test): Add a test case for large input
14291 value.
14292 (sin_test): Likewise.
14293 (sincos_test): Likewise.
14294
142952012-03-15 Andreas Jaeger <aj@suse.de>,
14296 Joseph Myers <joseph@codesourcery.com>
14297
14298 [BZ #13658]
0671f479 14299 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14300 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14301 * sysdeps/i386/fpu/branred.c: Likewise.
14302 * sysdeps/i386/fpu/dosincos.c: Likewise.
14303 * sysdeps/i386/fpu/mpa.c: Likewise.
14304 * sysdeps/i386/fpu/s_cos.S: Likewise.
14305 * sysdeps/i386/fpu/s_sin.S: Likewise.
14306 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14307 * sysdeps/i386/fpu/sincos32.c: Likewise.
14308
14309 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14310 Define.
14311 (libc_feupdateenv_53bit): Define.
14312 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14313 Define.
14314 (libc_feupdateenv_53bit): Define.
14315
14316 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14317 53 bit (without extend i386 double precision).
14318
14319 * math/libm-test.inc (sincos_test): Add tests for large input.
14320 (sin): Likewise.
14321 (cos): Likewise.
14322
14323 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14324
9cad04ea
AS
143252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14326
14327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14328
f7062b9a
DM
143292012-03-15 David S. Miller <davem@davemloft.net>
14330
14331 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14332 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14333 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14334 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14347 file.
f7062b9a 14348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14350 file.
f7062b9a 14351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14353 file.
f7062b9a 14354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14356 file.
f7062b9a
DM
14357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14359 fmin/fmax sysdep routines.
14360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14361
7bd951ff
DM
143622012-03-14 David S. Miller <davem@davemloft.net>
14363
559398ab
DM
14364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14368 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14369 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14370 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14371 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14384 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14385 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14386 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14387 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14388 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14389 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14390 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14393 routines.
14394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14395 file.
559398ab 14396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14398 file.
559398ab 14399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14401 file.
559398ab 14402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14404 file.
559398ab 14405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14407 file.
559398ab 14408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14410 file.
14411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14412 file.
14413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14414 file.
14415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14416 file.
14417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14418 New file.
14419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14420 file.
14421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14422 file.
559398ab 14423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14425 file.
559398ab 14426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14428 file.
559398ab 14429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14431 file.
559398ab 14432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14434 VIS3 routines.
559398ab
DM
14435
14436 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14437 New file.
14438
5a1c1e32
DM
14439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14440
eae47a36
DM
14441 * sysdeps/sparc/configure.in: New file.
14442 * sysdeps/sparc/configure: Generate.
14443 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14444 * configure: Regenerate.
14445 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14446 * config.make.in (have-as-vis3): New.
14447 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14448 available use -Av9d instead of -Av9a.
14449 * sysdeps/sparc/sparc64/Makefile: Likewise.
14450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14452 New file.
14453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14454 file.
14455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14456 New file.
14457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14458 file.
eae47a36
DM
14459 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14460 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14461 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14464
c0c83bc8
DM
14465 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14466 fzeros/fnegs to load 0x80000000 into a float register instead of
14467 using the stack.
7bd951ff
DM
14468 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14469
bd951ccb
JM
144702012-03-14 Joseph Myers <joseph@codesourcery.com>
14471
14472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14473 bits/syscall.h.
14474 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14475 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14476 ($(inst_includedir)/bits/syscall.h): Remove rule.
14477 ($(objpfx)bits/syscall.d): Include instead of
14478 $(objpfx)syscall-list.d.
14479 (generated): Change syscall-list.h and syscall-list.d to
14480 bits/syscall.h and bits/syscall.d.
14481
bb4e6db2
RM
144822012-03-14 Roland McGrath <roland@hack.frob.com>
14483
14484 [BZ #13846]
14485 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14486
aa4a2ae1
JM
144872012-03-14 Joseph Myers <joseph@codesourcery.com>
14488
e456826d
JM
14489 [BZ #13841]
14490 * math/s_csqrt.c: Include <float.h>.
14491 (__csqrt): Scale large or subnormal inputs.
14492 * math/s_csqrtf.c: Likewise.
14493 * math/s_csqrtl.c: Likewise.
14494 * math/libm-test.inc (csqrt_test): Add more tests.
14495 * sysdeps/i386/fpu/libm-test-ulps: Update.
14496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14497
aa4a2ae1
JM
14498 [BZ #13840]
14499 * math/libm-test.inc (hypot_test): Add more tests.
14500
7c10fd35
DM
145012012-03-13 David S. Miller <davem@davemloft.net>
14502
14503 [BZ #13840]
14504 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14505 double-precision for the calculation instead of scaling.
14506
f453b98b
JM
145072012-03-13 Joseph Myers <joseph@codesourcery.com>
14508
14509 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14510 manipulate bits before adding and subtracting TWO52[sx].
14511 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14512 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14513 Likewise.
14514 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14515
09a3453f
DM
145162012-03-13 David S. Miller <davem@davemloft.net>
14517
8e59da90
DM
14518 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14519 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14521 rtld-global-offsets.h
14522 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14523
2a8ab7f2
DM
14524 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14525 large parameters.
14526
10f62770
DM
14527 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14528
5f0bdb18
DM
14529 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14530 'err' in the ifdef scope in which it is actually used.
14531
09a3453f
DM
14532 * nss/nss_db/db-init.c: Include string.h
14533
b4b2eb5e
DM
145342012-03-12 David S. Miller <davem@davemloft.net>
14535
98bb2f1c
DM
14536 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14537 masking out of the most significant byte of random value used.
14538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14539 Fix coding style in previous change.
14540
b4b2eb5e
DM
14541 * sysdeps/unix/sysv/linux/kernel-features.h
14542 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14543 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14544 expression.
14545 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14546 later.
14547
6e226b09
DM
145482012-03-11 David S. Miller <davem@davemloft.net>
14549
a1bcbd40
DM
14550 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14551 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14552 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14553 for 'resultvar' otherwise things get truncated on 64-bit.
14554
cb9d6174
DM
14555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14556 Fix masking out of the most significant byte of random value used.
14557
6e226b09
DM
14558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14559
058c132d
AS
145602012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14561
14562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14563
2d2cd515
DM
145642012-03-09 David S. Miller <davem@davemloft.net>
14565
14566 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14567 variables with appropriate CPP guards.
14568 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14569 frame pointer, not the stack pointer. Correct layout comments. Fix test
14570 on resulting framesize and the management of the outregs buffer for pltexit.
14571 Preserve floating point return values across _dl_call_pltexit call.
14572 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14573 framesize and the management of the outregs buffer for pltexit.
14574 Preserve floating point return values across _dl_call_pltexit
14575 call.
14576 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14577 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14578 (print_exit): Fix format string for return register value.
14579
9a07f9d0
JM
145802012-03-10 Joseph Myers <joseph@codesourcery.com>
14581
14582 * sunrpc/Makefile (others): Add rpcgen.
14583 ($(objpfx)rpcgen): Remove special build rule and dependency on
14584 libc.
14585 * sunrpc/rpcgen.c: New file.
14586
547b5e30
PE
145872012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14588
c524201a
PE
14589 [BZ #13673]
14590 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14591 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14592 * sysdeps/i386/crti.S: Likewise.
14593 * sysdeps/i386/crtn.S: Likewise.
14594 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14595 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14596 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14597 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14598 * sysdeps/sh/crti.S: Likewise.
14599 * sysdeps/sh/crtn.S: Likewise.
14600 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14601
7b6235f2
PE
14602 [BZ #13673]
14603 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14604 with URL.
14605 * locale/programs/locfile-kw.gperf: Likewise.
14606 * locale/programs/charmap-kw.h: Regenerated.
14607 * locale/programs/locfile-kw.h: Likewise.
14608
547b5e30
PE
14609 [BZ #13673]
14610 * intl/plural.y: Replace FSF snail mail address with URL.
14611 * intl/plural.c: Regenerated.
14612
5f0a5dae
RH
146132012-03-09 Richard Henderson <rth@twiddle.net>
14614
14615 * include/math_private.h: Remove file.
14616 * math/math_private.h: Move file ...
14617 * sysdeps/generic/math_private.h: ... here.
14618
b8c03620
RH
14619 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14620 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14621 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14622
4e234f5d 14623 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14624 and <math_private.h>.
14625 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14626 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14627 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14628 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14629 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14656 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14665 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14666 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14667 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14668 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14669 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14670 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14671 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14672 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14673 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14674 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14675 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14676 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14677 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14678 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14679 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14680 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14681 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14682 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14683 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14684 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14685 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14686 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14707 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14709 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14713 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14714 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14715 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14716 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14717 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14718 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14719 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14720 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14721 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14722 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14723 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14725 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14726 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14727 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14728 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14729 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14730 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14731 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14732 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14733 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14734 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14735 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14736 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14737 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14738 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14739 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14740 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14741 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14742 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14743 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14744 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14745 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14746 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14747 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14748 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14749 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14750 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14751 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14752 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14753 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14754 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14755 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14756 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14757 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14758 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14759 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14760 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14761 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14762 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14763 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14764 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14765 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14766 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14767 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14768 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14769 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14770 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14771 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14772 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14773 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14774 * sysdeps/ieee754/k_standard.c: Likewise.
14775 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14778 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14779 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14780 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14781 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14784 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14785 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14786 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14787 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14788 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14789 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14790 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14791 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14795 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14796 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14797 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14798 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14799 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14800 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14801 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14802 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14803 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14804 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14805 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14806 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14808 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14809 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14810 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14819 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14820 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14824 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14825 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14826 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14827 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14829 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14832 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14834 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14837 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14843 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14846 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14848 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14849 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14851 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14852 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14853 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14854 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14855 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14856 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14858 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14863 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14867 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14868 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14870 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14873 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14877 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14881 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14882 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14883 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14884 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14889 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14890 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14894 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14895 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14897 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14898 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14899 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14901 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14902 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14903 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14904 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14905 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14906 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14907 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14908 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14909 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14910 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14916 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14917 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14919 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14922 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14923 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14924 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14925 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14928 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14935 * sysdeps/ieee754/s_lib_version.c: Likewise.
14936 * sysdeps/ieee754/s_matherr.c: Likewise.
14937 * sysdeps/ieee754/s_signgam.c: Likewise.
14938 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14939 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14940 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14941 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14942 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14943 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14944 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14945 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14946 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14947 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14948 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14949 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14950 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14951 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14952 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14953 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14954 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14955 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14956 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14957 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14958 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14959
1991fa03
JM
149602012-03-09 Joseph Myers <joseph@codesourcery.com>
14961
14962 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14963 * sunrpc/rpc_main.c: Likewise.
14964 * sunrpc/rpc_svcout.c: Likewise.
14965
60d6f5a6
DM
149662012-03-09 David S. Miller <davem@davemloft.net>
14967
14968 * include/math_private.h: New file.
14969
4962050e
JM
149702012-03-09 Joseph Myers <joseph@codesourcery.com>
14971
02a6f887
JM
14972 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14973 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14974 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14975 from <bits/socket_type.h>.
14976 (enum __socket_type): Don't define here.
14977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14979 bits/socket_type.h.
14980
c6e013c1
JM
14981 [BZ #13566]
14982 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14983 checking __USE_GNU.
14984
4962050e
JM
14985 * Makerules ($(inst_includedir)/%.h): New rule.
14986 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14987 (install-others): Remove variable setting.
14988 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14989
38842f45
RH
149902012-03-08 Richard Henderson <rth@twiddle.net>
14991
67bb6da6
RH
14992 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14993 from macro to inline function; merge with the
14994 !__LIBC_INTERNAL_MATH_INLINES version.
14995 (__ieee754_sqrtf): Likewise.
14996
15194b4b
RH
14997 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14998 to inline function.
14999 (__rintf, __floor, __floorf): Likewise.
15000
64e21ede
RH
15001 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15002 macro to inline function.
15003 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15004
38842f45
RH
15005 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15006 not <math/math_private.h>.
15007
c64bf5fe
DM
150082012-03-08 David S. Miller <davem@davemloft.net>
15009
15010 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15011 copyright year.
15012 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15013
82d86f28
TS
150142012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15015
15016 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15017 normalization.
15018 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15019 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15020
aea5d727
UD
150212012-03-08 Ulrich Drepper <drepper@gmail.com>
15022
15023 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15024 be defined individually, they must be defined as a block. Define
15025 S for printing a string instead of hidint the different by using a
15026 macro for adding the 'l'.
15027 * stdio-common/tst-fphex-wide.c: Adjust.
15028
70bca0a3
MP
150292012-03-07 Marek Polacek <polacek@redhat.com>
15030
15031 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15032
65b81130
MP
150332012-03-08 Marek Polacek <polacek@redhat.com>
15034
15035 [BZ #13806]
15036 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15037 * stdio-common/tst-fphex.c: Define a few macros to make the
15038 test reusable. Use them.
15039 * stdio-common/tst-fphex-wide.c: New file.
15040
07037eeb
JM
150412012-03-08 Joseph Myers <joseph@codesourcery.com>
15042
a7a93d50
JM
15043 [BZ #6911]
15044 * manual/macros.texi (gnusystems): New macro.
15045 (nongnusystems): Likewise.
15046 (gnulinuxhurdsystems): Likewise.
15047 (gnuhurdsystems): Likewise..
15048 (gnulinuxsystems): Likewise.
15049 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15050 variants of the GNU system, not "GNU system".
15051 * manual/conf.texi: Likewise.
15052 * manual/errno.texi: Likewise. Update example of errno macro
15053 expansion.
15054 * manual/filesys.texi: Likewise.
15055 (getumask): Document as specific to GNU/Hurd.
15056 * manual/install.texi: Likewise. Reword some references to
15057 GNU/Linux.
15058 * manual/intro.texi: Likewise.
15059 * manual/io.texi: Likewise.
15060 (File Name Portability): Detail which constraints are inapplicable
15061 to all GNU systems and which are only inapplicable to GNU/Hurd.
15062 * manual/job.texi: Likewise.
15063 * manual/llio.texi: Likewise.
15064 (O_NOCTTY): Document as present on GNU/Linux.
15065 * manual/maint.texi: Likewise.
15066 * manual/memory.texi: Likewise.
15067 * manual/pattern.texi: Likewise.
15068 * manual/pipe.texi: Likewise.
15069 * manual/process.texi: Likewise.
15070 * manual/resource.texi: Likewise.
15071 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15072 child on GNU/Hurd.
15073 * manual/setjmp.texi: Likewise.
15074 * manual/signal.texi: Likewise.
15075 * manual/startup.texi: Likewise.
15076 * manual/stdio.texi: Likewise.
15077 * manual/terminal.texi: Likewise.
15078 (ONLCR): Document as POSIX.
15079 (OXTABS): Document availability on GNU/Linux as XTABS.
15080 (ONOEOT): Document availability separately from other bits.
15081 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15082 * manual/time.texi: Likewise.
15083 * manual/users.texi: Likewise.
15084 * INSTALL: Regenerated.
15085 * sysdeps/gnu/errlist.c: Regenerated.
15086
07037eeb
JM
15087 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15088 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15089 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15090 puts.
15091 * configure: Regenerated.
15092
d1d3431a
JM
150932012-03-07 Joseph Myers <joseph@codesourcery.com>
15094
af6a1e37
JM
15095 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15096 default includes instead of AC_HEADER_CHECK.
15097 * sysdeps/i386/configure: Regenerated.
15098
d1d3431a
JM
15099 [BZ #10716]
15100 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15101 * math/s_cacoshf.c (__cacoshf): Likewise.
15102 * math/s_cacoshl.c (__cacoshl): Likewise.
15103 * math/s_casinh.c (__casinh): Set signs of result from argument.
15104 * math/s_casinhf.c (__casinhf): Likewise.
15105 * math/s_casinhl.c (__casinhl): Likewise.
15106 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15107 (casinh_test): Add more tests.
15108 * sysdeps/i386/fpu/libm-test-ulps: Update.
15109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15110
482ff4da
UD
151112012-03-07 Ulrich Drepper <drepper@gmail.com>
15112
872fda05
UD
15113 * po/zh_TW.po: Update from translation team.
15114
a4300c7a
UD
15115 * login/Makefile (distribute): Remove variable.
15116 * catgets/Makefile: Likewise.
15117 * mach/Makefile: Likewise.
15118 * malloc/Makefile: Likewise.
15119 * misc/Makefile: Likewise.
15120 * iconv/Makefile: Likewise.
15121 * nscd/Makefile: Likewise.
15122 * hurd/Makefile: Likewise.
15123 * manual/Makefile: Likewise.
15124 * locale/Makefile: Likewise.
15125 * intl/Makefile: Likewise.
15126 * conform/Makefile: Likewise.
15127 * nss/Makefile: Likewise.
15128 * time/Makefile: Likewise.
15129 * soft-fp/Makefile: Likewise.
15130 * dirent/Makefile: Likewise.
15131 * gmon/Makefile: Likewise.
15132 * po/Makefile: Likewise.
15133 * rt/Makefile: Likewise.
15134 * socket/Makefile: Likewise.
15135 * math/Makefile: Likewise.
15136 * signal/Makefile: Likewise.
15137 * debug/Makefile: Likewise.
15138 * elf/Makefile: Likewise.
15139 * timezone/Makefile: Likewise.
15140 * stdlib/Makefile: Likewise.
15141 * iconvdata/Makefile: Likewise.
15142 * sunrpc/Makefile: Likewise.
15143 * io/Makefile: Likewise.
15144 * argp/Makefile: Likewise.
15145 * inet/Makefile: Likewise.
15146 * hesiod/Makefile: Likewise.
15147 * grp/Makefile: Likewise.
15148 * csu/Makefile: Likewise.
15149 * wctype/Makefile: Likewise.
15150 * crypt/Makefile: Likewise.
15151 * libio/Makefile: Likewise.
15152 * string/Makefile: Likewise.
15153 * nis/Makefile: Likewise.
15154 * resolv/Makefile: Likewise.
15155 * stdio-common/Makefile: Likewise.
15156 * wcsmbs/Makefile: Likewise.
15157 * dlfcn/Makefile: Likewise.
15158 * posix/Makefile: Likewise.
15159
3b7c4e74 15160 [BZ #6959]
482ff4da
UD
15161 * timezone/Makefile: Don't install timezone files, just the programs
15162 and scripts.
15163
f72ed77d
UD
151642012-03-06 Ulrich Drepper <drepper@gmail.com>
15165
a000466f
UD
15166 * nss/databases.def: Add missing gshadow entry.
15167
f72ed77d
UD
15168 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15169
a53b7a4e
MP
151702012-03-06 Marek Polacek <polacek@redhat.com>
15171
15172 [BZ #13726]
15173 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15174 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15175 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15176 * stdio-common/tst-long-dbl-fphex.c: New file.
15177
e9258400
DM
151782012-03-06 David S. Miller <davem@davemloft.net>
15179
15180 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15181 (set_obp_int): New function.
15182 (get_obp_int): New function.
15183 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15184 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15185 Avoid unused variable warnings on 'val' and use builtin_expect.
15186 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15187 __builtin_expect.
e9258400
DM
15188 (INLINE_CLONE_SYSCALL): Likewise.
15189
3bd2c723
DM
151902012-03-05 David S. Miller <davem@davemloft.net>
15191
15192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15193
bbb78d03
AS
151942012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15195
884c5db4
AS
15196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15197
bbb78d03
AS
15198 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15199 only for |x| >= 40.
15200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15201
1c9f702a 152022012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15203
15204 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15205 Replace gettimeofday with __vdso_gettimeofday.
15206
7be16f82
RM
15207 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15208 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15209 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15210
15211 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15212 time with __vdso_time.
15213
ed58a00f
JM
152142012-03-05 Joseph Myers <joseph@codesourcery.com>
15215
15216 * manual/lang.texi (size_t): Note types to which size_t may be
15217 equivalent with the GNU C Library, but do not describe when
15218 differences between them are significant.
15219
30ee4ced
AJ
152202012-03-05 Andreas Jaeger <aj@suse.de>
15221
15222 * sysdeps/i386/fpu/libm-test-ulps: Update.
15223
b7cd39e8
JM
152242012-03-05 Joseph Myers <joseph@codesourcery.com>
15225
15226 [BZ #3976]
15227 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15228 (__ieee754_pow): Save and restore rounding mode and use
15229 round-to-nearest for main computations.
15230 * math/libm-test.inc (pow_test_tonearest): New function.
15231 (pow_test_towardzero): Likewise.
15232 (pow_test_downward): Likewise.
15233 (pow_test_upward): Likewise.
15234 (main): Call the new functions.
15235 * sysdeps/i386/fpu/libm-test-ulps: Update.
15236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15237
15238 [BZ #3976]
15239 * math/libm-test.inc (cosh_test_tonearest): New function.
15240 (cosh_test_towardzero): Likewise.
15241 (cosh_test_downward): Likewise.
15242 (cosh_test_upward): Likewise.
15243 (sinh_test_tonearest): Likewise.
15244 (sinh_test_towardzero): Likewise.
15245 (sinh_test_downward): Likewise.
15246 (sinh_test_upward): Likewise.
15247 (main): Call the new functions.
15248 * sysdeps/i386/fpu/libm-test-ulps: Update.
15249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15250
6c6a98c9
TV
152512012-03-05 Tom de Vries <tom@codesourcery.com>
15252
15253 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15254 default stack guard is set in last bytes.
15255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15256
21bb2d2e 152572012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15258
21bb2d2e 15259 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15260
21bb2d2e
AJ
15261 [BZ #13656]
15262 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15263 possibly allocate from heap instead of stack.
15264 * stdio-common/bug-vfprintf-nargs.c: New file.
15265 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15266
c6922934
AS
152672012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15268
15269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15270
bc957d53
MP
152712012-03-03 Marek Polacek <polacek@redhat.com>
15272
15273 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15274 * math/math_private.h: Likewise.
15275 * stdlib/tst-strtod.c: Likewise.
15276 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15277 * sysdeps/x86_64/bits/atomic.h: Likewise.
15278
6358490d
DM
152792012-03-02 David S. Miller <davem@davemloft.net>
15280
15281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15285 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15286 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15287 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15288 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15289
01ae168d
RM
152902012-03-02 Roland McGrath <roland@hack.frob.com>
15291
d9a17c07
RM
15292 [BZ #13792]
15293 * manual/examples/README: New file, says the example source files
15294 can be used under GPL>=2.
15295 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15296 line containing just "*/".
15297 * manual/examples/add.c: Add copyright header (GPL>=2).
15298 * manual/examples/argp-ex1.c: Likewise.
15299 * manual/examples/argp-ex2.c: Likewise.
15300 * manual/examples/argp-ex3.c: Likewise.
15301 * manual/examples/argp-ex4.c: Likewise.
15302 * manual/examples/atexit.c: Likewise.
15303 * manual/examples/db.c: Likewise.
15304 * manual/examples/dir.c: Likewise.
15305 * manual/examples/dir2.c: Likewise.
15306 * manual/examples/execinfo.c: Likewise.
15307 * manual/examples/filecli.c: Likewise.
15308 * manual/examples/filesrv.c: Likewise.
15309 * manual/examples/fmtmsgexpl.c: Likewise.
15310 * manual/examples/genpass.c: Likewise.
15311 * manual/examples/inetcli.c: Likewise.
15312 * manual/examples/inetsrv.c: Likewise.
15313 * manual/examples/isockad.c: Likewise.
15314 * manual/examples/longopt.c: Likewise.
15315 * manual/examples/memopen.c: Likewise.
15316 * manual/examples/memstrm.c: Likewise.
15317 * manual/examples/mkfsock.c: Likewise.
15318 * manual/examples/mkisock.c: Likewise.
15319 * manual/examples/mygetpass.c: Likewise.
15320 * manual/examples/pipe.c: Likewise.
15321 * manual/examples/popen.c: Likewise.
15322 * manual/examples/rprintf.c: Likewise.
15323 * manual/examples/search.c: Likewise.
15324 * manual/examples/select.c: Likewise.
15325 * manual/examples/setjmp.c: Likewise.
15326 * manual/examples/sigh1.c: Likewise.
15327 * manual/examples/sigusr.c: Likewise.
15328 * manual/examples/stpcpy.c: Likewise.
15329 * manual/examples/strdupa.c: Likewise.
15330 * manual/examples/strftim.c: Likewise.
15331 * manual/examples/strncat.c: Likewise.
15332 * manual/examples/subopt.c: Likewise.
15333 * manual/examples/swapcontext.c: Likewise.
15334 * manual/examples/termios.c: Likewise.
15335 * manual/examples/testopt.c: Likewise.
15336 * manual/examples/testpass.c: Likewise.
15337 * manual/examples/timeval_subtract.c: Likewise.
15338
01ae168d
RM
15339 [BZ #13792]
15340 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15341 function to ...
15342 * manual/timeval_subtract.c.texi: ... here, new file.
15343
49efa33d
DM
153442012-03-02 David S. Miller <davem@davemloft.net>
15345
15346 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15347
28afd92d
JM
153482012-03-02 Joseph Myers <joseph@codesourcery.com>
15349
804360ed
JM
15350 [BZ #3976]
15351 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15352 (__sin): Save and restore rounding mode and use round-to-nearest
15353 for all computations.
15354 (__cos): Save and restore rounding mode and use round-to-nearest
15355 for all computations.
15356 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15357 <fenv.h>.
15358 (tan): Save and restore rounding mode and use round-to-nearest for
15359 all computations.
15360 * math/libm-test.inc (cos_test_tonearest): New function.
15361 (cos_test_towardzero): Likewise.
15362 (cos_test_downward): Likewise.
15363 (cos_test_upward): Likewise.
15364 (sin_test_tonearest): Likewise.
15365 (sin_test_towardzero): Likewise.
15366 (sin_test_downward): Likewise.
15367 (sin_test_upward): Likewise.
15368 (tan_test_tonearest): Likewise.
15369 (tan_test_towardzero): Likewise.
15370 (tan_test_downward): Likewise.
15371 (tan_test_upward): Likewise.
15372 (main): Call the new functions.
15373 * sysdeps/i386/fpu/libm-test-ulps: Update.
15374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15375
a6d06d7b
JM
15376 [BZ #10135]
15377 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15378 small n, then large n, before computing and testing k+n.
15379 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15380 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15381 Likewise.
15382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15383 Likewise.
15384 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15385 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15386 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15387 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15388 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15389 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15390 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15391 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15392 * math/libm-test.inc (scalbn_test): Add more tests.
15393 (scalbln_test): Likewise.
15394
07e12bb3
JM
15395 * manual/filesys.texi (mode_t): Describe constraints on size and
15396 signedness, not exact equivalence to a particular type.
15397 (ino_t): Likewise.
15398 (ino64_t): Likewise.
15399 (dev_t): Likewise.
15400 (nlink_t): Likewise.
15401 (blkcnt_t): Likewise.
15402 (blkcnt64_t): Likewise.
15403 * manual/llio.texi (off_t): Likewise.
15404
28afd92d
JM
15405 [BZ #3976]
15406 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15407 (__ieee754_exp): Save and restore rounding mode and use
15408 round-to-nearest for all computations.
15409 * math/libm-test.inc (exp_test_tonearest): New function.
15410 (exp_test_towardzero): Likewise.
15411 (exp_test_downward): Likewise.
15412 (exp_test_upward): Likewise.
15413 (main): Call the new functions.
15414 * sysdeps/i386/fpu/libm-test-ulps: Update.
15415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15416
b1eeb65d
CD
154172012-03-01 Chris Demetriou <cgd@google.com>
15418
15419 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15420 have predictable order.
15421
53362a4b
DM
154222012-03-01 David S. Miller <davem@davemloft.net>
15423
3c969083
DM
15424 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15425
759707de
DM
15426 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15427 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15428 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15429 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15430
dfdb8ff2
DM
15431 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15432 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15433 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15435 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15436 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15437 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15438 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15439 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15440
ead89f96
DM
15441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15442
7f66bd07
DM
15443 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15444 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15445 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15446
53362a4b
DM
15447 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15448 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15449 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15450 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15451 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15452 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15453 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15454 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15455 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15456 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15457 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15458 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15459 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15460 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15461 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15463 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15464 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15465 * sysdeps/sparc/elf/configure: Regenerated.
15466
7b1902cb
JM
154672012-03-01 Joseph Myers <joseph@codesourcery.com>
15468
bec039bc
JM
15469 * configure.in (AS, LD): Require binutils 2.20 or later.
15470 * configure: Regenerated.
15471 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15472 as required minimum version.
15473 * INSTALL: Regenerated.
15474
7b1902cb
JM
15475 [BZ #2541]
15476 [BZ #4108]
15477 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15478 before squaring exponent.
15479 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15480 bottom long double and 27 bits of top long double before squaring
15481 exponent.
15482 * math/libm-test.inc (erfc_test): Add more tests.
15483 * sysdeps/i386/fpu/libm-test-ulps: Update.
15484 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15486
f775c276
KT
154872012-03-01 Kai Tietz <ktietz@redhat.com>
15488
15489 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15490 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15491 containing bit-fields.
15492 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15493 * soft-fp/single.h (_FP_UNION_S): Likewise.
15494 * soft-fp/double.h (_FP_UNION_D): Likewise.
15495
5b8a4d4a
JM
154962012-02-29 Joseph Myers <joseph@codesourcery.com>
15497
0bab47b6
JM
15498 [BZ #13786]
15499 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15500 not include ../strcmp.S.
15501 [USE_AS_STRNCASECMP_L]: Likewise.
15502 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15503 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15504 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15505 (__strncasecmp_l_ia32): Define as alias to
15506 __strncasecmp_l_nonascii.
15507
0fcad3e2
JM
15508 [BZ #5794]
15509 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15510 * sysdeps/i386/fpu/libm-test-ulps: Update.
15511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15512
5b8a4d4a
JM
15513 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15515
8fdceb2e
JL
155162012-02-29 Jeff Law <law@redhat.com>
15517
15518 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15519 out of bounds read.
15520
1f393a11
MP
155212012-02-29 Marek Polacek <polacek@redhat.com>
15522
15523 [BZ #13706]
15524 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15525 * elf/Makefile: Add rules to run tst-unused-dep.out.
15526
8847f037
DM
155272012-02-28 David S. Miller <davem@davemloft.net>
15528
15529 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15530 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15532 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15533 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15534 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15535
169d7f11
JM
155362012-02-29 Joseph Myers <joseph@codesourcery.com>
15537
15538 * math/libm-test.inc (llround_test): Move one test from
15539 lround_test. Use TEST_f_L in moved test.
15540 (lround_test): Move misplaced test to llround_test. Add testcase
15541 from bug 2561.
15542
39adf059
UD
155432012-02-28 Ulrich Drepper <drepper@gmail.com>
15544
15545 * sysdeps/x86_64/fpu/e_expf.S: New file.
15546 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15547
71b5d1c5
SB
155482012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15549
15550 [BZ #13637]
15551 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15552 of remain_len that may cause incomplete multi-byte character and
15553 false match.
15554 * posix/bug-regex33.c: New file.
15555 * posix/Makefile (tests): Add bug-regex33.
15556
1f77f049
JM
155572012-02-28 Joseph Myers <joseph@codesourcery.com>
15558
15559 * manual/macros.texi: New file.
15560 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15561 * manual/libc.texinfo: Include macros.texi.
15562 * manual/creatute.texi: Likewise.
15563 * manual/install.texi: Likewise.
15564 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15565 @glibcadj{} in references to the GNU C Library.
15566 * manual/charset.texi: Likewise.
15567 * manual/conf.texi: Likewise.
15568 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15569 when not using those macros.
15570 * manual/creature.texi: Likewise.
15571 * manual/crypt.texi: Likewise.
15572 * manual/errno.texi: Likewise.
15573 * manual/filesys.texi: Likewise.
15574 * manual/header.texi: Likewise.
15575 * manual/install.texi: Likewise.
15576 * manual/intro.texi: Likewise.
15577 * manual/io.texi: Likewise.
15578 * manual/job.texi: Likewise.
15579 * manual/lang.texi: Likewise.
15580 * manual/libc.texiinfo: Likewise.
15581 * manual/llio.texi: Likewise.
15582 * manual/locale.texi: Likewise.
15583 * manual/maint.texi: Likewise.
15584 * manual/math.texi: Likewise.
15585 * manual/memory.texi: Likewise.
15586 * manual/message.texi: Likewise.
15587 * manual/nss.texi: Likewise.
15588 * manual/pattern.texi: Likewise.
15589 * manual/process.texi: Likewise.
15590 * manual/resource.texi: Likewise.
15591 * manual/search.texi: Likewise.
15592 * manual/setjmp.texi: Likewise.
15593 * manual/signal.texi: Likewise.
15594 * manual/socket.texi: Likewise.
15595 * manual/startup.texi: Likewise.
15596 * manual/stdio.texi: Likewise.
15597 * manual/string.texi: Likewise.
15598 * manual/sysinfo.texi: Likewise.
15599 * manual/syslog.texi: Likewise.
15600 * manual/terminal.texi: Likewise.
15601 * manual/time.texi: Likewise.
15602 * manual/users.texi: Likewise.
15603 * INSTALL: Regenerated.
15604 * NOTES: Regenerated.
d40c5d54 15605 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15606
450bf206
AS
156072012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15608
15609 * include/dirent.h: Include <dirstream.h> before
15610 <dirent/dirent.h>.
15611
741a235b
DM
156122012-02-28 David S. Miller <davem@davemloft.net>
15613
15614 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15615 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15616 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15617 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15618
d6b5aa58
DM
156192012-02-27 David S. Miller <davem@davemloft.net>
15620
1aff59a3
DM
15621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15623 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15624 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15625
d6b5aa58
DM
15626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15627 frame pointer instead of stack pointer relative arg slot.
15628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15629 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15630 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15631
433f48bf
CD
156322012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15633
15634 [BZ #3992]
15635 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15636
d674b76d
DM
156372012-02-27 David S. Miller <davem@davemloft.net>
15638
15639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15643 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15644 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15645 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15646 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15647
0e7727f7
JM
156482012-02-27 Joseph Myers <joseph@codesourcery.com>
15649
15650 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15651 later. Allow versions 5-9.
43be4ca2 15652 * configure: Regenerated.
0e7727f7
JM
15653 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15654 required minimum version and 4.6 as recommended version. Do not
15655 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15656 * INSTALL: Regenerated.
0e7727f7 15657
a78bc654
DM
156582012-02-27 David S. Miller <davem@davemloft.net>
15659
428d5830
DM
15660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15664 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15665 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15666 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15667 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15668
a78bc654
DM
15669 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15670 manipulate bits before adding and subtracting TWO112[sx].
15671 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15672
4579f81c
RM
156732012-02-27 Roland McGrath <roland@hack.frob.com>
15674
36c8acb4
RM
15675 [BZ #13775]
15676 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15677 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15678 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15679 being in POSIX, because they are in 1003.1-2008.
15680
84ad622b
RM
15681 * rt/tst-aio.c: Include <fcntl.h>.
15682 * rt/tst-aio7.c: Likewise.
15683 * rt/tst-aio64.c: Likewise.
15684
4579f81c
RM
15685 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15686
abd923db
JM
156872012-02-27 Joseph Myers <joseph@codesourcery.com>
15688
15689 * manual/install.texi (--with-headers): Describe headers as
15690 interface headers, not private headers.
15691 (Specific advice for GNU/Linux systems): Describe use of headers
15692 from "make headers_install", not private headers from older
15693 kernels.
43be4ca2 15694 * INSTALL: Regenerated.
abd923db
JM
15695 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15696 Change to 2.6.19.
15697 * sysdeps/unix/sysv/linux/configure: Regenerated.
15698
6664049b
JM
15699 * manual/llio.texi (fclean): Remove documentation.
15700
bb8b6697
JM
15701 * manual/Makefile (libc-texi-generated): New variable. Include
15702 version.texi.
15703 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15704 $(libc-texi-generated), not duplicated list of files.
15705 (version.texi, stamp-version): New rules.
15706 (realclean): Remove $(libc-texi-generated), not individual files
15707 from that list. Do not remove dir-add.texinfo.
15708 * manual/libc.texinfo: Comment out uses of edition numbers and
15709 references to printed manual. Remove last-updated dates.
15710 (EDITION): Comment out.
15711 (ISBN): Likewise.
15712 (VERSION, UPDATED): Remove.
15713 (version.texi): Include.
15714
12e5c3b9
AS
157152012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15716
15717 * sysdeps/posix/spawni.c: Include <signal.h>.
15718 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15719 * sysdeps/pthread/aio_fsync.c: Likewise.
15720
4efeffc1 157212012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15722
ba63ba08
UD
15723 * conform/Makefile (tests): Run only when not cross-compiling and
15724 when fast-check is not defined.
15725
d94a4670
UD
15726 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15727 * conform/data/limits.h-data: Fixes for POSIX2008.
15728 * conform/run-conformtest.sh: Run all tests.
15729 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15730 headers.
15731 * include/bits/dlfcn.h: Likewise.
15732 * include/langinfo.h: Likewise.
15733 * include/monetary.h: Likewise.
15734 * include/sys/poll.h: Likewise.
15735
15736 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15737 for __USE_GNU.
15738 * posix/spawn.h: Define __need_sigset_t.
15739 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15740 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15741 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15742 to get sigevent_t only.
15743 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15744 only for __USE_GNU.
15745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15746 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15747 process_vm_writev only for __USE_GNU.
15748 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15749
15750 * conform/Makefile: For now ignore errors from run-conformtest.
15751 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15752 POSIX to avoid namespace pollution. Don't prepend headers.
15753 * conform/data/aio.h-data: Fixes for POSIX testing.
15754 * conform/data/fcntl.h-data: Likewise.
15755 * conform/data/glob.h-data: Likewise.
15756 * conform/data/grp.h-data: Likewise.
15757 * conform/data/pthread.h-data: Likewise.
15758 * conform/data/pwd.h-data: Likewise.
15759 * conform/data/signal.h-data: Likewise.
15760 * conform/data/spawn.h-data: Likewise.
15761 * conform/data/stdio.h-data: Likewise.
15762 * conform/data/stdlib.h-data: Likewise.
15763 * conform/data/stropts.h-data: Likewise.
15764 * conform/data/sys/mman.h-data: Likewise.
15765 * conform/data/sys/stat.h-data: Likewise.
15766 * conform/data/sys/types.h-data: Likewise.
15767 * conform/data/sys/wait.h-data: Likewise.
15768 * conform/data/time.h-data: Likewise.
15769 * conform/data/unistd.h-data: Likewise.
15770 * conform/data/utime.h-data: Likewise.
15771
15772 * io/sys/stat.h: fchmod was always in POSIX.
15773 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15774 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15775 * rt/aio.h: Define __need_timespec before including <time.h>.
15776 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15777 struct. Add forward declaration of pthread_attr_t and use it in
15778 sigevent.
15779 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15781 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15782 always remove CLK_TCK definition.
15783
c20105c3
AS
157842012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15785
15786 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15787
7a270350
UD
157882012-02-25 Ulrich Drepper <drepper@gmail.com>
15789
31341567
UD
15790 * conform/run-conformtest.sh: New file.
15791 * conform/Makefile: Run run-conformtest for tests.
15792 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15793 support.
15794
15795 * conform/data/uchar.h-data: New file.
15796 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15797 * conform/data/arpa/inet.h-data: Likewise.
15798 * conform/data/assert.h-data: Likewise.
15799 * conform/data/complex.h-data: Likewise.
15800 * conform/data/cpio.h-data: Likewise.
15801 * conform/data/ctype.h-data: Likewise.
15802 * conform/data/dirent.h-data: Likewise.
15803 * conform/data/dlfcn.h-data: Likewise.
15804 * conform/data/errno.h-data: Likewise.
15805 * conform/data/fcntl.h-data: Likewise.
15806 * conform/data/float.h-data: Likewise.
15807 * conform/data/fmtmsg.h-data: Likewise.
15808 * conform/data/fnmatch.h-data: Likewise.
15809 * conform/data/ftw.h-data: Likewise.
15810 * conform/data/glob.h-data: Likewise.
15811 * conform/data/grp.h-data: Likewise.
15812 * conform/data/iconv.h-data: Likewise.
15813 * conform/data/inttypes.h-data: Likewise.
15814 * conform/data/langinfo.h-data: Likewise.
15815 * conform/data/libgen.h-data: Likewise.
15816 * conform/data/limits.h-data: Likewise.
15817 * conform/data/locale.h-data: Likewise.
15818 * conform/data/math.h-data: Likewise.
15819 * conform/data/monetary.h-data: Likewise.
15820 * conform/data/mqueue.h-data: Likewise.
15821 * conform/data/ndbm.h-data: Likewise.
15822 * conform/data/net/if.h-data: Likewise.
15823 * conform/data/netdb.h-data: Likewise.
15824 * conform/data/netinet/in.h-data: Likewise.
15825 * conform/data/nl_types.h-data: Likewise.
15826 * conform/data/poll.h-data: Likewise.
15827 * conform/data/pthread.h-data: Likewise.
15828 * conform/data/pwd.h-data: Likewise.
15829 * conform/data/regex.h-data: Likewise.
15830 * conform/data/sched.h-data: Likewise.
15831 * conform/data/search.h-data: Likewise.
15832 * conform/data/semaphore.h-data: Likewise.
15833 * conform/data/setjmp.h-data: Likewise.
15834 * conform/data/signal.h-data: Likewise.
15835 * conform/data/spawn.h-data: Likewise.
15836 * conform/data/stdarg.h-data: Likewise.
15837 * conform/data/stdio.h-data: Likewise.
15838 * conform/data/stdlib.h-data: Likewise.
15839 * conform/data/string.h-data: Likewise.
15840 * conform/data/strings.h-data: Likewise.
15841 * conform/data/stropts.h-data: Likewise.
15842 * conform/data/sys/ipc.h-data: Likewise.
15843 * conform/data/sys/mman.h-data: Likewise.
15844 * conform/data/sys/msg.h-data: Likewise.
15845 * conform/data/sys/resource.h-data: Likewise.
15846 * conform/data/sys/select.h-data: Likewise.
15847 * conform/data/sys/sem.h-data: Likewise.
15848 * conform/data/sys/shm.h-data: Likewise.
15849 * conform/data/sys/socket.h-data: Likewise.
15850 * conform/data/sys/stat.h-data: Likewise.
15851 * conform/data/sys/statvfs.h-data: Likewise.
15852 * conform/data/sys/time.h-data: Likewise.
15853 * conform/data/sys/timeb.h-data: Likewise.
15854 * conform/data/sys/times.h-data: Likewise.
15855 * conform/data/sys/types.h-data: Likewise.
15856 * conform/data/sys/uio.h-data: Likewise.
15857 * conform/data/sys/un.h-data: Likewise.
15858 * conform/data/sys/utsname.h-data: Likewise.
15859 * conform/data/sys/wait.h-data: Likewise.
15860 * conform/data/syslog.h-data: Likewise.
15861 * conform/data/tar.h-data: Likewise.
15862 * conform/data/termios.h-data: Likewise.
15863 * conform/data/utime.h-data: Likewise.
15864 * conform/data/utmpx.h-data: Likewise.
15865 * conform/data/varargs.h-data: Likewise.
15866 * conform/data/wchar.h-data: Likewise.
15867 * conform/data/wctype.h-data: Likewise.
15868 * conform/data/wordexp.h-data: Likewise.
15869
15870 * include/stropts.h: New file.
15871 * include/uchar.h: New file.
15872 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15873 * include/assert.h: Likewise.
15874 * include/ctype.h: Likewise.
15875 * include/dirent.h: Likewise.
15876 * include/dlfcn.h: Likewise.
15877 * include/fcntl.h: Likewise.
15878 * include/fnmatch.h: Likewise.
15879 * include/glob.h: Likewise.
15880 * include/grp.h: Likewise.
15881 * include/libio.h: Likewise.
15882 * include/locale.h: Likewise.
15883 * include/math.h: Likewise.
15884 * include/net/if.h: Likewise.
15885 * include/netdb.h: Likewise.
15886 * include/netinet/in.h: Likewise.
15887 * include/pthread.h: Likewise.
15888 * include/pwd.h: Likewise.
15889 * include/regex.h: Likewise.
15890 * include/sched.h: Likewise.
15891 * include/search.h: Likewise.
15892 * include/setjmp.h: Likewise.
15893 * include/signal.h: Likewise.
15894 * include/stdio.h: Likewise.
15895 * include/stdlib.h: Likewise.
15896 * include/string.h: Likewise.
15897 * include/sys/cdefs.h: Likewise.
15898 * include/sys/mman.h: Likewise.
15899 * include/sys/msg.h: Likewise.
15900 * include/sys/resource.h: Likewise.
15901 * include/sys/select.h: Likewise.
15902 * include/sys/socket.h: Likewise.
15903 * include/sys/stat.h: Likewise.
15904 * include/sys/statvfs.h: Likewise.
15905 * include/sys/time.h: Likewise.
15906 * include/sys/times.h: Likewise.
15907 * include/sys/uio.h: Likewise.
15908 * include/sys/utsname.h: Likewise.
15909 * include/sys/wait.h: Likewise.
15910 * include/termios.h: Likewise.
15911 * include/time.h: Likewise.
15912 * include/ulimit.h: Likewise.
15913 * include/unistd.h: Likewise.
15914 * include/utime.h: Likewise.
15915 * include/wchar.h: Likewise.
15916 * include/wctype.h: Likewise.
15917 * include/wordexp.h: Likewise.
15918
15919 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15920
7a270350
UD
15921 * time/time.h: TIME_UTC must be a macro.
15922 Make timespec_get available for ISO C11 only as well.
15923
7724defc
UD
159242012-02-24 Ulrich Drepper <drepper@gmail.com>
15925
15926 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15927 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15928
6b1d1d46
JM
159292012-02-24 Joseph Myers <joseph@codesourcery.com>
15930
15931 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15932
0f8bbd69
JM
159332012-02-24 Joseph Myers <joseph@codesourcery.com>
15934
15935 * manual/texinfo.tex: Update to version 2012-01-19.16.
15936
66ab80bc
JM
159372012-02-24 Joseph Myers <joseph@codesourcery.com>
15938
15939 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15940
74981cc5
RM
159412012-02-24 Roland McGrath <roland@hack.frob.com>
15942
ee968201
RM
15943 [BZ #13738]
15944 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15945 * manual/fdl-1.3.texi: New file.
15946 * manual/fdl-1.1.texi: File removed.
15947
74981cc5
RM
15948 [BZ #13738]
15949 * manual/libc.texinfo (FDL_VERSION): New @set.
15950 Use it for mention of FDL in cover text.
15951 (Documentation License): Use it in @include file name.
15952
7bb764bc
JM
159532012-02-22 Joseph Myers <joseph@codesourcery.com>
15954 Roland McGrath <roland@hack.frob.com>
15955
15956 [BZ #5461]
15957 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15958 not LONG_LONG_MAX and LONG_LONG_MIN.
15959 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15960 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15961 name.
15962 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15963
6cbeae47
JM
159642012-02-22 Joseph Myers <joseph@codesourcery.com>
15965
15966 [BZ #2547]
15967 [BZ #11365]
15968 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15969 manipulate bits before adding and subtracting TWO23[sx].
15970 * math/libm-test.inc (nearbyint_test): Add more tests.
15971
fe45ce09
JM
159722012-02-22 Joseph Myers <joseph@codesourcery.com>
15973
15974 [BZ #2548]
15975 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15976 bits before adding and subtracting TWO23[sx].
15977 * math/libm-test.inc (rint_test): Add more tests.
15978 (rint_test_tonearest): Likewise.
15979 (rint_test_towardzero): Likewise.
15980 (rint_test_downward): Likewise.
15981 (rint_test_upward: Likewise.
15982
ff3b3d82
JM
159832012-02-22 Joseph Myers <joseph@codesourcery.com>
15984
15985 [BZ #10110]
15986 * include/stdc-predef.h: New file. Extracted from features.h.
15987 * include/features.h: Include stdc-predef.h.
15988 * Makefile (headers): Add stdc-predef.h.
15989 * CONFORMANCE (Compiler limitations): Update.
15990
ef0aab35
JM
159912012-02-22 Joseph Myers <joseph@codesourcery.com>
15992
15993 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15994
58639409
DM
159952012-02-21 David S. Miller <davem@davemloft.net>
15996
15997 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15998 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15999
c0e70b25
DM
160002012-02-20 David S. Miller <davem@davemloft.net>
16001
16002 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16003 using a normal save/restore sequence, rather than allocating a
16004 dummy stack frame just to store a frame pointer and restore.
16005 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16006
fb06851d
JM
160072012-02-21 Joseph Myers <joseph@codesourcery.com>
16008
16009 * manual/install.texi: Fix stray word in line-wrapped comment.
16010
7a8b71c3
DM
160112012-02-20 David S. Miller <davem@davemloft.net>
16012
d510c123
DM
16013 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16014 both binutils and gcc support GOTDATA.
16015
0722d7c2
DM
16016 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16017 "rd %pc" in the PIC register setup sequences.
16018
3d2b3019
DM
16019 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16020 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16021 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16022 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16023 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16025 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16026 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16028 (SYSCALL_ERROR_HANDLER): Likewise.
16029 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16030 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16032 (SYSCALL_ERROR_HANDLER): Likewise.
16033
c80098a9
DM
16034 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16035 (HAVE_GCC_GOTDATA): New.
16036 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16037 relocation support in both binutils and gcc.
16038 * sysdeps/sparc/elf/configure: Regenerate.
16039
3a2545a0
DM
16040 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16041 * sysdeps/sparc/sparc32/elf/configure: Delete.
16042 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16043 * sysdeps/sparc/sparc64/elf/configure: Delete.
16044 * sysdeps/sparc/elf/configure.in: New file.
16045 * sysdeps/sparc/elf/configure: Generate.
16046
7a8b71c3
DM
16047 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16048 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16049 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16050 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16051 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16052
f1e86fca
JM
160532012-02-21 Joseph Myers <joseph@codesourcery.com>
16054
16055 * manual/install.texi: Do not mention specific glibc version
16056 numbers.
16057 * manual/libc.texinfo (VERSION, UPDATED): Update.
16058 (@copying): Use @copyright{} and range of years.
16059
0e7dfaef
JM
160602012-02-21 Joseph Myers <joseph@codesourcery.com>
16061
16062 [BZ #13695]
16063 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16064 [crti.S not in sysdirs] (generated): Do not append.
16065 [crti.S not in sysdirs] (omit-deps): Likewise.
16066 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16067 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16068 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16069 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16070 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16071 Likewise.
16072 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16073 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16074 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16075 * csu/defs.awk: Remove file.
16076 * sysdeps/generic/initfini.c: Likewise.
16077 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16078 variable.
16079 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16080 Likewise.
16081
599af3ca
JM
160822012-02-20 Joseph Myers <joseph@codesourcery.com>
16083
16084 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16085 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16086 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16087 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16088 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16089 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16090 <bits/epoll.h>.
16091 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16092 (__EPOLL_PACKED): Define to empty if not defined by
16093 <bits/epoll.h>.
16094 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16096 bits/epoll.h.
16097
0e499750
JM
160982012-02-20 Joseph Myers <joseph@codesourcery.com>
16099
16100 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16101 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16102 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16103 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16104 <bits/timerfd.h>.
16105 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16107 bits/timerfd.h.
16108
5ad91f6e
JM
161092012-02-20 Joseph Myers <joseph@codesourcery.com>
16110
16111 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16112 in C locale.
16113 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16114 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16115 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16117
06b99b02
AJ
161182012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16119
16120 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16121 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16122
7638c0fd
AS
161232012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16124
16125 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16126 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16127 defined.
16128 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16129 Likewise.
16130 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16131 entry for 2.16.
16132
92221550
AJ
161332012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16134
16135 * math/w_acos.c: Use non-signaling floating-point comparisons.
16136 * math/w_acosf.c: Likewise.
16137 * math/w_acosh.c: Likewise.
16138 * math/w_acoshf.c: Likewise.
16139 * math/w_acoshl.c: Likewise.
16140 * math/w_acosl.c: Likewise.
16141 * math/w_asin.c: Likewise.
16142 * math/w_asinf.c: Likewise.
16143 * math/w_asinl.c: Likewise.
16144 * math/w_atanh.c: Likewise.
16145 * math/w_atanhf.c: Likewise.
16146 * math/w_atanhl.c: Likewise.
16147 * math/w_exp2.c: Likewise.
16148 * math/w_exp2f.c: Likewise.
16149 * math/w_exp2l.c: Likewise.
16150 * math/w_j0.c: Likewise.
16151 * math/w_j0f.c: Likewise.
16152 * math/w_j0l.c: Likewise.
16153 * math/w_j1.c: Likewise.
16154 * math/w_j1f.c: Likewise.
16155 * math/w_j1l.c: Likewise.
16156 * math/w_jn.c: Likewise.
16157 * math/w_jnf.c: Likewise.
16158 * math/w_log.c: Likewise.
16159 * math/w_log10.c: Likewise.
16160 * math/w_log10f.c: Likewise.
16161 * math/w_log10l.c: Likewise.
16162 * math/w_log2.c: Likewise.
16163 * math/w_log2f.c: Likewise.
16164 * math/w_log2l.c: Likewise.
16165 * math/w_logf.c: Likewise.
16166 * math/w_logl.c: Likewise.
16167 * math/w_sqrt.c: Likewise.
16168 * math/w_sqrtf.c: Likewise.
16169 * math/w_sqrtl.c: Likewise.
16170 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16171 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16172 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16173 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16174 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16175
ebaf36eb
JM
161762012-02-19 Joseph Myers <joseph@codesourcery.com>
16177
16178 [BZ #9739]
16179 * manual/string.texi (strnlen): Use correct parameter name in
16180 equivalent expression.
16181
71c254a6
JM
161822012-02-19 Joseph Myers <joseph@codesourcery.com>
16183
16184 [BZ #11174]
16185 * manual/users.texi (seteuid): Consistently use neweuid for
16186 argument name.
16187
16d2c631
JM
161882012-02-19 Joseph Myers <joseph@codesourcery.com>
16189
16190 [BZ #13704]
16191 * manual/nss.texi (Services in the NSS configuration): Correct
16192 list of services in example configuration file.
16193
cd837b09
NB
161942012-02-19 Nick Bowler <nbowler@draconx.ca>
16195
16196 [BZ #11322]
16197 * manual/arith.texi: Remove statements about negative zero
16198 behaving identically to zero.
16199
02c4bbad
JM
162002012-02-18 Joseph Myers <joseph@codesourcery.com>
16201
16202 [BZ #5993]
16203 * manual/install.texi: Do not document upgrading from libc5.
16204
366842e7
JM
162052012-02-18 Joseph Myers <joseph@codesourcery.com>
16206
16207 [BZ #4596]
16208 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16209
dd54084d
DM
162102012-02-18 David S. Miller <davem@davemloft.net>
16211
16212 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16213 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16214 %o7 across the call.
16215 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16216 instead.
16217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16218 SETUP_PIC_REG_LEAF.
16219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16220 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16221 * sysdeps/sparc/crtn.S: Likewise.
16222
2bcc53a3
UD
162232012-02-17 Ulrich Drepper <drepper@gmail.com>
16224
16225 * aout/Makefile: Remove.
16226
09c093b5
RK
162272012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16228
16229 [BZ #13058]
16230 * manual/examples/argp-ex1.c (main): Format definition in GNU
16231 style.
16232 * manual/examples/argp-ex2.c (main): Likewise.
16233 * manual/examples/argp-ex3.c (main): Likewise.
16234 * manual/examples/argp-ex4.c (main): Likewise.
16235 * manual/examples/longopt.c (main): Use new-style prototype
16236 definition.
16237 * manual/examples/strncat.c (main): Specify return type and use
16238 (void) for arguments.
16239 * manual/examples/subopt.c (main): Use char **argv argument.
16240
2ee633a2
JM
162412012-02-17 Joseph Myers <joseph@codesourcery.com>
16242
16243 [BZ #5077]
16244 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16245 rounding modes.
16246
0520adde
FB
162472012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16248
16249 [BZ #6907]
16250 * manual/string.texi (strchr): Change when strchrnul is
16251 recommended.
16252
3f4081cd
DGM
162532012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16254
16255 [BZ #174]
16256 * manual/locale.texi (setlocale): Document LOCPATH.
16257
d1b10e78
JM
162582012-02-17 Joseph Myers <joseph@codesourcery.com>
16259
16260 [BZ #10210]
16261 * manual/process.texi (execle): Move @dots{} before last argument.
16262
79c6869c
PB
162632012-02-17 Paul Bolle <pebolle@tiscali.nl>
16264
16265 [BZ #12047]
16266 * manual/charset.texi (Generic Charset Conversion): Fix typo
16267 (LC_TYPE -> LC_CTYPE).
16268
cc6e48bc
NB
162692012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16270
16271 [BZ #5805]
16272 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16273 (scalbnf): Likewise.
16274 (scalbnl): Likewise.
16275 (scalbln): Likewise.
16276 (scalblnf): Likewise.
16277 (scalblnl): Likewise.
16278 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16279 (vwarnx): Likewise.
16280 (verr): Likewise.
16281 (verrx): Likewise.
16282 * manual/filesys.texi (telldir): Use braces around return type.
16283 * manual/llio.texi (mmap): Add space after comma.
16284 (mmap64): Likewise.
16285 * manual/math.texi (jn): Use @var{} on parameter names.
16286 (jnf): Likewise.
16287 (jnl): Likewise.
16288 (yn): Likewise.
16289 (ynf): Likewise.
16290 (ynl): Likewise.
16291 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16292 line.
16293 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16294 "...".
16295 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16296 (sched_get_priority_max): Likewise.
16297 * manual/signal.texi (sigvec): Add space after comma.
16298 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16299 names.
16300 (if_indextoname): Likewise.
16301 (if_freenameindex): Likewise.
16302 (sendto): Use ',' instead of '.' in prototype.
16303 * manual/startup.texi (syscall): Use @dots{} instead of literal
16304 "...".
16305 * manual/stdio.texi (__fpending): Separate initial words of
16306 paragraph from @deftypefun line.
16307 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16308 "...".
16309 (vsyslog): Use @var{} on parameter names.
16310 * manual/terminal.texi (stty): Use @var{} on parameter names.
16311 * manual/users.texi (getutmp): Use @var{} on parameter names.
16312 (getutmpx): Likewise.
16313
5b23062f
JM
163142012-02-17 Joseph Myers <joseph@codesourcery.com>
16315
16316 [BZ #6884]
16317 * manual/stdio.texi (fopen): Fix typos in description of
16318 ",ccs=STRING".
16319
8dee4833
AJ
163202012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16321
16322 [BZ #4026]
16323 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16324 get clock_id definition.
16325
9078ce93
TS
163262012-02-17 Thomas Schwinge <thomas@schwinge.name>
16327
16328 [BZ #4822]
16329 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16330 (madvise): Cast every argument to void on its own.
16331
3835c55f
JM
163322012-02-17 Joseph Myers <joseph@codesourcery.com>
16333
16334 [BZ #9902]
16335 * manual/startup.texi (Exit Status): Fix typo.
16336
35c47e37
JM
163372012-02-17 Joseph Myers <joseph@codesourcery.com>
16338
16339 [BZ #10140]
16340 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16341 * manual/examples/argp-ex2.c: Likewise.
16342 * manual/examples/argp-ex3.c: Likewise.
16343
e3b69ca7
RH
163442012-02-16 Richard Henderson <rth@redhat.com>
16345
16346 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16347 * sysdeps/s390/s390-32/initfini.c: Remove.
16348 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16349 * sysdeps/s390/s390-64/initfini.c: Remove.
16350
df83af67
KK
163512012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16352
16353 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16354 compiler output for sysdeps/generic/initfini.c.
16355 * sysdeps/sh/elf/initfini.c: Remove file.
16356
f63f3380
DM
163572012-02-16 David S. Miller <davem@davemloft.net>
16358
fb59b3a4
DM
16359 [BZ #11494]
16360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16361
f63f3380
DM
16362 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16363 * sysdeps/sparc/crti.S: New file.
16364 * sysdeps/sparc/crtn.S: New file.
16365 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16366 * sysdeps/sparc/sparc64/Makefile: Likewise.
16367
df6a4a4a
MF
163682012-02-15 Mike Frysinger <vapier@gentoo.org>
16369
6dd8f3dc 16370 [BZ #3335]
df6a4a4a
MF
16371 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16372
1cac7236
RM
163732012-02-15 Roland McGrath <roland@hack.frob.com>
16374
d2c736f8
RM
16375 [BZ #4822]
16376 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16377
1cac7236
RM
16378 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16379 (write, read, close): Likewise.
16380 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16381
8e475601
JM
163822012-02-15 Joseph Myers <joseph@codesourcery.com>
16383
16384 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16385 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16386 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16387 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16388 <bits/signalfd.h>.
16389 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16391 bits/signalfd.h.
16392
ed656b40
MP
163932012-02-14 Marek Polacek <polacek@redhat.com>
16394
16395 * sysdeps/x86_64/crti.S: New file.
16396 * sysdeps/x86_64/crtn.S: New file.
16397 * sysdeps/x86_64/elf/initfini.c: Remove file.
16398
2a979d3a
JM
163992012-02-13 Joseph Myers <joseph@codesourcery.com>
16400
16401 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16402 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16403 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16404 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16405 <bits/inotify.h>.
16406 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16408 bits/inotify.h.
16409
2a418ac3
JM
164102012-02-13 Joseph Myers <joseph@codesourcery.com>
16411
16412 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16413 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16414 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16415 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16416 <bits/eventfd.h>.
16417 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16419 bits/eventfd.h.
16420
fb779be7
TS
164212012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16422
e19e83c5
RM
16423 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16424 __feraiseexcept instead of feraiseexcept.
7c35ffed 16425
fb779be7
TS
16426 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16427 nanosleep invocations.
16428 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16429 strings, and add error checking for a nanosleep invocations.
16430
59ba27a6
PE
164312012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16432
16433 Replace FSF snail mail address with URLs, as per GNU coding standards.
16434 Most of the snail mail addresses were wrong anyway, and omitting
16435 them makes the source code easier to maintain. Almost all of the
16436 changes are to license notices and to locale LC_IDENTIFICATION
16437 addresses, except for this one:
16438 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16439 not its snail mail address.
16440
57b957eb
RH
164412012-02-09 Richard Henderson <rth@twiddle.net>
16442
af850b1c
RH
16443 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16444 of kernel-features.h.
16445
57b957eb
RH
16446 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16447
6b73181a
MP
164482012-02-08 Marek Polacek <polacek@redhat.com>
16449
16450 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16451 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16452 * sysdeps/gnu/_G_config.h: Likewise.
16453 * sysdeps/generic/_G_config.h: Likewise.
16454
26ecc33a
AS
164552012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16456
6c6dbc63
AS
16457 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16458 tests.
16459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16460
e216c012
AS
16461 * sysdeps/powerpc/powerpc32/crti.S: New file.
16462 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16463 * sysdeps/powerpc/powerpc64/crti.S: New file.
16464 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16465
26ecc33a
AS
16466 * Makeconfig (have-initfini): Don't set.
16467 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16468 * configure.in (nopic_initfini): Don't substitute.
16469 * config.h.in (HAVE_INITFINI): Don't #undef.
16470 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16471 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16472
3add8e13
JM
164732012-02-08 Joseph Myers <joseph@codesourcery.com>
16474
16475 Support crti.S and crtn.S provided directly by architectures.
16476 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16477 [crti.S in sysdirs] (omit-deps): Likewise.
16478 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16479 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16480 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16481 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16482 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16483 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16484 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16485 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16486 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16487 compiler output for sysdeps/generic/initfini.c.
16488 * sysdeps/i386/elf/Makefile: Remove file.
16489 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16490
a22f12b4
MP
164912012-02-07 Marek Polacek <polacek@redhat.com>
16492
16493 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16494 * sysdeps/gnu/_G_config.h: Likewise.
16495 * sysdeps/mach/hurd/_G_config.h: Likewise.
16496
148cf100
MP
164972012-02-07 Marek Polacek <polacek@redhat.com>
16498
16499 * math/Makefile (tests): Add tst-CMPLX2.
16500 * math/tst-CMPLX2.c: New file.
16501
cfdc0dd7
AS
165022012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16503
84ba42c4
AS
16504 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16505
cfdc0dd7
AS
16506 * math/libm-test.inc (jn_test): Add missing L suffix.
16507
622c86f4
MP
165082012-02-06 Marek Polacek <polacek@redhat.com>
16509
16510 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16511 * sysdeps/i386/fpu/e_powf.S: Likewise.
16512 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16513 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16514 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16515 * sysdeps/i386/fpu/e_pow.S: Likewise.
16516 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16517 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16518 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16519 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16520 * sysdeps/i386/fpu/e_log2.S: Likewise.
16521 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16522 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16523 * sysdeps/i386/fpu/e_powl.S: Likewise.
16524 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16525 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16526 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16527 * sysdeps/i386/fpu/e_logl.S: Likewise.
16528 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16529 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16530 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16531 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16532 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16533 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16534 * sysdeps/i386/fpu/e_log.S: Likewise.
16535 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16536 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16537 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16538 * sysdeps/i386/fpu/e_logf.S: Likewise.
16539 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16540 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16541 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16542 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16543 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16544 * sysdeps/i386/fpu/e_log10.S: Likewise.
16545 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16546 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16547 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16548 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16549 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16550 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16551 * sysdeps/i386/asm-syntax.h: Likewise.
16552 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16553 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16554 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16555 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16556 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16557 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16558 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16559 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16560 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16561 * sysdeps/powerpc/sysdep.h: Likewise.
16562 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16563 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16564
d4a54ac6
JM
165652012-02-06 Joseph Myers <joseph@codesourcery.com>
16566
16567 [BZ #411]
16568 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16569
314054ea
JM
165702012-02-06 Joseph Myers <joseph@codesourcery.com>
16571
16572 * sysdeps/i386/sysdep.h: Include <features.h>.
16573 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16574 version.
16575
d8e0ca50
JM
165762012-02-05 Joseph Myers <joseph@codesourcery.com>
16577
16578 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16579 Define.
16580 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16581 LOAD_PIC_REG_STR.
16582
b1da7dd9
JM
165832012-02-03 Joseph Myers <joseph@codesourcery.com>
16584
16585 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16586 (SETUP_PIC_REG): Use GET_PC_THUNK.
16587 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16588 macro.
16589
9a1d9254
JM
165902012-02-03 Joseph Myers <joseph@codesourcery.com>
16591
16592 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16593 for non-PIC compilation.
16594 (SETUP_PIC_REG): Add .p2align directive.
16595 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16596 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16597 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16598 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16599 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16600 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16601 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16602 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16603 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16604 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16605 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16606 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16607 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16608 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16609 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16610 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16611 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16612 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16613 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16614 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16615 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16616 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16617 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16618 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16619 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16621 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16622 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16623 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16624 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16625 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16626 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16627 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16628 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16629 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16630 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16631 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16632 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16633 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16634 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16635 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16636
65dc3b75
JM
166372012-02-03 Joseph Myers <joseph@codesourcery.com>
16638
16639 * math/tst-CMPLX.c: Include <stdio.h>.
16640
d55bf177
JM
166412012-01-31 Joseph Myers <joseph@codesourcery.com>
16642
16643 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16644 float.
16645 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16646 * sysdeps/sparc/bits/mathdef.h: Likewise.
16647
69db4f8f
MP
166482012-01-31 Marek Polacek <polacek@redhat.com>
16649
16650 * libio/libio.h: Don't define _PARAMS.
16651 * locale/programs/config.h: Don't define PARAMS.
16652 * stdlib/strtol_l.c: Likewise.
16653 (__strtol_l): Remove PARAMS from the prototype.
16654
41b81892
UD
166552012-01-31 Ulrich Drepper <drepper@gmail.com>
16656
3b49edc0
UD
16657 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16658 names. Just use the correct names. Remove unnecessary wrapper
16659 functions.
16660 * malloc/arena.c: Likewise.
16661 * malloc/hooks.c: Likewise.
16662
41b81892
UD
16663 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16664 ARENA_TEST says not to. Simplify test for creation of a new arena.
16665 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16666
27a25b6e
UD
166672012-01-30 Ulrich Drepper <drepper@gmail.com>
16668
16669 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16670 into tail calls.
16671 (update_get_addr): New function.
16672 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16673 GET_ADDR_MODULE parameter.
16674
c8a89e7d
JM
166752012-01-30 Joseph Myers <joseph@codesourcery.com>
16676
16677 * crypt/cert.c: Remove __STDC__ conditionals.
16678 * crypt/crypt-entry.c: Likewise.
16679 * crypt/crypt_util.c: Likewise.
16680 * libio/filedoalloc.c: Likewise.
16681 * libio/fileops.c: Likewise.
16682 * libio/genops.c: Likewise.
16683 * libio/iofclose.c: Likewise.
16684 * libio/iofdopen.c: Likewise.
16685 * libio/iofopen.c: Likewise.
16686 * libio/iofopen64.c: Likewise.
16687 * libio/iogetdelim.c: Likewise.
16688 * libio/iopopen.c: Likewise.
16689 * libio/obprintf.c: Likewise.
16690 * libio/oldfileops.c: Likewise.
16691 * libio/oldiofclose.c: Likewise.
16692 * libio/oldiofdopen.c: Likewise.
16693 * libio/oldiofopen.c: Likewise.
16694 * libio/oldiopopen.c: Likewise.
16695 * libio/wfiledoalloc.c: Likewise.
16696 * libio/wgenops.c: Likewise.
16697 * locale/programs/xmalloc.c: Likewise.
16698 * misc/syslog.c: Likewise.
16699 * stdio-common/xbug.c: Likewise.
16700 * string/memchr.c: Likewise.
16701 * string/memcmp.c: Likewise.
16702 * string/memrchr.c: Likewise.
16703 * string/rawmemchr.c: Likewise.
16704 * sysdeps/posix/getcwd.c: Likewise.
16705 * time/strftime_l.c: Likewise.
16706
3b100462
JM
167072012-01-30 Joseph Myers <joseph@codesourcery.com>
16708
16709 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16710 * config.make.in (config-cflags-sse2avx): Define.
16711 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16712 Fix typo.
16713
607998af
CM
167142012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16715
16716 * scripts/config.guess: Update from upstream config git repository.
16717 * scripts/config.sub: Likewise.
16718
3601428f
CM
167192012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16720
3ac8b282
CM
16721 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16722 (EM_NUM): Update.
16723 (R_TILEPRO_*, R_TILEGX_*): New macros.
16724
e034841e
CM
16725 * scripts/firstversions.awk: Fix bug in version range handling.
16726
540d7568
CM
16727 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16728
3601428f
CM
16729 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16730
463de862
CM
16731 * include/sys/epoll.h: New file.
16732 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16733 libc_hidden_def.
16734
73139a76
UD
167352012-01-28 Ulrich Drepper <drepper@gmail.com>
16736
96bc5b45
UD
16737 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16738 Avoid unnecessary __WORDSIZE == 64 test.
16739 (fmaxf): Use VEX format if possible.
16740 (fmax): Likewise.
16741 (fminf): Likewise.
16742 (fmin): Likewise.
16743
56f6f6a2
UD
16744 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16745 * math/math_private.h: Remove libc_fegetround* and
16746 libc_fesetround*.
16747 * sysdeps/i386/configure.in: Check for -msse2avx.
16748 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16749 also if SSE2AVX is defined.
16750 Remove libc_fegetround* and libc_fesetround*.
16751 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16752 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16753 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16754 of HAS_YMM_USABLE.
16755 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16756 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16758 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16759 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16760
73139a76
UD
16761 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16762
d73f93a4
AZ
167632012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16764
16765 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16766 size is not set.
16767 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16768
6ee65ed6
UD
167692012-01-27 Ulrich Drepper <drepper@gmail.com>
16770
16771 [BZ #13618]
16772 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16773 relocation.
16774 * Makeconfig (libm): Define.
16775 * elf/Makefile: Add rules to build and run tst-relsort1.
16776 * elf/tst-relsort1.c: New file.
16777 * elf/tst-relsort1mod1.c: New file.
16778 * elf/tst-relsort1mod2.c: New file.
16779
8db21882
JM
167802012-01-27 Joseph Myers <joseph@codesourcery.com>
16781
16782 * math/s_ldexp.c: Remove __STDC__ conditionals.
16783 * math/s_ldexpf.c: Likewise.
16784 * math/s_ldexpl.c: Likewise.
16785 * math/s_nextafter.c: Likewise.
16786 * math/s_nexttowardf.c: Likewise.
16787 * math/s_significand.c: Likewise.
16788 * math/s_significandf.c: Likewise.
16789 * math/s_significandl.c: Likewise.
16790 * math/w_jnl.c: Likewise.
16791 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16792 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16793 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16794 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16795 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16796 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16797 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16798 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16799 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16800 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16801 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16802 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16803 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16804 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16805 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16806 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16807 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16808 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16810 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16811 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16812 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16813 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16814 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16815 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16816 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16817 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16818 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16819 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16820 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16821 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16822 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16823 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16824 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16825 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16826 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16827 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16828 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16829 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16830 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16831 * sysdeps/ieee754/k_standard.c: Likewise.
16832 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16836 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16841 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16850 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16851 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16864 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16867 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16872 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16874 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16876 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16878 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16879 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16880 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16881 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16882 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16883 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16884 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16885 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16886 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16887 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16888 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16889 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16890 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16891 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16892 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16893 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16894 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16895 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16896 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16897 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16898 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16899 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16900 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16901 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16902 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16903 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16904 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16905 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16906 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16907 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16908 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16909 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16910 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16911 * sysdeps/ieee754/s_matherr.c: Likewise.
16912 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16913 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16914 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16915 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16916
965a54a4
JM
169172012-01-26 Joseph Myers <joseph@codesourcery.com>
16918
16919 * crypt/md5.h: Remove __STDC__ conditionals.
16920 * libio/libioP.h: Likewise.
16921 * locale/programs/config.h: Likewise.
16922 * sysdeps/generic/sysdep.h: Likewise.
16923 * sysdeps/i386/asm-syntax.h: Likewise.
16924 * sysdeps/s390/asm-syntax.h: Likewise.
16925 * sysdeps/unix/sysdep.h: Likewise.
16926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16928
7071ad79
JM
169292012-01-26 Joseph Myers <joseph@codesourcery.com>
16930
16931 * libio/libio.h: Remove __STDC__ conditionals.
16932 * malloc/obstack.h: Likewise.
16933 * math/complex.h: Likewise.
16934 * math/math.h: Likewise.
16935 * sysdeps/generic/_G_config.h: Likewise.
16936 * sysdeps/gnu/_G_config.h: Likewise.
16937 * sysdeps/mach/hurd/_G_config.h: Likewise.
16938 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16939 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16940 * sysdeps/sparc/bits/mathdef.h: Likewise.
16941
afc5ed09
UD
169422012-01-26 Ulrich Drepper <drepper@gmail.com>
16943
16944 [BZ #13583]
16945 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16946 Clean up HAS_* macros.
afc5ed09 16947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16948 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16949 possible.
16950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16951 HAS_AVX.
16952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16953 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16955 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16957
bdb6de1d
JM
169582012-01-25 Joseph Myers <joseph@codesourcery.com>
16959
16960 * elf/tst-unique3.cc (gets): Remove declaration.
16961 * elf/tst-unique3lib.cc (gets): Likewise.
16962 * elf/tst-unique3lib2.cc (gets): Likewise.
16963 * elf/tst-unique4.cc (gets): Likewise.
16964
b15549e6
UD
169652012-01-24 Ulrich Drepper <drepper@gmail.com>
16966
16967 * include/stdio.h: Add C++ protection. Add gets declarations and
16968 definitions.
16969 * debug/tst-chk1.c: Don't declare gets here.
16970 * stdio-common/tst-gets.c: Likewise.
16971
a037381f
JM
169722012-01-24 Joseph Myers <joseph@codesourcery.com>
16973
16974 * posix/glob: Remove directory.
16975
f1d4aa75
JM
169762012-01-24 Joseph Myers <joseph@codesourcery.com>
16977
16978 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16979
81c0c964
PT
169802012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16981
16982 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16983 of the non-standard EPFNOSUPPORT.
16984
0ea698ae
ST
169852011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16986
16987 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16988 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16989 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16990
d220b117
UD
169912012-01-21 Ulrich Drepper <drepper@gmail.com>
16992
16993 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16994
3e1aa84e
UD
169952012-01-20 Ulrich Drepper <drepper@gmail.com>
16996
16997 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16998 transient errors.
16999 * nscd/grpcache.c (cache_addgr): Likewise.
17000 * nscd/hstcache.c (cache_addhst): Likewise.
17001 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17002 * nscd/pwdcache.c (cache_addpw): Likewise.
17003 * nscd/servicescache.c (cache_addserv): Likewise.
17004
400aa020
UD
170052012-01-16 Ulrich Drepper <drepper@gmail.com>
17006
d77e7869
UD
17007 * malloc/malloc.c: Various cleanups.
17008 * malloc/hooks.c: Likewise.
17009
400aa020
UD
17010 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17011 * stdlib/bug-fmtmsg1.c: New file.
17012
17013 * stdlib/fmtmsg.c (init): Add missing unlock.
17014 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17015
e0a309cf
MP
170162012-01-12 Marek Polacek <polacek@redhat.com>
17017
17018 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17019 and _GNU_SOURCE.
17020
929d11c7
WS
170212012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17022
17023 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17024 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17025 macro to ensure uniqueness of label name.
17026 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17027 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17028
41d0e869
UD
170292012-01-11 Ulrich Drepper <drepper@gmail.com>
17030
0cc5ed3b
UD
17031 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17032
41d0e869
UD
17033 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17034 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17035 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17036 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17037
a47a831a
UD
170382012-01-10 Ulrich Drepper <drepper@gmail.com>
17039
daa891c0
UD
17040 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17041
17042 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17043 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17044 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17045
e58ef0f2
UD
17046 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17047
a47a831a 17048 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17049 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17050 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17052
17053 * math/bits/math-finite.h: Add ldexp support.
17054
a0bfc9c7
MP
170552012-01-10 Marek Polacek <polacek@redhat.com>
17056
17057 * locale/programs/localedef.h (show_archive_content): Add noreturn
17058 attribute.
17059
d6e97a1d
UD
170602012-01-09 Ulrich Drepper <drepper@gmail.com>
17061
17062 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17063
d5835c26
UD
170642012-01-08 Ulrich Drepper <drepper@gmail.com>
17065
e5f484c6
UD
17066 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17067
d5835c26
UD
17068 * io/Makefile (headers): Add bits/poll2.h.
17069
d1f741e9
WS
170702011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17071
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17073 typo #include statement.
17074
ec09c1c4
UD
170752012-01-08 Ulrich Drepper <drepper@gmail.com>
17076
17077 * include/sys/cdefs.h: Define __attribute_alloc_size.
17078 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17079 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17080 * elf/pldd.c: Likewise.
17081 * iconv/iconv_charmap.c: Likewise.
17082 * iconv/iconvconfig.c: Likewise.
17083 * iconv/strtab.c: Likewise.
17084 * locale/programs/locale.c: Likewise.
17085 * locale/programs/localedef.h: Likewise.
17086 * locale/programs/simple-hash.c: Likewise.
17087 * nscd/nscd.h: Likewise.
17088 * nss/makedb.c: Likewise.
17089 * sysdeps/generic/ldconfig.h: Likewise.
17090 * locale/programs/localedef.c: Remove xmalloc prototype.
17091 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17092
20b38e03
PP
170932012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17094
17095 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17096 appropriate.
17097
a0da5fe1
UD
170982012-01-08 Ulrich Drepper <drepper@gmail.com>
17099
1d5a644a 17100 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17101 * math/tst-CMPLX.c: New file.
1d5a644a 17102
8784a6db
UD
17103 * math/complex.h (CMPLXL): Fix typo.
17104
d9a216c0
UD
17105 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17106 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17107 GLIBC_2.16.
17108 * debug/tst-chk1.c: Add poll and ppoll tests.
17109 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17110 * include/sys/poll.h: Add hidden proto for ppoll.
17111 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17112 * sysdeps/mach/hurd/ppoll.c: Likewise.
17113 * io/ppoll.c: Likewise.
17114 * debug/poll_chk.c: New file.
17115 * debug/ppoll_chk.c: New file.
17116 * include/bits/poll2.h: New file.
17117 * io/bits/poll2.h: New file.
17118
ac097f5c
UD
17119 [BZ #1350]
17120 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17121
2119dcfa
UD
17122 * configure.in: static is always set to yes. Remove.
17123 * config.make.in: Don't set build-static.
17124 * Makeconfig: Remove use of build-static.
17125 * dlfcn/Makefile: Likewise.
17126 * elf/Makefile: Likewise.
17127 * math/Makefile: Likewise.
17128 * misc/Makefile: Likewise.
17129 * nptl/Makefile: Likewise.
17130 * sysdeps/mach/hurd/Makefile: Likewise.
17131
121766a9
UD
17132 * configure.in: PWD_P is not used anymore.
17133 * config.make.in: Remove PWD_P entry.
17134
51a1d39c 17135 * configure.in: Remove last remnants of RANLIB.
8720d066 17136 No need to check for signed size_t anymore.
215f4bdc
UD
17137 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17138 and IA-64.
3857022a 17139 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17140 * aclocal.m4: Likewise.
17141
d3ed7225
UD
17142 * wcsmbs/mbrtoc16.c: Implement using towc function.
17143 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17144 * wcsmbs/wcsmbsload.c: Likewise.
17145 * iconv/gconv_simple.c: Likewise.
17146 * iconv/gconv_int.h: Likewise.
17147 * iconv/gconv_builtin.h: Likewise.
17148 * iconv/iconv_prog.c: Remove CHAR16 handling.
17149
17150 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17151
17152 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17153
a0da5fe1
UD
17154 * configure.in: Remove --with-elf and --enable-bounded options.
17155 Dont set base_machine for ia64. More non-ELF conditions removed.
17156 Remove testing and setting of leading underscore information.
17157 * config.make.in (build-bounded): Set to no.
17158 * config.h.in: Remove NO_UNDERSCORES entry.
17159 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17160 them.
17161 * csu/start.c: Remove !NO_UNDERSCORE code.
17162 * locale/localeinfo.h: Likewise.
17163 * sysdeps/generic/machine-gmon.h: Likewise.
17164 * sysdeps/generic/sysdep.h: Likewise.
17165 * sysdeps/i386/sysdep.h: Likewise.
17166 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17167 * sysdeps/mach/sysdep.h: Likewise.
17168 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17169 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17170 * sysdeps/sh/sysdep.h: Likewise.
17171 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17172 * sysdeps/unix/i386/sysdep.S: Likewise.
17173 * sysdeps/unix/sparc/start.c: Likewise.
17174 * sysdeps/unix/sparc/sysdep.S: Likewise.
17175 * sysdeps/unix/sparc/sysdep.h: Likewise.
17176 * sysdeps/unix/start.c: Likewise.
17177 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17178 * sysdeps/x86_64/sysdep.h: Likewise.
17179
df78418a
UD
171802012-01-07 Ulrich Drepper <drepper@gmail.com>
17181
a784e502
UD
17182 [BZ #13553]
17183 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17184 for non-gcc.
17185 * argp/argp-fmtstream.h: Use const instead __const.
17186 * argp/argp.h: Likewise.
17187 * assert/assert.h: Likewise.
17188 * bits/fenv.h: Likewise.
17189 * bits/sched.h: Likewise.
17190 * bits/sigset.h: Likewise.
17191 * bits/sigthread.h: Likewise.
17192 * catgets/nl_types.h: Likewise.
17193 * conform/data/pthread.h-data: Likewise.
17194 * crypt/crypt-private.h: Likewise.
17195 * crypt/crypt.h: Likewise.
17196 * crypt/crypt_util.c: Likewise.
17197 * ctype/ctype.h: Likewise.
17198 * debug/execinfo.h: Likewise.
17199 * debug/mbsnrtowcs_chk.c: Likewise.
17200 * debug/mbsrtowcs_chk.c: Likewise.
17201 * debug/wcsnrtombs_chk.c: Likewise.
17202 * debug/wcsrtombs_chk.c: Likewise.
17203 * debug/wcstombs_chk.c: Likewise.
17204 * dirent/dirent.h: Likewise.
17205 * dlfcn/dlfcn.h: Likewise.
17206 * elf/neededtest4.c: Likewise.
17207 * grp/grp.h: Likewise.
17208 * gshadow/gshadow.h: Likewise.
17209 * iconv/gconv.h: Likewise.
17210 * iconv/gconv_int.h: Likewise.
17211 * iconv/gconv_simple.c: Likewise.
17212 * iconv/iconv.h: Likewise.
17213 * iconv/loop.c: Likewise.
17214 * iconv/skeleton.c: Likewise.
17215 * include/aio.h: Likewise.
17216 * include/aliases.h: Likewise.
17217 * include/argz.h: Likewise.
17218 * include/arpa/inet.h: Likewise.
17219 * include/assert.h: Likewise.
17220 * include/dirent.h: Likewise.
17221 * include/dlfcn.h: Likewise.
17222 * include/execinfo.h: Likewise.
17223 * include/fcntl.h: Likewise.
17224 * include/fenv.h: Likewise.
17225 * include/glob.h: Likewise.
17226 * include/grp.h: Likewise.
17227 * include/libintl.h: Likewise.
17228 * include/mntent.h: Likewise.
17229 * include/netdb.h: Likewise.
17230 * include/pwd.h: Likewise.
17231 * include/rpc/netdb.h: Likewise.
17232 * include/sched.h: Likewise.
17233 * include/search.h: Likewise.
17234 * include/shadow.h: Likewise.
17235 * include/signal.h: Likewise.
17236 * include/stdio.h: Likewise.
17237 * include/stdlib.h: Likewise.
17238 * include/string.h: Likewise.
17239 * include/sys/socket.h: Likewise.
17240 * include/sys/stat.h: Likewise.
17241 * include/sys/statfs.h: Likewise.
17242 * include/sys/statvfs.h: Likewise.
17243 * include/sys/syslog.h: Likewise.
17244 * include/sys/time.h: Likewise.
17245 * include/sys/uio.h: Likewise.
17246 * include/time.h: Likewise.
17247 * include/unistd.h: Likewise.
17248 * include/utmp.h: Likewise.
17249 * include/wchar.h: Likewise.
17250 * include/wctype.h: Likewise.
17251 * inet/aliases.h: Likewise.
17252 * inet/arpa/inet.h: Likewise.
17253 * inet/netinet/ether.h: Likewise.
17254 * inet/netinet/in.h: Likewise.
17255 * intl/libintl.h: Likewise.
17256 * io/bits/fcntl2.h: Likewise.
17257 * io/fcntl.h: Likewise.
17258 * io/ftw.h: Likewise.
17259 * io/sys/poll.h: Likewise.
17260 * io/sys/stat.h: Likewise.
17261 * io/sys/statfs.h: Likewise.
17262 * io/sys/statvfs.h: Likewise.
17263 * io/utime.h: Likewise.
17264 * libio/bits/stdio.h: Likewise.
17265 * libio/bits/stdio2.h: Likewise.
17266 * libio/libio.h: Likewise.
17267 * libio/libioP.h: Likewise.
17268 * libio/stdio.h: Likewise.
17269 * locale/lc-ctype.c: Likewise.
17270 * locale/locale.h: Likewise.
17271 * login/utmp.h: Likewise.
17272 * malloc/arena.c: Likewise.
17273 * malloc/malloc.c: Likewise.
17274 * malloc/malloc.h: Likewise.
17275 * malloc/mcheck.c: Likewise.
17276 * malloc/mtrace.c: Likewise.
17277 * math/bits/mathcalls.h: Likewise.
17278 * math/fenv.h: Likewise.
17279 * math/math_private.h: Likewise.
17280 * misc/bits/error.h: Likewise.
17281 * misc/bits/syslog.h: Likewise.
17282 * misc/err.h: Likewise.
17283 * misc/error.h: Likewise.
17284 * misc/fstab.h: Likewise.
17285 * misc/mntent.h: Likewise.
17286 * misc/regexp.h: Likewise.
17287 * misc/search.h: Likewise.
17288 * misc/sgtty.h: Likewise.
17289 * misc/sys/mman.h: Likewise.
17290 * misc/sys/syslog.h: Likewise.
17291 * misc/sys/uio.h: Likewise.
17292 * misc/sys/xattr.h: Likewise.
17293 * misc/ttyent.h: Likewise.
17294 * nis/rpcsvc/ypclnt.h: Likewise.
17295 * nss/nss.h: Likewise.
17296 * posix/bits/unistd.h: Likewise.
17297 * posix/fnmatch.h: Likewise.
17298 * posix/glob.h: Likewise.
17299 * posix/sched.h: Likewise.
17300 * posix/spawn.h: Likewise.
17301 * posix/sys/wait.h: Likewise.
17302 * posix/unistd.h: Likewise.
17303 * posix/wordexp.h: Likewise.
17304 * pwd/pwd.h: Likewise.
17305 * resolv/netdb.h: Likewise.
17306 * resource/sys/resource.h: Likewise.
17307 * rt/aio.h: Likewise.
17308 * rt/bits/mqueue2.h: Likewise.
17309 * rt/mqueue.h: Likewise.
17310 * shadow/shadow.h: Likewise.
17311 * signal/signal.h: Likewise.
17312 * socket/send.c: Likewise.
17313 * socket/sendto.c: Likewise.
17314 * socket/sys/socket.h: Likewise.
17315 * stdio-common/printf.h: Likewise.
17316 * stdlib/bits/stdlib.h: Likewise.
17317 * stdlib/fmtmsg.h: Likewise.
17318 * stdlib/monetary.h: Likewise.
17319 * stdlib/stdlib.h: Likewise.
17320 * stdlib/ucontext.h: Likewise.
17321 * streams/stropts.h: Likewise.
17322 * string/argz.h: Likewise.
17323 * string/bits/string2.h: Likewise.
17324 * string/string.h: Likewise.
17325 * string/strings.h: Likewise.
17326 * sunrpc/rpc/auth.h: Likewise.
17327 * sunrpc/rpc/auth_des.h: Likewise.
17328 * sunrpc/rpc/clnt.h: Likewise.
17329 * sunrpc/rpc/netdb.h: Likewise.
17330 * sunrpc/rpc/pmap_clnt.h: Likewise.
17331 * sunrpc/rpc/xdr.h: Likewise.
17332 * sysdeps/generic/inttypes.h: Likewise.
17333 * sysdeps/generic/net/if.h: Likewise.
17334 * sysdeps/generic/sys/swap.h: Likewise.
17335 * sysdeps/gnu/net/if.h: Likewise.
17336 * sysdeps/gnu/utmpx.h: Likewise.
17337 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17338 * sysdeps/i386/i486/bits/string.h: Likewise.
17339 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17340 * sysdeps/s390/bits/string.h: Likewise.
17341 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17342 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17343 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17344 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17345 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17346 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17347 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17348 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17349 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17350 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17351 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17352 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17353 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17354 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17355 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17356 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17357 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17359 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17360 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17361 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17362 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17363 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17364 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17365 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17366 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17367 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17368 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17369 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17370 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17371 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17372 * sysvipc/sys/ipc.h: Likewise.
17373 * sysvipc/sys/msg.h: Likewise.
17374 * sysvipc/sys/sem.h: Likewise.
17375 * sysvipc/sys/shm.h: Likewise.
17376 * termios/termios.h: Likewise.
17377 * time/sys/time.h: Likewise.
17378 * time/time.h: Likewise.
17379 * wcsmbs/bits/wchar2.h: Likewise.
17380 * wcsmbs/uchar.h: Likewise.
17381 * wcsmbs/wchar.h: Likewise.
17382 * wctype/wctype.h: Likewise.
17383
0269750c
UD
17384 [BZ #13551]
17385 * Makeconfig: Remove all but ELF support including AIX support.
17386 * Makerules: Likewise.
17387 * config.h.in: Likewise.
17388 * config.make.in: Likewise.
17389 * configure: Likewise.
17390 * configure.in: Likewise.
17391 * csu/Makefile: Likewise.
17392 * csu/version.c: Likewise.
17393 * debug/Makefile: Likewise.
17394 * dlfcn/Makefile: Likewise.
17395 * elf/Makefile: Likewise.
17396 * extra-lib.mk: Likewise.
17397 * iconv/Makefile: Likewise.
17398 * include/libc-symbols.h: Likewise.
17399 * include/shlib-compat.h: Likewise.
17400 * resolv/Makefile: Likewise.
17401 * resolv/res_libc.c: Likewise.
17402 * rt/Makefile: Likewise.
17403 * sysdeps/i386/asm-syntax.h: Likewise.
17404 * sysdeps/i386/sysdep.h: Likewise.
17405 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17406 * sysdeps/mach/sysdep.h: Likewise.
17407 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17408 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17409 * sysdeps/s390/asm-syntax.h: Likewise.
17410 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17411 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17412 * sysdeps/sh/sysdep.h: Likewise.
17413 * sysdeps/unix/sparc/sysdep.h: Likewise.
17414 * sysdeps/wordsize-32/divdi3.c: Likewise.
17415 * sysdeps/x86_64/sysdep.h: Likewise.
17416
00bbd29b
UD
17417 * argp/Versions: Remove _argp_unlock_xxx.
17418
17419 [BZ #13559]
17420 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17421 * abilist/libBrokenLocale.abilist: Likewise.
17422 * abilist/libanl.abilist: Likewise.
17423 * abilist/libc.abilist: Likewise.
17424 * abilist/libcrypt.abilist: Likewise.
17425 * abilist/libdl.abilist: Likewise.
17426 * abilist/libm.abilist: Likewise.
17427 * abilist/libnsl.abilist: Likewise.
17428 * abilist/libpthread.abilist: Likewise.
17429 * abilist/libresolv.abilist: Likewise.
17430 * abilist/librt.abilist: Likewise.
17431 * abilist/libthread_db.abilist: Likewise.
17432 * abilist/libutil.abilist: Likewise.
17433 * abilist/libnss_db.abilist: New file.
17434
17435 * scripts/abilist.awk: Add support for indirect functions.
17436
a2693a0e
UD
17437 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17438
3f05895f
UD
17439 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17440
ecb6fb48
UD
17441 * shlib-versions: Remove entries for ports architectures.
17442
664f8cb9
UD
17443 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17444 files in ports.
17445 * elf/stackguard-macros.h: Remove support for IA-64.
17446 * elf/tst-auditmod1.c: Likewise.
17447 * sysdeps/generic/ldsodefs.h: Likewise.
17448
7ae81d88
UD
17449 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17450 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17451 configure files.
17452
bdeba135
UD
17453 [BZ #13552]
17454 * configure.in: Remove --enable-omitfp support.
17455 * FAQ.in: Adjust.
17456 * config.make.in: Likewise.
17457 * Makeconfig: Likewise.
17458 * manual/install.texi: Likewise.
17459
d75a0a62
UD
17460 In case anyone cares, the IA-64 architecture could move to ports.
17461 * sysdeps/ia64/*: Removed.
17462 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17463 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17464
dcc9756b
UD
17465 [BZ #13555]
17466 * configure.in: Remove entries for unsupported architectures.
17467
d3761ebc 17468 [BZ #13533]
9954432e
UD
17469 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17470 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17471 routines.
17472 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17473 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17474 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17475 fall back to using wcrtomb.
17476 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17477 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17478 renaming.
17479 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17480 * wcsmbs/tst-c16c32-1.c: New file.
17481
17482 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17483 local variable.
17484
c3a87236
UD
17485 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17486
28926a1b
UD
17487 * elf/tst-unique3.cc: Add explicit declaration of gets.
17488 * elf/tst-unique3lib.cc: Likewise.
17489 * elf/tst-unique3lib2.cc: Likewise.
17490 * elf/tst-unique4.cc: Likewise.
17491
df78418a
UD
17492 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17493
8ecd6b2a
JM
174942012-01-06 Joseph Myers <joseph@codesourcery.com>
17495
17496 [BZ #13566]
17497 * assert/assert.h (static_assert): Don't define for C++.
17498 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17499 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17500
9f115170
UD
175012012-01-03 Ulrich Drepper <drepper@gmail.com>
17502
5e0d0300
UD
17503 * iconv/loop.c (single loop): Fix assertion in storing of
17504 remaining bytes.
17505
9f115170
UD
17506 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17507
81fb02b0
UD
175082012-01-01 Ulrich Drepper <drepper@gmail.com>
17509
17510 * posix/getconf.c: Update copyright year.
17511 * nss/getent.c: Likewise.
a316c1f6 17512 * nss/makedb.c: Likewise.
81fb02b0
UD
17513 * iconv/iconvconfig.c: Likewise.
17514 * iconv/iconv_prog.c: Likewise.
17515 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17516 * elf/pldd.c: Likewise.
17517 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17518 * catgets/gencat.c: Likewise.
17519 * csu/version.c: Likewise.
17520 * elf/ldd.bash.in: Likewise.
17521 * elf/sprof.c (print_version): Likewise.
17522 * locale/programs/locale.c: Likewise.
17523 * locale/programs/localedef.c: Likewise.
a316c1f6 17524 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17525 * nscd/nscd.c (print_version): Likewise.
17526 * debug/xtrace.sh: Likewise.
17527 * malloc/memusage.sh: Likewise.
17528 * malloc/mtrace.pl: Likewise.
17529 * debug/catchsegv.sh: Likewise.
17530
2ba92745
JJ
175312011-12-30 Jakub Jelinek <jakub@redhat.com>
17532
17533 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17534 pure attribute.
17535
dadebdae
UD
175362011-12-24 Ulrich Drepper <drepper@gmail.com>
17537
d3761ebc 17538 [BZ #13533]
db6af3eb
UD
17539 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17540 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17541 transformations.
17542 * iconv/gconv_int.h: Likewise.
17543 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17544 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17545 from libc for GLIBC_2.16.
17546 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17547 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17548 * wcsmbs/uchar.h: Really define mbstate_t.
17549 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17550 * wcsmbs/c16rtomb.c: New file.
17551 * wcsmbs/mbrtoc16.c: New file.
17552 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17553 for C/POSIX locale.
17554 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17555 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17556
dadebdae
UD
17557 * wcsmbs/wchar.h: Add missing __restrict.
17558
67371b56
UD
175592011-12-23 Ulrich Drepper <drepper@gmail.com>
17560
74033a25
UD
17561 [BZ #13532]
17562 * time/Makefile (routines): Add timespec_get.
17563 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17564 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17565 timespec for ISO C11.
17566 * time/timespec_get.c: New file.
17567 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17568 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17569
380d7e87
UD
17570 [BZ #13531]
17571 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17572 * stdlib/stdlib.h: Declare aligned_alloc.
17573 * Versions.def: Add GLIBC_2.16 for libc.
17574 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17575
4e9e7a35
UD
17576 [BZ 13527]
17577 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17578 ISO C11.
17579
380d7e87 17580 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17581 code.
17582
03a71829
UD
17583 [BZ #13528]
17584 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17585
839e283e
UD
17586 [BZ #13529]
17587 * assert/assert.h (static_assert): Define.
17588
ce5294e2 17589 * version.h: Update for 2.16 development version.
90fa7312 17590
8d44e150 17591 [BZ #13526]
d7809905
UD
17592 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17593 _ISOC11_SOURCE.
17594
c0da14cd
UD
17595 * version.h (RELEASE): Bump for 2.15 release.
17596 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17597
530a3249
MP
17598 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17599 Patch by Marek Polacek <mpolacek@redhat.com>.
17600
67371b56
UD
17601 * bits/byteswap.h: Protect long long constants with __extension__.
17602 * sysdeps/i386/bits/byteswap.h: Likewise.
17603 * sysdeps/ia64/bits/byteswap.h: Likewise.
17604 * sysdeps/s390/bits/byteswap.h: Likewise.
17605 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17606
15db4de1
LD
176072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17608
17609 [BZ #13540]
bbe315ea
LD
17610 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17611 destination buffer.
15db4de1
LD
17612 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17613
2b2596b1
MP
176142011-12-23 Marek Polacek <polacek@redhat.com>
17615
17616 * elf/dl-addr.c (determine_info): Add inline keyword.
17617 * elf/tst-auditmod4b.c (check_avx): Likewise.
17618 * elf/tst-auditmod6b.c (check_avx): Likewise.
17619 * elf/tst-auditmod6c.c (check_avx): Likewise.
17620 * elf/tst-auditmod7b.c (check_avx): Likewise.
17621
70c6c246
UD
176222011-12-23 Ulrich Drepper <drepper@gmail.com>
17623
17624 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17625 !__SSE_MATH__.
17626
c044cf14
LD
176272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17628
15db4de1 17629 [BZ #13540]
c044cf14
LD
17630 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17631 processing for last bytes.
17632
6b13d9d9
BH
176332011-08-06 Bruno Haible <bruno@clisp.org>
17634
d455f537
BH
17635 [BZ #13061]
17636 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17637 U+0385, not to U+1FEE.
17638
6b13d9d9
BH
17639 [BZ #13062]
17640 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17641 entry for U+00A5 U+0301.
17642
db910efd
UD
176432011-12-22 Ulrich Drepper <drepper@gmail.com>
17644
27deeafc
UD
17645 [BZ #13166]
17646 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17647 buffer for the output is too small.
17648
aed9d171
UD
17649 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17650 optimization.
17651
db910efd
UD
17652 [BZ #13185]
17653 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17654 SSE flags if possible.
17655
2bd779ae
LD
176562011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17657
e7f9dac3 17658 [BZ #13540]
2bd779ae
LD
17659 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17660 processing for last bytes.
17661
154bfc16
JM
176622011-12-22 Joseph Myers <joseph@codesourcery.com>
17663
17664 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17665 (syscall-list-default-options, syscall-list-default-condition)
17666 (syscall-list-includes): Define.
17667 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17668 list of ABIs and options and #if conditions for each ABI. Do not
17669 handle common syscalls between ABIs specially.
17670 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17671 Remove.
17672 (syscall-list-variants, syscall-list-32bit-options)
17673 (syscall-list-32bit-condition, syscall-list-64bit-options)
17674 (syscall-list-64bit-condition): Define.
17675 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
17680 Remove.
17681 (syscall-list-variants, syscall-list-32bit-options)
17682 (syscall-list-32bit-condition, syscall-list-64bit-options)
17683 (syscall-list-64bit-condition): Define.
17684 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17685 Remove.
17686 (syscall-list-variants, syscall-list-32bit-options)
17687 (syscall-list-32bit-condition, syscall-list-64bit-options)
17688 (syscall-list-64bit-condition): Define.
17689
21eaf3a5
UD
176902011-12-22 Ulrich Drepper <drepper@gmail.com>
17691
16c6f992
UD
17692 * locale/iso-639.def: Add brx entry.
17693
41043168
UD
17694 [BZ #13328]
17695 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17696 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17697
21eaf3a5
UD
17698 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17699 __feraiseexcept_renamed.
17700
e3a851a2
UD
177012011-12-21 Ulrich Drepper <drepper@gmail.com>
17702
4920765e
UD
17703 [BZ #13538]
17704 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17705 EPOLLET with unsigned values.
17706 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17707 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17708
e3a851a2
UD
17709 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17710 to large cancellation.
17711 * math/s_cacoshf.c: Likewise.
17712 * math/s_cacoshl.c: Likewise.
17713
b27e24b8
RK
177142011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17715
17716 [BZ #13305]
aebefeee 17717 [BZ #12786]
b27e24b8
RK
17718 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17719 * math/s_cacoshf.c: Likewise.
17720 * math/s_cacoshl.c: Likewise.
17721
ee190f67
UD
177222011-12-21 Ulrich Drepper <drepper@gmail.com>
17723
17724 [BZ #13439]
17725 * iconv/gconv.h: Define __GCONV_SWAP.
17726 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17727 * iconvdata/utf-16.c: Likewise.
17728 * iconvdata/utf-32.c: Likewise.
17729
707f25df
AS
177302011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17731
17732 [BZ #13524]
17733 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17734 numerator after shifting it by one limb.
17735
d2daaa1e
RÁE
177362011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17737
17738 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17739 under [__USE_EXTERN_INLINES].
17740
a4647e72
UD
177412011-12-17 Ulrich Drepper <drepper@gmail.com>
17742
17743 [BZ #13446]
17744 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17745
f0b264f1
AZ
177462011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17747
17748 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17749 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17750 optimized code.
17751 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17752 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17753 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17754 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17755 for strncasecmp/strncasecmp_l compilation.
17756 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17757 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17758
8ef4f244
MP
177592011-12-08 Marek Polacek <mpolacek@redhat.com>
17760
17761 [BZ #13484]
17762 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17763 of __asm__.
17764
97ac2654
UD
177652011-12-17 Ulrich Drepper <drepper@gmail.com>
17766
17767 [BZ #13506]
17768 * time/tzfile.c (__tzfile_read): Check values from file header.
17769
91d2a845
WS
177702011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17771
17772 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17773 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17774 * powerpc/powerpc32/dl-start.S: Likewise.
17775 * powerpc/powerpc32/elf/start.S: Likewise.
17776 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17777 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17778 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17779 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17780 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17781 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17782 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17783 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17784 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17785 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17786 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17787 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17788 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17789 * powerpc/powerpc32/memset.S: Likewise.
17790 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17791 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17792 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17793 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17794 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17795 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17796 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17797 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17798 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17799 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17800 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17801 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17802 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17803
a1267ba1
AZ
178042011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17805
17806 * math/libm-test.inc: Added more nearbyint tests.
17807 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17808 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17809 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17811
ad8ac1bd
RL
178122011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17813
17814 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17815 FD_CLOEXEC.
17816
1d3e4b61
UD
178172011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17818
17819 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17820 Add wcscpy-ssse3 wcscpy-c.
17821 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17822 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17823 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17824 * sysdeps/x86_64/wcschr.S: New file.
17825 * sysdeps/x86_64/wcsrchr.S: New file.
17826 * string/test-strcmp.c: Remove checking of wcscmp function for
17827 wrong alignments.
17828 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17829 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17830 wcsrchr-sse2 wcsrchr-c.
17831 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17832 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17833 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17834 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17835 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17836 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17837 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17838 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17839 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17840 * wcsmbc/wcschr.c (WCSCHR): New macro.
17841
5b330a2d
UD
178422011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17843
17844 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17845 * wcsmbs/test-wcsrchr.c: New file.
17846 * string/test-strrchr.c: Add wcsrchr support.
17847 (WIDE): New macro.
17848 * wcsmbs/test-wcscpy.c: New file.
17849 * string/test-strcpy.c: Add wcscpy support.
17850 (WIDE): New macro.
26428b7c 17851
f039c043
UD
178522011-12-10 Ulrich Drepper <drepper@gmail.com>
17853
17854 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17855 the inner loop.
17856
850fb039
AS
178572011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17858
17859 [BZ #13472]
17860 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17861
4efbd5cb
UD
178622011-12-04 Ulrich Drepper <drepper@gmail.com>
17863
52ff5dd0 17864 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17865 Minor optimizations.
52ff5dd0 17866
4efbd5cb
UD
17867 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17868 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17869 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17870
8a426e12
UD
178712011-12-03 Ulrich Drepper <drepper@gmail.com>
17872
aff2453d
UD
17873 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17874 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17875 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17876 for gcc to avoid warnings.
17877 * inet/Makefile (tests): Add tst-checks.
17878 * inet/tst-checks.c: New file.
17879
17880 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17881 warning.
17882
17883 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17884 __wmemcmp_sse2.
17885
17886 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17887 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17888
8a426e12
UD
17889 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17890
9bea3473
UD
178912011-12-02 Ulrich Drepper <drepper@gmail.com>
17892
3a965496
UD
17893 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17894 problem.
17895
9bea3473
UD
17896 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17897
f101631b
UD
178982011-11-29 Joseph Myers <joseph@codesourcery.com>
17899
17900 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17901 conditional on GCC version.
17902 (__arch_compare_and_exchange_val_8_acq)
17903 (__arch_compare_and_exchange_val_16_acq)
17904 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17905 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17906 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17907
a98275aa
UD
179082011-12-02 Joseph Myers <joseph@codesourcery.com>
17909
17910 * sysdeps/sh/backtrace.c: New file.
17911
d4cc29a2
AS
179122011-12-02 Andreas Schwab <schwab@redhat.com>
17913
17914 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17915 parenthesis.
17916
6257af2d
AS
179172011-12-01 Andreas Schwab <schwab@redhat.com>
17918
17919 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17920 falling back to utime.
17921
b5f44c1a
AS
179222011-11-30 Andreas Schwab <schwab@redhat.com>
17923
17924 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17925 expectations for float.
17926
f3a6cc0a
AS
179272011-11-29 Andreas Schwab <schwab@redhat.com>
17928
17929 * locale/weight.h (findidx): Add parameter len.
17930 * locale/weightwc.h (findidx): Likewise.
17931 * posix/fnmatch_loop.c (FCT): Adjust caller.
17932 * posix/regcomp.c (build_equiv_class): Likewise.
17933 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17934 * posix/regexec.c (check_node_accept_bytes): Likewise.
17935 * string/strcoll_l.c (STRCOLL): Likewise.
17936 * string/strxfrm_l.c (STRXFRM): Likewise.
17937
9d65ea3a
UD
179382011-11-17 Ulrich Drepper <drepper@gmail.com>
17939
17940 * Makefile.in: Remove CVSOPT handling.
17941 * configure.in: Remove use of AC_REVISION.
17942 * iconvdata/Makefile (distribute): No need to filter out CVS.
17943 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17944 handling.
17945
5583a086
AS
179462011-11-16 Andreas Schwab <schwab@redhat.com>
17947
17948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17949 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17950 [USE_AS_STRNCASECMP_L]: Likewise.
17951 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17952 NO_TLS_DIRECT_SEG_REFS.
17953 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17954 Fix argument offsets for non-PIC.
17955 [USE_AS_STRNCASECMP_L]: Likewise.
17956 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17957 NO_TLS_DIRECT_SEG_REFS.
17958
d62a8200
UD
179592011-11-15 Ulrich Drepper <drepper@gmail.com>
17960
9d65ea3a 17961 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17962 O_CLOEXEC.
17963 * locale/loadlocale.c (_nl_load_locale): Likewise.
17964
09f93bd3
AS
179652011-11-15 Andreas Schwab <schwab@redhat.com>
17966
446514f9
AS
17967 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17968 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17969 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17970 (SYSCALL_GETTIME): Set errno on error.
17971
09f93bd3
AS
17972 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17973 count references to noai6ai_cached.
17974
312be3f9
UD
179752011-11-15 Ulrich Drepper <drepper@gmail.com>
17976
17977 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17978
17979 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17980 FD_CLOEXEC for /proc/self/maps.
17981
17982 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17983 FD_CLOEXEC for /proc/meminfo.
17984
17985 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17986 gai.conf.
17987
17988 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17989 FD_CLOEXEC for given file.
17990
17991 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17992
17993 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17994 FD_CLOEXEC for /etc/hosts.
17995 (_gethtent): Likewise.
17996
17997 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17998
17999 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18000 cancellation and set FD_CLOEXEC for /etc/netgroup.
18001
18002 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18003 reading /etc/publickey.
18004
18005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18006 allow cancellation when reading /etc/group.
18007
18008 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18009 cancellation.
18010 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18011
18012 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18013 when using data file.
18014
18015 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18016
18017 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18018 (write_nis_obj): Use "c" and "e" in fopen.
18019
18020 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18021
18022 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18023
18024 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18025
18026 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18027
18028 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18029 locale.alias.
18030
18031 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18032
18033 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18034
18035 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18036
18037 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18038 file parsing and set FD_CLOEXEC.
18039
82af0fa8
UD
180402011-11-14 Ulrich Drepper <drepper@gmail.com>
18041
18042 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18043
a5fb313c
AS
180442011-11-14 Andreas Schwab <schwab@redhat.com>
18045
18046 * malloc/arena.c (arena_get2): Don't call reused_arena when
18047 _int_new_arena failed.
18048
6abf3465
UD
180492011-11-14 Ulrich Drepper <drepper@gmail.com>
18050
18051 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18052 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18053 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18054 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18055 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18056 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18057 to compile strcasecmp and strncasecmp.
18058 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18059 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18060
18061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18062
76e3966e
UD
180632011-11-13 Ulrich Drepper <drepper@gmail.com>
18064
18065 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18066 locale-defines.sym to gen-as-const-headers.
18067 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18068 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18070 to compile strcasecmp and strncasecmp.
18071 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18072 strcasecmp_l and strncasecmp_l.
18073 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18074 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18075 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18076 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18077 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18078 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18079 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18080 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18081 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18082 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18083 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18084
ab26144e
UD
180852011-11-12 Ulrich Drepper <drepper@gmail.com>
18086
7edb22ef
UD
18087 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18088 result of SYSDEP_GETTIME_CPU to retval.
18089 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18090 parameter list to macro. Remove trailing semicolon. Adjust users.
18091
9694fc44
UD
18092 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18093 variable.
18094
8ad89ef8
UD
18095 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18096 mantissa words.
18097 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18098
0c822ef9
UD
18099 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18100 from unused variable.
18101
874e0564
UD
18102 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18103 DWARF definitions.
18104 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18105 for assembling.
18106
3a2edc79
UD
18107 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18108 over namespaces.
18109
f3c2577f
UD
18110 * sunrpc/rpc_prot.c (rejected): Fix case value.
18111
294ce126
UD
18112 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18113 unsigned long long int to avoid warnings in shift.
18114
5e2b63c6
UD
18115 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18116 of use of trans.
18117 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18118 variable tmp.
18119
e7f4b08e
UD
18120 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18121 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18122 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18123
ab26144e
UD
18124 * nis/nis_table.c (nis_list): Use variable of correct type for
18125 result of __follow_path call.
18126
8a6d5255
AZ
181272011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18128
18129 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18130 of math functions ceil, trunc, floor, round, and sqrt, when
18131 avaliable on the platform.
18132 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18133 name clash.
18134 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18135 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18136 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18137
aaddc98c
MP
181382011-10-30 Marek Polacek <mpolacek@redhat.com>
18139
18140 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18141 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18142
95b7042b
RM
181432011-11-11 Roland McGrath <roland@hack.frob.com>
18144
18145 * include/unistd.h: Fix __readlink return type.
18146 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18147
57769839
UD
181482011-11-11 Ulrich Drepper <drepper@gmail.com>
18149
18150 * stdlib/ucontext.h: Undo last change for makecontext.
18151
edc5984d
AS
181522011-11-11 Andreas Schwab <schwab@redhat.com>
18153
98591e58
AS
18154 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18155
edc5984d
AS
18156 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18157 * setjmp/setjmp.h: Mark functions as non-leaf.
18158 * setjmp/bits/setjmp2.h: Likewise.
18159 * stdlib/ucontext.h: Likewise.
18160
77cdc054
AS
181612011-11-10 Andreas Schwab <schwab@redhat.com>
18162
18163 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18164 (reused_arena): Don't check arena limit.
18165 (arena_get2): Atomically check arena limit.
18166
fe72eebd
UD
181672011-11-08 Ulrich Drepper <drepper@gmail.com>
18168
5f078c32
UD
18169 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18170 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18171
fe72eebd
UD
18172 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18173 instructions.
18174
ae1bc2fa
AS
181752011-11-07 Andreas Schwab <schwab@redhat.com>
18176
7583a88d
AS
18177 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18178 handler when locking.
18179
ae1bc2fa
AS
18180 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18181 Fix size of allocated buffer.
18182
10fb0bfa
AS
181832011-11-04 Andreas Schwab <schwab@redhat.com>
18184
998832a4
AS
18185 [BZ #10103]
18186 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18187 declarations for long double functions.
18188 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18189
10fb0bfa
AS
18190 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18191
3d7ba52b
AS
181922011-11-03 Andreas Schwab <schwab@redhat.com>
18193
a9ae54a1
AS
18194 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18195 installed.
18196
3d7ba52b
AS
18197 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18198 is disabled.
18199
bc8db248
ST
182002011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18201
18202 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18203
45b96dd6
AS
182042011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18205
647776f6
AS
18206 * include/alloca.h (stackinfo_alloca_round): Define.
18207 (extend_alloca): Use it.
18208 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18209 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18210 here.
18211
d91a8b93
AS
18212 * scripts/check-local-headers.sh: Ignore libaudit.h.
18213
45b96dd6
AS
18214 * nscd/Makefile (extra-objs): Make recursively expanded.
18215
432d41ce
UD
182162011-11-01 Ulrich Drepper <drepper@gmail.com>
18217
34372fc6
UD
18218 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18219 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18220
fadb59f8
UD
18221 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18222 * posix/tst-rfc3484-2.c: Likewise.
18223 * posix/tst-rfc3484-3.c: Likewise.
18224
78239589
UD
18225 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18226 process_vm_writev.
18227 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18228 process_vm_writev.
18229 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18230 process_vm_writev from libc using GLIBC_2.15 version.
18231
432d41ce
UD
18232 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18233
02f9c6cf
PP
182342011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18235
18236 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18237 stack usage.
18238
3a2c0242
UD
182392011-10-31 Ulrich Drepper <drepper@gmail.com>
18240
f4ec4833
UD
18241 [BZ #13367]
18242 * nss/getent.c (initgroups_keys): Show error message in case no group
18243 names are given.
18244
3a2c0242
UD
18245 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18246 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18247 __bump_nl_timestamp.
18248 * nscd/connections (nscd_init): When host database is served open
18249 netlink socket and request notification about configuration changes.
18250 (main_loop_poll): Track netlink file descriptor and bump timestamp
18251 in case data becomes available.
18252 (main_loop_epoll): Likewise.
18253 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18254 (database_pers_head): Add extra_data fileds.
18255 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18256 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18257 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18258 Adjust caller.
18259 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18260 in6ai data, call __free_in6ai.
18261 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18262 Add -DHAVE_NETLINK.
18263 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18264 interface information. Reuse previous data if netlink timestamp
18265 is not changed.
18266 (__bump_nl_timestamp): New function.
18267 (__free_in6ai): New function.
18268
636064eb
UD
182692011-10-30 Ulrich Drepper <drepper@gmail.com>
18270
18271 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18272 close_not_cancel_no_status here.
18273 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18274
9beb2334
UD
182752011-10-29 Ulrich Drepper <drepper@gmail.com>
18276
6ef76f3b
UD
18277 [BZ #13276]
18278 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18279 return value.
18280
0ffc4f3e 18281 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18282 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18283 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18284
cb95113e
UD
182852011-07-03 Andreas Jaeger <aj@suse.de>
18286
18287 [BZ #10709]
18288 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18289 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18290 * math/libm-test.inc (sin_test): Add test case.
18291
a1b560ff
UD
182922011-10-29 Ulrich Drepper <drepper@gmail.com>
18293
c9aaface
UD
18294 [BZ #13337]
18295 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18296 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18297
d272e7f1
UD
18298 * elf/chroot_canon.c (chroot_canon): Cleanups.
18299
1bc33071
UD
18300 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18301
1760874d
TJ
18302 [BZ #13335]
18303 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18304 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18305
51d91b18
UD
18306 * string/test-strchr.c: Make usable for strchrnul testing.
18307 * string/test-strchrnul.c: New file.
18308 * string/Makefile (strop-tests): Add strchrnul.
18309
a1b560ff 18310 * po/it.po: Update from translation team.
b611fb81 18311 * po/es.po: Likewise.
a1b560ff 18312
a5b81e1f
UD
183132011-10-28 Ulrich Drepper <drepper@gmail.com>
18314
fd52bc6d
UD
18315 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18316 the three constants needed as parameters. Drop the others.
18317 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18318 __m128i_strloadu_tolower.
52e4b9eb
UD
18319 Create and initialize variable zero and use it in all the places
18320 where _mm_setzero_si128 was used.
fd52bc6d 18321
a5b81e1f
UD
18322 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18323 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18324 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18325 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18326 anymore.
18327 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18328 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18329 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18330 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18331 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18332 __mpranred, __mptan.
18333 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18334 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18335 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18336 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18337 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18338 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18340 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18341 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18342
b4343346
AS
183432011-10-28 Andreas Schwab <schwab@redhat.com>
18344
0c92d8a8
AS
18345 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18346 redefine if SHARED.
18347 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18348
b4343346
AS
18349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18350 wide char related routines to wcsmbs subdir.
18351
3871f58f
AS
183522011-10-27 Andreas Schwab <schwab@redhat.com>
18353
18354 [BZ #13344]
18355 * misc/sys/cdefs.h (__THROWNL): Define.
18356 * posix/unistd.h: Use __THREADNL instead of __THREAD
18357 for memory synchronization functions.
18358
94d44d9f
RM
183592011-10-26 Roland McGrath <roland@hack.frob.com>
18360
21b64b15 18361 [BZ #13349]
94d44d9f
RM
18362 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18363 doesn't exist.
18364 * manual/stdio.texi (Obstack Streams): Node removed.
18365
f6ce9294
AS
183662011-10-26 Andreas Schwab <schwab@redhat.com>
18367
80479147
AS
18368 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18369 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18370 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18371
f6ce9294
AS
18372 * math/math_private.h (math_force_eval): Allow non-addressable
18373 arguments.
18374 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18375
618280a1
UD
183762011-10-25 Ulrich Drepper <drepper@gmail.com>
18377
e0016b11
UD
18378 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18379 file is not needed.
18380
18381 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18382 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18383 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18384 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18385 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18386 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18387 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18388 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18389 Add AVX variants.
18390 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18391 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18392 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18393 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18394 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18395 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18396 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18397 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18398 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18399 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18400 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18401 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18402 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18403 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18404 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18405 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18406 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18407 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18408 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18409
18410 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18411 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18412
618280a1
UD
18413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18414 place. Use VEX encoding when compiling for AVX.
18415
37822576
AS
184162011-10-25 Andreas Schwab <schwab@redhat.com>
18417
1f1e1947
AS
18418 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18419 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18420
37822576
AS
18421 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18422
31ea014d
UD
184232011-10-25 Ulrich Drepper <drepper@gmail.com>
18424
d7826aa1 18425 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18426 useless if() expression.
d7826aa1
UD
18427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18428 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18429 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18430 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18431 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18432 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18433 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18434 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18435 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18436 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18437 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18438 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18439 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18440 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18441 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18442 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18443 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18444 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18445 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18446
31ea014d
UD
18447 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18448
16437fec
AS
184492011-10-25 Andreas Schwab <schwab@redhat.com>
18450
18451 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18452 condition.
18453 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18454
31d3cc00
UD
184552011-10-25 Ulrich Drepper <drepper@gmail.com>
18456
18457 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18458 .text section. Avoid duplicate constants.
18459 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18461 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18463 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18464 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18465 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18466 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18467 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18468 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18469 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18470 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18471 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18472 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18473 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18474 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18475 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18476 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18477 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18478 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18479 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18480 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18481 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18482 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18483 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18484 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18485 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18486 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18487 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18488 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18489 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18490 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18491 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18492 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18493 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18494 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18495 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18496 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18497 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18498 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18499 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18500 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18501 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18502 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18503 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18504
58985aa9
UD
185052011-10-24 Ulrich Drepper <drepper@gmail.com>
18506
202c9deb
UD
18507 * sysdeps/x86_64/dla.h: Move to ...
18508 * sysdeps/x86_64/fpu/dla.h: ...here.
18509 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18510 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18511
af968f62
UD
18512 * config.make.in: Add have-mfma4 entry.
18513 * configure.in: Substitute libc_cv_cc_fma4.
18514 * math/Makefile (dbl-only-routines): Add sincostab.
18515 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18516 Use __sincostab not sincos.
18517 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18518 name is a macro.
18519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18521 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18523 using __copysign.
18524 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18525 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18526 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18527 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18528 and __inv.
18529 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18530 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18531 __copysign.
18532 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18533 define aliases when function name is a macro.
18534 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18535 sysdeps/ieee754/dbl-64/sincos.tbl.
18536 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18537 fma4-enabled routines.
18538 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18539 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18540 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18541 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18542 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18543 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18545 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18547 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18548 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18549 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18550 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18551 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18552 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18553 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18554 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18555 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18556 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18557 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18558 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18559 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18560 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18561 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18562 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18563 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18564 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18565 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18566 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18567 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18568
58985aa9
UD
18569 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18570 rename.
18571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18573 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18579
a201fbcf
AS
185802011-10-24 Andreas Schwab <schwab@redhat.com>
18581
18582 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18583
fc2ee42a
LD
185842011-10-23 Ulrich Drepper <drepper@gmail.com>
18585
bb3129bd
UD
18586 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18587
0275fff8
UD
18588 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18589 prediction.
18590 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18591
2fa2ae85
UD
18592 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18593 Remove unused variable magic_bits.
18594 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18595
fc2ee42a
LD
18596 * string/strnlen.c: Define and use STRNLEN macro.
18597 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18598 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18599 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18600 * wcsmbs/wcslen.c: Define and use WCSLEN.
18601 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18602 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18603 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18604 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18605 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18606 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18607 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18608
ce7dd29f
LD
186092011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18610
18611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18612 strnlen-sse2-no-bsf.
18613 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18614 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18615 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18616 Add strnlen support.
18617 (USE_AS_STRNLEN): New macro.
18618 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18619 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18620 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18621 * sysdeps/x86_64/wcslen.S: New file.
18622
979c70a3
MZ
186232011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18624
18625 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18626 XMM-moves are used for copying on small sizes.
18627
2d09f82f
LD
186282011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18629
18630 * wcsmbs/Makefile (strop-tests): Add wcschr.
18631 * wcsmbs/test-wcschr.c: New file.
18632 * string/test-strchr.c: Update.
18633 Add wcschr support.
18634 (WIDE): New macro.
18635
619fccca
LD
186362011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18637
2d09f82f 18638 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18639 * wcsmbs/test-wcslen.c: New file.
18640 * string/test-strlen.c: Update.
18641 Add wcslen support.
18642 (WIDE): New macro.
18643
09f699ea
UD
186442011-10-23 Ulrich Drepper <drepper@gmail.com>
18645
18646 * po/it.po: Update from translation team.
18647
95584d3b
LD
186482011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18649
18650 * sysdeps/x86_64/wcscmp.S: Update.
18651 Fix wrong comparison semantics.
18652 wcscmp shall use signed comparison not unsigned.
18653 Don't use substraction to avoid overflow bug.
18654 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18655 * wcsmbc/wcscmp.c: Likewise.
18656 * string/test-strcmp.c: Likewise.
18657 Add new tests to check cases with negative values.
18658
c8b3296b
UD
186592011-10-23 Ulrich Drepper <drepper@gmail.com>
18660
18661 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18662 * sysdeps/x86_64/dla.h: ...here. New file.
18663 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18664 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18668 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18670 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18671 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18672
246ad57a
AS
186732011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18674
18675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18676 __ynl_finite aliases.
18677
a1a87169
UD
186782011-10-22 Ulrich Drepper <drepper@gmail.com>
18679
0d355eb7
UD
18680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18681
a1a87169
UD
18682 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18683 define DLA_FMA.
18684 [DLA_FMA] (EMULV): Use DLA_FMA.
18685 [DLA_FMA] (MUL12): Use EMULV.
18686 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18687 that are not needed.
18688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18695
ee2aafe0
AS
186962011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18697
18698 * math/s_nan.c: Undef __nan.
18699 * math/s_nanf.c: Undef __nanf.
18700 * math/s_nanl.c: Undef __nanl.
18701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18702 "math_private.h".
18703
bc62c2fb
UD
187042011-10-22 Ulrich Drepper <drepper@gmail.com>
18705
77425c63
UD
18706 * math/s_catan.c: Add branch predictions.
18707 * math/s_catanf.c: Likewise.
18708 * math/s_catanh.c: Likewise.
18709 * math/s_catanhf.c: Likewise.
18710 * math/s_catanhl.c: Likewise.
18711 * math/s_catanl.c: Likewise.
18712 * math/s_cexp.c: Likewise.
18713 * math/s_cexpf.c: Likewise.
18714 * math/s_cexpl.c: Likewise.
18715 * math/s_clog.c: Likewise.
18716 * math/s_clog10.c: Likewise.
18717 * math/s_clog10f.c: Likewise.
18718 * math/s_clog10l.c: Likewise.
18719 * math/s_clogf.c: Likewise.
18720 * math/s_clogl.c: Likewise.
18721 * math/s_csqrt.c: Likewise.
18722 * math/s_csqrtf.c: Likewise.
18723 * math/s_csqrtl.c: Likewise.
18724 * math/s_ctanf.c: Likewise.
18725 * math/s_ctanh.c: Likewise.
18726 * math/s_ctanhf.c: Likewise.
18727 * math/s_ctanhl.c: Likewise.
18728 * math/s_ctanl.c: Likewise.
18729
bc62c2fb
UD
18730 * math/math_private.h: Define __nan, __nanf, __nanl.
18731 * math/s_cacosh.c: Include <math_private.h>.
18732 * math/s_cacoshl.c: Likewise.
18733 * math/s_casinh.c: Likewise.
18734 * math/s_casinhf.c: Likewise.
18735 * math/s_casinhl.c: Likewise.
18736 * math/s_ccos.c: Rely entire on ccosh.
18737 * math/s_ccosf.c: Rely entire on ccoshf.
18738 * math/s_ccosl.c: Rely entirely on ccoshl.
18739 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18740 Remove tests for FE_INVALID.
18741 * math/s_ccoshf.c: Likewise.
18742 * math/s_ccoshl.c: Likewise.
18743 * math/s_csin.c: Likewise.
18744 * math/s_csinf.c: Likewise.
18745 * math/s_csinh.c Likewise.
18746 * math/s_csinhf.c: Likewise.
18747 * math/s_csinhl.c: Likewise.
18748 * math/s_csinl.c: Likewise.
18749 * math/s_ctan.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18751 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18752 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18753
8ec250a4
UD
187542011-10-21 Ulrich Drepper <drepper@gmail.com>
18755
c196fed8
UD
18756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18757 compilation problems.
18758
8ec250a4
UD
18759 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18760 __builtin_expect.
18761
8d4f46c6
UD
187622011-10-20 Ulrich Drepper <drepper@gmail.com>
18763
ed72b654
UD
18764 * sysdeps/i386/configure.in: Test for -mfma4 option.
18765 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18766 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18767 COMMON_CPUID_INDEX_80000001.
18768 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18769 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18770 use it if FMA3 is not supported.
18771 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18772
8d4f46c6
UD
18773 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18774 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18775
d45c60c2
AS
187762011-10-20 Andreas Schwab <schwab@redhat.com>
18777
18778 [BZ #12892]
18779 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18780 it would create a cycle with a link time dependency.
18781
d9a4d2ab
UD
187822011-10-19 Ulrich Drepper <drepper@gmail.com>
18783
855d1560
UD
18784 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18785 instruction.
18786 * string/Makefile (strop-tests): Add rawmemchr.
18787 * string/test-rawmemchr.c: New file.
18788
d9a4d2ab
UD
18789 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18790 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18791 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18792 when compiling str{,n}casecmp and when AVX is available. Hook up
18793 new optimized code in initializers.
18794
8f3b1ffe
AS
187952011-10-19 Andreas Schwab <schwab@redhat.com>
18796
18797 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18798 __feraiseexcept instead of feraiseexcept.
18799
d38f1dba
UD
188002011-10-18 Ulrich Drepper <drepper@gmail.com>
18801
d9a8d0ab
UD
18802 * math/math_private.h: Define defaults for libc_fetestexcept and
18803 libc_feupdateenv.
18804 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18805 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18806 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18807 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18808 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18809 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18810 libc_fetestexcept and libc_feupdateenv.
18811
4855e3dd
UD
18812 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18813 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18814 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18815 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18816 libc_feholdexcept_setround.
18817
581d30e3
UD
18818 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18819 Add s_nearbyint-c and s_nearbyintf-c.
18820 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18821 nearbyintf inlines.
18822 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18823 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18824 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18825 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18826
d38f1dba
UD
18827 * math/math_private.h: Define defaults for libc_fegetround,
18828 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18829 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18830 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18832 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18833 standard functions.
18834 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18835 Remove comments and hacks for old compiler versions.
18836 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18837 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18838 libc_feholdexceptl.
18839
caa6c9d8
AS
188402011-10-18 Andreas Schwab <schwab@redhat.com>
18841
18842 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18843 (__feraiseexcept_renamed): Add __NTH.
18844 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18845 namespace violations.
18846
97c066e6
UD
188472011-10-17 Ulrich Drepper <drepper@gmail.com>
18848
99ce7b04
UD
18849 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18850
1004d182
UD
18851 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18852
228a984d
UD
18853 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18854 recently added interfaces.
18855 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18856
c8553a6a
UD
18857 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18858 about macro parameter expansion.
18859
ed22dcf6
UD
18860 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18861 __NO_MATH_INLINES is defined. Cleanups.
18862
18863 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18864 and __floorf is target has SSE4.1.
18865 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18866 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18867 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18868 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18869
b171c137
UD
18870 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18871 name.
18872 (floorf): Likewise.
18873
97c066e6
UD
18874 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18875
629f62ef
AS
188762011-10-17 Andreas Schwab <schwab@redhat.com>
18877
49a43d80
AS
18878 * misc/sys/cdefs.h: Fix last change.
18879
629f62ef
AS
18880 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18881 database lookup.
18882
e453f6cd
UD
188832011-10-16 Ulrich Drepper <drepper@gmail.com>
18884
aa78043a
UD
18885 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18886
ad0f5cad
UD
18887 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18888 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18889 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18890 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18891 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18892 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18893 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18894 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18895 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18896 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18897 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18898 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18899 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18900 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18901 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18902 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18903 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18904 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18905 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18906 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18907 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18908 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18909
18910 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18911 ceil, ceilf, floor, floorf.
18912
18913 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18914 Perform IRELATIVE relocations last.
18915
e453f6cd
UD
18916 * elf/do-rel.h: Add another parameter nrelative, replacing the
18917 local variable with the same name. Change name of the function
18918 to end in Rel or Rela (uppercase).
18919 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18920 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18921 elf_dynamic_do_##reloc function.
18922
fd5bdc09
UD
189232011-10-15 Ulrich Drepper <drepper@gmail.com>
18924
79b195b5
UD
18925 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18926 is sufficient, at least on modern CPUs.
18927
d4a28569
UD
18928 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18929
b61099b5
UD
18930 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18931 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18932
bcf01e6d
UD
18933 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18934 __expl_finite.
18935 * math/bits/math-finite.h: Add entries for exp.
18936 * math/e_expl.c: Add __*_finite alias.
18937 * sysdeps/i386/fpu/e_exp.S: Likewise.
18938 * sysdeps/i386/fpu/e_expf.S: Likewise.
18939 * sysdeps/i386/fpu/e_expl.c: Likewise.
18940 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18941 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18944 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18945 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18946 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18947
ba1a0d59
UD
18948 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18949 is sufficient, at least on modern CPUs.
18950
fd5bdc09
UD
18951 * ctype/ctype-info.c (__ctype_init): Define.
18952 * include/ctype.h (__ctype_init): Declare.
18953 (__ctype_b_loc): The variable is always initialized.
18954 (__ctype_toupper_loc): Likewise.
18955 (__ctype_tolower_loc): Likewise.
18956 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18957 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18958
7872cfb0
AS
189592011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18960
b468825a
AS
18961 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18962
7872cfb0
AS
18963 * configure.in: Also look in $cxxmachine/include for C++ system
18964 headers.
18965
be13f7bf
LD
189662011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18967
18968 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18969 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18970 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18971 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18972 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18973 (USE_AS_WMEMCMP): New macro.
18974 Fixing indents.
18975 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18976 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18977 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18978 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18980 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18981 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18982 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18983 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18984 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18985 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18986 (USE_AS_WMEMCMP): New macro.
18987 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18988 * sysdeps/string/test-memcmp.c: Update.
18989 Fix simple_wmemcmp.
18990 Add new tests.
18991 * wcsmbs/wmemcmp.c: Update.
18992 (WMEMCMP): New macro.
18993 Fix overflow bug.
18994
556a2007
AJ
189952011-10-12 Andreas Jaeger <aj@suse.de>
18996
18997 [BZ #13268]
18998 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18999
538faaa7
UD
190002011-10-15 Ulrich Drepper <drepper@gmail.com>
19001
ab6737ff
UD
19002 * libio/iofwide.c (do_length): Avoid warning.
19003
538faaa7
UD
19004 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19005
396a21b1
UD
190062011-10-14 Ulrich Drepper <drepper@gmail.com>
19007
cdf2901f
UD
19008 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19009
38ad40ce
UD
19010 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19011 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19012 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19013 * sysdeps/i386/i686/fpu/e_log.S: New file.
19014 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19015 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19016
396a21b1
UD
19017 * ctype/ctype.h: Add support for inlined isXXX functions when
19018 compiling C++ code.
19019
6b1f68c9
AS
190202011-10-14 Andreas Schwab <schwab@redhat.com>
19021
349290c0
AS
19022 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19023
6b1f68c9
AS
19024 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19025
f2282d42
RM
190262011-10-13 Roland McGrath <roland@hack.frob.com>
19027
19028 [BZ #13291]
19029 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19030
5298ffa8
AS
190312011-10-13 Andreas Schwab <schwab@redhat.com>
19032
714fad23
AS
19033 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19034 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19035 feraiseexcept.
19036
81dcc7fb
AS
19037 * sysdeps/x86_64/memrchr.S: Check for zero size.
19038
5298ffa8
AS
19039 * string/stratcliff.c: Add memrchr tests.
19040
951fbcec
LD
190412011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19042
19043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19044 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19045 rawmemchr-sse2 rawmemchr-sse2-bsf.
19046 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19047 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19048 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19049 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19050 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19051 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19052 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19053 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19054 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19055 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19056 * string/memrchr.c (MEMRCHR): New macro.
19057
0ac5ae23
UD
190582011-10-12 Ulrich Drepper <drepper@gmail.com>
19059
19060 Add integration with gcc's -ffinite-math-only and optimize wrapper
19061 functions in libm.
19062 * Versions.def: Define GLIBC_2.15 version for libm.
19063 * math/Makefile (headers): Add bits/math-finite.h.
19064 * math/bits/math-finite.h: New file.
19065 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19066 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19067 * math/e_acoshl.c: Add __*_finite alias.
19068 * math/e_acosl.c: Likewise.
19069 * math/e_asinl.c: Likewise.
19070 * math/e_atan2l.c: Likewise.
19071 * math/e_atanhl.c: Likewise.
19072 * math/e_coshl.c: Likewise.
19073 * math/e_exp10.c: Likewise.
19074 * math/e_exp10f.c: Likewise.
19075 * math/e_exp10l.c: Likewise.
19076 * math/e_exp2l.c: Likewise.
19077 * math/e_fmodl.c: Likewise.
19078 * math/e_gammal_r.c: Likewise.
19079 * math/e_hypotl.c: Likewise.
19080 * math/e_j0l.c: Likewise.
19081 * math/e_j1l.c: Likewise.
19082 * math/e_jnl.c: Likewise.
19083 * math/e_lgammal_r.c: Likewise.
19084 * math/e_log10l.c: Likewise.
19085 * math/e_log2l.c: Likewise.
19086 * math/e_logl.c: Likewise.
19087 * math/e_powl.c: Likewise.
19088 * math/e_sinhl.c: Likewise.
19089 * math/e_sqrtl.c: Likewise.
19090 * math/e_scalb.c: Completely rewritten and optimized.
19091 * math/e_scalbf.c: Likewise.
19092 * math/e_scalbl.c: Likewise.
19093 * math/w_acos.c: Likewise.
19094 * math/w_acosf.c: Likewise.
19095 * math/w_acosl.c: Likewise.
19096 * math/w_acosh.c: Likewise.
19097 * math/w_acoshf.c: Likewise.
19098 * math/w_acoshl.c: Likewise.
19099 * math/w_asin.c: Likewise.
19100 * math/w_asinf.c: Likewise.
19101 * math/w_asinl.c: Likewise.
19102 * math/w_atan2.c: Likewise.
19103 * math/w_atan2f.c: Likewise.
19104 * math/w_atan2l.c: Likewise.
19105 * math/w_atanh.c: Likewise.
19106 * math/w_atanhf.c: Likewise.
19107 * math/w_atanhl.c: Likewise.
19108 * math/w_exp10.c: Likewise.
19109 * math/w_exp10f.c: Likewise.
19110 * math/w_exp10l.c: Likewise.
19111 * math/w_fmod.c: Likewise.
19112 * math/w_fmodf.c: Likewise.
19113 * math/w_fmodl.c: Likewise.
19114 * math/w_j0.c: Likewise.
19115 * math/w_j0f.c: Likewise.
19116 * math/w_j0l.c: Likewise.
19117 * math/w_j1.c: Likewise.
19118 * math/w_j1f.c: Likewise.
19119 * math/w_j1l.c: Likewise.
19120 * math/w_jn.c: Likewise.
19121 * math/w_jnf.c: Likewise.
19122 * math/w_log.c: Likewise.
19123 * math/w_logf.c: Likewise.
19124 * math/w_logl.c: Likewise.
19125 * math/w_log10.c: Likewise.
19126 * math/w_log10f.c: Likewise.
19127 * math/w_log10l.c: Likewise.
19128 * math/w_log2.c: Likewise.
19129 * math/w_log2f.c: Likewise.
19130 * math/w_log2l.c: Likewise.
19131 * math/w_pow.c: Likewise.
19132 * math/w_powf.c: Likewise.
19133 * math/w_powl.c: Likewise.
19134 * math/w_remainder.c: Likewise.
19135 * math/w_remainderf.c: Likewise.
19136 * math/w_remainderl.c: Likewise.
19137 * math/w_scalb.c: Likewise.
19138 * math/w_scalbf.c: Likewise.
19139 * math/w_scalbl.c: Likewise.
19140 * math/w_sqrt.c: Likewise.
19141 * math/w_sqrtf.c: Likewise.
19142 * math/w_sqrtl.c: Likewise.
19143 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19144 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19145 used.
19146 * math/math_private.h: Declare __kernel_standard_f.
19147 * math/w_cosh.c: Remove cruft and optimize a bit.
19148 * math/w_coshf.c: Likewise.
19149 * math/w_coshl.c: Likewise.
19150 * math/w_exp2.c: Likewise.
19151 * math/w_exp2f.c: Likewise.
19152 * math/w_exp2l.c: Likewise.
19153 * math/w_hypot.c: Likewise.
19154 * math/w_hypotf.c: Likewise.
19155 * math/w_hypotl.c: Likewise.
19156 * math/w_lgamma.c: Likewise.
19157 * math/w_lgamma_r.c: Likewise.
19158 * math/w_lgammaf.c: Likewise.
19159 * math/w_lgammaf_r.c: Likewise.
19160 * math/w_lgammal.c: Likewise.
19161 * math/w_lgammal_r.c: Likewise.
19162 * math/w_sinh.c: Likewise.
19163 * math/w_sinhf.c: Likewise.
19164 * math/w_sinhl.c: Likewise.
19165 * math/w_tgamma.c: Likewise.
19166 * math/w_tgammaf.c: Likewise.
19167 * math/w_tgammal.c: Likewise.
19168 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19169 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19170 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19171 Minor optimizations. Pretty printing. Remove cruft.
19172 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19173 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19174 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19175 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19176 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19177 * sysdeps/i386/fpu/e_asin.S: Likewise.
19178 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19179 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19180 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19181 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19182 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19183 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19184 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19185 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19186 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19187 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19188 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19189 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19190 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19191 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19192 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19193 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19194 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19195 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19196 * sysdeps/i386/fpu/e_log.S: Likewise.
19197 * sysdeps/i386/fpu/e_log10.S: Likewise.
19198 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19199 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19200 * sysdeps/i386/fpu/e_log2.S: Likewise.
19201 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19202 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19203 * sysdeps/i386/fpu/e_logf.S: Likewise.
19204 * sysdeps/i386/fpu/e_logl.S: Likewise.
19205 * sysdeps/i386/fpu/e_pow.S: Likewise.
19206 * sysdeps/i386/fpu/e_powf.S: Likewise.
19207 * sysdeps/i386/fpu/e_powl.S: Likewise.
19208 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19209 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19210 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19211 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19212 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19213 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19214 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19215 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19216 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19233 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19234 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19235 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19237 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19238 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19239 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19240 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19241 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19242 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19243 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19244 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19245 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19246 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19247 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19248 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19249 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19250 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19251 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19252 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19253 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19254 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19255 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19256 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19257 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19258 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19259 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19260 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19261 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19262 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19263 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19264 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19265 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19266 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19267 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19268 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19269 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19270 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19271 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19272 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19273 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19274 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19275 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19276 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19277 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19278 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19279 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19282 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19286 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19288 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19289 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19291 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19294 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19295 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19296 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19297 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19298 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19299 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19300 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19301 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19302 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19303 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19304 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19305 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19306 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19307 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19308 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19309 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19310 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19311 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19312 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19313 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19314 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19315 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19316 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19317 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19318 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19319 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19320 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19321 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19322 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19323 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19324 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19325 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19326 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19327 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19328 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19329 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19330 (__isnanf): Likewise.
19331 (__isinf_ns): Likewise.
19332 (__isinf_nsf): Likewise.
19333 (__finite): Likewise.
19334 (__finitef): Likewise.
19335 (__ieee754_sqrt): Define as macro.
19336 (__ieee754_sqrtf): Define as macro.
19337 (__ieee754_sqrtl): Define as macro.
19338 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19339 inlined copy.
19340 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19341 __FINITE_MATH_ONLY__ consistent.
19342 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19343
12cc2fcd
AS
193442011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19345
a843a204
AS
19346 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19347 of rawmemchr.
19348
12cc2fcd
AS
19349 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19350
c853acd5
UD
193512011-10-09 Ulrich Drepper <drepper@gmail.com>
19352
19353 * po/ja.po: Update from translation team.
19354
c658d255
RM
193552011-10-08 Roland McGrath <roland@hack.frob.com>
19356
110946e4
RM
19357 * locale/programs/locarchive.c (prepare_address_space): New function.
19358 (create_archive, enlarge_archive, open_archive): Use it.
19359
50604220
RM
19360 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19361 inside [SHARED], where it is used.
19362
c658d255
RM
19363 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19364
19365 * nss/getent.c (netgroup_keys): Remove unused variable.
19366 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19367
6a621eb7
UD
193682011-10-08 Ulrich Drepper <drepper@gmail.com>
19369
7edb55ce
UD
19370 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19371 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19373 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19374 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19375 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19376 * math/Makefile (libm-calls): Add s_isinf_ns.
19377 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19378 * math/multc3.c: Likewise.
19379 * math/s_casin.c: Likewise.
19380 * math/s_casinf.c: Likewise.
19381 * math/s_casinl.c: Likewise.
19382 * math/s_ccos.c: Likewise.
19383 * math/s_ccosf.c: Likewise.
19384 * math/s_ccosl.c: Likewise.
19385 * math/s_ctan.c: Likewise.
19386 * math/s_ctanf.c: Likewise.
19387 * math/s_ctanh.c: Likewise.
19388 * math/s_ctanhf.c: Likewise.
19389 * math/s_ctanhl.c: Likewise.
19390 * math/s_ctanl.c: Likewise.
19391 * math/w_fmod.c: Likewise.
19392 * math/w_fmodf.c: Likewise.
19393 * math/w_fmodl.c: Likewise.
19394 * math/w_remainder.c: Likewise.
19395 * math/w_remainderf.c: Likewise.
19396 * math/w_remainderl.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19398 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19399 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19401 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19402 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19403 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19404 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19405
187da0ae
UD
19406 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19407 of the number.
19408 * stdio-common/printf_fphex.c: Likewise.
19409 * stdio-common/printf_size.c: Likewise.
19410
9277c064
UD
19411 * math/e_exp10.c: Include math_private.h using <...> not "...".
19412 * math/e_exp10f.c: Likewise.
19413 * math/e_exp10l.c: Likewise.
19414 * math/e_exp2l.c: Likewise.
19415 * math/e_j0l.c: Likewise.
19416 * math/e_j1l.c: Likewise.
19417 * math/e_jnl.c: Likewise.
19418 * math/e_lgammal_r.c: Likewise.
19419 * math/e_rem_pio2l.c: Likewise.
19420 * math/e_scalb.c: Likewise.
19421 * math/e_scalbf.c: Likewise.
19422 * math/e_scalbl.c: Likewise.
19423 * math/k_cosl.c: Likewise.
19424 * math/k_sinl.c: Likewise.
19425 * math/k_tanl.c: Likewise.
19426 * math/s_cacoshf.c: Likewise.
19427 * math/s_catan.c: Likewise.
19428 * math/s_catanf.c: Likewise.
19429 * math/s_catanh.c: Likewise.
19430 * math/s_catanhf.c: Likewise.
19431 * math/s_catanhl.c: Likewise.
19432 * math/s_catanl.c: Likewise.
19433 * math/s_ccosh.c: Likewise.
19434 * math/s_ccoshf.c: Likewise.
19435 * math/s_ccoshl.c: Likewise.
19436 * math/s_cexp.c: Likewise.
19437 * math/s_cexpf.c: Likewise.
19438 * math/s_cexpl.c: Likewise.
19439 * math/s_clog.c: Likewise.
19440 * math/s_clog10.c: Likewise.
19441 * math/s_clog10f.c: Likewise.
19442 * math/s_clog10l.c: Likewise.
19443 * math/s_clogf.c: Likewise.
19444 * math/s_clogl.c: Likewise.
19445 * math/s_csin.c: Likewise.
19446 * math/s_csinf.c: Likewise.
19447 * math/s_csinh.c: Likewise.
19448 * math/s_csinhf.c: Likewise.
19449 * math/s_csinhl.c: Likewise.
19450 * math/s_csinl.c: Likewise.
19451 * math/s_csqrt.c: Likewise.
19452 * math/s_csqrtf.c: Likewise.
19453 * math/s_csqrtl.c: Likewise.
19454 * math/s_ctan.c: Likewise.
19455 * math/s_ctanf.c: Likewise.
19456 * math/s_ctanh.c: Likewise.
19457 * math/s_ctanhf.c: Likewise.
19458 * math/s_ctanhl.c: Likewise.
19459 * math/s_ctanl.c: Likewise.
19460 * math/s_ldexp.c: Likewise.
19461 * math/s_ldexpf.c: Likewise.
19462 * math/s_ldexpl.c: Likewise.
19463 * math/s_significand.c: Likewise.
19464 * math/s_significandf.c: Likewise.
19465 * math/s_significandl.c: Likewise.
19466 * math/w_acos.c: Likewise.
19467 * math/w_acosf.c: Likewise.
19468 * math/w_acosh.c: Likewise.
19469 * math/w_acoshf.c: Likewise.
19470 * math/w_acoshl.c: Likewise.
19471 * math/w_acosl.c: Likewise.
19472 * math/w_asin.c: Likewise.
19473 * math/w_asinf.c: Likewise.
19474 * math/w_asinl.c: Likewise.
19475 * math/w_atan2.c: Likewise.
19476 * math/w_atan2f.c: Likewise.
19477 * math/w_atan2l.c: Likewise.
19478 * math/w_atanh.c: Likewise.
19479 * math/w_atanhf.c: Likewise.
19480 * math/w_atanhl.c: Likewise.
19481 * math/w_cosh.c: Likewise.
19482 * math/w_coshf.c: Likewise.
19483 * math/w_coshl.c: Likewise.
19484 * math/w_dremf.c: Likewise.
19485 * math/w_exp10.c: Likewise.
19486 * math/w_exp10f.c: Likewise.
19487 * math/w_exp10l.c: Likewise.
19488 * math/w_exp2.c: Likewise.
19489 * math/w_exp2f.c: Likewise.
19490 * math/w_fmod.c: Likewise.
19491 * math/w_fmodf.c: Likewise.
19492 * math/w_fmodl.c: Likewise.
19493 * math/w_hypot.c: Likewise.
19494 * math/w_hypotf.c: Likewise.
19495 * math/w_hypotl.c: Likewise.
19496 * math/w_j0.c: Likewise.
19497 * math/w_j0f.c: Likewise.
19498 * math/w_j0l.c: Likewise.
19499 * math/w_j1.c: Likewise.
19500 * math/w_j1f.c: Likewise.
19501 * math/w_j1l.c: Likewise.
19502 * math/w_jn.c: Likewise.
19503 * math/w_jnf.c: Likewise.
19504 * math/w_jnl.c: Likewise.
19505 * math/w_lgamma.c: Likewise.
19506 * math/w_lgamma_r.c: Likewise.
19507 * math/w_lgammaf.c: Likewise.
19508 * math/w_lgammaf_r.c: Likewise.
19509 * math/w_lgammal.c: Likewise.
19510 * math/w_lgammal_r.c: Likewise.
19511 * math/w_log.c: Likewise.
19512 * math/w_log10.c: Likewise.
19513 * math/w_log10f.c: Likewise.
19514 * math/w_log10l.c: Likewise.
19515 * math/w_log2.c: Likewise.
19516 * math/w_log2f.c: Likewise.
19517 * math/w_log2l.c: Likewise.
19518 * math/w_logf.c: Likewise.
19519 * math/w_logl.c: Likewise.
19520 * math/w_pow.c: Likewise.
19521 * math/w_powf.c: Likewise.
19522 * math/w_powl.c: Likewise.
19523 * math/w_remainder.c: Likewise.
19524 * math/w_remainderf.c: Likewise.
19525 * math/w_remainderl.c: Likewise.
19526 * math/w_scalb.c: Likewise.
19527 * math/w_scalbf.c: Likewise.
19528 * math/w_scalbl.c: Likewise.
19529 * math/w_sinh.c: Likewise.
19530 * math/w_sinhf.c: Likewise.
19531 * math/w_sinhl.c: Likewise.
19532 * math/w_sqrt.c: Likewise.
19533 * math/w_sqrtf.c: Likewise.
19534 * math/w_sqrtl.c: Likewise.
19535 * math/w_tgamma.c: Likewise.
19536 * math/w_tgammaf.c: Likewise.
19537 * math/w_tgammal.c: Likewise.
19538
6a621eb7
UD
19539 * po/ja.po: Update from translation team.
19540
bf582445
AJ
195412011-09-29 Andreas Jaeger <aj@suse.de>
19542
f9efbf3a
AJ
19543 [BZ #13179]
19544 * sunrpc/netname.c (netname2host): Fix logic.
19545
bf582445
AJ
19546 [BZ #6779]
19547 [BZ #6783]
19548 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19549 correctly.
19550 * math/w_remainder.c (__remainder): Likewise.
19551 * math/w_remainderf.c (__remainderf): Likewise.
19552 * math/libm-test.inc (remainder_test): Add test cases.
19553
48693bea
AK
195542011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19555
19556 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19557 sdiv_qrnnd.
19558
42622229
LD
195592011-10-07 Ulrich Drepper <drepper@gmail.com>
19560
19561 * string/test-memcmp.c: Avoid unncessary #defines.
19562 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19563
093ecf92
LD
195642011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19565
19566 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19567 Use new sse2 version for core i3 - i7 as it's faster
19568 than sse42 version.
19569 (bit_Prefer_PMINUB_for_stringop): New.
19570 * sysdeps/x86_64/rawmemchr.S: Update.
19571 Replace with faster SSE2 version.
19572 * sysdeps/x86_64/memrchr.S: New file.
19573 * sysdeps/x86_64/memchr.S: Update.
19574 Replace with faster SSE2 version.
19575
fde56e5c
MP
195762011-09-12 Marek Polacek <mpolacek@redhat.com>
19577
19578 * elf/dl-load.c (lose): Add cast to avoid warning.
19579
21fd49a9
UD
195802011-10-07 Ulrich Drepper <drepper@gmail.com>
19581
5a06e643
UD
19582 * po/ca.po: Update from translation team.
19583
684ae515
UD
19584 * inet/getnetgrent_r.c: Hook up nscd.
19585 * nscd/Makefile (routines): Add nscd_netgroup.
19586 (nscd-modules): Add netgroupcache.
19587 (CFLAGS-netgroupcache.c): Define.
19588 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19589 (cache_search): Add const to second parameter.
19590 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19591 INNETGR.
19592 (dbs): Add netgrdb entry.
19593 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19594 (verify_persistent_db): Handle netgrdb.
19595 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19596 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19597 GETFDNETGR.
19598 (netgroup_response_header): Define.
19599 (innetgroup_response_header): Define.
19600 (datahead): Add netgroup_response_header and innetgroup_response_header
19601 elements.
19602 * nscd/nscd.conf: Add entries for netgroup cache.
19603 * nscd/nscd.h (dbtype): Add netgrdb.
19604 (_PATH_NSCD_NETGROUP_DB): Define.
19605 (netgroup_iov_disabled): Declare.
19606 (xmalloc, xcalloc, xrealloc): Move declarations here.
19607 (cache_search): Adjust prototype.
19608 Add netgroup-related prototypes.
19609 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19610 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19611 (__nscd_innetgr): Declare.
19612 * nscd/selinux.c (perms): Use access_vector_t as element type and
19613 add netgroup-related initializers.
19614 * nscd/netgroupcache.c: New file.
19615 * nscd/nscd_netgroup.c: New file.
19616 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19617 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19618 For four parameters use innetgr.
19619 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19620 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19621 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19622 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19623
21fd49a9
UD
19624 * nscd/connections.c (register_traced_file): Don't register file
19625 for disabled databases.
19626
054c0457
UD
196272011-10-06 Ulrich Drepper <drepper@gmail.com>
19628
32b63198
UD
19629 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19630
054c0457
UD
19631 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19632 from tree and freeing node.
19633
64031225
JO
196342011-09-25 Jiri Olsa <jolsa@redhat.com>
19635
19636 * nss/nsswitch.c (__nss_database_lookup): Handle
19637 nss_parse_service_list out of memory case.
19638
0490345c
JO
196392011-09-15 Jiri Olsa <jolsa@redhat.com>
19640
19641 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19642 out of memory case.
19643
3a62d00d
AS
196442011-10-04 Andreas Schwab <schwab@redhat.com>
19645
19646 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19647 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19648 pass it down.
19649 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19650 elf_machine_rela, elf_machine_lazy_rel.
19651 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19652 (ELF_DYNAMIC_DO_REL): Likewise.
19653 (ELF_DYNAMIC_DO_RELA): Likewise.
19654 (ELF_DYNAMIC_RELOCATE): Likewise.
19655 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19656 to ELF_DYNAMIC_DO_REL.
19657 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19658 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19659 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19660 elf_machine_rela.
19661 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19662 skip_ifunc, don't call ifunc function if non-zero.
19663 (elf_machine_rela): Likewise.
19664 (elf_machine_lazy_rel): Likewise.
19665 (elf_machine_lazy_rela): Likewise.
19666 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19667 (elf_machine_lazy_rel): Likewise.
19668 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19669 Likewise.
19670 (elf_machine_lazy_rel): Likewise.
19671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19672 Likewise.
19673 (elf_machine_lazy_rel): Likewise.
19674 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19675 (elf_machine_lazy_rel): Likewise.
19676 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19677 (elf_machine_lazy_rel): Likewise.
19678 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19679 (elf_machine_lazy_rel): Likewise.
19680 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19681 (elf_machine_lazy_rel): Likewise.
19682 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19683 (elf_machine_lazy_rel): Likewise.
19684 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19685 (elf_machine_lazy_rel): Likewise.
19686
68577918
UD
196872011-09-28 Ulrich Drepper <drepper@gmail.com>
19688
19689 * nss/nss_files/files-init.c (_nss_files_init): Use static
19690 initialization for all the *_traced_file variables.
19691
68822d74
AS
196922011-09-28 Andreas Schwab <schwab@redhat.com>
19693
19694 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19695
2056100b
RM
196962011-09-27 Roland McGrath <roland@hack.frob.com>
19697
19698 [BZ #13226]
19699 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19700
32c76b63
AS
197012011-09-27 Andreas Schwab <schwab@redhat.com>
19702
19703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19704 Reread the line before reparsing it.
19705
bf972c9d
AS
197062011-09-26 Andreas Schwab <schwab@redhat.com>
19707
19708 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19709
e057a1b5
JM
197102011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19711 Maxim Kuvyrkov <maxim@codesourcery.com>
19712 Joseph Myers <joseph@codesourcery.com>
19713
19714 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19715 if needed for __stack_chk_guard.
19716
bc7e1c36
RM
197172011-09-19 Roland McGrath <roland@hack.frob.com>
19718
ecb1482f
RM
19719 * sysdeps/posix/spawni.c (script_execute): Always define it.
19720 It will be optimized away if unused.
19721 (maybe_script_execute): New function.
19722 (__spawni): Call it.
19723
bc7e1c36
RM
19724 * Makerules: Don't include tls.make.
19725 (config-tls): Always set to thread.
19726 * tls.make.c: File removed.
19727
1c3b002b
MF
197282011-09-19 Mike Frysinger <vapier@gentoo.org>
19729
19730 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19731 * config.make.in (CPPFLAGS-config): New substituted variable.
19732
2840865d
UD
197332011-09-15 Ulrich Drepper <drepper@gmail.com>
19734
88738eb6
UD
19735 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19736
cbf645a6 19737 [BZ #13192]
2840865d
UD
19738 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19739 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19740
b402e91a
RM
197412011-09-15 Roland McGrath <roland@hack.frob.com>
19742
19743 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19744 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19745 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19746 (CALL_FAIL): Likewise.
19747 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19748 (CALL_FAIL): Macro removed.
19749 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19750
4c1a1f71
UD
197512011-09-15 Ulrich Drepper <drepper@gmail.com>
19752
19753 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19754 for __FINITE_MATH_ONLY__ == 1.
19755
edc121be
AS
197562011-09-15 Andreas Schwab <schwab@redhat.com>
19757
19758 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19759 __ieee754_sqrt instead of sqrt.
19760 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19761 __ieee754_sqrtf instead of sqrtf.
19762 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19763 __floorf instead of floorf.
19764 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19765 __floorf, __truncf instead of floorf, truncf.
19766
cd205654
UD
197672011-09-14 Ulrich Drepper <drepper@gmail.com>
19768
ee4d0315
UD
19769 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19770
cd205654
UD
19771 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19772 __extern_always_inline.
19773 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19774 32-bit.
19775
48b67d71
AS
197762011-09-14 Andreas Schwab <schwab@redhat.com>
19777
19778 * elf/rtld.c (dl_main): Also relocate in dependency order when
19779 doing symbol dependency testing.
19780
1ae12c75
AS
197812011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19782
19783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19784 Always define `refsym'.
19785
995a80df
AS
197862011-09-13 Andreas Schwab <schwab@redhat.com>
19787
e529793b
AS
19788 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19789 (__FD_ELT): Renamed from __FDELT.
19790 * misc/bits/select2.h (__FD_ELT): Likewise.
19791 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19792 __FD_MASK instead of __FDELT, __FDMASK.
19793 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19794 Likewise.
19795 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19796 Likewise.
19797
52d4fef8
AS
19798 * elf/Makefile (gen-ldd): Fix pattern.
19799
995a80df
AS
19800 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19801 (init_tls): Likewise.
19802
8682f8b0
UD
198032011-09-12 Ulrich Drepper <drepper@gmail.com>
19804
19805 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19806
de82006d
AS
198072011-09-12 Andreas Schwab <schwab@redhat.com>
19808
a7c8e6a1
AS
19809 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19810 `struct cmsghdr *' instead of `void *'.
19811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19812 Likewise.
19813
0f31fe77
AS
198142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19815
19816 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19817 if non-absolute.
19818 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19819 ldd_rewrite_script.
0f31fe77 19820
32b4c839
UD
198212011-09-11 Ulrich Drepper <drepper@gmail.com>
19822
83cd1420
UD
19823 * configure.in: Remove --with-tls option.
19824 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19825 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19826 out in case it is missing.
19827 * sysdeps/ia64/elf/configure.in: Likewise.
19828 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19829 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19830 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19831 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19832 * sysdeps/sh/elf/configure.in: Likewise.
19833 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19834 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19835 * sysdeps/x86_64/elf/configure.in: Likewise.
19836 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19837 * sysdeps/mach/hurd/tls.h: Likewise.
19838
633f745d
UD
19839 [BZ #13067]
19840 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19841
f318beb8
UD
19842 [BZ #13090]
19843 * configure.in: Fix use of AC_INIT.
19844
32b4c839
UD
19845 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19846
3ce1f295
UD
198472011-09-10 Ulrich Drepper <drepper@gmail.com>
19848
bb016596
UD
19849 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19850 __set_errno.
8e58439c
UD
19851 * malloc/hooks.c: Likewise.
19852
aebae053 19853 [BZ #11929]
02d46fc4
UD
19854 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19855 variables statically.
19856 (narenas): Initialize.
19857 (list_lock): Initialize.
bb016596
UD
19858 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19859 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19860 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19861 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19862 Add initializers to main_arena and mp_.
19863 (malloc_state): Remove pagesize member. Change all users to use
19864 GLRO(dl_pagesize).
19865
19866 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19867 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19868 is always initialized.
19869
22a89187
UD
19870 * malloc/malloc.c: Removed unused configurations and dead code.
19871 * malloc/arena.c: Likewise.
19872 * malloc/hooks.c: Likewise.
02d46fc4 19873 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19874
d063d164
UD
19875 * include/tls.h: Removed. USE___THREAD must always be defined.
19876 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19877 * elf/dl-libc.c: Likewise.
19878 * elf/dl-tsd.c: Likewise.
19879 * include/errno.h: Likewise.
19880 * include/netdb.h: Likewise.
19881 * include/resolv.h: Likewise.
19882 * inet/herrno-loc.c: Likewise.
19883 * inet/herrno.c: Likewise.
19884 * malloc/arena.c: Likewise.
19885 * malloc/hooks.c: Likewise.
19886 * malloc/malloc.c: Likewise.
19887 * resolv/res-state.c: Likewise.
19888 * resolv/res_libc.c: Likewise.
19889 * sysdeps/i386/dl-machine.h: Likewise.
19890 * sysdeps/ia64/dl-machine.h: Likewise.
19891 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19892 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19893 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19894 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19895 * sysdeps/sh/dl-machine.h: Likewise.
19896 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19897 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19898 * sysdeps/unix/i386/sysdep.S: Likewise.
19899 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19900 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19901 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19902 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19903 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19904 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19905 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19909 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19910 * sysdeps/x86_64/dl-machine.h: Likewise.
19911 * tls.make.c: Likewise.
19912
3ce1f295
UD
19913 * configure.in: Remove --with-__thread option. Make tests for
19914 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19915 tls_model attribute fail if no support is available. Remove
19916 USE_IN_LIBIO.
19917 * Makeconfig: Adjust for dropped configure option. All features are
19918 now mandatory.
19919 * Makerules: Likewise.
19920 * Versions.def: Likewise.
19921 * argp/argp-fmtstream.c: Likewise.
19922 * argp/argp-fmtstream.h: Likewise.
19923 * argp/argp-help.c: Likewise.
19924 * assert/assert.c: Likewise.
19925 * config.h.in: Likewise.
19926 * config.make.in: Likewise.
19927 * configure: Likewise.
19928 * configure.in: Likewise.
19929 * csu/Versions: Likewise.
19930 * csu/init.c: Likewise.
19931 * elf/tst-audit2.c: Likewise.
19932 * elf/tst-tls10.c: Likewise.
19933 * elf/tst-tls10.h: Likewise.
19934 * elf/tst-tls11.c: Likewise.
19935 * elf/tst-tls12.c: Likewise.
19936 * elf/tst-tls14.c: Likewise.
19937 * elf/tst-tlsmod11.c: Likewise.
19938 * elf/tst-tlsmod12.c: Likewise.
19939 * elf/tst-tlsmod13.c: Likewise.
19940 * elf/tst-tlsmod13a.c: Likewise.
19941 * elf/tst-tlsmod14a.c: Likewise.
19942 * elf/tst-tlsmod15b.c: Likewise.
19943 * elf/tst-tlsmod16a.c: Likewise.
19944 * elf/tst-tlsmod16b.c: Likewise.
19945 * elf/tst-tlsmod7.c: Likewise.
19946 * elf/tst-tlsmod8.c: Likewise.
19947 * elf/tst-tlsmod9.c: Likewise.
19948 * gmon/gmon.c: Likewise.
19949 * grp/fgetgrent_r.c: Likewise.
19950 * grp/putgrent.c: Likewise.
19951 * hurd/fopenport.c: Likewise.
19952 * include/libc-symbols.h: Likewise.
19953 * include/tls.h: Likewise.
19954 * intl/gettextP.h: Likewise.
19955 * intl/loadinfo.h: Likewise.
19956 * locale/global-locale.c: Likewise.
19957 * locale/localeinfo.h: Likewise.
19958 * mach/devstream.c: Likewise.
19959 * malloc/arena.c: Likewise.
19960 * malloc/set-freeres.c: Likewise.
19961 * misc/err.c: Likewise.
19962 * misc/getttyent.c: Likewise.
19963 * misc/mntent_r.c: Likewise.
19964 * posix/getopt.c: Likewise.
19965 * posix/wordexp.c: Likewise.
19966 * pwd/fgetpwent_r.c: Likewise.
19967 * resolv/Versions: Likewise.
19968 * resolv/res_hconf.c: Likewise.
19969 * shadow/fgetspent_r.c: Likewise.
19970 * shadow/putspent.c: Likewise.
19971 * stdio-common/printf_fphex.c: Likewise.
19972 * stdio-common/tmpfile.c: Likewise.
19973 * stdlib/abort.c: Likewise.
19974 * stdlib/fmtmsg.c: Likewise.
19975 * sunrpc/auth_unix.c: Likewise.
19976 * sunrpc/clnt_perr.c: Likewise.
19977 * sunrpc/clnt_tcp.c: Likewise.
19978 * sunrpc/clnt_udp.c: Likewise.
19979 * sunrpc/clnt_unix.c: Likewise.
19980 * sunrpc/openchild.c: Likewise.
19981 * sunrpc/svc_simple.c: Likewise.
19982 * sunrpc/svc_tcp.c: Likewise.
19983 * sunrpc/svc_udp.c: Likewise.
19984 * sunrpc/svc_unix.c: Likewise.
19985 * sunrpc/xdr.c: Likewise.
19986 * sunrpc/xdr_array.c: Likewise.
19987 * sunrpc/xdr_rec.c: Likewise.
19988 * sunrpc/xdr_ref.c: Likewise.
19989 * sunrpc/xdr_stdio.c: Likewise.
19990
1248c1c4
PB
199912011-09-09 Ulrich Drepper <drepper@gmail.com>
19992
19993 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19994
199952011-07-03 Andreas Jaeger <aj@suse.de>
19996
19997 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19998 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19999 regenerate with gen-libm-tests.pl.
20000
200012010-05-12 Petr Baudis <pasky@suse.cz>
20002
20003 [BZ #11589]
20004 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20005 around j0() zero points by switching to j1().
20006 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20007 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20009 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20010
f22e1074
UD
200112011-09-09 Ulrich Drepper <drepper@gmail.com>
20012
f19009c1
UD
20013 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20014 instead of 0.
20015 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20016 instead of 0.
f19009c1
UD
20017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20018 Patch in part by Pavel Roskin <proski@gnu.org>.
20019
3f8cc204
UD
20020 [BZ #13138]
20021 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20022 realloc.
20023 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20024 Free memory block if necessary.
20025
f22e1074
UD
20026 [BZ #12847]
20027 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20028 be NULL. Don't lock in this case.
20029
0a2349f9
RM
200302011-09-09 Roland McGrath <roland@hack.frob.com>
20031
20032 * elf/elf.h (ELFOSABI_GNU): New macro.
20033 (ELFOSABI_LINUX): Define to that.
20034
f3cdd467
DZ
200352011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20036
20037 * string/strncat.c (strncat): Undef the symbol in case it has been
20038 defined in bits/string.h.
20039
74718d13
UD
200402011-09-09 Ulrich Drepper <drepper@gmail.com>
20041
633e9e0f
UD
20042 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20043
0a2349f9 20044 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20045 link map.
20046
f9924780
AJ
200472011-08-17 Andreas Jaeger <aj@suse.de>
20048
20049 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20050
7f5517aa
PP
200512011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20052 Ian Lance Taylor <iant@google.com>
20053
20054 * math/libm-test.inc (lround_test): New testcase.
20055 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20056
762011fe
UD
200572011-09-08 Ulrich Drepper <drepper@gmail.com>
20058
92963737
UD
20059 * Makefile: Remove support for automatic cvs check-ins.
20060 * Makerules: Likewise.
20061 * config.make.in: Likewise.
20062 * configure.in: Likewise.
20063 * intl/Makefile: Likewise.
20064 * locale/Makefile: Likewise.
20065 * po/Makefile: Likewise.
20066 * posix/Makefile: Likewise.
20067 * sysdeps/gnu/Makefile: Likewise.
20068 * sysdeps/mach/hurd/Makefile: Likewise.
20069 * sysdeps/sparc/sparc32/Makefile: Likewise.
20070
b0727fd8
JS
20071 [BZ #13118]
20072 * posix/Makefile (bug-regex32-ENV): Define.
20073 Patch by John Stanley <jpsinthemix@verizon.net>.
20074
a0f33f99
UD
20075 * misc/Makefile (headers): Add bits/select2.h.
20076 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20077 * misc/bits/select2.h: New file.
20078 * include/bits/select2.h: New file.
20079 * debug/Makefile (routines): Add fdelt_chk.
20080 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20081 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20082 FD_ISSET.
20083 * debug/fdelt_chk.c: New file.
20084
762011fe
UD
20085 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20086 * wcsmbs/test-wmemcmp.c: Likewise.
20087 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20088 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20089
200902011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20091
20092 * string/Makefile (strop-tests): Add memcmp.
20093 * string/test-wmemcmp.c: New file.
20094 * string/test-memcmp.c: Add wmemcmp support.
20095
7f513ec8
RM
200962011-09-08 Roland McGrath <roland@hack.frob.com>
20097
0442afb4
RM
20098 [BZ #13153]
20099 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20100 2011-07-19 change.
20101
7f513ec8
RM
20102 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20103 garbage value in a __mach_port_mod_refs call in the cases of the
20104 task-self and thread-self ports.
20105
a12b2239
ST
201062011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20107
20108 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20109
610f9ab4
AS
201102011-09-08 Andreas Schwab <schwab@redhat.com>
20111
7f513ec8 20112 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20113
48882a1a
LD
201142011-09-07 Ulrich Drepper <drepper@gmail.com>
20115
b49865be
UD
20116 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20117
fdc86bc9
UD
20118 * elf/dl-libc.c (dlerror_run): Pass back error code from
20119 dl_catch_error.
20120
c966526a
UD
20121 [BZ #13123]
20122 * elf/dl-load.c (lose): Free l_origin if it is valid.
20123
48882a1a
LD
20124 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20125 names.
20126 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20127 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20128 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20129 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20130 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20131 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20132
77a2a8b4
AZ
201332011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20134
20135 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20136 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20137 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20138 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20139 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20140 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20141 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20142 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20143 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20144 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20145
24f579d8
AM
201462011-08-15 Alan Modra <amodra@gmail.com>
20147
20148 [BZ #13092]
20149 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20150 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20151 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20152 ppc_mcount to static-only-routines.
20153 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20154 __mcount_internal.
20155 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20156 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20157
3d4837df
UD
201582011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20159
20160 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20161 for finite and infinity parameters.
20162
22700377
WS
201632011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20164
20165 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20166 and add nop instructions for throughput optimization.
20167 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20168
5025581e
WS
201692011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20170
20171 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20172 aligned copy for power7 with vector-scalar instructions.
20173 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20174
08a300c9
L
201752011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20176
20177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20178 AVX check.
20179
59178ef9
AS
201802011-09-07 Andreas Schwab <schwab@redhat.com>
20181
20182 [BZ #13144]
20183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20184 last change.
20185
e38ba7ab
UD
201862011-09-07 Ulrich Drepper <drepper@gmail.com>
20187
20188 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20189 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20190 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20191 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20192 clock_gettime.
20193
d53a73ac
UD
201942011-09-06 Ulrich Drepper <drepper@gmail.com>
20195
fc8bffcc
UD
20196 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20197 Forgot to demangle the pointer.
20198
ceaa0c5d
UD
20199 * sysdeps/i386/sysdep.h: Define atom_text_section.
20200 * sysdeps/x86_64/sysdep.h: Likewise.
20201 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20202 section with atom_text_section.
20203 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20204 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20205 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20206 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20207 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20208
a77d3c17
UD
20209 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20210 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20211 already be defined. Change to take two parameters and don't assign
20212 result to variable. Adjust all users.
20213 Define INTERNAL_GETTIME if not already defined.
20214 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20215 call.
20216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20217 HAVE_CLOCK_GETTIME_VSYSCALL.
20218 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20219
d53a73ac
UD
20220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20221 gettimeofday vsyscall, just use time.
20222
a8f84144
AS
202232011-09-06 Andreas Schwab <schwab@redhat.com>
20224
20225 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20226 <errno.h>.
20227
ef606249
UD
202282011-09-06 Ulrich Drepper <drepper@gmail.com>
20229
20230 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20231 syscall on x86-64.
20232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20233 syscall.
20234 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20235 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20236 syscall if possible.
20237
6585cb60
UD
202382011-09-05 Ulrich Drepper <drepper@gmail.com>
20239
20240 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20241 e_ident. Don't pass to find_mapsXX.
20242 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20243
a5f524e4
LD
202442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20245
20246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20247 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20248 * sysdeps/x86_64/multiarch/strchr.S: Update.
20249 Check bit_slow_BSF bit.
20250 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20251 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20252 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20253
554881ef
UD
202542011-09-05 Ulrich Drepper <drepper@gmail.com>
20255
d96de963
UD
20256 [BZ #13134]
20257 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20258 before glibc 2.15.
20259 (tryshell): Define.
20260 (__spawni): Change last parameter to be flag. Test
20261 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20262 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20263 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20264 * posix/spawni.c: Likewise.
20265 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20266 * posix/spawnp.c: Likewise. Change normal version to use
20267 SPAWN_XFLAGS_USE_PATH.
20268 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20269 SPAWN_XFLAGS_TRY_SHELL.
20270
d48e5868
UD
20271 [BZ #13150]
20272 * posix/glob.h: Remove gcc 1.x support.
20273
554881ef
UD
20274 [BZ #13068]
20275 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20276
693fb948
LD
202772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20278
20279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20280 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20281 strrchr-sse2-bsf
20282 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20283 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20284 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20285 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20286 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20287 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20288
1b48c537
UD
202892011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20290
49d42c37
UD
20291 * sysdeps/x86_64/wcscmp.S: New file.
20292
1b48c537
UD
20293 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20294 wcscmp-c wcscmp-sse2
20295 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20296 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20297 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20298 * wcsmbs/wcscmp.c: Allow renaming.
20299
15c95c5d
DM
203002011-09-05 David S. Miller <davem@davemloft.net>
20301
20302 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20303 stack slot, rather than the struct return pointer slot.
20304 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20305 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20307 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20308
2f0ad8f3
UD
203092011-09-05 Ulrich Drepper <drepper@gmail.com>
20310
d88ae418
UD
20311 * po/ja.po: Update from translation team.
20312
2f0ad8f3
UD
20313 [BZ #13144]
20314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20315 kernel in 64-bit binaries.
20316
5f4318d1
DM
203172011-09-01 David S. Miller <davem@davemloft.net>
20318
20319 * elf/elf.h (HWCAP_SPARC_*): Move to..
20320 * sysdeps/sparc/sysdep.h: this new file and add new values.
20321 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20322 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20323 _DL_HWCAP_COUNT to 24.
20324 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20325 entries.
20326 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20327 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20328 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20330 instead of magic constants.
20331 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20332
3ba57516
DM
203332011-08-31 David S. Miller <davem@davemloft.net>
20334
20335 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20336 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20337 Reimplement to do errno handling inline.
20338 (SYSCALL_ERROR_HANDLER): New macro.
20339 (__SYSCALL_STRING): Do not do errno handling in asm.
20340 (__CLONE_SYSCALL_STRING): Delete.
20341 (__INTERNAL_SYSCALL_STRING): Delete.
20342 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20343 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20344 (PSEUDO): Reimplement to do errno handling inline.
20345 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20346 (SYSCALL_ERROR_HANDLER): New macro.
20347 (__SYSCALL_STRING): Do not do errno handling in asm.
20348 (__CLONE_SYSCALL_STRING): Delete.
20349 (__INTERNAL_SYSCALL_STRING): Delete.
20350 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20351 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20352 i386.
20353 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20354 (inline_syscall*): Add 'err' argument.
20355 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20356 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20357 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20358 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20359
20360 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20361 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20362
2bc17433
AS
203632011-08-30 Andreas Schwab <schwab@redhat.com>
20364
20365 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20366
fbeb5f4d
JO
203672011-08-29 Jiri Olsa <jolsa@redhat.com>
20368
20369 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20370 directive.
20371
ad69cc26
DM
203722011-08-24 David S. Miller <davem@davemloft.net>
20373
20374 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20375
39dd69df
AS
203762011-08-24 Andreas Schwab <schwab@redhat.com>
20377
20378 * elf/Makefile: Add rules to build and run unload8 test.
20379 * elf/unload8.c: New file.
20380 * elf/unload8mod1.c: New file.
20381 * elf/unload8mod1x.c: New file.
20382 * elf/unload8mod2.c: New file.
20383 * elf/unload8mod3.c: New file.
20384
20385 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20386 it wasn't used.
20387
2c0b250a
DM
203882011-08-23 David S. Miller <davem@davemloft.net>
20389
20390 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20391 subtract stack bias.
20392 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20393 %sp not %fp in calculations.
20394 (_JMPBUF_UNWINDS_ADJ): Likewise.
20395
22044b48
DM
20396 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20397 (aio_suspend): Call it to force an exception region around the
20398 AIO_MISC_WAIT() invocation.
20399
2cae4995
AS
204002011-08-23 Andreas Schwab <schwab@redhat.com>
20401
20402 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20403 backslash.
20404
873a772e
AJ
204052011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20406
20407 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20408 protection macro.
20409 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20410 and <dl-machine.h>.
20411 (Elf64_FuncDesc): Remove.
20412
25ad0df1
DM
204132011-08-22 David S. Miller <davem@davemloft.net>
20414
20415 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20416 sigaltstack check, add missing cfi directives.
20417 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20418 missing cfi directives, and sigaltstack handling.
20419
e888bcbe
AS
204202011-08-16 Andreas Schwab <schwab@redhat.com>
20421
20422 [BZ #11724]
20423 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20424 object is seen twice.
20425 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20426
20427 * elf/Makefile (distribute): Add tst-initorder2.c.
20428 (tests): Add tst-initorder2.
20429 (modules-names): Add tst-initorder2a tst-initorder2b
20430 tst-initorder2c tst-initorder2d. Add rules to build them.
20431 ($(objpfx)tst-initorder2.out): New rule.
20432 * elf/tst-initorder2.c: New file.
20433 * elf/tst-initorder2.exp: New file.
20434
87162f46
AS
204352011-08-22 Andreas Schwab <schwab@redhat.com>
20436
70538b7f
AS
20437 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20438
f55ffe58
AS
20439 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20440 dependencies back to end of function.
20441
87162f46
AS
20442 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20443 $(elfobjdir)/ld.so.
20444
91b392a4
UD
204452011-08-21 Ulrich Drepper <drepper@gmail.com>
20446
20447 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20448 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20449 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20450 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20451 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20452 of __vdso_gettimeofday.
20453 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20454 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20455 attribute_hidden.
20456 (_libc_vdso_platform_setup): Remove initialization of
20457 __vdso_gettimeofday and __vdso_time.
20458
5c43483f
UD
204592011-08-20 Ulrich Drepper <drepper@gmail.com>
20460
775a77e7
UD
20461 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20462 and fgetc_unlocked.
20463 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20464 getc_unlocked.
89f447ed 20465
49c74ba9
UD
20466 * elf/dl-open.c (add_to_global): Report additions to the global scope
20467 for LD_DEBUG=scopes.
20468 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20469 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20470
5c43483f
UD
20471 [BZ #13114]
20472 * stdio-common/Makefile (tests): Add bug24.
20473 * stdio-common/bug24.c: New file.
20474
a101b025
AJ
204752011-08-19 Andreas Jaeger <aj@suse.de>
20476
20477 [BZ #13114]
20478 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20479 non-existant file when using close-on-exec mode.
20480
c88f1766
UD
204812011-08-20 Ulrich Drepper <drepper@gmail.com>
20482
0276a718
UD
20483 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20484 the very first instruction.
20485
c88f1766
UD
20486 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20487 the CFI state in the end.
20488 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20489 inclusion of dl-trampoline.h.
20490 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20491
51ccffa0
AS
204922011-08-19 Andreas Schwab <schwab@redhat.com>
20493
94d7165f
AS
20494 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20495 expectations for long double.
20496
51ccffa0
AS
20497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20498 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20499
fd708658 205002011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20501
20502 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20503 artificual limit depends upon the system page size.
20504
44f0a71e
UD
205052011-08-17 Ulrich Drepper <drepper@gmail.com>
20506
20507 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20508 * resolv/Makefile: Define CFLAGS-libresolv.
20509
8de79a24
AS
205102011-08-17 Andreas Schwab <schwab@redhat.com>
20511
20512 * nss/makedb.c (compute_tables): Make variables used in nested
20513 function static.
20514
27724598
UD
205152011-08-17 Ulrich Drepper <drepper@gmail.com>
20516
c5305d88
UD
20517 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20518 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20519 if buffer was too small.
20520
27724598
UD
20521 * elf/pldd.c (main): Attach to all threads in the process.
20522 Rewrite /proc handling to use *at functions.
20523
076fe015
UD
205242011-08-16 Ulrich Drepper <drepper@gmail.com>
20525
174baab3
UD
20526 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20527 specifies first scope to show.
20528 (dl_open_worker): Update callers. Move printing scope of new
20529 object to before the relocation.
44f0a71e 20530 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20531 * sysdeps/generic/ldsodefs.h: Update declaration.
20532
076fe015
UD
20533 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20534 string for the scope number.
20535
a60df2c3
UD
205362011-08-14 Ulrich Drepper <drepper@gmail.com>
20537
20538 * nscd/servicescache.c (cache_addserv): Make sure written is always
20539 initialized.
20540
5e4287d1
RM
205412011-08-14 Roland McGrath <roland@hack.frob.com>
20542
85ae0589
RM
20543 * sysdeps/i386/i486/bits/atomic.h
20544 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20545 statement expression, so as to suppress "set but not used" warning.
20546 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20547
69f63097
RM
20548 * string/strncat.c (STRNCAT): Use prototype definition.
20549
675456ef
RM
20550 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20551 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20552 -Iprograms here.
20553 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20554 (localedef-modules): Add localedef.
20555 (locale-modules): Add locale.
20556
5e4287d1
RM
20557 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20558 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20559 to avoid a warning.
20560
9c96ff23
DM
205612011-08-14 David S. Miller <davem@davemloft.net>
20562
20563 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20564 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20565
f9ddf089
UD
205662011-08-13 Ulrich Drepper <drepper@gmail.com>
20567
44f0a71e 20568 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20569 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20570 * elf/rtld.c (dl_main): Set l_name of vDSO.
20571 Call _dl_show_scope when DL_DEBUG_SCOPES.
20572 (process_dl_debug): Recognize scopes flag and also set it for all.
20573 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20574 Declare _dl_show_scope.
20575
1dc27704
UD
20576 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20577 (do_dlopen): Pass caller_dlopen to dl_open.
20578 (__libc_dlopen_mode): Initialize caller_dlopen.
20579
f9ddf089
UD
20580 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20581 of libc. Make tolower call locale-independent. Optimize a bit by
20582 using isdigit instead of isalnum.
20583 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20584
9ac533d3
UD
205852011-08-12 Ulrich Drepper <drepper@gmail.com>
20586
20587 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20588 was a dependency or dynamically loaded.
20589
89edf2e9
UD
205902011-08-11 Ulrich Drepper <drepper@gmail.com>
20591
8e999d29
UD
20592 * intl/l10nflist.c: Allow architecture-specific pop function.
20593 * sysdeps/x86_64/l10nflist.c: New file.
20594
89edf2e9
UD
20595 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20596 classification.
20597
14d96785
AS
205982011-08-10 Andreas Schwab <schwab@redhat.com>
20599
20600 * include/dirent.h: Add libc_hidden_proto for scandirat and
20601 scandirat64. Don't declare __scandirat64.
20602 * dirent/scandirat.c: Add libc_hidden_def.
20603 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20604 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20605
6761ac04
DM
206062011-08-10 David S. Miller <davem@davemloft.net>
20607
20608 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20609 enum.
20610 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20611 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20612 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20613
c55fbd1e
UD
206142011-08-09 Ulrich Drepper <drepper@gmail.com>
20615
20616 * Versions.def [libc]: Add GLIBC_2.15.
20617 * dirent/Makefile (routines): Add scandirat and scandirat64.
20618 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20619 GLIBC_2.15.
20620 * dirent/dirent.h: Declare scandirat and scandirat64.
20621 * dirent/scandirat.c: New file.
20622 * dirent/scandirat64.c: New file.
20623 * sysdeps/wordsize-64/scandirat.c: New file.
20624 * sysdeps/wordsize-64/scandirat64.c: New file.
20625 * dirent/opendir.c: Define opendirat.
20626 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20627 using scandirat.
20628 * dirent/scandir64.c: Adjust for scandir.c change.
20629 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20630 __scandirat64, and __scandir_cancel_handler.
20631 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20632 additional parameter and use openat instead of open (outside of ld.so).
20633 Add new __opendir as wrapper around __opendirat.
20634 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20635 here without requiring old scandirat implementation.
20636
879165f2
UD
206372011-08-08 Ulrich Drepper <drepper@gmail.com>
20638
20639 * dirent/scandir.c (cancel_handler): Renamed to
20640 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20641 defined. Adjust users.
20642 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20643 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20644
cb7e923b
UD
206452011-08-04 Ulrich Drepper <drepper@gmail.com>
20646
16292edd
UD
20647 * string/test-string.h (IMPL): Use __STRING to expand name and then
20648 stringify it.
20649
cb7e923b
UD
20650 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20651 of cleanups.
20652
cff82933
LD
206532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20654
20655 * string/Makefile: Update.
20656 (strop-tests): Append strncat.
20657 * string/test-wcscmp.c: New file.
20658 New comprehensive test for wcscmp.
20659 * string/test-strcmp.c: Update.
20660 (WIDE): New define.
20661
9be9bfcc
AS
206622011-07-22 Andreas Schwab <schwab@redhat.com>
20663
20664 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20665 line.
20666
2e96f1c7
AS
206672011-07-26 Andreas Schwab <schwab@redhat.com>
20668
20669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20670 encoding to ACE if AI_IDN.
20671
85188888
JJ
206722011-08-01 Jakub Jelinek <jakub@redhat.com>
20673
20674 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20675 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20676
5fa16e9b
LD
206772011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20678
20679 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20680 Fix overflow bug in strncat.
20681 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20682
20683 * string/test-strncat.c: Update.
20684 Add new tests for checking overflow bugs.
20685
206862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20687
20688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20689 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20690 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20691 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20692 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20693 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20694 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20695 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20696 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20697
20698 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20699 (USE_AS_STRCAT): Define.
20700 Add strcat and strncat support.
20701 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20702
8c1a459f
AS
207032011-07-25 Andreas Schwab <schwab@redhat.com>
20704
20705 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20706 __n bigger than INT_MAX+1.
20707 (__strncmp_g): Likewise.
20708
bba33c28
UD
207092011-07-23 Ulrich Drepper <drepper@gmail.com>
20710
798be72d
UD
20711 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20712 * libio/stido.h: Likewise.
20713
8accd4dc
UD
20714 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20715 (AF_NFC): Define.
20716 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20717 (AF_NFC): Define.
20718
cbff0d96
UD
20719 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20720 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20721 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20722 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20723 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20724
9191c04a
UD
20725 [BZ #13021]
20726 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20727 installed.
20728
bba33c28
UD
20729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20730 typo.
20731 (_dl_x86_64_save_sse): Likewise.
20732
90f139dd
UD
207332011-07-22 Ulrich Drepper <drepper@gmail.com>
20734
1aae088a
UD
20735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20736 OSXSAVE.
20737 (_dl_x86_64_save_sse): Likewise.
20738
8e2045f5
UD
20739 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20740
90f139dd
UD
20741 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20742
1d002f25
AS
207432011-07-21 Andreas Schwab <schwab@redhat.com>
20744
20745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20746 change.
20747 (_dl_x86_64_save_sse): Use correct AVX check.
20748
21137f89
UD
207492011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20750
20751 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20752 bug in strncpy/strncat.
20753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20754
a65c0b7a
UD
207552011-07-21 Ulrich Drepper <drepper@gmail.com>
20756
20757 * string/tester.c (test_strcat): Add tests for different alignments
20758 of source and destination.
20759 (test_strncat): Likewise.
20760
6986b98a
UD
207612011-07-20 Ulrich Drepper <drepper@gmail.com>
20762
90bb2039
UD
20763 [BZ #12852]
20764 * posix/glob.c (glob): Check passed in values before using them in
20765 expressions to avoid some overflows.
20766 (glob_in_dir): Likewise.
20767
5644ef54
UD
20768 [BZ #13007]
20769 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20770 check for AVX enablement so that we don't crash with old kernels and
20771 new hardware.
20772 * elf/tst-audit4.c: Add same checks here.
20773 * elf/tst-audit6.c: Likewise.
20774
20775 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20776
bfc9dc9b
AS
207772011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20778
20779 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20780
702e64bb
UD
207812011-07-20 Ulrich Drepper <drepper@gmail.com>
20782
20783 * po/cs.po: Update from translation team.
20784 * po/bg.po: Likewise.
20785
295e904f
MP
207862011-07-12 Marek Polacek <mpolacek@redhat.com>
20787
20788 * misc/sys/cdefs.h: Add support for const attribute.
20789 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20790 to gnu_dev_{major,minor,makedev} functions.
20791
3ff94596
MP
207922011-07-20 Marek Polacek <mpolacek@redhat.com>
20793
20794 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20795
28b59fca
AS
207962011-07-20 Andreas Schwab <schwab@redhat.com>
20797
20798 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20799 strlen results.
20800
19df733e
AK
208012011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20802
20803 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20804 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20805 register in order to avoid conflicts with the soft frame pointer
20806 being held in r11 when necessary.
20807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20808 (INTERNAL_VSYSCALL_NCS): Likewise.
20809
c8835729
MP
208102011-07-14 Marek Polacek <mpolacek@redhat.com>
20811
20812 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20813 * elf/dl-fini.c (_dl_fini): Adjust caller.
20814 * elf/dl-close.c (_dl_close_worker): Likewise.
20815 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20816
b902330c
MP
208172011-07-15 Marek Polacek <mpolacek@redhat.com>
20818
8991e135
MP
20819 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20820 "aux_cache->nlibs < 0".
20821
b902330c
MP
20822 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20823 in the reload-count case.
20824
99710781
LD
208252011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20826
20827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20828 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20829 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20830 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20831 * sysdeps/x86_64/multiarch/strcat.S: New file.
20832 * sysdeps/x86_64/multiarch/strncat.S: New file.
20833 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20834 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20835 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20836 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20837 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20838 (USE_AS_STRCAT): Define.
20839 Add strcat and strncat support.
20840 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20841 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20842 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20843 * string/strncat.c: Update.
20844 (USE_AS_STRNCAT): Define.
20845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20846 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20847 and i7.
20848 * sysdeps/x86_64/multiarch/init-arch.h
20849 (bit_Prefer_PMINUB_for_stringop): New.
20850 (index_Prefer_PMINUB_for_stringop): Likewise.
20851 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20852 bit_Prefer_PMINUB_for_stringop.
20853
7dc6bd90
UD
208542011-07-19 Ulrich Drepper <drepper@gmail.com>
20855
20856 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20857 buffer64.
20858 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20859 of casting of buffer.
20860 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20861 buffer32 and buffer64.
20862 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20863 writes instead of casting of buffer.
20864 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20865 buffer32.
20866 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20867 casting of buffer.
20868
e0e72284
AS
208692011-07-19 Andreas Schwab <schwab@redhat.com>
20870
20871 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20872
feb1eb0b
UD
208732011-07-19 Ulrich Drepper <drepper@gmail.com>
20874
20875 * nscd/nscd.c (termination_handler): Don't do anything for a database
20876 if it has not yet been initialized.
20877
298711ff
UD
208782011-07-18 Ulrich Drepper <drepper@gmail.com>
20879
20880 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20881
208822011-07-15 Marek Polacek <mpolacek@redhat.com>
20883
20884 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20885
f9d68389
UD
208862011-07-18 Ulrich Drepper <drepper@gmail.com>
20887
20888 * po/nl.po: Update from translation team.
20889 * po/sv.po: Likewise.
20890
db290cf5
RM
208912011-07-16 Roland McGrath <roland@hack.frob.com>
20892
20893 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20894 now disallowed by GCC.
5c550700 20895
fd5e21c7
RM
20896 * configure.in (use-default-link): Default to yes if a test -shared
20897 link meets our qualifications.
20898 * configure: Regenerated.
20899
5c550700
RM
20900 * config.make.in (output-format): New variable.
20901 * configure.in: Check for ld --print-output-format support.
20902 * configure: Regenerated.
20903 * Makerules ($(common-objpfx)format.lds)
20904 [$(output-format) != unknown]: Just use $(output-format),
20905 instead of the linker-script munging.
20906
9fa2c032
RM
209072011-07-14 Roland McGrath <roland@hack.frob.com>
20908
a6928d51
RM
20909 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20910 of $(common-objpfx)shlib.lds.
20911 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20912
661607b3
RM
20913 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20914 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20915
9fa2c032
RM
20916 * configure.in (-z relro check): Adjust test code to add a large
20917 writable data section after it.
20918 * configure: Regenerated.
20919
defe9061
RM
209202011-07-11 Roland McGrath <roland@hack.frob.com>
20921
20922 * configure.in (-z relro check): Fix test code to make the variable
20923 truly const.
20924 * configure: Regenerated.
20925
319b9ad4
UD
209262011-07-11 Ulrich Drepper <drepper@gmail.com>
20927
20928 * nscd/nscd.h (struct traced_file): Define.
20929 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20930 elements. Add traced_files.
20931 (inotify_fd): Declare.
20932 (register_traced_file): Declare.
20933 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20934 (inotify_fd): Export.
20935 (resolv_conf_descr): Remove.
20936 (nscd_init): Move inotify descriptor creation to main.
20937 Don't register files for notification here.
20938 (register_traced_file): New function.
20939 (invalidate_cache): Don't use reset_res to determine whether to call
20940 res_init, go through the list of registered files.
20941 (main_loop_poll): The inotify descriptors are now stored in the
20942 structures for the traced files.
20943 (main_loop_epoll): Likewise
20944 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20945 to __nss_disable_nscd.
20946 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20947 for a database anymore. Check the records for all the registered
20948 files instead.
20949 * nss/Makefile (libnss_files-routines): Add files-init.
20950 (libnss_db-routines): Add db-init.
20951 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20952 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20953 * nss/nss_db/db-init.c: New file.
20954 * nss/nss_files/files-init.c: New file.
20955 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20956 __nss_lookup_function.
20957 (__nss_lookup_function): Call nss_load_library.
20958 (nss_load_all_libraries): New function.
20959 (__nss_disable_nscd): Take parameter with callback function for files
20960 to register. Set is_nscd. Load all the DSOs for the NSS modules
20961 used for the cached services.
20962 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20963 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20964 options for features to all the files in nscd.
20965
20966 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20967
23bee3e8
RM
209682011-07-10 Roland McGrath <roland@hack.frob.com>
20969
20970 * csu/elf-init.c (__libc_csu_init): Comment typo.
20971
46a5b7f0
UD
209722011-07-09 Ulrich Drepper <drepper@gmail.com>
20973
20974 * po/pl.po: Update from translation team.
20975 * po/ja.po: Likewise.
20976 * po/ru.po: Likewise.
20977 * po/ko.po: Likewise.
20978 * po/fr.po: Likewise.
20979
d30cf5bb
RM
209802011-07-09 Roland McGrath <roland@hack.frob.com>
20981
113ddea4
RM
20982 * configure.in (.ctors/.dtors header and trailer check):
20983 Use an empirical test on a built program.
20984 * configure: Regenerated.
20985
574920b4
RM
20986 * configure.in (-z relro check): Use an empirical test on a built DSO.
20987 Detect, but do not require, on ia64.
20988 * configure: Regenerated.
20989
d30cf5bb
RM
20990 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20991 Update tests that use readelf to use $READELF instead.
20992 * configure: Regenerated.
20993
8538fdb3
UD
209942011-07-08 Ulrich Drepper <drepper@gmail.com>
20995
20996 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20997 if the result is not used.
20998
04d08991
AJ
209992011-07-05 Andreas Jaeger <aj@suse.de>
21000
21001 [BZ#9696]
21002 * stdlib/tst-strtod.c: Add testcase.
21003
de283087
AD
210042011-07-07 Ulrich Drepper <drepper@gmail.com>
21005
4e5f31c8 21006 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21007 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21008 The latter has a higher limit. Take additional parameter to pass to
21009 the new function.
21010 (__pathconf): Pass file to __statfs_link_max.
21011 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21012 __statfs_link_max.
21013 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21014 __statfs_link_max.
21015
de283087
AD
21016 [BZ #12868]
21017 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21018 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21019 Handle Lustre.
21020 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21021 (__statfs_filesize_max): Likewise.
21022 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21023
c75fa153
AJ
210242011-07-05 Andreas Jaeger <aj@suse.de>
21025
21026 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21027
1a544854
UD
210282011-07-06 Marek Polacek <mpolacek@redhat.com>
21029
21030 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21031 `status' variable.
21032 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21033 Likewise.
21034
6f0eec67
UD
210352011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21036
21037 * Makefile (strop-tests): Add strncat.
21038 * string/test-strncat.c: New file.
21039
aae30307
UD
210402011-06-30 Marek Polacek <mpolacek@redhat.com>
21041
21042 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21043
c0cfb5eb
UD
210442011-06-21 Andreas Jaeger <aj@suse.de>
21045
21046 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21047 Copy rule from iconvdata/Makefile.
21048
01636b21
UD
210492011-07-06 Ulrich Drepper <drepper@gmail.com>
21050
21051 [BZ #12922]
21052 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21053 but no long options are defined, just return 'W'.
21054
9895c8bc
UD
210552011-06-22 Marek Polacek <mpolacek@redhat.com>
21056
21057 [BZ #9696]
21058 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21059
5d4cf042
UD
210602011-07-06 Ulrich Drepper <drepper@gmail.com>
21061
21062 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21063 netgroups to read.
960e5535 21064 (innetgr): Likewise.
5d4cf042 21065
751eb97e
RM
210662011-07-05 Roland McGrath <roland@hack.frob.com>
21067
21068 * config.make.in (install_root): Default to $(DESTDIR).
21069
f15f1e45
UD
210702011-07-05 Ulrich Drepper <drepper@gmail.com>
21071
21072 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21073
4e34ac6a
RM
210742011-07-02 Roland McGrath <roland@hack.frob.com>
21075
5e9b6af4
RM
21076 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21077
84f9ea0f
RM
21078 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21079 containing directory rather than embedding absolute directory names.
21080
ea5ee9f7
RM
21081 * scripts/check-local-headers.sh: Rewritten using awk.
21082 Match by word, not by line. Print error messages for matches.
21083 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21084
1b74661a
RM
21085 * Makerules [shlib-lds-flags empty]:
21086 ($(common-objpfx)libc_pic.opts): New target.
21087 ($(common-objpfx)libc_pic.os.clean): New target.
21088 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21089
21090 * config.make.in (OBJCOPY): New variable.
21091 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21092 * configure: Regenerated.
21093
f781ef40
RM
21094 * config.make.in (use-default-link): New variable.
21095 * configure.in (use_default_link): Grok --with-default-link to set it.
21096 * configure: Regenerated.
21097 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21098 (shlib-lds, shlib-lds-flags): Define to empty.
21099
2d4fa81e
RM
21100 * Makerules (shlib-lds): New variable.
21101 (shlib-lds-flags): New variable.
21102 (build-shlib, build-moduile, build-module-asneeded): Use it.
21103 ($(common-objpfx)libc.so): Use $(shlib-lds).
21104 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21105 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21106
31fffa6b
RM
21107 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21108 DT_FLAGS/DT_FLAGS_1 with zero flags.
21109
4e34ac6a
RM
21110 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21111 linker script munging.
21112
fcfc776b
UD
211132011-07-02 Ulrich Drepper <drepper@gmail.com>
21114
21115 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21116 as 128-bit value.
21117 * crypt/sha512.c (sha512_process_block): Perform total addition using
21118 128-bit if possible.
21119 (__sha512_finish_ctx): Likewise.
21120 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21121 as 64-bit value.
21122 * crypt/sha256.c (SWAP64): Define.
21123 (sha256_process_block): Perform total addition using 64-bit if
21124 possible.
21125 (__sha256_finish_ctx): Likewise.
21126
99231d9a
UD
211272011-07-01 Ulrich Drepper <drepper@gmail.com>
21128
21129 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21130 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21131 * nscd/hstcache.c (cache_addhst): Likewise.
21132 * nscd/grpcache.c (cache_addgr): Likewise.
21133 * nscd/aicache.c (addhstaiX): Likewise
21134 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21135
445b4a53
TK
211362011-07-01 Thorsten Kukuk <kukuk@suse.de>
21137
21138 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21140 * nscd/hstcache.c (cache_addhst): Likewise.
21141 * nscd/grpcache.c (cache_addgr): Likewise.
21142 * nscd/aicache.c (addhstaiX): Likewise
21143
6d4d8e8e
AS
211442011-07-01 Andreas Schwab <schwab@redhat.com>
21145
21146 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21147 domain only when needed.
21148
89f654c5
AS
211492011-06-30 Andreas Schwab <schwab@redhat.com>
21150
21151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21152 is always restored.
21153
cf3b23ff
UD
211542011-06-29 Ulrich Drepper <drepper@gmail.com>
21155
21156 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21157 are re-adding the entry.
21158 * nscd/servicescache.c (cache_addserv): Likewise.
21159
751626f9
AJ
211602011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21161
21162 * sysdeps/generic/dl-irel.h: fix protection against multiple
21163 inclusions.
21164 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21165
9113ea1f
UD
211662011-06-28 Ulrich Drepper <drepper@gmail.com>
21167
5c0b8d90
UD
21168 [BZ #12935]
21169 * malloc/memusage.sh: Fix quoting in message.
21170 * debug/xtrace.sh: Likewise.
21171
9113ea1f
UD
21172 * configure.in: Remove support for --experimental-malloc option, make
21173 it the default.
21174 * config.make.in: Likewise.
21175 * malloc/Makefile: Likewise.
21176
a4172181
AS
211772011-06-27 Andreas Schwab <schwab@redhat.com>
21178
21179 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21180 two-byte characters.
21181
78a7eee7
RM
211822011-06-27 Roland McGrath <roland@hack.frob.com>
21183
62bede13
RM
21184 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21185 AC_CACHE_CHECK invocation.
21186 * configure: Regenerated.
21187
78a7eee7
RM
21188 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21189
5ce33a62
UD
211902011-06-27 Ulrich Drepper <drepper@gmail.com>
21191
034807a9
UD
21192 [BZ #12350]
21193 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21194 bit from old_res_options.
21195
4902da17
UD
21196 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21197
5ce33a62
UD
21198 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21199 value type for setfct.
21200
c2344f56
L
212012011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21202
21203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21204 __gettimeofday instead of gettimeofday.
21205
68468076
UD
212062011-06-26 Ulrich Drepper <drepper@gmail.com>
21207
21208 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21209
acb0d739
L
212102011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21211
21212 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21213
21214 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21215 info.
21216
8912479f
L
212172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21218
21219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21220 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21221 strcpy-sse2-unaligned strncpy-sse2-unaligned
21222 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21223 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21224 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21225 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21226 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21227 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21229 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21230 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21231 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21232 (STRCPY): Support SSE2 and SSSE3 versions.
21233
d5495a11
UD
212342011-06-24 Ulrich Drepper <drepper@gmail.com>
21235
21236 [BZ #12874]
21237 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21238 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21239 kernels which artificially limit size of requests.
21240
0b1cbaae
L
212412011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21242
21243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21244 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21245 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21246 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21247 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21248 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21249 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21250 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21251 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21252 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21253 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21254 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21255 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21256 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21257 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21259 Enable unaligned load optimization for Intel Core i3, i5 and i7
21260 processors.
21261 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21262 Define.
21263 (index_Fast_Unaligned_Load): Define.
21264 (HAS_FAST_UNALIGNED_LOAD): Define.
21265
07f494a0
MP
212662011-06-23 Marek Polacek <mpolacek@redhat.com>
21267
21268 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21269
fa3fc0fe
UD
212702011-06-22 Ulrich Drepper <drepper@gmail.com>
21271
21272 [BZ #12907]
21273 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21274 until it is clear that the information is realy needed.
21275 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21276
e12df166
AS
212772011-06-22 Andreas Schwab <schwab@redhat.com>
21278
21279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21280
852eb34d
UD
212812011-06-22 Ulrich Drepper <drepper@gmail.com>
21282
84e2a551
UD
21283 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21284 /sys/devices/system/cpu/online if it is usable.
21285
852eb34d
UD
21286 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21287 reading the information from the /proc filesystem to once a second.
21288
6e502e19
UD
212892011-06-21 Andreas Jaeger <aj@suse.de>
21290
21291 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21292 NULL after inclusion of kernel headers.
21293
75d39ff2
UD
212942011-06-21 Ulrich Drepper <drepper@gmail.com>
21295
51f9aa6a
UD
21296 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21297 calls to internal_setent.
21298
c0244a9d
UD
21299 [BZ #12885]
21300 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21301 addresses using gethostbyname4_r ignore IPv4 addresses.
21302
c5e3c2ae
UD
21303 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21304 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21305
75d39ff2
UD
21306 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21307
42675c6f
DM
213082011-06-20 David S. Miller <davem@davemloft.net>
21309
21310 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21311 inclusions.
21312 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21313
21314 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21315 (elf_irel): Use it.
21316 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21317 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21318 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21319 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21320 * sysdeps/x86_64/dl-irel.h: Likewise.
21321
21322 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21323 * elf/dl-sym.c: Likewise.
21324
57912a71
UD
213252011-06-15 Ulrich Drepper <drepper@gmail.com>
21326
21327 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21328 need to dereference resplen2.
21329
ee22793d
AS
213302011-06-14 Andreas Schwab <schwab@redhat.com>
21331
21332 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21333
a9e836b0
UD
213342011-06-15 Ulrich Drepper <drepper@gmail.com>
21335
77fb9117
UD
21336 * Makeconfig: Define vardbdir and inst_vardbdir.
21337 * nss/Makefile: Add rules to install db-Makefile.
21338
40c1b22c
UD
21339 * nss/nss_db/db-XXX.c: Cleanup.
21340
9f2da732
UD
21341 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21342 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21343 GLIBC_PRIVATE.
21344 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21345 * nss/makedb.c: Implement -g option to specify that value strings
21346 are generated and should not be added to table iterated over for
21347 get*ent calls.
21348 * nss/nss_db/db-initgroups.c: New file.
21349
82e9a1f7
UD
21350 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21351 interface.
21352
c41af17e
UD
21353 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21354 (internal_getgrouplist): Adjust to name change.
21355 Update use_initgroups_entry if this is not the first call.
21356 * nss/databases.def: Add initgroups entry.
21357
a9e836b0
UD
21358 * nss/makedb.c (compute_tables): Check result of multiple hash table
21359 sizes to minimize maximum chain length.
21360
2666d441
UD
213612011-06-14 Ulrich Drepper <drepper@gmail.com>
21362
21363 * Versions.def: Add entry for libnss_db.
21364 * shlib-versions: Likewise.
21365 * nss/Makefile: Add rules to build libnss_db.
21366 * nss/Versions: Add libnss_db information. Organize libnss_files
21367 entries better.
21368 * nss/db-Makefile: Add gshadow support. Change rules for the new
21369 makedb progra. Some minor improvements to generate smaller files.
21370 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21371 here from...
21372 * nss/makedb.c: ...here.
21373 Improve database format to be smaller and require less memory at
21374 runtime.
21375 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21376 db anymore.
21377 * nss/nss_db/db-netgrp.c: Likewise.
21378 * nss/nss_db/db-open.c: Likewise.
21379 * nss/nss_files/flies-XXX.x: Adjust comments.
21380 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21381 * nss/nss_files/files-grp.c: Likewise.
21382 * nss/nss_files/files-hosts.c: Likewise.
21383 * nss/nss_files/files-network.c: Likewise.
21384 * nss/nss_files/files-proto.c: Likewise.
21385 * nss/nss_files/files-pwd.c: Likewise.
21386 * nss/nss_files/files-rpc.c: Likewise.
21387 * nss/nss_files/files-service.c: Likewise.
21388 * nss/nss_files/files-sgrp.c: Likewise.
21389 * nss/nss_files/files-spwd.c: Likewise.
21390 * nss/nss_db/db-alias.c: Removed.
21391 * nss/nss_db/dummy-db.h: Removed.
21392
9ee76b5a
UD
213932011-06-02 Ulrich Drepper <drepper@gmail.com>
21394
21395 * nss/makedb.c: Rewritten to not use database library.
21396 * nss/Makefile: Update to build new makedb program.
21397
c71ca1f8
AJ
213982011-06-14 Andreas Jaeger <aj@suse.de>
21399
21400 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21401 memset declaration.
21402
3154bfb8
UD
214032011-06-10 Andreas Schwab <schwab@redhat.com>
21404
21405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21406 tmpbuf.
21407
b350afab
RM
214082011-06-10 Roland McGrath <roland@hack.frob.com>
21409
decd4e50
RM
21410 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21411 * elf/Makefile ($(objpfx)ld.so): Likewise.
21412
5615eaf2
RM
21413 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21414 Don't list ld.so twice in dependencies.
21415
21416 * posix/bug-regex31.c: Include <stdlib.h>.
21417
21418 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21419
21420 * nis/nss_compat/compat-spwd.c
21421 (getspent_next_nss_netgr): Remove unused variable.
21422 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21423
21424 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21425 nonmembers" output to use the right array.
21426
21427 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21428
21429 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21430
21431 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21432 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21433 * catgets/gencat.c (read_input_file): Likewise.
21434 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21435
21436 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21437 variable definition inside #if's controlling its use.
21438
21439 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21440
21441 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21442
21443 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21444
21445 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21446 unreachable code.
21447
21448 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21449
b68e08db
RM
21450 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21451 * configure: Regenerated.
21452
b350afab
RM
21453 * Makerules: Revert last change.
21454 * elf/Makefile: Likewise.
21455
28368601
RM
214562011-06-09 Roland McGrath <roland@hack.frob.com>
21457
21458 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21459 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21460 (reloc-link): Likewise.
21461
11988f8f
UD
214622011-06-09 Ulrich Drepper <drepper@gmail.com>
21463
21464 * elf/Makefile: Add rules to build pldd.
21465 * elf/pldd.c: New file.
21466 * elf/pldd-xx.c: New file.
21467
e80fab37
UD
214682011-06-07 Ulrich Drepper <drepper@gmail.com>
21469
21470 * version.h: Update for 2.15 development version.
21471
9b849836
DM
214722011-06-07 David S. Miller <davem@davemloft.net>
21473
21474 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21475 ifuncs.
21476 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21477 elf_machine_lazy_rel): Likewise.
21478 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21480 elf_machine_lazy_rel): Likewise.
21481 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21482 dl_hwcap via passed in argument.
21483 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21484 Likewise.
21485
5a31b283
AK
214862011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21487
21488 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21489
069e52f8
RM
214902011-06-06 Roland McGrath <roland@hack.frob.com>
21491
21492 [BZ #12849]
21493 * manual/fdl-1.1.texi: New file, verbatim from:
21494 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21495 * manual/lgpl-2.1.texi: New file, verbatim from:
21496 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21497 * manual/Makefile (licenses): New variable, list those new file names.
21498 (texis): Use it.
21499 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21500
21501 * manual/fdl.texi: File removed.
21502 * manual/lesser.texi: File removed.
21503 * manual/libc.texinfo (Copying, Documentation License):
21504 Use new @include file names, put @appendix directive before @include.
21505
f16846a5
JJ
215062011-06-04 Jakub Jelinek <jakub@redhat.com>
21507
21508 [BZ #12841]
21509 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21510 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21511 (mq_open): Add __NTH.
21512
3d29045b
L
215132011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21514
21515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21516 Assume Intel Core i3/i5/i7 processor if AVX is available.
21517
8c297311
UD
215182011-05-31 Ulrich Drepper <drepper@gmail.com>
21519
21520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21521 typo.
21522
c8fc0c91
UD
215232011-05-31 Andreas Schwab <schwab@redhat.com>
21524
21525 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21526 memory. Use alloca_account. Fix memory leak when retrying.
21527
5b27a807
UD
215282011-05-31 Ulrich Drepper <drepper@gmail.com>
21529
356f8bc6
UD
21530 * version.h (RELEASE): Bump for 2.14 release.
21531 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21532
5b27a807
UD
21533 * config.make.in (RANLIB): Remove entry.
21534
01f16ab0
UD
215352011-05-30 Ulrich Drepper <drepper@gmail.com>
21536
41fce8bd
UD
21537 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21538 (libc.pot): Work around missing support for .ksh extension in xgettext.
21539
4769ae77
UD
21540 [BZ #12684]
21541 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21542 if both request failed.
21543 (send_dg): In case of server errors clear resplen or *resplen2.
21544
6b1e7d19
UD
21545 [BZ #12454]
21546 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21547 when there are multiple maps.
21548 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21549 (_dl_fini): Remove test here.
21550
01f16ab0
UD
21551 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21552
b1ebd700
UD
215532011-05-29 Ulrich Drepper <drepper@gmail.com>
21554
7ae22829
UD
21555 [BZ #12350]
21556 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21557 bit from old_res_options.
21558 (gaih_inet): Likewise.
21559
553149f6 21560 [BZ #11099]
18a84741 21561 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21562 as signed.
21563
652ffab1
UD
21564 * resolv/res_init.c (res_setoptions): Make the code more compact.
21565
16985fd0
UD
21566 [BZ #11558]
21567 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21568 set RES_USEVC.
21569
0464f746
UD
21570 [BZ #11634]
21571 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21572
7d17596c
UD
21573 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21574
cf6bbbd7
UD
21575 [BZ #11781]
21576 * malloc/malloc.h: Declare malloc hook variables as volatile.
21577
13f1ab36
UD
21578 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21579 in last patch.
21580
b1ebd700
UD
21581 [BZ #11799]
21582 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21583 raise in the comment.
80e2212d
UD
21584 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21585 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21586 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21587
ce67228d
UD
215882011-05-28 Ulrich Drepper <drepper@gmail.com>
21589
8887a920
UD
21590 [BZ #12811]
21591 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21592 grow the buffers more if it already has to be sufficient.
21593 (build_wcs_upper_buffer): Likewise.
21594 * posix/regexec.c (check_matching): Likewise.
21595 (clean_state_log_if_needed): Likewise.
21596 (extend_buffers): Don't enlarge buffers beyond size of the input
21597 buffer.
21598 Patches mostly by Emil Wojak <emil@wojak.eu>.
21599 * posix/bug-regex32.c: New file.
21600 * posix/Makefile (tests): Add bug-regex32.
21601
4f031072
UD
21602 * locale/findlocale.c (_nl_find_locale): Return right away if
21603 _nl_explode_name failed.
21604 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21605
d0478f0c
UD
21606 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21607
de81b246
UD
21608 * debug/xtrace.sh: Unify messages.
21609 * malloc/memusage.sh: Likewise.
21610
c738465a
UD
21611 [BZ #12813]
21612 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21613 time symbol from vDSO. Substitute with vsyscall if not available.
21614 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21615 __vdso_time.
21616
f1f929d7
UD
21617 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21618 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21619 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21620 Add sendmmsg and internal_sendmmsg.
21621 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21622 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21623 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21624
ce67228d
UD
21625 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21626 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21628
e57420c6
UD
216292011-05-27 Ulrich Drepper <drepper@gmail.com>
21630
a8509ca5
UD
21631 [BZ #12813]
21632 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21633 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21634 available.
21635 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21636 __vdso_getcpu.
21637
e57420c6
UD
21638 [BZ #12814]
21639 * iconvdata/Makefile (tests): Add bug-iconv9.
21640 * iconvdata/bug-iconv9.c: New file.
21641
4d07db15
AS
216422011-05-27 Andreas Schwab <schwab@redhat.com>
21643
21644 [BZ #12814]
21645 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21646
ea486f69
JJ
216472011-05-25 Jakub Jelinek <jakub@redhat.com>
21648
21649 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21650 (struct user_regs_struct): Change intcs field back to cs.
21651
6f038433
UD
216522011-05-25 Ulrich Drepper <drepper@gmail.com>
21653
21654 * po/ja.po: Update from translation team.
21655
67f86a25
UD
216562011-05-23 Ulrich Drepper <drepper@gmail.com>
21657
21658 [BZ #12795]
21659 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21660 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21661
def7fbd6
AS
216622011-05-20 Andreas Schwab <schwab@redhat.com>
21663
21664 * stdlib/longlong.h: Update from GCC.
21665
f50ef8f1
AS
216662011-05-23 Andreas Schwab <schwab@redhat.com>
21667
21668 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21669 parameter name.
21670 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21671 Add parameter name.
21672 (__sysconf): Pass it down.
21673
de7ce8f1
UD
216742011-05-22 Ulrich Drepper <drepper@gmail.com>
21675
f2962a71
UD
21676 [BZ #12671]
21677 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21678 some situations.
21679 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21680 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21681 add in in __libc_use_alloca calls. Adjust callers.
21682 (glob): Use malloc in some situations.
21683
de7ce8f1
UD
21684 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21685 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21686 pltexit.
21687
aec84f53
UD
216882011-05-21 Ulrich Drepper <drepper@gmail.com>
21689
05bb4a68
UD
21690 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21691 and CLOCK_BOOTTIME_ALARM.
21692
7ea72f99
UD
21693 [BZ #12782]
21694 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21695 is returned.
21696
7e4afad5
UD
21697 * string/_strerror.c (__strerror_r): Print negative errors as signed
21698 numbers.
21699
8e211fec
UD
21700 [BZ #12777]
21701 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21702 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21703 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21704
f7d82dc9
UD
21705 * configure.in: Fix typo in redirection and correct removal of test
21706 files in two cases.
21707
cc9e536d
UD
21708 [BZ #12788]
21709 * locale/setlocale.c (new_composite_name): Fix test to check for
21710 identical name of all categories.
21711
aec84f53
UD
21712 [BZ #12792]
21713 * libio/filedoalloc.c (local_isatty): New function.
21714 (_IO_file_doallocate): Use local_isatty.
21715 * stdio-common/perror.c (perror): In case a new stream is used
21716 forward the stream error.
21717 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21718 error flag.
21719
78e64fdc
RT
217202011-05-20 Ulrich Drepper <drepper@gmail.com>
21721
34a9094f
UD
21722 [BZ #11869]
21723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21724 alloca.
21725 * include/alloca.h (extend_alloca_account): Define.
21726
78e64fdc
RT
21727 [BZ #11857]
21728 * posix/regex.h: Fix comments with documentation of user-accessible
21729 fields after compilation and describe correct free'ing of pattern
21730 after re_compile_pattern.
21731 Patch by Reuben Thomas <rrt@sc3d.org>.
21732
457bddfc
RA
217332011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21734
21735 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21736 and -mno-altivec to prevent the compiler from using Altivec and/or
21737 VSX instructions when the corresponding registers are not available.
21738
a4527b51
AS
217392011-05-19 Andreas Schwab <schwab@redhat.com>
21740
21741 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21742
ed690b2f
UD
217432011-05-19 Ulrich Drepper <drepper@gmail.com>
21744
21745 * libio/freopen.c (freopen): Use __dup2, not dup2.
21746 * libio/freopen64.c (freopen64): Likewise.
21747
8db73634
L
217482011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21749
21750 [BZ #12775]
21751 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21752 * math/Makefile (tests): Add test-powl.
21753 (CFLAGS-test-powl.c): Define.
21754 * math/test-powl.c: New file.
21755
0a197a9d
L
217562011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21757
21758 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21759
ee30c380
UD
217602011-05-17 Ulrich Drepper <drepper@gmail.com>
21761
21762 [BZ #11837]
21763 * iconvdata/gb18030.c: Update to GB18020-2005.
21764
6ce75379
UD
217652011-05-16 Ulrich Drepper <drepper@gmail.com>
21766
a4b89fd8
AR
21767 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21768 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21769 Patch by Aharon Robbins <arnold@skeeve.com>.
21770
ea389b12
UD
21771 [BZ #11892]
21772 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21773 on the stack.
21774
68a3f91f
UD
21775 [BZ #11895]
21776 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21777 through underflows.
21778
15cc7dd1
UD
21779 [BZ #12766]
21780 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21781 point to strings before performing equality test for error_one_per_line
21782 mode.
21783
f3799213
UD
21784 [BZ #11697]
21785 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21786
d79a9c94
UD
21787 [BZ #11820]
21788 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21789 (struct user_fpregs_struct): Avoid __uint*_t types.
21790
56e5eb46
UD
21791 [BZ #6420]
21792 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21793 symbol info. Use it instead of calling _dl_addr locally.
21794 (lock_and_info): New function.
21795 (tr_freehook): Call lock_and_info and pass symbol info as additional
21796 parameter to tr_where.
21797 (tr_mallochook): Likewise.
21798 (tr_reallochook): Likewise.
21799 (tr_memalignhook): Likewise.
21800
6ce75379
UD
21801 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21802 used and couldn't be at all thread-safe.
21803
f8a3b5bf
UD
218042011-05-15 Ulrich Drepper <drepper@gmail.com>
21805
94b7cc37
UD
21806 * libio/freopen.c (freopen): Don't close old file descriptor
21807 before the new one is opened. Instead dup the new file descriptor
21808 to the old one after the new stream is created.
21809 * libio/freopen64.c (freopen64): Likewise.
21810 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21811 * libio/fileops.c (_IO_new_file_close_it): Handle new
21812 _IO_FLAGS2_NOCLOSE flag.
21813 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21814 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21815 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21816 _IO_FLAGS2_NOCLOSE flag.
21817 * include/unistd.h: Add hidden_proto for dup3.
21818 Define __have_dup3.
21819 * io/dup3.c: Define hidden symbol.
21820 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21821
bd25564e
UD
21822 [BZ #7101]
21823 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21824 when an incomplete long option is used.
21825 * posix/tst-getopt_long1.c: New file.
21826 * posix/Makefile (tests): Add tst-getopt_long1.
21827
c84cfef4
UD
21828 [BZ #10138]
21829 * scripts/config.guess: Update from autoconf-2.68.
21830 * scripts/config.sub: Likewise.
21831
3b85df27
UD
21832 [BZ #10157]
21833 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21834 tests into ...
21835 (has_cpuclock): ...this. New function.
21836 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21837 macro here based on has_cpuclock code.
21838
15a856b1
UD
21839 [BZ #10149]
21840 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21841 First byte (not low byte) is now always NUL.
21842 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21843
05f399e6
UD
21844 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21845 Use non-cancelable interfaces.
21846
10a52685 21847 [BZ #9809]
94ecc67d
UD
21848 * locale/iso-639.def: Add entry for Sorani.
21849
f8a3b5bf
UD
21850 [BZ #11901]
21851 * include/stdlib.h: Move include protection to the right place.
21852 Define abort_msg_s. Declare __abort_msg with it.
21853 * stdlib/abort.c (__abort_msg): Adjust type.
21854 * assert/assert.c (__assert_fail_base): New function. Majority
21855 of code from __assert_fail. Allocate memory for __abort_msg with
21856 mmap.
21857 (__assert_fail): Now call __assert_fail_base.
21858 * assert/assert-perr.c: Remove bulk of implementation. Use
21859 __assert_fail_base.
21860 * include/assert.hL Declare __assert_fail_base.
21861 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21862 mmap.
21863 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21864
1af4e298
UD
218652011-05-14 Ulrich Drepper <drepper@gmail.com>
21866
f8a3b5bf 21867 [BZ #11952]
d26dfc60
MG
21868 [BZ #12453]
21869 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21870 until all modules are registered in the DTV.
21871 * elf/Makefile: Add rules to build and run tst-tls19.
21872 * elf/tst-tls19.c: New file.
21873 * elf/tst-tls19mod1.c: New file.
21874 * elf/tst-tls19mod2.c: New file.
21875 * elf/tst-tls19mod3.c: New file.
21876 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21877
2fc54d6f
UD
21878 [BZ #12083]
21879 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21880 correctly.
21881
98d76b46
UD
21882 [BZ #12601]
21883 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21884 two-byte sequence errors.
21885 * iconvdata/Makefile (tests): Add bug-iconv8.
21886 * iconvdata/bug-iconv8.c: New file.
21887
da3c19ef
UD
21888 [BZ #12626]
21889 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21890 buf2 definition.
21891
ca408c15
UD
21892 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21893
d6f67f7d
UD
21894 [BZ #12432]
21895 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21896 (dummy_getcfa): New function.
21897 (init): Get _Unwind_GetCFA address, use dummy if not found.
21898 (backtrace_helper): In recursion check, also check whether CFA changes.
21899 (__backtrace): Completely initialize arg.
21900
1af4e298 21901 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21902 storing incomplete byte sequence in state object. Avoid testing for
21903 guaranteed too small input if we know there is enough data available.
1af4e298 21904
da62f81b
AS
219052011-05-11 Andreas Schwab <schwab@redhat.com>
21906
21907 * Makeconfig (+link-pie): Indent.
21908 * Rules (binaries-pie): Define if $(have-fpie) and
21909 $(build-shared).
21910 (binaries-shared): Also filter out $(binaries-pie).
21911 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21912 * nscd/Makefile (others-pie): Add nscd.
21913 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21914 ($(objpfx)nscd): Remove command override.
21915 * login/Makefile (others-pie): Add pt_chown.
21916 ($(objpfx)pt_chown): Remove command override.
21917 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21918 remove command overrides.
21919
fcabc0f8
UD
219202011-05-13 Ulrich Drepper <drepper@gmail.com>
21921
20030ae6
UD
21922 * libio/tst_putwc.c: Fix error messages.
21923
fcabc0f8
UD
21924 [BZ #12724]
21925 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21926 currently writing and seek to current position when not.
21927 * libio/Makefile (tests): Add bug-fclose1.
21928 * libio/bug-fclose1.c: New file.
21929
320a5dc0
PB
219302011-05-12 Ulrich Drepper <drepper@gmail.com>
21931
21932 [BZ #12511]
21933 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21934 don't set DF_1_NODELETE here.
21935 (do_lookup_x): When entering new entry test for copy relocation
21936 and if necessary set DF_1_NODELETE flag.
21937 * elf/tst-unique4.cc: New file.
21938 * elf/tst-unique4.h: New file.
21939 * elf/tst-unique4lib.cc: New file.
21940 * elf/Makefile: Add rules to build and run tst-unique4.
21941 Patch by Piotr Bury <pbury@goahead.com>.
21942
22836f52
UD
219432011-05-11 Ulrich Drepper <drepper@gmail.com>
21944
f574184a
UD
21945 [BZ #12052]
21946 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21947
e1fb097f
UD
21948 [BZ #12625]
21949 * misc/mntent_r.c (addmntent): Flush the stream after the output
21950
22836f52
UD
21951 [BZ #12393]
21952 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21953 (is_trusted_path_normalize): Skip initial colon. Append slash
21954 to empty buffer. Duplicate is_trusted_path code but allow
21955 constructed patch to be prefix.
21956 (is_dst): Allow $ORIGIN followed by /.
21957 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21958 Correct testing of result of is_trusted_path_normalize
21959 (decompose_rpath): Fix warning.
21960
7b3b0b2a
UD
219612011-05-10 Ulrich Drepper <drepper@gmail.com>
21962
21963 [BZ #11257]
21964 * grp/initgroups.c (internal_getgrouplist): When we found the service
21965 list through the initgroups entry in nsswitch.conf do not always
21966 continue on a successful lookup. Don't always use the
eac80ce2 21967 __nss_group_database value if it is set.
7b3b0b2a
UD
21968 * nss/nsswitch.conf (initgroups): Change action for successful db
21969 lookup to continue for compatibility.
21970
2a81eaa5
UD
219712011-05-09 Ulrich Drepper <drepper@gmail.com>
21972
be97a69e
UD
21973 [BZ #11532]
21974 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21975 and CP774 modules.
21976 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21977 and CP774 modules.
21978 * iconvdata/tst-tables.sh: Likewise.
21979 * iconvdata/cp770.c: New file.
21980 * iconvdata/cp771.c: New file.
21981 * iconvdata/cp772.c: New file.
21982 * iconvdata/cp773.c: New file.
21983 * iconvdata/cp774.c: New file.
21984 * iconvdata/testdata/CP770: New file.
21985 * iconvdata/testdata/CP770..UTF8: New file.
21986 * iconvdata/testdata/CP771: New file.
21987 * iconvdata/testdata/CP771..UTF8: New file.
21988 * iconvdata/testdata/CP772: New file.
21989 * iconvdata/testdata/CP772..UTF8: New file.
21990 * iconvdata/testdata/CP773: New file.
21991 * iconvdata/testdata/CP773..UTF8: New file.
21992 * iconvdata/testdata/CP774: New file.
21993 * iconvdata/testdata/CP774..UTF8: New file.
21994
21995 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21996 END CHARMAP line.
21997 * iconvdata/gen-8bit-gap.sh: Likewise.
21998 * iconvdata/gen-8bit.sh: Likewise.
21999
c1e9e399
UD
22000 * locale/iso-639.def: Add ary entry.
22001
24c55fb3 22002 [BZ #11258]
96b4b1b0
UD
22003 * locale/C-translit.h.in: Add U20A1 transliteration.
22004
bdc2f971
KB
22005 [BZ #12178]
22006 * locale/iso-639.def: Add wae entry.
22007 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22008
2952b117
UD
22009 [BZ #12545]
22010 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22011 for n.
22012
2a81eaa5
UD
22013 [BZ #12711]
22014 * locale/C-translit.h.in: Add entry for U20B9.
22015 Patch by pravin.d.s@gmail.com.
22016
28377d1b
UD
220172011-05-08 Ulrich Drepper <drepper@gmail.com>
22018
7fb90fb8
UD
22019 [BZ #12713]
22020 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22021 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22022 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22023 in rtld. Use *stat64.
7fb90fb8 22024 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22025 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22026 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22027 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22028 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22029 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22030 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22031 __fstatat64 macros.
7fb90fb8
UD
22032 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22033 * dirent/rewinddir.c: Add libc_hidden_def.
22034 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22035 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22036
28377d1b
UD
22037 * include/dirent.h (__alloc_dir): Add flags parameter.
22038 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22039 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22040 __alloc_dir.
22041 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22042 from fdopendir if O_CLOEXEC is already set.
22043
66bdbaa4
AM
220442011-03-15 Alan Modra <amodra@gmail.com>
22045
22046 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22047 l_tls_firstbyte_offset non-zero. Save padding offset in
22048 l_tls_firstbyte_offset for later use.
22049 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22050 freeing static tls block.
22051
95721191
JN
220522011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22053
22054 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22055 where #ifdef was intended. The intent is to prevent ARG_MAX from
22056 being defined by the kernel headers.
22057
f87dfb1f
UD
220582011-05-07 Ulrich Drepper <drepper@gmail.com>
22059
22060 [BZ #12734]
22061 * resolv/resolv.h: Define RES_NOTLDQUERY.
22062 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22063 no-tld-query and set RES_NOTLDQUERY.
22064 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22065 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22066 modern BIND to search name as TLD unless forbidden.
22067
47c3cd7a
UD
220682011-05-07 Petr Baudis <pasky@suse.cz>
22069 Ulrich Drepper <drepper@gmail.com>
22070
22071 [BZ #12393]
22072 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22073 (is_trusted_path): ...to here.
c1e9ea35 22074 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22075 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22076 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22077
8a35c912
PP
220782011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22079
22080 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22081 __BEGIN/__END_DECLS.
22082
acd41f47
UD
220832011-05-06 Ulrich Drepper <drepper@gmail.com>
22084
22085 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22086 NSS_STATUS_NOTFOUND if no record was found.
22087
597df647
AS
220882011-05-05 Andreas Schwab <schwab@redhat.com>
22089
22090 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22091 (headers-not-in-tirpc): Remove rpc/netdb.h
22092 * resolv/netdb.h: Revert last change.
22093
b9af1301
PP
220942011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22095
22096 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22097 circular dependency between libgcc.a and libc.a.
22098
4e34d5f5
AS
220992011-05-05 Andreas Schwab <schwab@redhat.com>
22100
22101 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22102 * nis/Makefile: Don't install rpcsvc/*.
22103 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22104 instead of <rpc/types.h>.
22105 (MAXHOSTNAMELEN): Define.
22106
00ee369c
AS
221072011-05-03 Andreas Schwab <schwab@redhat.com>
22108
22109 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22110
0b592a30
MB
221112011-04-28 Maciej Babinski <mbabinski@google.com>
22112
22113 [BZ #12714]
22114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22115 gethostbyname4_r when IPv6 results are possible.
22116
6e04cbbe
UD
221172011-05-02 Ulrich Drepper <drepper@gmail.com>
22118
22119 [BZ #12723]
22120 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22121 _PC_PIPE_BUF handling.
22122
e4ecafe0
BH
221232011-04-30 Bruno Haible <bruno@clisp.org>
22124
22125 [BZ #12717]
22126 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22127 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22128 to 'int'.
22129 * inet/getnameinfo.c (getnameinfo): Likewise.
22130
125ee683
UD
221312011-04-29 Ulrich Drepper <drepper@gmail.com>
22132
22133 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22134 to groups setting in database lookup.
22135 * nss/nsswitch.conf: Add initgroups entry.
22136
b722481a
EB
221372011-04-22 Ulrich Drepper <drepper@gmail.com>
22138
22139 [BZ #12685]
22140 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22141 mode string.
22142 Patch by Eric Blake <eblake@redhat.com>.
22143
4df46dbd
L
221442011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22145
22146 * sunrpc/Makefile (need-export-routines): Add svc_run.
22147 (routines): Remove svc_run.
22148 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22149 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22150 * sunrpc/svc_run.c (svc_run): Likewise.
22151 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22152
e84142d2
UD
221532011-04-21 Ulrich Drepper <drepper@gmail.com>
22154
22155 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22156 problem in reallocation in last patch.
22157
877175d8
UD
221582011-04-20 Ulrich Drepper <drepper@gmail.com>
22159
22160 * sunrpc/Makefile: Move inclusion of Rules.
22161
ab8eed78
UD
221622011-04-19 Ulrich Drepper <drepper@gmail.com>
22163
22164 * nss/nss_files/files-initgroups.c: New file.
22165 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22166 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22167 _nss_files_initgroups_dyn.
22168
e3d8f584
RS
221692011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22170
22171 * elf/elf.h (R_ARM_IRELATIVE): Define.
22172
af190f45
UD
221732011-04-19 Ulrich Drepper <drepper@gmail.com>
22174
22175 * po/ru.po: Update from translation team.
22176
53cf59ef
UD
221772011-04-17 Ulrich Drepper <drepper@gmail.com>
22178
22179 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22180 dependencies.
22181
4c559bcd
MF
221822011-02-06 Mike Frysinger <vapier@gentoo.org>
22183
22184 [BZ #12653]
22185 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22186 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22187 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22188 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22189 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22190
4420675c
AS
221912011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22192
22193 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22194 differing bytes.
22195 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22196 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22197 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22198
75ea32ab
UD
221992011-04-17 Ulrich Drepper <drepper@gmail.com>
22200
22201 [BZ #12420]
22202 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22203 storing it.
22204 * stdlib/bug-getcontext.c: New file.
22205 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22206
27390476
AK
222072011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22208
22209 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22210 instructions into .machine "z9-109".
22211 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22212 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22213
10442705
AK
222142011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22215
22216 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22217 between environment variables and auxiliary vector.
22218
7b57bfe5
UD
222192011-04-16 Ulrich Drepper <drepper@gmail.com>
22220
22221 * Makefile: Add rules to build linkobj/libc.so.
22222 * include/libc-symbols.h: Define libc_hidden_nolink.
22223 * include/rpc/auth.h: Mark functions which are to be hidden.
22224 * include/rpc/auth_des.h: Likewise.
22225 * include/rpc/auth_unix.h: Likewise.
22226 * include/rpc/clnt.h: Likewise.
22227 * include/rpc/des_crypt.h: Likewise.
22228 * include/rpc/key_prot.h: Likewise.
22229 * include/rpc/pmap_clnt.h: Likewise.
22230 * include/rpc/pmap_prot.h: Likewise.
22231 * include/rpc/pmap_rmt.h: Likewise.
22232 * include/rpc/rpc_msg.h: Likewise.
22233 * include/rpc/svc.h: Likewise.
22234 * include/rpc/svc_auth.h: Likewise.
22235 * include/rpc/xdr.h: Likewise.
22236 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22237 * nss/Makefile: Likewise.
22238 * sunrpc/Makefile: Don't install headers. Build library with normal
22239 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22240 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22241 for the compat linking library. Remove use of INTDEF/INTUSE.
22242 * sunrpc/auth_none.c: Likewise.
22243 * sunrpc/auth_unix.c: Likewise.
22244 * sunrpc/authdes_prot.c: Likewise.
22245 * sunrpc/authuxprot.c: Likewise.
22246 * sunrpc/clnt_gen.c: Likewise.
22247 * sunrpc/clnt_perr.c: Likewise.
22248 * sunrpc/clnt_raw.c: Likewise.
22249 * sunrpc/clnt_simp.c: Likewise.
22250 * sunrpc/clnt_tcp.c: Likewise.
22251 * sunrpc/clnt_udp.c: Likewise.
22252 * sunrpc/clnt_unix.c: Likewise.
22253 * sunrpc/des_crypt.c: Likewise.
22254 * sunrpc/des_soft.c: Likewise.
22255 * sunrpc/get_myaddr.c: Likewise.
22256 * sunrpc/key_call.c: Likewise.
22257 * sunrpc/key_prot.c: Likewise.
22258 * sunrpc/netname.c: Likewise.
22259 * sunrpc/pm_getmaps.c: Likewise.
22260 * sunrpc/pm_getport.c: Likewise.
22261 * sunrpc/pmap_clnt.c: Likewise.
22262 * sunrpc/pmap_prot.c: Likewise.
22263 * sunrpc/pmap_prot2.c: Likewise.
22264 * sunrpc/pmap_rmt.c: Likewise.
22265 * sunrpc/publickey.c: Likewise.
22266 * sunrpc/rpc_cmsg.c: Likewise.
22267 * sunrpc/rpc_common.c: Likewise.
22268 * sunrpc/rpc_dtable.c: Likewise.
22269 * sunrpc/rpc_prot.c: Likewise.
22270 * sunrpc/rpc_thread.c: Likewise.
22271 * sunrpc/rtime.c: Likewise.
22272 * sunrpc/svc.c: Likewise.
22273 * sunrpc/svc_auth.c: Likewise.
22274 * sunrpc/svc_authux.c: Likewise.
22275 * sunrpc/svc_raw.c: Likewise.
22276 * sunrpc/svc_run.c: Likewise.
22277 * sunrpc/svc_simple.c: Likewise.
22278 * sunrpc/svc_tcp.c: Likewise.
22279 * sunrpc/svc_udp.c: Likewise.
22280 * sunrpc/svc_unix.c: Likewise.
22281 * sunrpc/svcauth_des.c: Likewise.
22282 * sunrpc/xcrypt.c: Likewise.
22283 * sunrpc/xdr.c: Likewise.
22284 * sunrpc/xdr_array.c: Likewise.
22285 * sunrpc/xdr_float.c: Likewise.
22286 * sunrpc/xdr_intXX_t.c: Likewise.
22287 * sunrpc/xdr_mem.c: Likewise.
22288 * sunrpc/xdr_rec.c: Likewise.
22289 * sunrpc/xdr_ref.c: Likewise.
22290 * sunrpc/xdr_sizeof.c: Likewise.
22291 * sunrpc/xdr_stdio.c: Likewise.
22292
e6c61494
UD
222932011-04-10 Ulrich Drepper <drepper@gmail.com>
22294
22295 [BZ #12650]
22296 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22297 * sysdeps/ia64/dl-tls.h: Likewise.
22298 * sysdeps/powerpc/dl-tls.h: Likewise.
22299 * sysdeps/s390/dl-tls.h: Likewise.
22300 * sysdeps/sh/dl-tls.h: Likewise.
22301 * sysdeps/sparc/dl-tls.h: Likewise.
22302 * sysdeps/x86_64/dl-tls.h: Likewise.
22303 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22304
34fe483e
AS
223052011-03-14 Andreas Schwab <schwab@redhat.com>
22306
22307 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22308 rpath element also skip the following colon.
22309 (expand_dynamic_string_token): Add is_path parameter and pass
22310 down to DL_DST_REQUIRED and _dl_dst_substitute.
22311 (decompose_rpath): Call expand_dynamic_string_token with
22312 non-zero is_path. Ignore empty rpaths.
22313 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22314 with zero is_path.
22315
f12a32e6
AS
223162011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22317
22318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22319 Make cancelable.
22320
38a7d692
UD
223212011-04-09 Ulrich Drepper <drepper@gmail.com>
22322
22323 [BZ #12655]
22324 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22325 Patch by Filipe David Manana <fdmanana@apache.org>.
22326
e451d22b
AS
223272011-04-07 Andreas Schwab <schwab@redhat.com>
22328
22329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22330 Maintain aligned stack.
22331 (CHECK_RSP): Remove unused macro.
22332
dedc7c7b
UD
223332011-04-03 Ulrich Drepper <drepper@gmail.com>
22334
22335 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22336 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22337
94521213
UD
223382011-04-02 Ulrich Drepper <drepper@gmail.com>
22339
22340 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22341
8cb700c0 22342 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22343
0354e355
L
223442011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22345
22346 [BZ #12518]
22347 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22348 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22349 * sysdeps/x86_64/memmove.c: New file.
22350 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22351 (memcpy): Renamed to ...
22352 (__new_memcpy): This.
22353 (memcpy): Provide GLIBC_2_14 memcpy.
22354 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22355 (memcpy): Provide GLIBC_2_2_5 memcpy.
22356
8593482f
UD
223572011-04-01 Ulrich Drepper <drepper@gmail.com>
22358
22359 [BZ #12631]
22360 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22361
81a5726b
AS
223622011-03-30 Andreas Schwab <schwab@redhat.com>
22363
22364 * misc/syncfs.c: New file.
22365 * misc/Makefile (routines): Add syncfs.
22366 * posix/unistd.h: Declare syncfs.
22367 * sysdeps/unix/syscalls.list: Add syncfs.
22368
00e5419f
AS
223692011-04-01 Andreas Schwab <schwab@redhat.com>
22370
22371 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22372 open_by_handle_at.
22373 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22374 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22375 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22376 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22378 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22379 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22380
748876bf
UD
223812011-04-01 Ulrich Drepper <drepper@gmail.com>
22382
658e451d
UD
22383 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22384 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22385 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22387 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22388 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22389 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22390
748876bf
UD
22391 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22392 sync_file_range.c with -fexceptions.
22393 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22394 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22395 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22396 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22397 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22398 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22400 sync_file_range as cancellation point
22401 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22402 now a wrapper around __call_sync_file_range with cancellation handling.
22403 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22404 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22405 function name to __call_sync_file_range.
22406 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22407 Add call_sync_file_range.
748876bf 22408
6e63d5e1
AS
224092011-04-01 Andreas Schwab <schwab@redhat.com>
22410
22411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22412 bits/timex.h.
6e63d5e1 22413
46998f74
UD
224142011-04-01 Ulrich Drepper <drepper@gmail.com>
22415
4c1423ed
UD
22416 * iconv/iconv.h: Fix typo in comment.
22417 * io/fcntl.h: Likewise.
22418 * libio/stdio.h: Likewise.
22419 * posix/spawn.h: Likewise.
22420 * posix/unistd.h: Likewise.
22421 * stdlib/stdlib.h: Likewise.
22422 * time/time.h: Likewise.
22423 * wcsmbs/wchar.h: Likewise.
22424
158648c0
UD
22425 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22426 open_by_handle): Add.
22427 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22428 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22429 Augment a few comments.
22430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22435 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22436 open_by_handle.
22437
46998f74
UD
22438 * io/fcntl.h (AT_EMPTY_PATH): Define.
22439
83fe108b
UD
224402011-03-30 Ulrich Drepper <drepper@gmail.com>
22441
22442 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22443 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22444 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22445 to...
22446 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22447 * Versions.def: Add GLIBC_2.14.
22448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22449 Export.
83fe108b 22450
bb242059
UD
224512011-03-22 Ulrich Drepper <drepper@gmail.com>
22452
22453 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22454 round counter.
22455 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22456
c97a1282
L
224572011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22458
22459 [BZ #12597]
22460 * string/test-strncmp.c (do_page_test): New function.
22461 (check2): Likewise.
22462 (test_main): Call check2.
22463 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22464
2a115601
UD
224652011-03-20 Ulrich Drepper <drepper@gmail.com>
22466
22467 [BZ #12587]
22468 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22469 Handle cache information in CPU leaf 4.
22470 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22471
8126d904
UD
224722011-03-18 Ulrich Drepper <drepper@gmail.com>
22473
042c49c6 22474 [BZ #12583]
8126d904
UD
22475 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22476 character representation.
22477 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22478
ccfe366e
RA
224792011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22480
22481 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22482 END(__isnan) to END(__isnanf) to match function entry point/label
22483 EALIGN(__isnanf,...).
22484
c6e13027
JJ
224852011-03-10 Jakub Jelinek <jakub@redhat.com>
22486
22487 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22488
33f85a3f
UD
224892011-03-10 Ulrich Drepper <drepper@gmail.com>
22490
028478fa
UD
22491 [BZ #12510]
22492 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22493 copy from the symbol referenced in the relocation to initialize the
22494 used variable.
22495 Patch by Piotr Bury <pbury@goahead.com>.
22496 * elf/Makefile: Add rules to build and tst-unique3.
22497 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22498 * elf/tst-unique3.cc: New file.
22499 * elf/tst-unique3.h: New file.
22500 * elf/tst-unique3lib.cc: New file.
22501 * elf/tst-unique3lib2.cc: New file.
22502
33f85a3f
UD
22503 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22504
03592fc7
MF
225052011-03-10 Mike Frysinger <vapier@gentoo.org>
22506
22507 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22508 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22509 to _start.
03592fc7 22510
6a5ee102
UD
225112011-03-06 Ulrich Drepper <drepper@gmail.com>
22512
22513 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22514 to-be-loaded object along a path to loader is ld.so.
22515
7e4ba49c
HJ
225162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22517 Ulrich Drepper <drepper@gmail.com>
22518
22519 * sysdeps/x86_64/memset.S: After aligning destination, code
22520 branches to different locations depending on the value of
22521 misalignment, when multiarch is enabled. Fix this.
22522
225232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22524
22525 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22526 Set _x86_64_preferred_memory_instruction for AMD processsors.
22527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22528 Set bit_Prefer_SSE_for_memop for AMD processors.
22529
13a804de
UD
225302011-03-04 Ulrich Drepper <drepper@gmail.com>
22531
22532 * libio/fmemopen.c (fmemopen): Optimize a bit.
22533
9d25c392
AS
225342011-03-03 Andreas Schwab <schwab@redhat.com>
22535
22536 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22537
a5543c6a
RM
225382011-03-03 Roland McGrath <roland@redhat.com>
22539
22540 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22541
012d35f7
DM
225422011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22543
7e4ba49c 22544 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22545 __bzero_ultra1 instead of __memset_ultra1.
22546
4bff6e01
AS
225472011-02-23 Andreas Schwab <schwab@redhat.com>
22548 Ulrich Drepper <drepper@gmail.com>
22549
22550 [BZ #12509]
22551 * include/link.h (struct link_map): Add l_orig_initfini.
22552 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22553 returning unsuccessfully.
22554 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22555 close of a file loaded at startup, restore the original l_initfini
22556 list.
22557 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22558 list, store the pointer.
22559 * elf/Makefile ($(objpfx)noload-mem): New rule.
22560 (noload-ENV): Define.
22561 (tests): Add $(objpfx)noload-mem.
22562 * elf/noload.c: Include <memcheck.h>.
22563 (main): Call mtrace. Close all opened handles.
22564
f2092faf
AS
225652011-02-17 Andreas Schwab <schwab@redhat.com>
22566
22567 [BZ #12454]
22568 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22569 dependencies are missing.
22570
6c8a2e88
ST
225712011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22572
f2092faf 22573 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22574 Hurd needs munmap.
22575 * sysdeps/mach/hurd/ifreq.h: New file.
22576
84a42118
PB
225772011-01-27 Petr Baudis <pasky@suse.cz>
22578 Ulrich Drepper <drepper@gmail.com>
22579
071f805e 22580 [BZ 12445]#
84a42118
PB
22581 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22582 to extend_alloca().
22583 * stdio-common/bug23.c: New file.
22584 * stdio-common/Makefile (tests): Add bug23.
22585
e23fe25b
AS
225862010-09-28 Andreas Schwab <schwab@redhat.com>
22587 Ulrich Drepper <drepper@gmail.com>
22588
22589 [BZ #12489]
22590 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22591 before performing relro protection. At old place add assertion
22592 to make sure nothing changed.
22593
d3f02e10
NS
225942011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22595 Glauber de Oliveira Costa <glommer@gmail.com>
22596
22597 * elf/elf.h: Add new ARM TLS relocs.
22598
d55fd7a5
RA
225992011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22600
22601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22602 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22603 cast from r3.
22604 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22605 'tests' variable.
22606 * sysdeps/wordsize-64/tst-writev.c: New file.
22607
2206397e
RA
226082011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22609
22610 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22611 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22612 insns in _dl_start to prevent a TOC reference before relocs are
22613 resolved.
22614
e9433893
UD
226152011-02-15 Ulrich Drepper <drepper@gmail.com>
22616
22617 [BZ #12469]
22618 * Makeconfig: Remove RANLIB definition.
22619 * Makerules: Don't use RANLIB.
22620 * aclocal.m4: Remove ranlib test.
22621 * configure.in: No need to check for ranlib.
22622 * elf/rtld-Rules: Don't use RANLIB.
22623
f75286c6
ST
226242011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22625
8e31c82d
ST
22626 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22627 protection macro.
22628 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22629 inclusion protection macro.
22630
f75286c6
ST
22631 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22632 SIGRTMIN and SIGRTMAX and print information in that case only when
22633 SIGRTMIN is defined.
22634
c1d0e639
JJ
226352011-02-11 Jakub Jelinek <jakub@redhat.com>
22636
22637 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22638 arginfo fn returning -1.
22639
22640 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22641 and thousands string is zero terminated.
22642
edf9294e
AS
226432011-02-03 Andreas Schwab <schwab@redhat.com>
22644
22645 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22646 sysdeps/unix/sysv/linux/bits/socket.h.
22647
2b7e92df
ST
226482011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22649
edf9294e
AS
22650 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22651 (__CPU_COUNT): Remove old macros.
22652 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22653 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22654 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22655 (__sched_cpualloc, __sched_cpufree): Add declarations.
22656
a4c7ea7b
UD
226572011-02-05 Ulrich Drepper <drepper@gmail.com>
22658
22659 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22660 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22661 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22662 (readdhstai): Return value of addhstaiX call.
22663 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22664 (addgrbyX): Return value returned by cache_addgr.
22665 (readdgrbyname): Return value returned by addgrbyX.
22666 (readdgrbygid): Likewise.
22667 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22668 (addpwbyX): Return value returned by cache_addpw.
22669 (readdpwbyname): Return value returned by addhstbyX.
22670 (readdpwbyuid): Likewise.
22671 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22672 (addservbyX): Return value returned by cache_addserv.
22673 (readdservbyname): Return value returned by addservbyX:
22674 (readdservbyport): Likewise.
22675 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22676 (addhstbyX): Return value returned by cache_addhst.
22677 (readdhstbyname): Return value returned by addhstbyX.
22678 (readdhstbyaddr): Likewise.
22679 (readdhstbynamev6): Likewise.
22680 (readdhstbyaddrv6): Likewise.
22681 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22682 (readdinitgroups): Return value returned by addinitgroupsX.
22683 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22684 (prune_cache): Keep track of timeout value of re-added entries.
22685 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22686 * nscd/nscd.h: Adjust prototypes of readd* functions.
22687
a0bf67cc
RM
226882011-02-04 Roland McGrath <roland@redhat.com>
22689
22690 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22691 (nis_stats): Likewise.
22692 * nis/nis_modify.c (nis_modify): Likewise.
22693 * nis/nis_remove.c (nis_remove): Likewise.
22694 * nis/nis_add.c (nis_add): Likewise.
22695
22696 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22697
22698 * posix/fnmatch_loop.c: Add some consts.
22699
22700 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22701
435b95eb
L
227022011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22703
22704 [BZ #12460]
22705 * config.make.in (config-cflags-novzeroupper): Define.
22706 * configure.in: Substitute libc_cv_cc_novzeroupper.
22707 * elf/Makefile (AVX-CFLAGS): Define.
22708 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22709 (CFLAGS-tst-auditmod4a.c): Likewise.
22710 (CFLAGS-tst-auditmod4b.c): Likewise.
22711 (CFLAGS-tst-auditmod6b.c): Likewise.
22712 (CFLAGS-tst-auditmod6c.c): Likewise.
22713 (CFLAGS-tst-auditmod7b.c): Likewise.
22714 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22715
8517b15e
UD
227162011-02-02 Ulrich Drepper <drepper@gmail.com>
22717
22718 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22719 function to the callback.
22720 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22721
10a656fe
AS
227222011-02-02 Andreas Schwab <schwab@redhat.com>
22723
22724 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22725 of errno.
22726
968dad0a
UD
227272011-01-19 Ulrich Drepper <drepper@gmail.com>
22728
9f94d2ea 22729 [BZ #11724]
968dad0a
UD
22730 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22731 of constructors.
22732 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22733 of destructors.
22734 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22735
22736 [BZ #11724]
22737 * elf/Makefile: Add rules to build and run new test.
22738 * elf/tst-initorder.c: New file.
22739 * elf/tst-initorder.exp: New file.
22740 * elf/tst-initordera1.c: New file.
22741 * elf/tst-initordera2.c: New file.
22742 * elf/tst-initordera3.c: New file.
22743 * elf/tst-initordera4.c: New file.
22744 * elf/tst-initorderb1.c: New file.
22745 * elf/tst-initorderb2.c: New file.
22746 * elf/tst-order-a1.c: New file.
22747 * elf/tst-order-a2.c: New file.
22748 * elf/tst-order-a3.c: New file.
22749 * elf/tst-order-a4.c: New file.
22750 * elf/tst-order-b1.c: New file.
22751 * elf/tst-order-b2.c: New file.
22752 * elf/tst-order-main.c: New file.
22753 New test case by George Gensure <werkt0@gmail.com>.
22754
86e92359
UD
227552010-10-01 Andreas Schwab <schwab@redhat.com>
22756
22757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22758 decoding ACE if AI_CANONIDN.
22759
5d5732b0
UD
227602011-01-18 Ulrich Drepper <drepper@gmail.com>
22761
22762 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22763
a77e8cbc
UD
227642011-01-17 Ulrich Drepper <drepper@gmail.com>
22765
6392473f
UD
22766 * version.h (RELEASE): Bump for 2.13 release.
22767 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22768
620a0529
UD
22769 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22770
18ba70a5
UD
22771 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22772 MADV_NOHUGEPAGE.
32465c3e
UD
22773 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22774 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22775 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22776 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22778 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22779
c0dafcf1
UD
22780 * posix/getconf.c: Update copyright year.
22781 * catgets/gencat.c: Likewise.
22782 * csu/version.c: Likewise.
22783 * debug/catchsegv.sh: Likewise.
22784 * debug/xtrace.sh: Likewise.
22785 * elf/ldconfig.c: Likewise.
22786 * elf/ldd.bash.in: Likewise.
22787 * elf/sprof.c (print_version): Likewise.
22788 * iconv/iconv_prog.c: Likewise.
22789 * iconv/iconvconfig.c: Likewise.
22790 * locale/programs/locale.c: Likewise.
22791 * locale/programs/localedef.c: Likewise.
22792 * malloc/memusage.sh: Likewise.
22793 * malloc/mtrace.pl: Likewise.
22794 * nscd/nscd.c (print_version): Likewise.
22795 * nss/getent.c: Likewise.
22796
a77e8cbc
UD
22797 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22798 PF_CAIF, and PF_ALG.
22799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22800
77e8bddf
AS
228012011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22802
1f20b93a
AS
22803 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22804 (modules-names): Use them.
22805 (ifunc-test-modules, ifunc-pie-tests): Define.
22806 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22807 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22808 (test-extras): Likewise.
22809 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22810 $(compile-command.c).
22811 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22812 (all-built-dso): Define.
22813 (check-textrel.out, check-execstack.out): Depend on it.
22814
77e8bddf
AS
22815 * configure.in: Don't override --enable-multi-arch.
22816
bc425b33
UD
228172011-01-15 Ulrich Drepper <drepper@gmail.com>
22818
22819 [BZ #6812]
22820 * nscd/hstcache.c (tryagain): Define.
22821 (cache_addhst): Return tryagain not notfound for temporary errors.
22822 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22823 failed.
22824
794c3ad3
UD
228252011-01-14 Ulrich Drepper <drepper@gmail.com>
22826
70181fdd
UD
22827 [BZ #10563]
22828 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22829 to make the syscall.
22830 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22831
794c3ad3
UD
22832 [BZ #12378]
22833 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22834 and fall back to matching as normal character if the string ends before
22835 the matching ']' is found. This is what POSIX requires.
22836 * posix/testfnm.c: Adjust test result.
22837 * posix/globtest.sh: Adjust test result. Add new test.
22838 * posix/tst-fnmatch.input: Likewise.
22839 * posix/tst-fnmatch2.c: Add new test.
22840
68dc9497
AS
228412010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22842
22843 * elf/Makefile (check-execstack): Revert last change. Depend on
22844 check-execstack.h.
22845 (check-execstack.h): New target.
22846 (generated): Add check-execstack.h.
22847 * elf/check-execstack.c: Include "check-execstack.h".
22848 (main): Revert last change.
22849 (handle_file): Return zero if GNU_STACK is absent and
22850 DEFAULT_STACK_PERMS doesn't include PF_X.
22851
451f001b
UD
228522011-01-13 Ulrich Drepper <drepper@gmail.com>
22853
cfa28e56
UD
22854 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22855 in child fails because the descriptor is already closed.
8cf8ce17
UD
22856 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22857 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22858 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22859
1086d70d
UD
22860 [BZ #12397]
22861 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22862 syscall.
22863
451f001b
UD
22864 [BZ #10484]
22865 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22866 temporary buffer used to handle multi lookups locally.
a85b5cb4 22867 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22868
08769175
UD
228692011-01-12 Ulrich Drepper <drepper@gmail.com>
22870
22871 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22872 loader is ld.so.
22873
5e49c52e
UD
228742011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22875
22876 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22877 alignment for SSE2.
22878
60522a5f
UD
228792011-01-12 Ulrich Drepper <drepper@gmail.com>
22880
22881 [BZ #12394]
22882 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22883 characters. When rounding increased number of integer digits recompute
22884 number of groups.
22885 * stdio-common/tst-grouping.c: New file.
22886 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22887
f257bbd7
UD
228882011-01-09 Ulrich Drepper <drepper@gmail.com>
22889
22890 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22891 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22892
22893 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22894 void.
22895 * bits/select.h: Likewise.
22896
fa9c15cb
UD
228972011-01-08 Ulrich Drepper <drepper@gmail.com>
22898
22899 * po/ja.po: Update from translation team.
22900
16c2895f
DM
229012011-01-04 David S. Miller <davem@sunset.davemloft.net>
22902
22903 [BZ #11155]
22904 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22905 implementation just like for lxstat, fxstatat, et al.
22906
2543fef2
JM
229072010-12-27 Jim Meyering <meyering@redhat.com>
22908
22909 [BZ #12348]
22910 * posix/regexec.c (build_trtable): Return failure indication upon
22911 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22912
98727dbe
UD
229132010-12-25 Ulrich Drepper <drepper@gmail.com>
22914
5bd6dc5c
UD
22915 [BZ #12201]
22916 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22917 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22918 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22919 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22920
97983464
UD
22921 [BZ #12207]
22922 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22923
98727dbe
UD
22924 [BZ #12204]
22925 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22926 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22927
4a531bb0
L
229282010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22929
22930 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22931 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22932 script has SORT_BY_INIT_PRIORITY.
22933 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22934 NO_CTORS_DTORS_SECTIONS is defined.
22935 * elf/soinit.c: Likewise.
22936 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22937 NO_CTORS_DTORS_SECTIONS is defined.
22938 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22939 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22940 * sysdeps/sh/init-first.c: Likewise.
22941 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22942
07eb4b71
UD
229432010-12-24 Ulrich Drepper <drepper@gmail.com>
22944
22945 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22946 always use the slow path.
22947
30950a5f
RA
229482010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22949
22950 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22951 similar rule which adds the sysdep directories to the header search in
22952 order to pick up the correct platform stackinfo.h.
22953 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22954 perform test if it is, otherwise return successfully without testing.
22955 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22956 DEFAULT_STACK_PERMS define in stackinfo.h.
22957 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22958 defined in stackinfo.h.
22959 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22960 DEFAULT_STACK_PERMS defined in stackinfo.h.
22961 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22962 * sysdeps/ia64/stackinfo.h: Likewise.
22963 * sysdeps/s390/stackinfo.h: Likewise.
22964 * sysdeps/sh/stackinfo.h: Likewise.
22965 * sysdeps/sparc/stackinfo.h: Likewise.
22966 * sysdeps/x86_64/stackinfo.h: Likewise.
22967 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22968 PF_X for powerpc64. Retain PF_X for powerpc32.
22969
db753e2c
UD
229702010-12-19 Ulrich Drepper <drepper@gmail.com>
22971
14b697f7
UD
22972 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22973 accurately.
db753e2c
UD
22974 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22975 GETDENTS_64BIT_ALIGNED.
22976
28300719
UD
229772010-12-14 Ulrich Drepper <dreper@gmail.com>
22978
14b697f7 22979 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22980
4f197237
AS
229812010-12-10 Andreas Schwab <schwab@redhat.com>
22982
dbb0472f
AS
22983 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22984 _GNU_SOURCE.
22985
4f197237
AS
22986 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22987 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22988 Remove __restrict.
22989 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22990 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22991
fb88ac72
UD
229922010-12-09 Ulrich Drepper <drepper@gmail.com>
22993
22994 [BZ #11655]
22995 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22996 are initialized.
22997
42acbb92
JJ
229982010-12-09 Jakub Jelinek <jakub@redhat.com>
22999
23000 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23001
c038d98d
UD
230022010-12-03 Ulrich Drepper <drepper@gmail.com>
23003
23004 * po/it.po: Update from translation team.
23005
3a4a2499
L
230062010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23007
23008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23009 unused codes.
23010
1e24cf6e
UD
230112010-11-30 Ulrich Drepper <drepper@gmail.com>
23012
23013 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23014
a7690819
AS
230152010-11-24 Andreas Schwab <schwab@redhat.com>
23016
23017 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23018 specially.
23019 (gaih_getanswer_slice): Likewise.
23020
3bf8d1b1
JJ
230212010-10-20 Jakub Jelinek <jakub@redhat.com>
23022
23023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23024
6db52fbb
PB
230252010-05-31 Petr Baudis <pasky@suse.cz>
23026
23027 [BZ #11149]
23028 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23029 silently even in the chroot mode.
23030
eaca7569
UD
230312010-11-22 Ulrich Drepper <drepper@gmail.com>
23032
23033 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23034 last patch a bit. Pretty printing
23035
3056dcdb
UD
230362010-05-31 Petr Baudis <pasky@suse.cz>
23037
23038 [BZ #10085]
23039 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23040 initialization of skip_initgroups_dyn.
23041
cf7c9078
UD
230422010-11-19 Ulrich Drepper <drepper@gmail.com>
23043
23044 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23045 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23046
a1fb5e3e
UD
230472010-11-16 Ulrich Drepper <drepper@gmail.com>
23048
23049 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23050
3540d66b
AS
230512010-11-11 Andreas Schwab <schwab@redhat.com>
23052
23053 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23054 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23055 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23056 ($(objpfx)tst-fnmatch-mem): New rule.
23057 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23058 * posix/tst-fnmatch.c (main): Call mtrace.
23059
13b69574
L
230602010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23061
23062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23063 Support Intel processor model 6 and model 0x2c.
23064
da93d214
LM
230652010-11-10 Luis Machado <luisgpm@br.ibm.com>
23066
23067 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23068 signed comparison.
23069
8ca52c6e
L
230702010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23071
23072 [BZ #12205]
23073 * string/test-strncasecmp.c (check_result): New function.
23074 (do_one_test): Use it.
23075 (check1): New function.
23076 (test_main): Use it.
23077 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23078 Support strcasecmp and strncasecmp.
23079
69da074d
UD
230802010-11-08 Ulrich Drepper <drepper@gmail.com>
23081
23082 [BZ #12194]
23083 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23084 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23085
ff02d528
L
230862010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23087
23088 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23089 IFUNC support.
23090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23091 memset-x86-64.
23092 * sysdeps/x86_64/multiarch/bzero.S: New file.
23093 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23094 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23095 * sysdeps/x86_64/multiarch/memset.S: New file.
23096 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23098 Set bit_Prefer_SSE_for_memop for Intel processors.
23099 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23100 Define.
23101 (index_Prefer_SSE_for_memop): Define.
23102 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23103
344d0b54
LM
231042010-11-04 Luis Machado <luisgpm@br.ibm.com>
23105
23106 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23107 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23108
c0dde15b
UD
231092010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23110
23111 [BZ #12191]
23112 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23113 (__x86_64_raw_data_cache_size_half): Likewise.
23114 (__x86_64_raw_shared_cache_size): Likewise.
23115 (__x86_64_raw_shared_cache_size_half): Likewise.
23116
23117 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23118 (__x86_64_raw_data_cache_size_half): Likewise.
23119 (__x86_64_raw_shared_cache_size): Likewise.
23120 (__x86_64_raw_shared_cache_size_half): Likewise.
23121 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23122 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23123 and __x86_64_raw_shared_cache_size_half. Round
23124 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23125 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23126 to multiple of 256 bytes.
23127
0e516e0e
MS
231282010-11-03 Ulrich Drepper <drepper@gmail.com>
23129
23130 [BZ #12167]
23131 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23132 of inacessible symlinks. Verify result of symlink before returning it.
23133 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23134 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23135
0e012e87
ER
231362010-10-28 Erich Ritz <erichritz@gmail.com>
23137
23138 * math/math.h (isinf): Fix typo in comment.
23139
de0ff7bc
UD
231402010-11-01 Ulrich Drepper <drepper@gmail.com>
23141
23142 * po/da.po: Update from translation team.
23143
fa41c84d
UD
231442010-10-26 Ulrich Drepper <drepper@gmail.com>
23145
23146 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23147 is added to the list.
23148
f0967738
AK
231492010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23150 Ulrich Drepper <drepper@gmail.com>
23151
23152 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23153 the global list here. Move code to...
23154 (_dl_add_to_namespace_list): ...here. New function.
23155 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23156 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23157 * elf/dl-load.c (lose): Don't remove the element from the list.
23158 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23159 (_dl_map_object): Likewise.
23160
231612010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23162
23163 [BZ #12159]
23164 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23165 into all bytes of SSE register.
23166 Patch by Richard Li <richardpku@gmail.com>.
23167
f0967738 231682010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23169
23170 [BZ #12140]
23171 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23172 perturbing.
23173
d0b9e94f
MB
231742010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23175
23176 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23177 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23178 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23179 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23181 submachine.
23182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23183
8e9f92e9
AS
231842010-10-22 Andreas Schwab <schwab@redhat.com>
23185
23186 * include/dlfcn.h (__RTLD_SECURE): Define.
23187 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23188 mode & __RTLD_SECURE instead.
23189 (open_path): Rename preloaded parameter to secure.
23190 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23191 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23192 * elf/dl-deps.c (openaux): Likewise.
23193 * elf/rtld.c (struct map_args): Remove is_preloaded.
23194 (map_doit): Don't use it.
23195 (dl_main): Likewise.
23196 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23197 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23198
bc96fbda
AS
231992010-09-09 Andreas Schwab <schwab@redhat.com>
23200
23201 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23202 (sysd-rules-targets): Remove duplicates.
23203 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23204 rtld-%.$o dependency.
23205
22cd1c9b
AS
232062010-10-18 Andreas Schwab <schwab@redhat.com>
23207
23208 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23209 _dl_map_object do it.
23210
18edac48
UD
232112010-10-19 Ulrich Drepper <drepper@gmail.com>
23212
23213 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23214 fast fma builtins, define the macros in the C99 standard.
23215 (FP_FAST_FMAF): Likewise.
23216 (FP_FAST_FMAL): Likewise.
23217 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23218
23219 * bits/mathdef.h: Update copyright year.
23220 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23221
d2050124
MM
232222010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23223
23224 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23225 builtins, define the macros in the C99 standard.
23226 (FP_FAST_FMAF): Likewise.
23227 (FP_FAST_FMAL): Likewise.
23228 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23229 multiply/add.
23230 (FP_FAST_FMAF): Likewise.
23231
475facd1
JJ
232322010-10-15 Jakub Jelinek <jakub@redhat.com>
23233
23234 [BZ #3268]
23235 * math/libm-test.inc (fma_test): Some new testcases.
23236 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23237 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23238 y and infinite z. Do multiplication by C already in long double.
23239 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23241 y and infinite z. Do bitwise or of inexact bit into u.d.
23242 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23243 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23244 * sysdeps/i386/fpu/s_fma.S: Removed.
23245 * sysdeps/i386/fpu/s_fmal.S: Removed.
23246
7c08a05c
JJ
232472010-10-16 Jakub Jelinek <jakub@redhat.com>
23248
23249 [BZ #3268]
23250 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23252 computation is not scheduled after fetestexcept. Fix value
23253 of minimum denormal long double.
23254
f3f7372d
JJ
232552010-10-14 Jakub Jelinek <jakub@redhat.com>
23256
23257 [BZ #3268]
23258 * math/libm-test.inc (fma_test): Add some more tests.
23259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23260 correctly.
23261
14d43591
AS
232622010-10-15 Andreas Schwab <schwab@redhat.com>
23263
23264 * scripts/data/localplt-s390-linux-gnu.data: New file.
23265 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23266
5e908464
JJ
232672010-10-13 Jakub Jelinek <jakub@redhat.com>
23268
23269 [BZ #3268]
23270 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23271 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23272 instead of dbl-64.
23273 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23274 inlines.
23275 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23277 if one of x and y is very large and the other is subnormal.
23278 * sysdeps/s390/fpu/s_fmaf.c: New file.
23279 * sysdeps/s390/fpu/s_fma.c: New file.
23280 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23281 * sysdeps/powerpc/fpu/s_fma.S: New file.
23282 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23283 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23284 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23285
232862010-10-12 Jakub Jelinek <jakub@redhat.com>
23287
23288 [BZ #3268]
23289 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23290 fma tests.
23291 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23292 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23293 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23294 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23295 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23296 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23297 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23298
b833d51f
UD
232992010-10-12 Ulrich Drepper <drepper@redhat.com>
23300
23301 [BZ #12078]
23302 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23303 * posix/bug-regex31.input: Add test case.
23304
1751705d
UD
233052010-10-11 Ulrich Drepper <drepper@gmail.com>
23306
e9b9cbf5
UD
23307 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23308 * posix/bug-regex31.input: New file.
23309
23310 [BZ #12078]
23311 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23312 (parse_sub_exp): Fix last change, use postorder.
23313
ef06edbe
UD
23314 * posix/bug-regex31.c: New file.
23315 * posix/Makefile: Add rules to build and run bug-regex31.
23316
a129c80d
UD
23317 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23318
23319 [BZ #12078]
23320 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23321
b76b818e
UD
23322 [BZ #12108]
23323 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23324 to have entries in sys_siglist.
23325
1751705d
UD
23326 [BZ #12093]
23327 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23328 be NULL.
23329
9ff8d36f
JJ
233302010-10-07 Jakub Jelinek <jakub@redhat.com>
23331
23332 [BZ #3268]
23333 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23334 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23335 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23336 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23337 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23338 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23339 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23340 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23341 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23342 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23343 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23344 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23345 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23346 * math/ftestexcept.c (fetestexcept): Likewise.
23347 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23348 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23349 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23350 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23351 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23352 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23353 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23354
af325969
UD
233552010-10-11 Ulrich Drepper <drepper@gmail.com>
23356
c579b202 23357 [BZ #12107]
af325969
UD
23358 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23359 newline.
23360
67a67b95
UD
233612010-10-06 Ulrich Drepper <drepper@gmail.com>
23362
23363 * string/bug-strstr1.c: New file.
23364 * string/Makefile: Add rules to build and run bug-strstr1.
23365
5fb308bc
EB
233662010-10-05 Eric Blake <eblake@redhat.com>
23367
23368 [BZ #12092]
23369 * string/str-two-way.h (two_way_long_needle): Always clear memory
23370 when skipping input due to the shift table.
23371
45db99c7
UD
233722010-10-03 Ulrich Drepper <drepper@gmail.com>
23373
3b111893
UD
23374 [BZ #12005]
23375 * malloc/mcheck.c: Handle large requests.
23376
45db99c7
UD
23377 [BZ #12077]
23378 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23379 for strncmp and strncasecmp.
23380 * string/stratcliff.c: Add tests for strcmp and strncmp.
23381 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23382
cf7a1eb8
NI
233832010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23384
23385 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23386 __set_fpscr.
23387
6484ba5e
AJ
233882010-09-30 Andreas Jaeger <aj@suse.de>
23389
23390 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23391 (CGROUP_SUPER_MAGIC): Define.
23392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23393 Handle btrfs and cgroup file systems.
23394 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23395 Likewise.
23396
91c42559
LM
233972010-09-27 Luis Machado <luisgpm@br.ibm.com>
23398
23399 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23400 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23401
87a97932
AK
234022010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23403
23404 [BZ #12067]
23405 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23406 trying to locate the ELF header.
23407
c21cc9bc
AS
234082010-09-27 Andreas Schwab <schwab@redhat.com>
23409
23410 [BZ #11611]
23411 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23412 Mask out sign-bit copies when constructing f_fsid.
23413
315970f6
PB
234142010-09-24 Petr Baudis <pasky@suse.cz>
23415
23416 * debug/stack_chk_fail_local.c: Add missing licence exception.
23417 * debug/warning-nop.c: Likewise.
23418
1ac7a2c7
JM
234192010-09-15 Joseph Myers <joseph@codesourcery.com>
23420
23421 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23422 implementing getdents64 using getdents syscall, set d_type if
23423 __ASSUME_GETDENTS32_D_TYPE.
23424
56801c50
AS
234252010-09-16 Andreas Schwab <schwab@redhat.com>
23426
23427 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23428 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23429
dda51327
UD
234302010-09-21 Ulrich Drepper <drepper@redhat.com>
23431
23432 [BZ #12037]
23433 * posix/unistd.h: Undo change of feature selection for ftruncate from
23434 2010-01-11.
23435
8ffcee4a
UD
234362010-09-20 Ulrich Drepper <drepper@redhat.com>
23437
a545ecd9 23438 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23439 detection.
23440
e24f0a8b
AS
234412010-09-20 Andreas Schwab <schwab@redhat.com>
23442
23443 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23444 fanotify_mark.
23445 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23446
7291c56f
AS
234472010-09-14 Andreas Schwab <schwab@redhat.com>
23448
23449 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23450 variables after CHECK_SP call.
23451 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23452
bc5fb037
AS
234532010-09-13 Andreas Schwab <schwab@redhat.com>
23454 Ulrich Drepper <drepper@redhat.com>
23455
23456 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23457 re-relocationg ld.so.
23458 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23459 _dl_init_paths call.
23460 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23461 here anymore.
23462
e66e7419
UD
234632010-09-14 Ulrich Drepper <drepper@redhat.com>
23464
23465 * resolv/res_init.c (__res_vinit): Count the default server we added.
23466
c044aa75
CLT
234672010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23468 Ulrich Drepper <drepper@redhat.com>
23469
23470 [BZ #11968]
23471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23472 (____longjmp_chk): Use %ebx for saving value across system call.
23473 Add unwind info.
23474
32cf4069
AS
234752010-09-06 Andreas Schwab <schwab@redhat.com>
23476
23477 * manual/Makefile: Don't mix pattern rules with normal rules.
23478
817328ee
AS
234792010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23480
23481 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23482 operation.
23483 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23484 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23485 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23486 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23487 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23488 Likewise.
23489
29fddf61
UD
234902010-09-04 Ulrich Drepper <drepper@redhat.com>
23491
23492 [BZ #11979]
23493 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23494 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23495
0959ffc9
UD
234962010-09-02 Ulrich Drepper <drepper@redhat.com>
23497
23498 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23499 * sysdeps/x86_64/addmul_1.S: Likewise.
23500 * sysdeps/x86_64/lshift.S: Likewise.
23501 * sysdeps/x86_64/mul_1.S: Likewise.
23502 * sysdeps/x86_64/rshift.S: Likewise.
23503 * sysdeps/x86_64/sub_n.S: Likewise.
23504 * sysdeps/x86_64/submul_1.S: Likewise.
23505
ece29840
ST
235062010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23507
0959ffc9
UD
23508 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23509 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23510 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23511 * bits/sched.h [__need_schedparam]
ece29840 23512 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23513 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23514 (__defined_schedparam): Define to 1.
ece29840
ST
23515 (__sched_param): New structure, identical to sched_param.
23516 (__need_schedparam): Undefine.
23517
e53a31fe
MF
235182010-08-31 Mike Frysinger <vapier@gentoo.org>
23519
fdc0c10d
MF
23520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23521 (epoll_create1): Declare.
23522
e53a31fe
MF
23523 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23524
a726d796
AS
235252010-08-31 Andreas Schwab <schwab@redhat.com>
23526
23527 [BZ #7066]
23528 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23529 shifting retval into place.
23530
2f3e3dc7
UD
235312010-09-01 Ulrich Drepper <drepper@redhat.com>
23532
f2933da9
UD
23533 * nis/rpcsvc/nis.h: Update copyright notice.
23534 * nis/rpcsvc/nis.x: Likewise.
23535 * nis/rpcsvc/nis_callback.h: Likewise.
23536 * nis/rpcsvc/nis_callback.x: Likewise.
23537 * nis/rpcsvc/nis_object.x: Likewise.
23538 * nis/rpcsvc/nis_tags.h: Likewise.
23539 * nis/rpcsvc/yp.h: Likewise.
23540 * nis/rpcsvc/yp.x: Likewise.
23541 * nis/rpcsvc/ypupd.h: Likewise.
23542 * nis/yp_xdr.c: Likewise.
23543 * nis/ypupdate_xdr.c: Likewise.
23544
2f3e3dc7
UD
23545 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23546 mainly the body of pmap_getport. Add parameters to specify timeouts.
23547 (pmap_getport): Use __libc_rpc_getport.
23548 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23549 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23550 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23551
f3dcc2f9
AS
235522010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23553
23554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23555 fanotify_mark.
23556
6d34eb5b
RM
235572010-08-27 Roland McGrath <roland@redhat.com>
23558
23559 * sysdeps/i386/i686/multiarch/Makefile
23560 (CFLAGS-varshift.c): New variable.
23561
9ea3de11
UD
235622010-08-27 Ulrich Drepper <drepper@redhat.com>
23563
c96d23fc
UD
23564 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23565 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23566
9ea3de11
UD
23567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23568
23569 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23570
623aac7f
L
235712010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23572
23573 * sysdeps/x86_64/strlen.S: Unroll the loop.
23574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23575 strlen-sse2 strlen-sse2-bsf.
23576 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23577 __strlen_no_bsf if bit_Slow_BSF is set.
23578 (__strlen_sse42): Removed.
23579 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23580 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23581
8b2b7715
RM
235822010-08-25 Roland McGrath <roland@redhat.com>
23583
23584 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23585 * sysdeps/x86_64/multiarch/varshift.c: New file.
23586 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23587 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23588 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23589 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23590
e73015f2
L
235912010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23592
23593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23594 strlen-sse2 strlen-sse2-bsf.
23595 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23596 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23597 (__strlen_sse2): Removed.
23598 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23599 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23601 bit_Slow_BSF for Atom.
23602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23603 (index_Slow_BSF): Define.
23604 (HAS_SLOW_BSF): Define.
23605
df24a73e
UD
236062010-08-25 Ulrich Drepper <drepper@redhat.com>
23607
23608 [BZ #10851]
23609 * resolv/res_init.c (__res_vinit): When no server address at all
23610 is given default to loopback.
23611
f2ac4868
RM
236122010-08-24 Roland McGrath <roland@redhat.com>
23613
09055553
RM
23614 * configure.in: Remove config-name.h generation.
23615 * configure: Regenerated.
23616 * config-name.in: File removed.
23617 * scripts/config-uname.sh: New file.
23618 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23619 ($(objdir)config-name.h): New target.
23620
f2ac4868
RM
23621 * sunrpc/rpc_parse.h: Avoid nested comment.
23622
73f27d5e
RH
236232010-08-24 Richard Henderson <rth@redhat.com>
23624 Ulrich Drepper <drepper@redhat.com>
23625 H.J. Lu <hongjiu.lu@intel.com>
23626
23627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23629 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23630 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23631 _mm_alignr_epi8 with _mm_loadu_si128.
23632 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23633 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23634 (__m128i_shift_right): Removed.
23635 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23636 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23637 * sysdeps/x86_64/multiarch/varshift.h: New file.
23638 * sysdeps/x86_64/multiarch/varshift.S: New file.
23639
84b9230c
MF
236402010-08-21 Mike Frysinger <vapier@gentoo.org>
23641
23642 * configure.in: Move assembler checks to before sysdep dir checking.
23643
9bbd0ddc
PB
236442010-08-20 Petr Baudis <pasky@suse.cz>
23645
23646 * LICENSES: Sync the sunrpc license.
23647
9da4bb31
UD
236482010-08-19 Ulrich Drepper <drepper@redhat.com>
23649
a7ab6ec8
UD
23650 * sunrpc/auth_des.c: Update copyright notice once again.
23651 * sunrpc/auth_none.c: Likewise.
23652 * sunrpc/auth_unix.c: Likewise.
23653 * sunrpc/authdes_prot.c: Likewise.
23654 * sunrpc/authuxprot.c: Likewise.
23655 * sunrpc/bindrsvprt.c: Likewise.
23656 * sunrpc/clnt_gen.c: Likewise.
23657 * sunrpc/clnt_perr.c: Likewise.
23658 * sunrpc/clnt_raw.c: Likewise.
23659 * sunrpc/clnt_simp.c: Likewise.
23660 * sunrpc/clnt_tcp.c: Likewise.
23661 * sunrpc/clnt_udp.c: Likewise.
23662 * sunrpc/clnt_unix.c: Likewise.
23663 * sunrpc/des_crypt.c: Likewise.
23664 * sunrpc/des_soft.c: Likewise.
23665 * sunrpc/get_myaddr.c: Likewise.
23666 * sunrpc/getrpcport.c: Likewise.
23667 * sunrpc/key_call.c: Likewise.
23668 * sunrpc/key_prot.c: Likewise.
23669 * sunrpc/openchild.c: Likewise.
23670 * sunrpc/pm_getmaps.c: Likewise.
23671 * sunrpc/pm_getport.c: Likewise.
23672 * sunrpc/pmap_clnt.c: Likewise.
23673 * sunrpc/pmap_prot.c: Likewise.
23674 * sunrpc/pmap_prot2.c: Likewise.
23675 * sunrpc/pmap_rmt.c: Likewise.
23676 * sunrpc/rpc/auth.h: Likewise.
23677 * sunrpc/rpc/auth_unix.h: Likewise.
23678 * sunrpc/rpc/clnt.h: Likewise.
23679 * sunrpc/rpc/des_crypt.h: Likewise.
23680 * sunrpc/rpc/key_prot.h: Likewise.
23681 * sunrpc/rpc/netdb.h: Likewise.
23682 * sunrpc/rpc/pmap_clnt.h: Likewise.
23683 * sunrpc/rpc/pmap_prot.h: Likewise.
23684 * sunrpc/rpc/pmap_rmt.h: Likewise.
23685 * sunrpc/rpc/rpc.h: Likewise.
23686 * sunrpc/rpc/rpc_des.h: Likewise.
23687 * sunrpc/rpc/rpc_msg.h: Likewise.
23688 * sunrpc/rpc/svc.h: Likewise.
23689 * sunrpc/rpc/svc_auth.h: Likewise.
23690 * sunrpc/rpc/types.h: Likewise.
23691 * sunrpc/rpc/xdr.h: Likewise.
23692 * sunrpc/rpc_clntout.c: Likewise.
23693 * sunrpc/rpc_cmsg.c: Likewise.
23694 * sunrpc/rpc_common.c: Likewise.
23695 * sunrpc/rpc_cout.c: Likewise.
23696 * sunrpc/rpc_dtable.c: Likewise.
23697 * sunrpc/rpc_hout.c: Likewise.
23698 * sunrpc/rpc_main.c: Likewise.
23699 * sunrpc/rpc_parse.c: Likewise.
23700 * sunrpc/rpc_parse.h: Likewise.
23701 * sunrpc/rpc_prot.c: Likewise.
23702 * sunrpc/rpc_sample.c: Likewise.
23703 * sunrpc/rpc_scan.c: Likewise.
23704 * sunrpc/rpc_scan.h: Likewise.
23705 * sunrpc/rpc_svcout.c: Likewise.
23706 * sunrpc/rpc_tblout.c: Likewise.
23707 * sunrpc/rpc_util.c: Likewise.
23708 * sunrpc/rpc_util.h: Likewise.
23709 * sunrpc/rpcinfo.c: Likewise.
23710 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23711 * sunrpc/rpcsvc/key_prot.x: Likewise.
23712 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23713 * sunrpc/rpcsvc/mount.x: Likewise.
23714 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23715 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23716 * sunrpc/rpcsvc/rex.x: Likewise.
23717 * sunrpc/rpcsvc/rstat.x: Likewise.
23718 * sunrpc/rpcsvc/rusers.x: Likewise.
23719 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23720 * sunrpc/rpcsvc/spray.x: Likewise.
23721 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23722 * sunrpc/rtime.c: Likewise.
23723 * sunrpc/svc.c: Likewise.
23724 * sunrpc/svc_auth.c: Likewise.
23725 * sunrpc/svc_authux.c: Likewise.
23726 * sunrpc/svc_raw.c: Likewise.
23727 * sunrpc/svc_run.c: Likewise.
23728 * sunrpc/svc_simple.c: Likewise.
23729 * sunrpc/svc_tcp.c: Likewise.
23730 * sunrpc/svc_udp.c: Likewise.
23731 * sunrpc/svc_unix.c: Likewise.
23732 * sunrpc/svcauth_des.c: Likewise.
23733 * sunrpc/xcrypt.c: Likewise.
23734 * sunrpc/xdr.c: Likewise.
23735 * sunrpc/xdr_array.c: Likewise.
23736 * sunrpc/xdr_float.c: Likewise.
23737 * sunrpc/xdr_mem.c: Likewise.
23738 * sunrpc/xdr_rec.c: Likewise.
23739 * sunrpc/xdr_ref.c: Likewise.
23740 * sunrpc/xdr_sizeof.c: Likewise.
23741 * sunrpc/xdr_stdio.c: Likewise.
23742
9da4bb31
UD
23743 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23744 handling.
23745
bdaa77bc
AS
237462010-08-19 Andreas Schwab <schwab@redhat.com>
23747
23748 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23749
fe2f79db
LM
237502010-08-19 Luis Machado <luisgpm@br.ibm.com>
23751
23752 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23753 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23754 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23755 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23756 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23757 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23758 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23759 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23760 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23761 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23762 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23763 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23764 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23765 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23766
b9b42ee0
AB
237672010-07-26 Anton Blanchard <anton@samba.org>
23768
23769 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23770 * malloc/arena.c (heap_trim): Likewise.
23771
1c06ba31
UD
237722010-08-16 Ulrich Drepper <drepper@redhat.com>
23773
23774 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23775 here. Not...
23776 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23777 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23778
f8392f40
L
237792010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23780
23781 * sysdeps/i386/elf/Makefile: New file.
23782
3162f12e
AS
237832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23784
23785 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23786 from fanotify_init.
23787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23788 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23789
28c90b2c
UD
237902010-08-15 Ulrich Drepper <drepper@redhat.com>
23791
23792 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23793 of strncasecmp_l.
1feccb6c 23794 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23795
ca6bb004
UD
237962010-08-14 Ulrich Drepper <drepper@redhat.com>
23797
e9f82e0d
UD
23798 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23799 strncase_l-nonascii.
23800 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23801 Add strncase_l-ssse3.
23802 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23803 * sysdeps/x86_64/strcmp.S: Likewise.
23804 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23805 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23806 * sysdeps/x86_64/strncase.S: New file.
23807 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23808 * sysdeps/x86_64/strncase_l.S: New file.
23809 * string/Makefile (strop-tests): Add strncasecmp.
23810 * string/test-strncasecmp.c: New file.
23811
23812 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23813 warning.
23814
ca6bb004
UD
23815 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23816 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23817
052fa7b3
AS
238182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23819
23820 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23821
962dba78
UD
238222010-08-12 Ulrich Drepper <drepper@redhat.com>
23823
23824 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23825 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23826 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23827
bebff237
AM
238282010-05-01 Alan Modra <amodra@gmail.com>
23829
23830 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23831 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23832 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23833 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23834 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23835 tidying. Don't tail-call __sigjmp_save for static lib.
23836 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23837 save location.
23838 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23839 (CALL_MCOUNT): Add eh info, and nop after bl.
23840 (TAIL_CALL_SYSCALL_ERROR): New macro.
23841 (PSEUDO_RET): Use it.
23842 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23843 Correct save location of integer regs and cr.
23844 (_dl_profile_resolve): Correct cr save location. Delete nops
23845 after bl when SHARED. Reduce cfi size a little by better
23846 placement of cfi directives.
23847 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23848 make a stack frame. Instead use parm save area as a temp.
23849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23850 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23852 Don't make a stack frame for parent, use parm save area.
23853 Increase child stack frame to 112 bytes. Don't save unused reg,
23854 and adjust reg usage. Set up cfi on error recovery and
23855 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23857 (__makecontext): Add dummy nop after jump to exit.
23858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23859 Use correct parm save area and cr save, reduce stack frame.
23860 Correct cfi for possible PSEUDO_RET frame setup.
23861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23862 Branch to local label emitted by PSEUDO_RET rather than
23863 __syscall_error.
23864
02637374
AS
238652010-08-12 Andreas Schwab <schwab@redhat.com>
23866
23867 [BZ #11904]
23868 * locale/programs/locale.c (print_assignment): New function.
23869 (show_locale_vars): Use it.
23870
c3e2f19b
UD
238712010-08-11 Ulrich Drepper <drepper@redhat.com>
23872
3cdaa6ad
UD
23873 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23874 field.
23875 (struct statfs64): Likewise.
23876 (_STATFS_F_FLAGS): Define.
23877 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23878 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23879 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23880 (ST_VALID): Define locally.
23881 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23882 __statvfs_getflags, use the provided value.
23883 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23884 __ASSUME_STATFS_F_FLAGS.
23885
754f7da3
UD
23886 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23887
10b3bedc
UD
23888 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23889 Add sys/fanotify.h.
23890 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23891 fanotify_mask for GLIBC_2.13.
23892 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23893 fanotify_init and fanotify_mark.
23894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23895 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23896
c08fb0d7
UD
23897 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23898 Add prlimit.
23899 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23900 prlimit64 for GLIBC_2.13.
23901 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23902 prlimit64.
23903 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23904 syscall.
23905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23906 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23907 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23908 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23909 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23910 add prlimit alias.
23911 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23912
15bac72b
UD
23913 [BZ #11903]
23914 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23915 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23916
c3e2f19b
UD
23917 * nss/Makefile: Add rules to build and run tst-nss-test1.
23918 * shlib-versions: Add entry for libnss_test1.
23919 * nss/nss_test1.c: New file.
23920 * nss/tst-nss-test1.c: New file.
23921
23922 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23923 (__nss_configure_lookup): Set appropriate entry in
23924 __nss_configure_lookup to true.
23925 * nss/nsswitch.h: Define enum with indeces of databases in
23926 databases and __nss_database_custom arrays. Declare
23927 __nss_database_custom.
23928 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23929 to avoid using nscd when custom rules are installed.
23930 * nss/getXXbyYY_r.c: Likewise.
23931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23932
23933 * nss/nss_files/files-parse.c: Whitespace fixes.
23934
f15ce4d8
UD
239352010-08-09 Ulrich Drepper <drepper@redhat.com>
23936
23937 [BZ #11883]
23938 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23939 * posix/fnmatch_loop.c: Likewise.
23940
d22e4cc9
AK
239412010-07-17 Andi Kleen <ak@linux.intel.com>
23942
23943 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23944 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23945 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23946 * Versions.def [GLIBC_2.13]: Add.
23947
805bc17d
UD
239482010-08-06 Ulrich Drepper <drepper@redhat.com>
23949
23950 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23951 Also fail if tpwd after pwuid call is NULL.
23952
5a42321d
ST
239532010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23954
23955 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23956 when converting to ms.
23957
fd3ebeda
ST
239582010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23959
23960 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23961 EOPNOTSUPP errors with ENOTTY.
23962 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23963 EOPNOTSUPP errors with ENOTTY.
23964
73507d3a
UD
239652010-07-31 Ulrich Drepper <drepper@redhat.com>
23966
23967 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23968 Add strcasecmp_l-ssse3.
23969 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23970 strcasecmp.
23971 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23972 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23973 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23974
fe36dd02
UD
239752010-07-30 Ulrich Drepper <drepper@redhat.com>
23976
66f6765a
UD
23977 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23978
42e08a54
UD
23979 * string/Makefile (strop-tests): Add strcasecmp.
23980 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23981 strcasecmp_l-nonascii.
23982 (gen-as-const-headers): Add locale-defines.sym.
23983 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23984 * sysdeps/x86_64/strcasecmp.S: New file.
23985 * sysdeps/x86_64/strcasecmp_l.S: New file.
23986 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23987 * sysdeps/x86_64/locale-defines.sym: New file.
23988 * string/test-strcasecmp.c: New file.
23989
fe36dd02
UD
23990 * string/test-strcasestr.c: Test both ends of the range of characters.
23991 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23992
48cbc0d6
RM
239932010-07-29 Roland McGrath <roland@redhat.com>
23994
76e6d6bc 23995 [BZ #11856]
48cbc0d6
RM
23996 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23997
880113d9
UD
239982010-07-27 Ulrich Drepper <drepper@redhat.com>
23999
24000 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24001 for ld.so.
24002
deb9cabb
AS
240032010-07-27 Andreas Schwab <schwab@redhat.com>
24004
24005 * manual/memory.texi (Malloc Tunable Parameters): Document
24006 M_PERTURB.
24007
1c7570ff
RM
240082010-07-26 Roland McGrath <roland@redhat.com>
24009
24010 [BZ #11840]
24011 * configure.in (-fgnu89-inline check): Set and substitute
24012 gnu89_inline, not libc_cv_gnu89_inline.
24013 * configure: Regenerated.
24014 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24015
24fb0f88
UD
240162010-07-26 Ulrich Drepper <drepper@redhat.com>
24017
24018 * string/test-strnlen.c: New file.
24019 * string/Makefile (strop-tests): Add strnlen.
24020 * string/tester.c (test_strnlen): Add a few more test cases.
24021 * string/tst-strlen.c: Better error reporting.
24022
24023 * sysdeps/x86_64/strnlen.S: New file.
24024
8e96b93a
UD
240252010-07-24 Ulrich Drepper <drepper@redhat.com>
24026
24027 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24028 lower-latency instructions.
24029
dbc676d4
UD
240302010-07-23 Ulrich Drepper <drepper@redhat.com>
24031
24032 * string/test-strcasestr.c: New file.
24033 * string/test-strstr.c: New file.
24034 * string/Makefile (strop-tests): Add strstr and strcasestr.
24035 * string/str-two-way.h: Don't undefine MAX.
24036 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24037
f6a31e0e
AS
240382010-07-21 Andreas Schwab <schwab@redhat.com>
24039
24040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24041 strcasestr-nonascii.
24042 (CFLAGS-strcasestr-nonascii.c): Define.
24043 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24044 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24045 Remove unused attribute.
24046
5dbc3b6c
RM
240472010-07-20 Roland McGrath <roland@redhat.com>
24048
24049 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24050 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24051 ld.so.cache was broken. With it, there is no way to disable dsocaps
24052 like LD_HWCAP_MASK can disable hwcaps.
24053
23d101d8
EPM
240542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24055
24056 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24057
cc9f2e47
UD
240582010-07-16 Ulrich Drepper <drepper@redhat.com>
24059
24060 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24061 call in strcasestr.
24062 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24063 __strcasestr_sse42_nonascii.
24064 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24065 strcasestr-nonascii.c.
24066 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24067
77c1b069
LM
240682010-06-15 Luis Machado <luisgpm@br.ibm.com>
24069
24070 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24071 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24072 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24073 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24074
440566c3
UD
240752010-07-09 Ulrich Drepper <drepper@redhat.com>
24076
24077 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24078 fcntl.
24079
5be9d05d
AS
240802010-07-06 Andreas Schwab <schwab@redhat.com>
24081
c30b7ee2 24082 [BZ #11577]
5be9d05d
AS
24083 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24084 dl_signal_cerror.
24085
8a492a67
UD
240862010-07-06 Ulrich Drepper <drepper@redhat.com>
24087
24088 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24089 _PC_PIPE_BUF using F_GETPIPE_SZ.
24090
713df3d5
RM
240912010-07-05 Roland McGrath <roland@redhat.com>
24092
24093 * manual/arith.texi (Rounding Functions): Fix rint description
24094 implicit in round description.
24095
702e8f14
UD
240962010-07-02 Ulrich Drepper <drepper@redhat.com>
24097
24098 * elf/Makefile: Fix linking for a few tests to make recent linker
24099 happy.
24100
52ed8be9
AS
241012010-06-30 Andreas Schwab <schwab@redhat.com>
24102
24103 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24104 $(common-objpfx)libc_nonshared.a.
24105
f47c9a11
LM
241062010-06-21 Luis Machado <luisgpm@br.ibm.com>
24107
24108 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24109 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24110 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24111 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24112 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24113 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24114 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24115 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24130 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24131 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24132 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24133 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24134 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24135 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24136 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24137 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24138 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24139 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24140 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24141 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24156
6fb8cbcb
L
241572010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24158
24159 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24160 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24161 * string/memmove.c (memmove): Renamed to ...
24162 (MEMMOVE): ...this. Default to memmove.
24163 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24164 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24165 (END_CHK): Define.
24166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24167 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24168 mempcpy-ssse3-back memmove-ssse3-back.
24169 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24170 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24171 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24172 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24173 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24174 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24175 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24176 * sysdeps/x86_64/multiarch/memmove.c: New file.
24177 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24178 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24179 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24180 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24181 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24182 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24183 Define.
24184 (index_Fast_Copy_Backward): Define.
24185 (HAS_ARCH_FEATURE): Define.
24186 (HAS_FAST_REP_STRING): Define.
24187 (HAS_FAST_COPY_BACKWARD): Define.
24188
4e733bac 241892010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24190
24191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24192 Restore proper fallback handling.
24193
63c4ed22
UD
241942010-06-19 Ulrich Drepper <drepper@redhat.com>
24195
ac2b484c
UD
24196 [BZ #11701]
24197 * posix/group_member.c (__group_member): Correct checking loop.
24198
63c4ed22
UD
24199 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24200 OOM in getpwuid_r correctly. Return error number when the caller
24201 should return, otherwise -1.
24202 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24203 call returning > 0 value.
24204 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24205
765ade4b
AS
242062010-06-07 Andreas Schwab <schwab@redhat.com>
24207
24208 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24209 libc_nonshared.a from targets in modules-names.
24210
80da2e09
KS
242112010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24212
24213 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24214 requires it.
24215
158db122
LM
242162010-06-10 Luis Machado <luisgpm@br.ibm.com>
24217
24218 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24219 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24220 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24221 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24222
caa78cf8
AS
242232010-06-02 Andreas Schwab <schwab@redhat.com>
24224
24225 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24226
b2ef2c01
UD
242272010-06-14 Ulrich Drepper <drepper@redhat.com>
24228
24229 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24230 and F_GETPIPE_SZ.
24231 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24232 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24235 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24236 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24237
fbd643b6
RM
242382010-06-14 Roland McGrath <roland@redhat.com>
24239
24240 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24241
f32f2869
JJ
242422010-06-07 Jakub Jelinek <jakub@redhat.com>
24243
24244 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24245 __REDIRECT followed by __THROW.
24246 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24247 * posix/getopt.h (getopt): Likewise.
24248
2a50c078
EPM
242492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24250
24251 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24252 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24253 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24254 in AT_FLAGS.
24255 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24256 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24257
eb5ad2eb
LM
242582010-05-28 Luis Machado <luisgpm@br.ibm.com>
24259
24260 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24261
3c88fe1e
L
242622010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24263
24264 [BZ #11640]
24265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24266 Properly check family and model.
24267
d2f73151
TY
242682010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24269
24270 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24271
ebd2e13d
LM
242722010-05-24 Luis Machado <luisgpm@br.ibm.com>
24273
24274 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24275
b32b8b45
UD
242762010-05-21 Ulrich Drepper <drepper@redhat.com>
24277
24278 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24279 symbol reference.
24280
9acbe24d
AS
242812010-05-19 Andreas Schwab <schwab@redhat.com>
24282
24283 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24284 symbol reference.
24285
f0ccf6ea
AS
242862010-05-21 Andreas Schwab <schwab@redhat.com>
24287
3d04ff3a
AS
24288 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24289 and internal_recvmmsg.
24290 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24291 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24292 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24293 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24294
f0ccf6ea
AS
24295 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24296 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24297 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24298
5b08ac57
AS
242992010-05-20 Andreas Schwab <schwab@redhat.com>
24300
24301 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24302
4828935d
LM
243032010-05-17 Luis Machado <luisgpm@br.ibm.com>
24304
24305 POWER7 optimizations.
24306 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24307 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24308
373d545e
UD
243092010-05-19 Ulrich Drepper <drepper@redhat.com>
24310
24311 * version.h: Update for 2.13 development version.
24312
21a2b1ae
AS
243132010-05-12 Andrew Stubbs <ams@codesourcery.com>
24314
24315 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24316 exceptions. Return 0.
24317
3f7dcb2b
RM
243182010-05-07 Roland McGrath <roland@redhat.com>
24319
24320 * elf/ldconfig.c (main): Add a const.
24321
5f24d53a 243222010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24323
a160f8d8
UD
24324 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24325 (args_options): Add no-idn option.
24326 (ahosts_keys_int): Add idn_flags to ai_flags.
24327 (parse_option): Handle 'i' option to clear idn_flags.
24328
5f24d53a
UD
24329 * malloc/malloc.c (_int_free): Possible race in the most recently
24330 added check. Only act on the data if no current modification
24331 happened.
265bb1ce
UD
24332
24333See ChangeLog.17 for earlier changes.
This page took 3.285171 seconds and 5 git commands to generate.