]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Use x86_64 bits/a.out.h for both i386 and x86_64
[thirdparty/glibc.git] / ChangeLog
1 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
4 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7
8 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9 for x86-64.
10 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11
12 2012-05-31 Joseph Myers <joseph@codesourcery.com>
13
14 * math/math.h (M_El): Use two more decimal places.
15 (M_LOG2El): Likewise.
16 (M_LOG10El): Likewise.
17 (M_LN2l): Likewise.
18 (M_LN10l): Likewise.
19 (M_PIl): Likewise.
20 (M_PI_2l): Likewise.
21 (M_PI_4l): Likewise.
22 (M_1_PIl): Likewise.
23 (M_2_PIl): Likewise.
24 (M_2_SQRTPIl): Likewise.
25 (M_SQRT2l): Likewise.
26 (M_SQRT1_2l): Likewise.
27
28 2012-05-31 David S. Miller <davem@davemloft.net>
29
30 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31 values between float registers.
32 * sysdeps/sparc/sparc64/memset.S: Likewise.
33 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34
35 2012-05-31 Mike Frysinger <vapier@gentoo.org>
36
37 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38 -D_FORTIFY_SOURCE=1.
39 (CPPFLAGS-tst-longjmp_chk.c): Define.
40 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43 CFLAGS-tst-wchar-h.c.
44
45 2012-05-31 Marek Polacek <polacek@redhat.com>
46
47 [BZ #14132]
48 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49 __endmntent_internal): Remove declaration.
50 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
51 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
52 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
53
54 2012-05-30 David S. Miller <davem@davemloft.net>
55
56 * sysdeps/sparc/sparc32/soft-fp/q_util.c
57 (___Q_simulate_exceptions): Use real FP ops rather than writing
58 into the %fsr.
59 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60 Likewise.
61
62 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
63
64 [BZ #14117]
65 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
66 * sysdeps/x86/bits/xtitypes.h: This.
67
68 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69 * sysdeps/x86/bits/wordsize.h: This.
70
71 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
72 * sysdeps/x86/bits/huge_vall.h: This.
73
74 * sysdeps/i386/bits/select.h: Removed.
75 * sysdeps/x86_64/bits/select.h: Renamed to ...
76 * sysdeps/x86/bits/select.h: This.
77
78 * sysdeps/i386/bits/setjmp.h: Removed.
79 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80 * sysdeps/x86/bits/setjmp.h: This.
81
82 * sysdeps/i386/bits/mathdef.h: Removed.
83 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
84 * sysdeps/x86/bits/mathdef.h: This.
85
86 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
87
88 [BZ #14132]
89 * include/sys/socket.h (__connect_internal)
90 (__libc_sa_len_internal): Remove declaration.
91 (__connect, __libc_sa_len): Declare hidden_proto.
92 (SA_LEN): Remove use of INTUSE.
93 * socket/connect.c: Add libc_hidden_def.
94 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
95 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
96 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
97 alias.
98 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
99 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
100 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
101 of adding _internal alias.
102
103 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
104
105 [BZ #14117]
106 * sysdeps/i386/bits/link.h: Removed.
107 * sysdeps/i386/bits/linkmap.h: Likewise.
108 * sysdeps/x86_64/bits/link.h: Renamed to ...
109 * sysdeps/x86/bits/link.h: This.
110 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
111 * sysdeps/x86/bits/linkmap.h: This.
112
113 * sysdeps/i386/bits/endian.h: Removed.
114 * sysdeps/x86_64/bits/endian.h: Renamed to ...
115 * sysdeps/x86/bits/endian.h: This.
116
117 * sysdeps/i386/bits/byteswap.h: Removed.
118 * sysdeps/i386/bits/byteswap-16.h: Likewise.
119 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
120 * sysdeps/x86/bits/byteswap.h: This.
121 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
122 * sysdeps/x86/bits/byteswap-16.h: This.
123 * sysdeps/i386/Implies: Add x86.
124 * sysdeps/x86_64/Implies: Likewise.
125
126 2012-05-30 David S. Miller <davem@davemloft.net>
127
128 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
129 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
130 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
131 (FP_TRAPPING_EXCEPTIONS): Define.
132 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
133 (FP_TRAPPING_EXCEPTIONS): Define.
134 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
135 subnormals only when inexact has been signalled or underflow
136 exceptions are enabled.
137 (_FP_PACK_CANONICAL): Likewise.
138
139 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
140
141 [BZ #14183]
142 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
143 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
144
145 2012-05-30 Richard Henderson <rth@twiddle.net>
146
147 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
148 with #ifndef NOT_IN_libc.
149
150 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
151 marked to avoid plt entry.
152
153 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
154
155 [BZ #14112]
156 * Makeconfig (default-abi): New macro.
157 (abi-includes): Likewise.
158 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
159 $(abi-$(default-abi)-lib-soname) for soname if defined.
160 ($(common-objpfx)gnu/lib-names.stmp): Generate from
161 abi-variants.
162 * Makefile (installed-stubs): Likewise.
163 * include/stubs-biarch.h: Removed.
164 * scripts/lib-names.awk: Only handle one library at a time.
165 * scripts/soversions.awk: Remove WORDSIZE support.
166 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
167 entries.
168 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
169 Removed.
170 (syscall-list-default-condition): Likewise.
171 (syscall-list-default-condition): Likewise.
172 (syscall-list-includes): Likewise.
173 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
174 syscall-list-* with abi-*. Handle undefined abi-variants.
175 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
176 * sysdeps/unix/sysv/linux/i386/Implies: New file.
177 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
178 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
179 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
180 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
181 Removed.
182 (syscall-list-32-options): Likewise.
183 (syscall-list-32-condition): Likewise.
184 (syscall-list-64-options): Likewise.
185 (syscall-list-64-condition): Likewise.
186 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
187 macro.
188 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
189 Renamed to ...
190 (abi-*): This.
191 (abi-64-ld-soname): New macro.
192 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
193 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
194 Renamed to ...
195 (abi-*): This.
196 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
197 * sysdeps/x86_64/x32/shlib-versions: Likewise.
198
199 2012-05-30 Joseph Myers <joseph@codesourcery.com>
200
201 * sysdeps/unix/sysv/linux/kernel-features.h
202 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
203 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
204 include <kernel-features.h>.
205 [!__NR_ftruncate64]: Remove conditional code.
206 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
207 [__NR_ftruncate64]: Make code unconditional.
208 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
209 * sysdeps/unix/sysv/linux/truncate64.c: Do not
210 include <kernel-features.h>.
211 [!__NR_ftruncate64]: Remove conditional code.
212 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
213 [__NR_ftruncate64]: Make code unconditional.
214 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
216 include <kernel-features.h>.
217 [!__NR_ftruncate64]: Remove conditional code.
218 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
219 [__NR_ftruncate64]: Make code unconditional.
220 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
222 include <kernel-features.h>.
223 [!__NR_ftruncate64]: Remove conditional code.
224 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
225 [__NR_ftruncate64]: Make code unconditional.
226 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
227
228 * configure.in (libc_cv_fpie): Weaken to a compile test using
229 LIBC_TRY_CC_OPTION.
230 * configure: Regenerated.
231
232 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
233
234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
238 Refreshed.
239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
245 Refreshed.
246
247 2012-05-27 David S. Miller <davem@davemloft.net>
248
249 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
250 (___Q_zero): New.
251 (__Q_simulate_exceptions): Return void. Change to simulate
252 exceptions by writing into the %fsr.
253 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
254 (__Qp_handle_exceptions): Likewise.
255 (numbers): Delete.
256 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
257 __Qp_handle_exceptions.
258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
259 __Qp_handle_exceptions.
260 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
261 as unused and give dummy FP_RND_NEAREST initializer.
262 (FP_INHIBIT_RESULTS): Define.
263 (___Q_simulate_exceptions): Update declaration.
264 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
265 formatting.
266 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
267 as unused and give dummy FP_RND_NEAREST initializer.
268 (__Qp_handle_exceptions): Update declaration.
269 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
270 formatting.
271
272 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
273
274 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
275 the temporary FPU control word.
276 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
277 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
278 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
279 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
280 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
281 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
282 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
283 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
284 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
285 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
286 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
287
288 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
289
290 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
291 fields.
292
293 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
294
295 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
296 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
297 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
298 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
299 Likewise.
300 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
301 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
302 Likewise.
303
304 2012-05-27 Ulrich Drepper <drepper@gmail.com>
305
306 * po/h.po: Update from translation team.
307
308 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
309
310 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
311
312 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
313 handling of denormals.
314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
315 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
316 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
317 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
319 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
321 Likewise.
322
323 2012-05-26 Marek Polacek <polacek@redhat.com>
324
325 [BZ #14152]
326 * math/libm-test.inc (fma_test): Don't always expect underflow
327 exception.
328
329 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
330
331 [BZ #12416]
332 * elf/tst-execstack.c: Include stackinfo.h.
333 (do_test): Adjust test case to ensure that pthread_getattr_np
334 behaviour remains the same after marking stack executable.
335
336 2012-05-25 Joseph Myers <joseph@codesourcery.com>
337
338 * sysdeps/unix/sysv/linux/kernel-features.h
339 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
340 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
341 kernel-features.h.
342 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
343 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
344 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
345 kernel-features.h.
346 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
347 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
348
349 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
350
351 * configure.in: Define the default includes to being none.
352 * configure: Regenerated.
353
354 2012-05-25 Roland McGrath <roland@hack.frob.com>
355
356 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
357 * sysdeps/x86_64/setjmp.S: Likewise.
358 * sysdeps/i386/bsd-setjmp.S: Likewise.
359 * sysdeps/i386/bsd-_setjmp.S: Likewise.
360 * sysdeps/i386/setjmp.S: Likewise.
361 * sysdeps/i386/__longjmp.S: Likewise.
362 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
363 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
364
365 * include/stap-probe.h: New file.
366 * configure.in: Handle --enable-systemtap.
367 * configure: Regenerated.
368 * config.h.in (USE_STAP_PROBE): New #undef.
369 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
370 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
371 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
372
373 2012-05-25 Joseph Myers <joseph@codesourcery.com>
374
375 [BZ #13717]
376 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
377 to 2.4.0 where earlier.
378 * sysdeps/unix/sysv/linux/configure: Regenerated.
379 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
380 <kernel-features.h>.
381 [__ASSUME_32BITUIDS]: Make code unconditional.
382 [!__ASSUME_32BITUIDS]: Remove conditional code.
383 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
384 <kernel-features.h>.
385 [__ASSUME_32BITUIDS]: Make code unconditional.
386 [!__ASSUME_32BITUIDS]: Remove conditional code.
387 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
388 [__ASSUME_32BITUIDS]: Make code unconditional.
389 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
390 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
391 <kernel-features.h>.
392 [__ASSUME_32BITUIDS]: Make code unconditional.
393 [!__ASSUME_32BITUIDS]: Remove conditional code.
394 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
395 <kernel-features.h>.
396 [__ASSUME_32BITUIDS]: Make code unconditional.
397 [!__ASSUME_32BITUIDS]: Remove conditional code.
398 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
399 <kernel-features.h>.
400 [__ASSUME_32BITUIDS]: Make code unconditional.
401 [!__ASSUME_32BITUIDS]: Remove conditional code.
402 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
403 <kernel-features.h>.
404 [__ASSUME_32BITUIDS]: Make code unconditional.
405 [!__ASSUME_32BITUIDS]: Remove conditional code.
406 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
407 <kernel-features.h>.
408 [__ASSUME_32BITUIDS]: Make code unconditional.
409 [!__ASSUME_32BITUIDS]: Remove conditional code.
410 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
411 <kernel-features.h>.
412 [__ASSUME_32BITUIDS]: Make code unconditional.
413 [!__ASSUME_32BITUIDS]: Remove conditional code.
414 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
415 <kernel-features.h>.
416 [__ASSUME_32BITUIDS]: Make code unconditional.
417 [!__ASSUME_32BITUIDS]: Remove conditional code.
418 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
419 <kernel-features.h>.
420 [__ASSUME_32BITUIDS]: Make code unconditional.
421 [!__ASSUME_32BITUIDS]: Remove conditional code.
422 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
423 <kernel-features.h>.
424 [__ASSUME_32BITUIDS]: Make code unconditional.
425 [!__ASSUME_32BITUIDS]: Remove conditional code.
426 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
427 <kernel-features.h>.
428 [__ASSUME_32BITUIDS]: Make code unconditional.
429 [!__ASSUME_32BITUIDS]: Remove conditional code.
430 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
431 <kernel-features.h>.
432 [__NR_setresgid] (__setresgid): Do not declare.
433 [__ASSUME_32BITUIDS]: Make code unconditional.
434 [!__ASSUME_32BITUIDS]: Remove conditional code.
435 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
436 <kernel-features.h>.
437 [__NR_setresuid] (__setresuid): Do not declare.
438 [__ASSUME_32BITUIDS]: Make code unconditional.
439 [!__ASSUME_32BITUIDS]: Remove conditional code.
440 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
441 <kernel-features.h>.
442 [__ASSUME_32BITUIDS]: Make code unconditional.
443 [!__ASSUME_32BITUIDS]: Remove conditional code.
444 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
445 <kernel-features.h>.
446 [__ASSUME_32BITUIDS]: Make code unconditional.
447 [!__ASSUME_32BITUIDS]: Remove conditional code.
448 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
449 <kernel-features.h>.
450 [__ASSUME_32BITUIDS]: Make code unconditional.
451 [!__ASSUME_32BITUIDS]: Remove conditional code.
452 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
453 <kernel-features.h>.
454 [__ASSUME_32BITUIDS]: Make code unconditional.
455 [!__ASSUME_32BITUIDS]: Remove conditional code.
456 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
457 <kernel-features.h>.
458 [__ASSUME_32BITUIDS]: Make code unconditional.
459 [!__ASSUME_32BITUIDS]: Remove conditional code.
460 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
461 <kernel-features.h>.
462 [__ASSUME_32BITUIDS]: Make code unconditional.
463 [!__ASSUME_32BITUIDS]: Remove conditional code.
464 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
465 <kernel-features.h>.
466 [__ASSUME_32BITUIDS]: Make code unconditional.
467 [!__ASSUME_32BITUIDS]: Remove conditional code.
468 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
469 <kernel-features.h>.
470 [__ASSUME_32BITUIDS]: Make code unconditional.
471 [!__ASSUME_32BITUIDS]: Remove conditional code.
472 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
473 <kernel-features.h>.
474 [__ASSUME_32BITUIDS]: Make code unconditional.
475 [!__ASSUME_32BITUIDS]: Remove conditional code.
476 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
477 <kernel-features.h>.
478 [__ASSUME_32BITUIDS]: Make code unconditional.
479 [!__ASSUME_32BITUIDS]: Remove conditional code.
480 * sysdeps/unix/sysv/linux/kernel-features.h
481 (__ASSUME_SETRESUID_SYSCALL): Remove.
482 (__ASSUME_SETRESGID_SYSCALL): Likewise.
483 (__ASSUME_32BITUIDS): Likewise.
484 (__ASSUME_LDT_WORKS): Likewise.
485 (__ASSUME_O_DIRECTORY): Likewise.
486 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
487 architecture but not kernel version.
488 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
489 (__ASSUME_MMAP2_SYSCALL): Likewise.
490 (__ASSUME_STAT64_SYSCALL): Likewise.
491 (__ASSUME_IPC64): Likewise.
492 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
493 <kernel-features.h>.
494 [__ASSUME_32BITUIDS]: Make code unconditional.
495 [!__ASSUME_32BITUIDS]: Remove conditional code.
496 * sysdeps/unix/sysv/linux/opendir.c: Do not include
497 <kernel-features.h>.
498 [__ASSUME_O_DIRECTORY]: Make code unconditional.
499 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
500 132096]: Remove conditional code.
501 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
502 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
503 <kernel-features.h>.
504 [__ASSUME_32BITUIDS]: Make code unconditional.
505 [!__ASSUME_32BITUIDS]: Remove conditional code.
506 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
507 <kernel-features.h>.
508 [__ASSUME_32BITUIDS]: Make code unconditional.
509 [!__ASSUME_32BITUIDS]: Remove conditional code.
510 * sysdeps/unix/sysv/linux/setegid.c: Do not include
511 <kernel-features.h>.
512 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
513 unconditional.
514 (__setresgid): Do not declare.
515 [__ASSUME_32BITUIDS]: Make code unconditional.
516 [!__ASSUME_32BITUIDS]: Remove conditional code.
517 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
518 <kernel-features.h>.
519 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
520 unconditional.
521 (__setresuid): Do not declare.
522 [__ASSUME_32BITUIDS]: Make code unconditional.
523 [!__ASSUME_32BITUIDS]: Remove conditional code.
524 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
525 <kernel-features.h>.
526 [__ASSUME_32BITUIDS]: Make code unconditional.
527 [!__ASSUME_32BITUIDS]: Remove conditional code.
528 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
529 <kernel-features.h>.
530 [__ASSUME_32BITUIDS]: Make code unconditional.
531 [!__ASSUME_32BITUIDS]: Remove conditional code.
532
533 2012-05-25 Richard Henderson <rth@twiddle.net>
534
535 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
536 dl_hwcap to ifunc resolver.
537 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
538 elf_ifunc_invoke.
539 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
540 dl_hwcap to ifunc resolver.
541 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
542
543 2012-05-24 Joseph Myers <joseph@codesourcery.com>
544
545 [BZ #14153]
546 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
547 for |x| <= 2**-26, not 2**-57.
548 * math/libm-test.inc (acos_test): Do not allow spurious underflow
549 exception.
550
551 2012-05-24 Jeff Law <law@redhat.com>
552
553 * stdio-common/Makefile (tests): Add bug25.
554 * stdio-common/bug25.c: New test.
555
556 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
557
558 [BZ #13576]
559 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
560 multiple of MALLOC_ALIGNMENT in size.
561 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
562
563 2012-05-24 Joseph Myers <joseph@codesourcery.com>
564
565 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
566 Require >= 256.
567 (FILENAME_MAX): Use macro-int-constant.
568 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
569 (_IOFBF): Use macro-int-constant.
570 (_IOLBF): Likewise.
571 (_IONBF): Likewise.
572 (SEEK_CUR): Likewise.
573 (SEEK_END): Likewise.
574 (SEEK_SET): Likewise.
575 (TMP_MAX): Likewise.
576 (EOF): Use macro-int-constant. Require < 0.
577 (NULL): Use macro-constant. Require == 0.
578 (stdin): Require type to be FILE *.
579 (stdout): Likewise.
580 (stderr): Likewise.
581 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
582 macro-int-constant.
583 (EXIT_SUCCESS): Likewise.
584 (NULL): Use macro-constant. Require == 0.
585 (RAND_MAX): Use macro-int-constant.
586 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
587 [C99-based standards] (strtof): Require function.
588 [C99-based standards] (strtold): Likewise.
589 [C99-based standards] (strtoll): Likewise.
590 [C99-based standards] (strtoull): Likewise.
591 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
592 [ISO || ISO99 || ISO11] (limits.h): Likewise.
593 [ISO || ISO99 || ISO11] (math.h): Likewise.
594 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
595 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
596 [ISO || ISO99 || ISO11] (*_t): Do not allow.
597
598 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
599
600 [BZ #14132]
601 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
602 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
603 * intl/dgettext.c (DCGETTEXT): Likewise.
604 * intl/gettext.c (DCGETTEXT): Likewise.
605 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
606 * posix/regex_internal.h (gettext): Likewise.
607 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
608 Remove declaration.
609 * include/argz.h (__argz_count_internal)
610 (__argz_stringify_internal): Remove declaration.
611 (__argz_count, __argz_stringify): Declare hidden proto.
612 * intl/dcgettext.c: Remove use of INTDEF.
613 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
614 * string/argz-stringify.c: Likewise.
615 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
616 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
617 Declare hidden proto.
618 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
619 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
620 Declare hidden proto.
621 * include/stdio.h (__asprintf_internal): Don't declare.
622 (__asprintf): Don't define as macro. Declare hidden proto.
623 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
624 (__fsetlocking): Declare hidden proto.
625 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
626 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
627 hidden proto.
628 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
629 (_IO_setlinebuf): Remove use of INTUSE.
630 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
631 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
632 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
633 Remove declaration.
634 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
635 (_IO_do_flush): Remove use of INTUSE.
636 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
637 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
638 (_IO_adjust_column, _IO_least_wmarker)
639 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
640 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
641 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
642 (_IO_default_doallocate, _IO_wdefault_doallocate)
643 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
644 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
645 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
646 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
647 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
648 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
649 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
650 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
651 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
652 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
653 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
654 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
655 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
656 proto.
657 (_IO_flush_all_internal, _IO_adjust_column_internal)
658 (_IO_default_uflow_internal, _IO_default_finish_internal)
659 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
660 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
661 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
662 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
663 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
664 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
665 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
666 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
667 (_IO_file_close_internal, _IO_file_close_it_internal)
668 (_IO_file_underflow_internal, _IO_file_overflow_internal)
669 (_IO_file_init_internal, _IO_file_attach_internal)
670 (_IO_file_fopen_internal, _IO_file_read_internal)
671 (_IO_file_sync_internal, _IO_file_seek_internal)
672 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
673 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
674 (_IO_str_underflow_internal, _IO_str_overflow_internal)
675 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
676 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
677 (_IO_list_all_internal, _IO_link_in_internal)
678 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
679 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
680 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
681 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
682 (_IO_do_write_internal, _IO_padn_internal)
683 (_IO_getline_info_internal, _IO_getline_internal)
684 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
685 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
686 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
687 (_IO_vfscanf_internal, _IO_vfprintf_internal)
688 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
689 (_IO_init_internal, _IO_un_link_internal): Don't declare.
690 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
691 with libc_hidden_ver, remove use of INTUSE.
692 * libio/genops.c: Likewise.
693 * libio/freopen.c: Likewise.
694 * libio/freopen64.c: Likewise.
695 * libio/iofclose.c: Likewise.
696 * libio/iofdopen.c: Likewise.
697 * libio/iofflush.c: Likewise.
698 * libio/iofflush_u.c: Likewise.
699 * libio/iofgets.c: Likewise.
700 * libio/iofgets_u.c: Likewise.
701 * libio/iofopen.c: Likewise.
702 * libio/iofopncook.c: Likewise.
703 * libio/iofread.c: Likewise.
704 * libio/iofread_u.c: Likewise.
705 * libio/ioftell.c: Likewise.
706 * libio/iofwrite.c: Likewise.
707 * libio/iogetline.c: Likewise.
708 * libio/iogets.c: Likewise.
709 * libio/iogetwline.c: Likewise.
710 * libio/iopadn.c: Likewise.
711 * libio/iopopen.c: Likewise.
712 * libio/ioseekoff.c: Likewise.
713 * libio/ioseekpos.c: Likewise.
714 * libio/iosetbuffer.c: Likewise.
715 * libio/iosetvbuf.c: Likewise.
716 * libio/ioungetc.c: Likewise.
717 * libio/ioungetwc.c: Likewise.
718 * libio/iovdprintf.c: Likewise.
719 * libio/iovsprintf.c: Likewise.
720 * libio/iovsscanf.c: Likewise.
721 * libio/memstream.c: Likewise.
722 * libio/obprintf.c: Likewise.
723 * libio/oldfileops.c: Likewise.
724 * libio/oldiofclose.c: Likewise.
725 * libio/oldiofdopen.c: Likewise.
726 * libio/oldiofopen.c: Likewise.
727 * libio/oldiopopen.c: Likewise.
728 * libio/oldstdfiles.c: Likewise.
729 * libio/putc.c: Likewise.
730 * libio/setbuf.c: Likewise.
731 * libio/setlinebuf.c: Likewise.
732 * libio/stdfiles.c: Likewise.
733 * libio/strops.c: Likewise.
734 * libio/vasprintf.c: Likewise.
735 * libio/vscanf.c: Likewise.
736 * libio/vsnprintf.c: Likewise.
737 * libio/vswprintf.c: Likewise.
738 * libio/wfiledoalloc.c: Likewise.
739 * libio/wfileops.c: Likewise.
740 * libio/wgenops.c: Likewise.
741 * libio/wmemstream.c: Likewise.
742 * libio/wstrops.c: Likewise.
743 * libio/__fpurge.c: Likewise.
744 * libio/__fsetlocking.c: Likewise.
745 * assert/assert.c: Likewise.
746 * debug/fgets_chk.c: Likewise.
747 * debug/fgets_u_chk.c: Likewise.
748 * debug/fread_chk.c: Likewise.
749 * debug/fread_u_chk.c: Likewise.
750 * debug/gets_chk.c: Likewise.
751 * debug/obprintf_chk.c: Likewise.
752 * debug/vasprintf_chk.c: Likewise.
753 * debug/vdprintf_chk.c: Likewise.
754 * debug/vsnprintf_chk.c: Likewise.
755 * debug/vsprintf_chk.c: Likewise.
756 * malloc/mtrace.c: Likewise.
757 * misc/error.c: Likewise.
758 * misc/syslog.c: Likewise.
759 * stdio-common/asprintf.c: Likewise.
760 * stdio-common/fxprintf.c: Likewise.
761 * stdio-common/getw.c: Likewise.
762 * stdio-common/isoc99_fscanf.c: Likewise.
763 * stdio-common/isoc99_scanf.c: Likewise.
764 * stdio-common/isoc99_vfscanf.c: Likewise.
765 * stdio-common/isoc99_vscanf.c: Likewise.
766 * stdio-common/isoc99_vsscanf.c: Likewise.
767 * stdio-common/printf-prs.c: Likewise.
768 * stdio-common/printf_fp.c: Likewise.
769 * stdio-common/printf_fphex.c: Likewise.
770 * stdio-common/printf_size.c: Likewise.
771 * stdio-common/putw.c: Likewise.
772 * stdio-common/scanf.c: Likewise.
773 * stdio-common/sprintf.c: Likewise.
774 * stdio-common/tmpfile.c: Likewise.
775 * stdio-common/vfprintf.c: Likewise.
776 * stdio-common/vfscanf.c: Likewise.
777 * stdlib/strfmon_l.c: Likewise.
778 * sunrpc/openchild.c: Likewise.
779 * sunrpc/xdr_stdio.c: Likewise.
780 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
781 * sysdeps/mach/hurd/tmpfile.c: Likewise.
782
783 2012-05-24 Roland McGrath <roland@hack.frob.com>
784
785 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
786
787 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
788 in the third column, to generate for the shared library an IFUNC
789 that uses _dl_vdso_vsym.
790 * Makerules (COMPILE.c, compile-stdin.c): New variables.
791 * Makeconfig (object-suffixes-noshared): New variable.
792
793 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
794 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
795 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
796 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
797
798 [BZ #14132]
799 * include/sys/time.h (__gettimeofday): Remove macro.
800 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
801 * time/gettimeofday.c (__gettimeofday): Remove #undef.
802 Remove INTDEF.
803 (__gettimeofday): Add libc_hidden_def.
804 (gettimeofday): Add libc_hidden_weak.
805 * sysdeps/mach/gettimeofday.c: Likewise.
806 * sysdeps/posix/gettimeofday.c: Likewise.
807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
808 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
809 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
810 (__gettimeofday_internal): Remove strong_alias.
811 (__gettimeofday): Add libc_hidden_def.
812 (gettimeofday): Add libc_hidden_weak.
813 * sysdeps/unix/syscalls.list (gettimeofday):
814 Remove __gettimeofday_internal alias.
815
816 2012-05-24 Daniel Jacobowitz <drow@false.org>
817 H.J. Lu <hongjiu.lu@intel.com>
818
819 [BZ #12495]
820 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
821 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
822 (largebin_index_32_big): New.
823 (largebin_index): Use it for 16-byte alignment.
824 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
825 correction with front_misalign.
826
827 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
828
829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
831 Likewise.
832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
833 Likewise.
834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
835 Likewise.
836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
837 Likewise.
838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
839 Likewise.
840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
841 Likewise.
842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
843 Likewise.
844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
845 Likewise.
846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
847 Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
849 Likewise.
850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
851 Likewise.
852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
853 Likewise.
854
855 * scripts/data/c++-types-x32-linux-gnu.data: New file.
856 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
857
858 2012-05-24 Joseph Myers <joseph@codesourcery.com>
859
860 [BZ #10846]
861 [BZ #14036]
862 * math/libm-test.inc (exp_test): Add test from bug 14036.
863 (pow_test): Add test from bug 10846.
864
865 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
866 and other flags.
867 (special_function): Do not include flags in test name.
868 (parse_args): Likewise.
869 * sysdeps/i386/fpu/libm-test-ulps: Update.
870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
871 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
872 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
874
875 * math/gen-libm-test.pl (%beautify): Add entries for underflow
876 exceptions.
877 * math/libm-test.inc ("Philosophy"): Update comment about
878 exception testing.
879 (UNDERFLOW_EXCEPTION): New macro.
880 (UNDERFLOW_EXCEPTION_OK): Likewise.
881 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
882 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
883 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
884 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
885 (INVALID_EXCEPTION_OK): Update value.
886 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
887 (OVERFLOW_EXCEPTION_OK): Likewise.
888 (IGNORE_ZERO_INF_SIGN): Likewise.
889 (test_exceptions): Handle underflow exceptions.
890 (acos_test): Update for underflow exception expectations.
891 (cexp_test): Likewise.
892 (clog_test): Likewise.
893 (clog10_test): Likewise.
894 (csqrt_test): Likewise.
895 (ctan_test): Likewise.
896 (ctanh_test): Likewise.
897 (exp_test): Likewise.
898 (exp10_test): Likewise.
899 (exp2_test): Likewise.
900 (expm1_test): Likewise.
901 (fma_test): Likewise.
902 (j0_test): Likewise.
903 (jn_test): Likewise.
904 (nexttoward_test): Likewise.
905 (pow_test): Likewise.
906 (scalbn_test): Likewise.
907 (scalbln_test): Likewise.
908 (tan_test): Likewise.
909 (y1_test): Likewise.
910 * sysdeps/i386/fpu/libm-test-ulps: Update.
911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
912
913 2012-05-23 David S. Miller <davem@davemloft.net>
914
915 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
916 (__libc_sigaction): Remove unused local variables.
917
918 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
919
920 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
921
922 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
923
924 mktime: avoid signed integer overflow
925 * time/mktime.c (__mktime_internal): Do not mishandle the case
926 where diff == INT_MIN.
927
928 mktime: simplify computation of average
929 * time/mktime.c (ranged_convert): Use new time_t_avg function
930 instead of rolling our own (probably-slower) code.
931
932 mktime: do not assume signed right shift propagates sign bit
933 * time/mktime.c (isdst_differ): New static function.
934 (__mktime_internal): No need to normalize tm_isdst now.
935 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
936 tm_isdst values.
937
938 mktime: merge another wrapv change from gnulib
939 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
940 from some compilers.
941
942 mktime: remove incorrect attempt at unusual arithmetics
943 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
944 The code didn't really work on such machines anyway.
945 (TYPE_MINIMUM): Assume two's complement.
946 (twos_complement_arithmetic): Verify that long_int and time_t
947 are two's complement (or unsigned, in the latter case).
948
949 mktime: check signed shifts on long_int and time_t, too
950 * time/mktime.c (SHR): Check that shifts work as desired
951 on the types long_int and time_t too, as SHR is used on
952 such types.
953
954 mktime: do not assume 'long' is wide enough
955 * time/mktime.c (verify): Move decl up.
956 (long_int): New type.
957 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
958 to remove assumption in the code that 'long' is wide enough to
959 store year values. This assumption is not true on x32 and on
960 some non-glibc platforms.
961
962 mktime: merge wrapv change from gnulib
963 * time/mktime.c (WRAPV): New macro.
964 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
965 (guess_time_tm, __mktime_internal): Do not assume that signed
966 integer overflow wraps around; modern compilers generate code
967 where this assumption is no longer valid.
968
969 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
970
971 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
972 Replace "jmp L(pseudo_end)" with "ret".
973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
974 Likewise.
975
976 2012-05-23 Andreas Jaeger <aj@suse.de>
977
978 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
979 * sysdeps/unix/sysv/linux/poll.c: Remove file.
980
981 2012-05-23 Andreas Jaeger <aj@suse.de>
982 Maximilian Attems <max@stro.at>
983
984 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
985 New macros.
986
987 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
988
989 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
990 code so that pseudo_end is just ret and the stack pointer is
991 correct also for static library in error case.
992
993 2012-05-23 Joseph Myers <joseph@codesourcery.com>
994
995 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
996 move to syscalls.list.
997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1001
1002 * manual/install.texi (Running make install): Do not mention Linux
1003 kernel version for which pt_chown is not needed.
1004 (Linux): Do not mention problems with nscd with 2.0 kernels.
1005 * INSTALL: Regenerated.
1006
1007 2012-05-23 Andreas Jaeger <aj@suse.de>
1008
1009 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1010 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1011 macro.
1012 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1014 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1016 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1017 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1018 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1019 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1020 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1021 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1022 * sysdeps/unix/sysv/linux/bits/in.h
1023 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1024
1025 2012-05-22 Roland McGrath <roland@hack.frob.com>
1026
1027 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1028 (PREPARE_VERSION): Just use assert instead, it will be elided
1029 under [NDEBUG] anyway.
1030
1031 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1032
1033 * sysdeps/unix/sysv/linux/Makefile: Include
1034 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1035 (sysdep_routines): Remove sysctl.
1036 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1037 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1038 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1039 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1040 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1041
1042 2012-05-22 Andreas Jaeger <aj@suse.de>
1043
1044 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1045 that pseudo_end is just ret and the stack pointer is correct also
1046 for static library in error case.
1047
1048 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1049
1050 [BZ #14122]
1051 * nss/nsswitch.c (defconfig_entries): New variable.
1052 (__nss_database_lookup): Don't leak defconfig entries.
1053 (nss_parse_service_list): Don't leak on error paths.
1054 (free_database_entries): New function.
1055 (free_defconfig): New function.
1056 (free_mem): Move common code to free_database_entries.
1057
1058 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1059
1060 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1061 Add arch_prctl.
1062 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1063
1064 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1065 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1067 New macro.
1068 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1069 (INTERNAL_SYSCALL_TYPES): Likewise.
1070 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1071 (LOAD_REGS_TYPES_[1-6]): Likewise.
1072 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1073 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1074
1075 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1076
1077 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1078 copysignl for GLIBC_2_0.
1079 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1080 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1081 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1082 logbl for GLIBC_2_0.
1083 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1084 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1085
1086 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1087
1088 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1089 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1090
1091 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1092 Use "neg %eax".
1093
1094 * time/mktime.c: Update copyright years.
1095
1096 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1097
1098 mktime: merge comment-quoting-style change from gnulib
1099 * time/mktime.c: Quote 'like this' in comments.
1100 The GNU coding standards suggest that we no longer quote `like this',
1101 as "`" and "'" are typically rendered asymmetrically nowadays.
1102 The typical gnulib style is to quote 'like this' when quoting
1103 code, and "like this" when quoting English.
1104
1105 * time/mktime.c (compile-command): Add "-I.".
1106
1107 mktime: merge mktime-internal.h change from gnulib
1108 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1109
1110 mktime: merge time_r change from gnulib
1111 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1112
1113 mktime: merge DEBUG change from gnulib
1114 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1115 case system <time.h> has a #define.
1116
1117 mktime: merge <sys/types.h> change from gnulib
1118 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1119 since <time.t> is now guaranteed to define time_t.
1120
1121 mktime: merge HAVE_CONFIG_H change from gnulib
1122 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1123
1124 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1127 Use "neg %eax".
1128
1129 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1130 __rlim_t cast.
1131 (struct rusage): Use anonymous union to pad each field to
1132 __syscall_slong_t.
1133
1134 2012-05-21 David S. Miller <davem@davemloft.net>
1135
1136 * Makefules (o-iterator): Remove .s cases.
1137 (compile-command.s): Delete.
1138 (COMPILE.s): Delete.
1139 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1140
1141 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1142
1143 * configure.in (libc_cv_predef_stack_protector): Only consider
1144 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1145 * configure: Regenerated.
1146
1147 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1150 New macro. Use R*LP on int and pointer.
1151 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1152 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1153 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1154 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1155
1156 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1157 [__WORDSIZE_TIME64_COMPAT32] instead of
1158 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1159 (struct utmp): Likewise.
1160 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1161 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1162 Renamed to ...
1163 (__WORDSIZE_TIME64_COMPAT32): This.
1164 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1165 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1166 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1167 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1168 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1169 (__WORDSIZE_TIME64_COMPAT32): New macro.
1170
1171 2012-05-21 Andreas Jaeger <aj@suse.de>
1172
1173 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1174 only if [SHARED]. Add prototype for __wcschr_ia32.
1175
1176 2012-05-21 Roland McGrath <roland@hack.frob.com>
1177
1178 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1179 of %rbp unmolested in the jmp_buf while mangling the low bits.
1180 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1181 unmolested high bits of %rbp while demangling the low bits.
1182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1183
1184 2012-05-21 Andreas Jaeger <aj@suse.de>
1185
1186 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1187 * sunrpc/svc_simple.c: Use it for registerrpc.
1188 * sunrpc/xcrypt.c: Use it for passwd2des.
1189
1190 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1191
1192 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1193
1194 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1195 Don't define if [__SYSCALL_WORDSIZE != 32].
1196 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1197 New macro.
1198
1199 2012-05-21 Bruno Haible <bruno@clisp.org>
1200 Andreas Jaeger <aj@suse.de>
1201
1202 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1203 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1204 inptr and inend for must_buffer_ch.
1205 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1206 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1207 * stdio-common/Makefile (tests): Remove bug15.
1208 (bug15-ENV): Remove macro.
1209 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1210 anymore.
1211
1212 2012-05-19 Andreas Jaeger <aj@suse.de>
1213 Roland McGrath <roland@hack.frob.com>
1214
1215 * manual/contrib.texi: Completely rewritten. It contains now an
1216 alphabetical list of contributors and their contributions.
1217
1218 2012-05-21 Richard Henderson <rth@twiddle.net>
1219
1220 * misc/getauxval.c (__getauxval): Use unsigned long int.
1221 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1222 (getauxval): Use unsigned long int.
1223
1224 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1225
1226 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1227
1228 2012-05-21 Roland McGrath <roland@hack.frob.com>
1229
1230 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1231 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1232 __alignof__ (long double).
1233
1234 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1235
1236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1237
1238 2012-05-20 Richard Henderson <rth@twiddle.net>
1239
1240 * misc/getauxval.c: New file.
1241 * misc/sys/auxv.h: New file.
1242 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1243 (routines): Add getauxval.
1244 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1245 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1246 * elf/dl-sysdep.c (_dl_auxv): Remove.
1247 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1248 * elf/dl-support.c (_dl_auxv): New variable.
1249 (_dl_aux_init): Initialize it.
1250 * manual/startup.texi (Auxiliary Vector): New node.
1251 * sysdeps/generic/bits/hwcap.h: New file.
1252 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1253 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1254 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1255 * sysdeps/sparc/sysdep.h: ... here. Include it.
1256 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1257 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1259 Update.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1263 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1268
1269 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1270
1271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1272
1273 2012-05-19 David S. Miller <davem@davemloft.net>
1274
1275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1276
1277 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1278
1279 [BZ #14123]
1280 * math/s_ccosh.c: Include <float.h>
1281 (__ccosh): Avoid internal overflow calculating sinh and cosh
1282 values before multiplying by sin and cos values.
1283 * math/s_ccoshf.c: Likewise.
1284 * math/s_ccoshl.c: Likewise.
1285 * math/s_csin.c: Likewise.
1286 * math/s_csinf.c: Likewise.
1287 * math/s_csinl.c: Likewise.
1288 * math/s_csinh.c: Likewise.
1289 * math/s_csinhf.c: Likewise.
1290 * math/s_csinhl.c: Likewise.
1291 * math/libm-test.inc (ccos_test): Add more tests.
1292 (ccosh_test): Likewise.
1293 (csin_test): Likewise.
1294 (csinh_test): Likewise.
1295 * sysdeps/i386/fpu/libm-test-ulps: Update.
1296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1297
1298 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1299
1300 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1301 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1302
1303 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1304
1305 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1306
1307 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1308 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1309 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1310 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1311 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1312 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1313 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1314 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1315 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1316 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1317 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1318 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1319 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1320 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1321 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1322 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1323 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1324 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1325 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1326 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1327 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1328 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1329 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1330 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1331 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1332 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1333 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1334 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1335 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1336 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1337 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1338
1339 2012-05-18 Andreas Jaeger <aj@suse.de>
1340
1341 * csu/.gitignore: Delete.
1342
1343 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1344
1345 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1346 (timex): Use __syscall_slong_t.
1347
1348 2012-05-18 Andreas Jaeger <aj@suse.de>
1349 Carlos O'Donell <carlos_odonell@mentor.com>
1350
1351 * manual/install.texi (Configuring and compiling): Update
1352 description about files modified in the source directory.
1353 * INSTALL: Regenerated.
1354
1355 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1356
1357 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1358 value. Use "or" to set return value to -1.
1359 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1360 negate return value.
1361
1362 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1363
1364 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1365 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1366 failure if the compiler has Graphite support disabled.
1367 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1368 Likewise.
1369 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1370 CFLAGS-memmove.c): Likewise.
1371 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1372 Likewise.
1373
1374 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1375
1376 * sysdeps/x86_64/x32/_itoa.h: New file.
1377
1378 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1379 getdents system call only if kernel and user dirents have the
1380 same d_ino and d_off.
1381
1382 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1383 LLONG_MAX != LONG_MAX.
1384 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1385 (_fitoa_word): Likewise.
1386
1387 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1388 years.
1389 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1390 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1391 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1392
1393 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1394 include <bits/wordsize.h>. Check __x86_64__ instead of
1395 __WORDSIZE.
1396 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1397 if __x86_64__ is defined. Use anonymous union on fpstate.
1398
1399 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1400 anonymous union.
1401
1402 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1403
1404 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1405 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1406 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1407 Refer to _rtld_local_ro instead of _rtld_global_ro.
1408 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1409 Likewise.
1410 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1411 Likewise.
1412 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1413 Likewise.
1414 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1415 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1416 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1417
1418 * sysdeps/powerpc/powerpc32/dl-machine.c
1419 (__elf_machine_runtime_setup) [PROF]: Don't reference
1420 _dl_prof_resolve.
1421
1422 2012-05-18 Andreas Jaeger <aj@suse.de>
1423
1424 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1425 function only available for GCCs before 3.4 since GCC 3.4
1426 introduced a builtin.
1427 (lrint): Likewise.
1428 (llrintf): Likewise.
1429 (llrint): Likewise.
1430 (fmaxf): Likewise.
1431 (fmax): Likewise.
1432 (fminf): Likewise.
1433 (fmin): Likewise.
1434 (rint): Likewise.
1435 (rintf): Likewise.
1436 (nearbyint): Likewise.
1437 (nearbyintf): Likewise.
1438 (ceil): Likewise.
1439 (ceilf): Likewise.
1440 (floor): Likewise.
1441 (floorf): Likewise.
1442
1443 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1444
1445 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1446 on both fields and cast pointer to __syscall_ulong_t.
1447
1448 * bits/types.h (__fsword_t): New type.
1449 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1450 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1452 (__FSWORD_T_TYPE): Likewise.
1453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1454 (__FSWORD_T_TYPE): Likewise.
1455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1456 (__FSWORD_T_TYPE): Likewise.
1457 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1458 (__FSWORD_T_TYPE): Likewise.
1459 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1460 __SWORD_TYPE with __fsword_t.
1461 (statfs64): Likewise.
1462
1463 2012-05-17 David S. Miller <davem@davemloft.net>
1464
1465 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1466
1467 2012-05-17 Andreas Jaeger <aj@suse.de>
1468
1469 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1470 warning.
1471
1472 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1473
1474 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1475
1476 2012-05-17 Andreas Jaeger <aj@suse.de>
1477
1478 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1479 when it is used.
1480
1481 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1482
1483 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1484
1485 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1486
1487 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1488 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1489
1490 2012-05-17 Andreas Jaeger <aj@suse.de>
1491 Carlos O'Donell <carlos_odonell@mentor.com>
1492
1493 [BZ #14059]
1494 * sysdeps/x86_64/multiarch/init-arch.h
1495 (bit_YMM_Usable): Rename to...
1496 (bit_AVX_Usable): ... this.
1497 (bit_FMA4_Usable): New macro.
1498 (bit_XMM_state): New macro.
1499 (bit_YMM_state): New macro.
1500 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1501 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1502 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1503 (CPUID_OSXSAVE): New macro.
1504 (CPUID_AVX): New macro.
1505 (CPUID_FMA4): New macro.
1506 (index_YMM_Usable): Rename to...
1507 (index_AVX_Usable): ... this.
1508 (HAS_AVX): Use HAS_ARCH_FEATURE.
1509 (HAS_FMA4): Likewise.
1510 (HAS_YMM_USABLE): Remove.
1511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1512 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1513 are present.
1514 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1515 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1516 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1517 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1518 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1519
1520 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1521
1522 * math/libm-test.c: Support platforms without multiple rounding modes.
1523 * math/bug-nextafter.c: Support platforms without FP exceptions.
1524 * math/bug-nexttoward.c: Likewise.
1525 * math/test-fenv.c: Likewise.
1526 * math/test-misc.c: Likewise.
1527 * stdlib/bug-getcontext.c: Likewise.
1528
1529 2012-05-17 Andreas Jaeger <aj@suse.de>
1530
1531 * manual/examples/search.c (critter_cmp): Change signature to
1532 avoid warnings.
1533 * manual/string.texi (Collation Functions): Likewise.
1534
1535 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1536
1537 * bits/types.h: Fold copyright years.
1538 * bits/typesizes.h: Likewise.
1539 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1542 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1543 * time/time.h: Likewise.
1544
1545 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1546
1547 [BZ #208]
1548 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1549 in instead of returning them. Return void.
1550 (__libc_mallinfo): Accumulate over all arenas.
1551 (__malloc_stats): Adjust for change in int_mallinfo interface.
1552
1553 2012-05-16 Roland McGrath <roland@hack.frob.com>
1554
1555 [BZ #10375]
1556 * configure.in (NM): Add AC_CHECK_TOOL for it.
1557 (libc_extra_cflags): New substituted variable.
1558 Check for -fstack-protector being used implicitly.
1559 * configure: Regenerated.
1560 * config.make.in (config-extra-cflags): New variable,
1561 gets @libc_extra_cflags@.
1562 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1563
1564 [BZ #10375]
1565 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1566 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1567 * configure: Regenerated.
1568 * config.make.in (CPPUNDEFS): New substituted variable.
1569 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1570 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1571 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1572
1573 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1574
1575 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1576 (mq_attr): Use __syscall_slong_t.
1577
1578 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1579
1580 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1581 Check __x86_64__ instead of __WORDSIZE.
1582 (_STAT_VER_LINUX): Likewise.
1583 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1584 __syscall_ulong_t and __syscall_slong_t.
1585 (stat64): Likewise.
1586
1587 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1590
1591 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1594
1595 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1596
1597 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1598 __syscall_ulong_t.
1599
1600 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1601 include <bits/wordsize.h>. Check __x86_64__ instead of
1602 __WORDSIZE.
1603 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1604 defined.
1605 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1606
1607 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1608 include <bits/wordsize.h>. Check __x86_64__ instead of
1609 __WORDSIZE.
1610 (user_regs_struct): Use "__extension__ unsigned long long"
1611 instead of "unsigned long" if __x86_64__ is defined.
1612 (user): Likewise. Pad after pointer field if __ILP32__ is
1613 defined.
1614
1615 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1616
1617 * configure.in (makeinfo): Require version 4.5 or later. Allow
1618 versions 5 to 9.
1619 * configure: Regenerated.
1620 * manual/install.texi (texinfo): Increase version requirement to
1621 4.5 or later.
1622 * INSTALL: Regenerated.
1623
1624 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1625
1626 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1627
1628 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1629
1630 * sysdeps/x86_64/x32/ffs.c: New file.
1631
1632 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1633 __syscall_ulong_t.
1634 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1635 defined. Use __syscall_ulong_t.
1636 (shminfo): Use __syscall_ulong_t.
1637 (shm_info): Likewise.
1638
1639 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1640 __syscall_ulong_t.
1641
1642 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1643 <bits/wordsize.h>.
1644 (msgqnum_t): Use __syscall_ulong_t.
1645 (msglen_t): Likewise.
1646 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1647 __syscall_ulong_t.
1648
1649 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1650 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1651
1652 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1653
1654 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1655 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1656
1657 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1658 __syscall_slong_t.
1659
1660 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1661 include <bits/wordsize.h>. Check __x86_64__ instead of
1662 __WORDSIZE.
1663
1664 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1665 "unsigned long long int" if __x86_64__ is defined.
1666 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1667
1668 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1669 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1670 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1671
1672 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1673 <stdint.h>.
1674 (GET_PC): Cast to uintptr_t first.
1675 (GET_FRAME): Likewise.
1676 (GET_STACK): Likewise.
1677
1678 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1679 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1680 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1681 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1682 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1683 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1684 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1685 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1686 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1688 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1689 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1690 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1691 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1692 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1693 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1695 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1696 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1697 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1698 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1699 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1701 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1703 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1704 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1705 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1706 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1707
1708 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1709
1710 * Makerules (+depfiles): Also collect depfiles from .oS in
1711 $(extra-objs).
1712 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1713 .oS, $(libnldbl-routines)).
1714
1715 * Makerules (native-compile-mkdep-flags): Define.
1716 * sunrpc/Makefile (extra-objs): Add $(addprefix
1717 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1718 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1719 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1720 calling $(make-target-directory).
1721
1722 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1723
1724 * bits/types.h (__snseconds_t): Removed.
1725 * time/time.h (struct timespec): Replace __snseconds_t with
1726 __syscall_slong_t.
1727 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1728 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1729 Likewise.
1730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1731 (__SNSECONDS_T_TYPE): Likewise.
1732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1733 (__SNSECONDS_T_TYPE): Likewise.
1734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1735 (__SNSECONDS_T_TYPE): Likewise.
1736
1737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1738
1739 * sysdeps/mach/hurd/bits/typesizes.h
1740 (__SYSCALL_SLONG_TYPE): New macro.
1741 (__SYSCALL_ULONG_TYPE): Likewise.
1742
1743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1744
1745 * bits/types.h (__syscall_slong_t): New type.
1746 (__syscall_ulong_t): Likewise.
1747
1748 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1749 (__SYSCALL_ULONG_TYPE): Likewise.
1750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1751 (__SYSCALL_SLONG_TYPE): Likewise.
1752 (__SYSCALL_ULONG_TYPE): Likewise.
1753 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1754 (__SYSCALL_SLONG_TYPE): Likewise.
1755 (__SYSCALL_ULONG_TYPE): Likewise.
1756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1757 (__SYSCALL_SLONG_TYPE): Likewise.
1758 (__SYSCALL_ULONG_TYPE): Likewise.
1759
1760 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1761
1762 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1763 Add sigaltstack-offsets.sym.
1764 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1765 <sigaltstack-offsets.h>.
1766 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1767 longjmp_msg pointer.
1768 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1769 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1770 signal stack.
1771 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1772
1773 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1774
1775 * elf/stackguard-macros.h: Remove file.
1776 * sysdeps/generic/stackguard-macros.h: New file.
1777 * sysdeps/i386/stackguard-macros.h: Likewise.
1778 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1779 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1780 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1781 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1782 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1783 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1784 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1785 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1786 <elf/stackguard-macros.h>.
1787
1788 [BZ #14109]
1789 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1790 __aligned__ in attribute.
1791 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1792 (gregset_t): Likewise.
1793
1794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1797 * sysdeps/x86_64/64/Implies-after: Here. New file.
1798 * sysdeps/x86_64/x32/Implies-after: New file.
1799
1800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1801
1802 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1803 and access return value for _dl_profile_fixup. Use R10_LP to
1804 load frame size.
1805
1806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1809
1810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1811
1812 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1813 * sysdeps/x86_64/x32/sysdep.h: New file.
1814
1815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1816
1817 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1818 * sysdeps/x86_64/setjmp.S: Likewise.
1819
1820 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1821
1822 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1823 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1824 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1825 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1826 remove unused global constant.
1827
1828 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1829
1830 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1831 include of <not-cancel.h>.
1832
1833 2012-05-15 Roland McGrath <roland@hack.frob.com>
1834
1835 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1836
1837 2012-05-15 Jeff Law <law@redhat.com>
1838 Andreas Jaeger <aj@suse.de>
1839
1840 [BZ #13594]
1841 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1842 out from...
1843 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1844 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1845 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1846 code changing __hst_map_handle.map.
1847
1848 2012-05-15 Roland McGrath <roland@hack.frob.com>
1849
1850 * configure.in (sysnames): Look for Implies-before and Implies-after
1851 files.
1852 * configure: Regenerated.
1853
1854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1855
1856 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1857 8-byte data alignment with LP_SIZE alignment.
1858
1859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1860
1861 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1862 into R10_LP.
1863
1864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1865
1866 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1867
1868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1869
1870 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1871 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1872 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1873 Likewise.
1874 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1875
1876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1877
1878 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1879 (stackinfo_sub_sp): Likewise.
1880
1881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1882
1883 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1884 RAX_LP.
1885
1886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1887
1888 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1889 into R*_LP.
1890
1891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1894 sizes into R*_LP.
1895
1896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1899
1900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1903 into R11_LP and load __x86_64_shared_cache_size_half into
1904 R8_LP.
1905
1906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1907
1908 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1909 R8_LP.
1910
1911 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1912
1913 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1914 logb for POWER7.
1915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1916 logbf for POWER7.
1917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1918 logbl for POWER7.
1919 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1920 powerpc32/power7/fpu/s_logb.c via #include.
1921 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1922 powerpc32/power7/fpu/s_logbf.c via #include.
1923 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1924 powerpc32/power7/fpu/s_logbl.c via #include.
1925
1926 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1927
1928 * README.libm: Remove file.
1929
1930 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1933 count for x32. Use R*_LP and omit operand-size suffix.
1934
1935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1936
1937 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1938 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1939 * sysdeps/x86_64/x32/shlib-versions: New file.
1940
1941 2012-05-14 Roland McGrath <roland@hack.frob.com>
1942
1943 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1944 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1945 Use _dl_fatal_printf instead.
1946
1947 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1948
1949 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1950 set if not set by the user. Do not allow for being unset.
1951 * sysdeps/unix/sysv/linux/configure: Regenerated.
1952
1953 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1954
1955 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1956 the `q' suffix from lea and replace .quad with ASM_ADDR.
1957
1958 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1959
1960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1961 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1962 instead of $17.
1963 (PTR_DEMANGLE): Likewise.
1964
1965 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1966
1967 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1968 (LP_OP): Likewise.
1969 (ASM_ADDR): Likewise.
1970 (RAX_LP): Likewise.
1971 (RBP_LP): Likewise.
1972 (RBX_LP): Likewise.
1973 (RCX_LP): Likewise.
1974 (RDI_LP): Likewise.
1975 (RSI_LP): Likewise.
1976 (RSP_LP): Likewise.
1977 (R8_LP): Likewise.
1978 (R9_LP): Likewise.
1979 (R10_LP): Likewise.
1980 (R10_LP): Likewise.
1981 (R11_LP): Likewise.
1982 (R12_LP): Likewise.
1983 (R13_LP): Likewise.
1984 (R14_LP): Likewise.
1985 (R15_LP): Likewise.
1986
1987 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1988
1989 * sysdeps/x86_64/x32/dl-machine.h: New file.
1990
1991 2012-05-14 Andreas Jaeger <aj@suse.de>
1992
1993 * manual/Makefile (subdir): Remove export of subdir.
1994 (all): Remove target.
1995 (.PHONY): Remove all from list.
1996 (mkinstalldirs): Remove.
1997 (.PHONY): Remove installdirs from list.
1998 ($(inst_infodir)/libc.info): Use make-target-directory.
1999 (installdirs): Remove.
2000 (subdir_%): Remove.
2001 (glibc-targets): Remove.
2002 (lib): Remove.
2003 (stubs): Remove.
2004 ($(objpfx)stubs ../po/manual.pot): Remove.
2005 ($(objpfx)stamp%): Remove.
2006 (make-target-directory): Remove.
2007 (subdir_install): Remove.
2008 (routines): Remove.
2009 (aux): Remove.
2010 (sources): Remove.
2011 (objects): Remove.
2012 (headers): Remove.
2013
2014 [BZ #13750]
2015 * manual/.gitignore: Remove, it's not needed anymore.
2016 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2017 all files in it.
2018 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2019 directory.
2020 (texis): Renamed to $(objpfx)texis.
2021 (texis-path): New, contains path to generated files.
2022 (chapters.%): Use texis-path for complete path, add extra argument
2023 libc-texinfo.sh.
2024 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2025 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2026 (summary,texi, stamp-summary): Use complete path of
2027 files. Generate files in build dir.
2028 (dir-add.texi): Build in build dir.
2029 (libm-err.texi,stamp-libm-err): Likewise.
2030 (version.texi, stamp-version): Likewise.
2031 (.%c.texi): Likewise.
2032 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2033 (mostlyclean): Remove target.
2034 (realclean): Remove target.
2035 (generated): Add new variable with contents from mostlyclean and
2036 realclean, remove entries duplicated in common-mostlyclean, add
2037 stamp-libm-err and stamp-version.
2038 (generated-dirs): Add libc directory.
2039 ($(inst_infodir)/libc.info): Install files from build dir.
2040
2041 * manual/install.texi (Configuring and compiling): Adjust since
2042 the info files are not part of the tar ball anymore.
2043
2044 2012-05-14 Andreas Jaeger <aj@suse.de>
2045
2046 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2047 variable.
2048
2049 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2050
2051 [BZ #13717]
2052 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2053 to 2.2.0 where earlier.
2054 * sysdeps/unix/sysv/linux/configure: Regenerated.
2055 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2056 Remove conditional code.
2057 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2058 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2059 Remove conditional code.
2060 [!__NR_lchown]: Likewise.
2061 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2062 [__NR_lchown]: Likewise.
2063 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2064 comment referencing __ASSUME_LCHOWN_SYSCALL.
2065 * sysdeps/unix/sysv/linux/i386/sigaction.c
2066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2068 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2069 Remove conditional code.
2070 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2071 (__protocol_available): Remove #if 0 code.
2072 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2073 conditional code.
2074 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2075 * sysdeps/unix/sysv/linux/kernel-features.h
2076 (__ASSUME_GETCWD_SYSCALL): Don't define.
2077 (__ASSUME_REALTIME_SIGNALS): Likewise.
2078 (__ASSUME_PREAD_SYSCALL): Likewise.
2079 (__ASSUME_PWRITE_SYSCALL): Likewise.
2080 (__ASSUME_POLL_SYSCALL): Likewise.
2081 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2082 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2083 non-SPARC.
2084 (__ASSUME_SIOCGIFNAME): Don't define.
2085 (__ASSUME_MSG_NOSIGNAL): Likewise.
2086 (__ASSUME_SENDFILE): Define unconditionally.
2087 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2088 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2089 conditional code.
2090 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2091 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2092 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2093 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2094 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2095 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2096 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2098 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2101 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2104 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2107 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2108 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2110 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2116 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2121 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2122 Remove conditional code.
2123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2124 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2125 Remove conditional code.
2126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2127 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2128 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2129 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2130 Remove conditional code.
2131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2132 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2133 Remove conditional code.
2134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2135 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2136 Remove conditional code.
2137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2138 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2139 Remove conditional code.
2140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2141 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2142 Remove conditional code.
2143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2144 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2145 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2147 * sysdeps/unix/sysv/linux/sigaction.c
2148 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2149 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2150 * sysdeps/unix/sysv/linux/sigpending.c
2151 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2152 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2153 * sysdeps/unix/sysv/linux/sigprocmask.c
2154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2156 * sysdeps/unix/sysv/linux/sigsuspend.c
2157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2159 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2160 (__libc_missing_rt_sigs): Remove.
2161 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2162 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2163 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2164 Remove conditional code.
2165 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2166 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2167 return 1.
2168 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2169 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2170 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2171 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2172
2173 2012-05-14 Andreas Jaeger <aj@suse.de>
2174
2175 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2176 it's not used in glibc.
2177 (__coshm1): Likewise.
2178 (__acosh1p): Likewise.
2179 (__sgn): Likewise.
2180
2181 * manual/string.texi (Copying and Concatenation): Add missing
2182 variable in concat example.
2183 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2184
2185 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2186
2187 [BZ #14103]
2188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2189 __builtin_clzl with __builtin_clzll.
2190
2191 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2192
2193 [BZ #14104]
2194 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2195 libc_freeres_ptr.
2196
2197 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2198
2199 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2200 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2201 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2202 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2203
2204 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2205
2206 * NEWS: Update ia64 info.
2207
2208 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2209
2210 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2211 used as bcopy.
2212
2213 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2214
2215 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2216 * sysdeps/unix/syscalls.list (dup3): Likewise.
2217 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2218 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2219
2220 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2221
2222 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2223 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2224
2225 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2226
2227 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2228 thread pointer.
2229 (TLS_IE): Use mov/add instead of movq/addq to load thread
2230 pointer.
2231 (TLS_GD_PREFIX): New.
2232 (TLS_GD): Use it.
2233
2234 2012-05-11 David S. Miller <davem@davemloft.net>
2235
2236 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2237 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2238 (_FPU_SETCW): Likewise.
2239
2240 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2241
2242 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2243 is 32-byte aligned.
2244
2245 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2246
2247 [BZ #11837]
2248 * iconvdata/gb18030.c: Update tables.
2249 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2250 characters specially.
2251 (BODY for TO_LOOP): Add encoding of missing ranges.
2252
2253 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2254
2255 [BZ #13673]
2256 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2257 * sysdeps/mach/hurd/dup3.c: Likewise.
2258 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2259 * sysdeps/powerpc/memmove.c:: Likewise.
2260
2261 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2262
2263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2264 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2265
2266 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2267
2268 * elf/elf.h (R_X86_64_RELATIVE64): New.
2269 (R_X86_64_NUM): Updated.
2270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2271 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2272 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2273 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2274 tst-quad1pie tst-quad2pie
2275 (modules-names): Add tst-quadmod1 tst-quadmod2.
2276 ($(objpfx)tst-quad1): New dependency.
2277 ($(objpfx)tst-quad2): Likewise.
2278 ($(objpfx)tst-quad1pie): Likewise.
2279 ($(objpfx)tst-quad2pie): Likewise.
2280 * sysdeps/x86_64/tst-quad1.c: New file.
2281 * sysdeps/x86_64/tst-quad1pie.c: New file.
2282 * sysdeps/x86_64/tst-quad2.c: Likewise.
2283 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2284 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2285 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2286 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2287 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2288
2289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2290
2291 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2292 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2293 * streams/stropts.h (t_scalar_t): Define type.
2294
2295 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2296 (_PATH_PRESERVE): Set to "/var/lib".
2297 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2298
2299 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2300 instead of int.
2301
2302 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2303 if __dir_mkfile succeeded.
2304
2305 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2306 checking for _hurd_dtablesize. Unlock it right after having
2307 finished _hurd_dtable allocation.
2308
2309 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2310
2311 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2312 * sysdeps/mach/hurd/configure: Regenerated.
2313 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2314 special-casing to...
2315 * sysdeps/gnu/configure.in: ... this new file.
2316 * sysdeps/unix/sysv/linux/configure: Regenerated.
2317 * sysdeps/gnu/configure: New generated file.
2318
2319 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2320 for Linux: use nsec instead of usec, as well as:
2321 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2322 members of type struct timespec.
2323 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2324 New macros.
2325 (struct stat64): Likewise.
2326 (_STATBUF_ST_NSEC): New macro.
2327 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2328
2329 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2330 __strtoul_internal rather than strtoul.
2331
2332 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2333
2334 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2335 and reject them.
2336
2337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2338
2339 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2340 which preserves existing values.
2341 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2342
2343 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2344
2345 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2346 TIMEOUT values. Return EINVAL for NFDS values either negative or
2347 greater than FD_SETSIZE.
2348
2349 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2350
2351 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2352 allocated, call __vm_protect to finish enabling the existing space, and
2353 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2354 allocate the remainder.
2355
2356 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2357
2358 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2359 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2360
2361 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2362
2363 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2364 sysdeps/mach/hurd/readlink.c.
2365
2366 * posix/tst-sysconf.c (posix_options): Only use
2367 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2368 _POSIX_SYNCHRONIZED_IO when they are defined
2369 * sysdeps/mach/hurd/bits/posix_opt.h:
2370 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2371 (_XOPEN_REALTIME): Undefine macro.
2372 (_XOPEN_REALTIME_THREADS): Undefine macro.
2373 (_XOPEN_SHM): Undefine macro.
2374 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2375 macro to -1.
2376 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2377 macro to -1.
2378 (_POSIX_ASYNC_IO): Undefine macro.
2379 (_POSIX_PRIORITIZED_IO): Undefine macro.
2380 (_POSIX_SPIN_LOCKS): Define macro to -1.
2381
2382 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2383 SA_NODEFER, SA_RESETHAND.
2384 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2385 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2386 F_DUPFD_CLOEXEC.
2387
2388 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2389
2390 * elf/Makefile (pldd-modules): Define unconditionally.
2391
2392 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2393
2394 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2395
2396 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2397
2398 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2399 Return ENOENT when name is empty.
2400 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2401
2402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2403
2404 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2405
2406 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2407
2408 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2409
2410 Fix mlock in all cases except non-readable pages.
2411 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2412 instead of VM_PROT_ALL as parameter to __vm_wire function.
2413
2414 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2415 (__mkdir): When path is `/', just fail with EEXIST.
2416 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2417
2418 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2419
2420 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2421 <sys/uio.h> (for writev).
2422 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2423 and <sys/param.h> (for MIN).
2424
2425 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2426
2427 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2428 REQUESTED_TIME. Properly set the remaining time and return EINTR
2429 if interrupted.
2430
2431 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2432
2433 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2434 Depend on against $(link-rpcuserlibs).
2435
2436 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2437
2438 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2439 (__libc_stack_end): Do not use attribute_relro.
2440 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2441 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2442 to libthread-provided value.
2443 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2444 attribute_relro.
2445
2446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2447
2448 [BZ #3748]
2449 * bits/libc-lock.h (__libc_once_get): New macro.
2450 * sysdeps/mach/bits/libc-lock.h: Likewise.
2451 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2453 instead of using implementation details.
2454
2455 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2456 * libio/freopen.c: Likewise.
2457 * libio/freopen64.c: Likewise.
2458 * misc/syslog.c: Likewise.
2459 * nscd/connections.c: Likewise.
2460 * nscd/netgroupcache.c: Likewise.
2461 * sysdeps/posix/getcwd.c: Likewise.
2462
2463 2012-05-10 Roland McGrath <roland@hack.frob.com>
2464
2465 * math/w_ilogbf.c: Add #include <limits.h>.
2466
2467 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2468
2469 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2470 path instead of returning without unlocking.
2471
2472 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2473 immediate-write ioctls.
2474 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2475
2476 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2477
2478 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2479 __builtin_frame_address instead of making assumptions about the
2480 location of the return address relative to DATA. Force early load of
2481 the return address.
2482 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2483 __builtin_frame_address.
2484
2485 dup3 for GNU Hurd.
2486 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2487 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2488 implement dup3 and do some further code clean-ups.
2489 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2490 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2491
2492 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2493
2494 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2495
2496 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2497 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2498 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2499 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2500 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2501 d->port.lock.
2502
2503 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2504 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2505 when handler == SIG_ERR, not when handler != SIG_ERR.
2506
2507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2508
2509 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2510 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2511 definitions.
2512
2513 accept4 for GNU Hurd.
2514 * include/sys/socket.h (__libc_accept4): New prototype.
2515 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2516 to implement __libc_accept4.
2517 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2518 __libc_accept4.
2519 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2520
2521 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2522 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2523 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2524 signal-defines.sym.
2525
2526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2527
2528 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2529
2530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2531
2532 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2533 assertion on O_CLOEXEC flag.
2534 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2535 * hurd/intern-fd.c: Likewise.
2536 * hurd/port2fd.c: Likewise.
2537
2538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2539
2540 [BZ #3906]
2541 * bits/in.h (IPV6_PKTINFO): Define new macro.
2542 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2543
2544 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2545
2546 [BZ #13954]
2547 [BZ #13955]
2548 [BZ #13956]
2549 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2550 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2551 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2552 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2553 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2554 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2555 * math/libm-test.inc (logb_test) : Additional logb tests.
2556
2557 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2558 Andreas Jaeger <aj@suse.de>
2559
2560 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2561 * configure: Regenerated.
2562 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2563 * config.make.in (link-obsolete-rpc): New substituted variable.
2564 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2565 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2566 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2567 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2568 so that libc.a contains the symbols.
2569 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2570 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2571 * sunrpc/auth_none.c: Likewise.
2572 * sunrpc/auth_unix.c: Likewise.
2573 * sunrpc/authdes_prot.c: Likewise.
2574 * sunrpc/authuxprot.c: Likewise.
2575 * sunrpc/clnt_gen.c: Likewise.
2576 * sunrpc/clnt_perr.c: Likewise.
2577 * sunrpc/clnt_raw.c: Likewise.
2578 * sunrpc/clnt_simp.c: Likewise.
2579 * sunrpc/clnt_tcp.c: Likewise.
2580 * sunrpc/clnt_udp.c: Likewise.
2581 * sunrpc/clnt_unix.c: Likewise.
2582 * sunrpc/des_crypt.c: Likewise.
2583 * sunrpc/des_soft.c: Likewise.
2584 * sunrpc/get_myaddr.c: Likewise.
2585 * sunrpc/key_call.c: Likewise.
2586 * sunrpc/key_prot.c: Likewise.
2587 * sunrpc/netname.c: Likewise.
2588 * sunrpc/pm_getmaps.c: Likewise.
2589 * sunrpc/pm_getport.c: Likewise.
2590 * sunrpc/pmap_clnt.c: Likewise.
2591 * sunrpc/pmap_prot.c: Likewise.
2592 * sunrpc/pmap_prot2.c: Likewise.
2593 * sunrpc/pmap_rmt.c: Likewise.
2594 * sunrpc/publickey.c: Likewise.
2595 * sunrpc/rpc_cmsg.c: Likewise.
2596 * sunrpc/rpc_common.c: Likewise.
2597 * sunrpc/rpc_dtable.c: Likewise.
2598 * sunrpc/rpc_prot.c: Likewise.
2599 * sunrpc/rpc_thread.c: Likewise.
2600 * sunrpc/rtime.c: Likewise.
2601 * sunrpc/svc.c: Likewise.
2602 * sunrpc/svc_auth.c: Likewise.
2603 * sunrpc/svc_raw.c: Likewise.
2604 * sunrpc/svc_run.c: Likewise.
2605 * sunrpc/svc_tcp.c: Likewise.
2606 * sunrpc/svc_udp.c: Likewise.
2607 * sunrpc/svc_unix.c: Likewise.
2608 * sunrpc/svcauth_des.c: Likewise.
2609 * sunrpc/xcrypt.c: Likewise.
2610 * sunrpc/xdr.c: Likewise.
2611 * sunrpc/xdr_array.c: Likewise.
2612 * sunrpc/xdr_float.c: Likewise.
2613 * sunrpc/xdr_intXX_t.c: Likewise.
2614 * sunrpc/xdr_mem.c: Likewise.
2615 * sunrpc/xdr_rec.c: Likewise.
2616 * sunrpc/xdr_ref.c: Likewise.
2617 * sunrpc/xdr_sizeof.c: Likewise.
2618 * sunrpc/xdr_stdio.c: Likewise.
2619
2620 2012-05-10 Roland McGrath <roland@hack.frob.com>
2621
2622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2623 change. Update copyright years.
2624
2625 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2626
2627 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2628
2629 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2630 Joseph Myers <joseph@codesourcery.com>
2631 Paul Pluzhnikov <ppluzhnikov@google.com>
2632
2633 [BZ #14012]
2634 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2635 requiring rpcgen.
2636 [cross-compiling] (extra-libs): Likewise.
2637 [cross-compiling] (extra-libs-others): Likewise.
2638 [cross-compiling] (librpcsvc-routines): Likewise.
2639 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2640 [cross-compiling] (omit-deps): Likewise.
2641 (sunrpc-CPPFLAGS): New variable.
2642 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2643 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2644 (cross-rpcgen-objs): New variable.
2645 (extra-objs): Append $(cross-rpcgen-objs).
2646 ($(cross-rpcgen-objs)): New rule.
2647 ($(objpfx)cross-rpcgen): Likewise.
2648 (rpcgen-cmd): Define to use $(built-program-file). Expand
2649 comment.
2650 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2651 ($(objpfx)x%.stmp): Likewise.
2652 * sunrpc/proto.h [IS_IN_build] (_): Define.
2653 [IS_IN_build] (_libc_intl_domainname): Likewise.
2654
2655 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2656
2657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2658 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2659 and R_X86_64_TPOFF64.
2660
2661 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2662
2663 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2664 sysdeps/unix/sysv/syscalls.list.
2665 (stime): Likewise.
2666 (utime): Likewise.
2667 * sysdeps/unix/sysv/syscalls.list: Remove file.
2668
2669 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2670
2671 [BZ #3440]
2672 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2673 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2674 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2675 (__LC_IDENTIFICATION): Make these macros useful in #if
2676 expressions, as required by C99.
2677
2678 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2679
2680 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2681 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2682 after this.
2683
2684 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2685
2686 * stdlib/longlong.h: Updated from GCC.
2687
2688 2012-05-09 Andreas Jaeger <aj@suse.de>
2689
2690 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2691 default is first entry.
2692 (run_mode): Set type.
2693 (main): Remove informal message about syslog.
2694 (options): Fix typo.
2695
2696 [BZ #14053]
2697 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2698 to asm.
2699 (lrint): Likewise.
2700 (llrintf): Likewise.
2701 (llrint): Likewise.
2702 (rint): Likewise.
2703 (rintf): Likewise.
2704 (nearbyint): Likewise.
2705 (nearbyintf): Likewise.
2706
2707 2012-05-09 Andreas Jaeger <aj@suse.de>
2708 Pedro Alves <palves@redhat.com>
2709
2710 * nscd/nscd.c (run_mode): Use enum.
2711 (main): Cleanup coding style issue.
2712
2713 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2714 Andreas Jaeger <aj@suse.de>
2715
2716 * nscd/nscd.c (go_background): Replaced with...
2717 (run_mode): ... this.
2718 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2719 (options): Add -F --foreground.
2720 (main): Implement it.
2721 (parse_opt): Parse it.
2722
2723 2012-05-09 Andreas Jaeger <aj@suse.de>
2724
2725 [BZ #14083]
2726 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2727 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2728 -Wconversion warning.
2729 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2730 Likewise.
2731
2732 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2733
2734 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2735 == 0.
2736 (LC_ALL): Use macro-int-constant.
2737 (LC_COLLATE): Likewise.
2738 (LC_CTYPE): Likewise.
2739 (LC_MESSAGES): Likewise.
2740 (LC_MONETARY): Likewise.
2741 (LC_NUMERIC): Likewise.
2742 (LC_TIME): Likewise.
2743 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2744 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2745 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2746 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2747 Specify type.
2748 [C99-based standards] (float_t): Expect type.
2749 [C99-based standards] (double_t): Expect type.
2750 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2751 type.
2752 [C99-based standards] (HUGE_VALL): Likewise.
2753 [C99-based standards] (INFINITY): Likewise.
2754 [C99-based standards] (NAN): Likewise.
2755 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2756 [C99-based standards] (FP_NAN): Likewise.
2757 [C99-based standards] (FP_NORMAL): Likewise.
2758 [C99-based standards] (FP_SUBNORMAL): Likewise.
2759 [C99-based standards] (FP_ZERO): Likewise.
2760 [C99-based standards] (FP_FAST_FMA): Use
2761 optional-macro-int-constant. Specify type. Require == 1.
2762 [C99-based standards] (FP_FAST_FMAF): Likewise.
2763 [C99-based standards] (FP_FAST_FMAL): Likewise.
2764 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2765 [C99-based standards] (FP_ILOGBNAN): Likewise.
2766 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2767 Specify type.
2768 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2769 [C99-based standards] (math_errhandling): Specify type.
2770 [ISO99 || ISO11] (signgam): Do not allow.
2771 [non-C99-based standards] (copysignf): Do not allow.
2772 [non-C99-based standards] (exp2f): Likewise.
2773 [non-C99-based standards] (log2f): Likewise.
2774 [non-C99-based standards] (modff): Allow.
2775 [non-C99-based standards] (erff): Do not allow.
2776 [non-C99-based standards] (erfcf): Likewise.
2777 [non-C99-based standards] (gammaf): Likewise.
2778 [non-C99-based standards] (hypotf): Likewise.
2779 [non-C99-based standards] (j0f): Likewise.
2780 [non-C99-based standards] (j1f): Likewise.
2781 [non-C99-based standards] (jnf): Likewise.
2782 [non-C99-based standards] (lgammaf): Likewise.
2783 [non-C99-based standards] (tgammaf): Likewise.
2784 [non-C99-based standards] (y0f): Likewise.
2785 [non-C99-based standards] (y1f): Likewise.
2786 [non-C99-based standards] (ynf): Likewise.
2787 [non-C99-based standards] (isnanf): Likewise.
2788 [non-C99-based standards] (acoshf): Likewise.
2789 [non-C99-based standards] (asinhf): Likewise.
2790 [non-C99-based standards] (atanhf): Likewise.
2791 [non-C99-based standards] (cbrtf): Likewise.
2792 [non-C99-based standards] (expm1f): Likewise.
2793 [non-C99-based standards] (ilogbf): Likewise.
2794 [non-C99-based standards] (log1pf): Likewise.
2795 [non-C99-based standards] (logbf): Likewise.
2796 [non-C99-based standards] (nextafterf): Likewise.
2797 [non-C99-based standards] (remainderf): Likewise.
2798 [non-C99-based standards] (rintf): Likewise.
2799 [non-C99-based standards] (scalbf): Likewise.
2800 [non-C99-based standards] (copysignl): Likewise.
2801 [non-C99-based standards] (exp2l): Likewise.
2802 [non-C99-based standards] (log2l): Likewise.
2803 [non-C99-based standards] (modfl): Allow.
2804 [non-C99-based standards] (erfl): Do not allow.
2805 [non-C99-based standards] (erfcl): Likewise.
2806 [non-C99-based standards] (gammal): Likewise.
2807 [non-C99-based standards] (hypotl): Likewise.
2808 [non-C99-based standards] (j0l): Likewise.
2809 [non-C99-based standards] (j1l): Likewise.
2810 [non-C99-based standards] (jnl): Likewise.
2811 [non-C99-based standards] (lgammal): Likewise.
2812 [non-C99-based standards] (tgammal): Likewise.
2813 [non-C99-based standards] (y0l): Likewise.
2814 [non-C99-based standards] (y1l): Likewise.
2815 [non-C99-based standards] (ynl): Likewise.
2816 [non-C99-based standards] (isnanl): Likewise.
2817 [non-C99-based standards] (acoshl): Likewise.
2818 [non-C99-based standards] (asinhl): Likewise.
2819 [non-C99-based standards] (atanhl): Likewise.
2820 [non-C99-based standards] (cbrtl): Likewise.
2821 [non-C99-based standards] (expm1l): Likewise.
2822 [non-C99-based standards] (ilogbl): Likewise.
2823 [non-C99-based standards] (log1pl): Likewise.
2824 [non-C99-based standards] (logbl): Likewise.
2825 [non-C99-based standards] (nextafterl): Likewise.
2826 [non-C99-based standards] (remainderl): Likewise.
2827 [non-C99-based standards] (rintl): Likewise.
2828 [non-C99-based standards] (scalbl): Likewise.
2829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2830 [non-C99-based standards] (FP_*): Do not allow.
2831 [C99-based standards] (FP_*): Change to
2832 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2833 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2834 allow.
2835 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2836 (SIG_ERR): Likewise.
2837 [X/Open-based standards] (SIG_HOLD): Likewise.
2838 (SIG_IGN): Likewise.
2839 (SIGABRT): Use macro-int-constant. Specify type. Require
2840 positive value.
2841 (SIGFPE): Likewise.
2842 (SIGILL): Likewise.
2843 (SIGINT): Likewise.
2844 (SIGSEGV): Likewise.
2845 (SIGTER): Likewise.
2846 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2847 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2848 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2849 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2850 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2851 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2852 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2853 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2854 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2855 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2856 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2857 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2858 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2859 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2860 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2861 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2862 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2863 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2864 [X/Open-based standards] (SIGTRAP): Likewise.
2865 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2866 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2867 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2868 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2869 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2870 allow.
2871
2872 2012-05-08 Ian Wienand <ianw@vmware.com>
2873
2874 [BZ #14080]
2875 * time/tzset.c (__tzset_parse_tz): Update default rules for
2876 daylight time changes in the Energy Policy Act of 2005.
2877
2878 2012-05-09 Andreas Jaeger <aj@suse.de>
2879
2880 [BZ #13983]
2881 * elf/ldconfig.c (parse_conf): Change string to make clear that
2882 ldconfig only issued a warning if ld.so.conf does not exist.
2883
2884 2012-05-08 David S. Miller <davem@davemloft.net>
2885
2886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2887 movxtod instead of popping the value on the stack.
2888
2889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2890
2891 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2892
2893 * config.h.in: Add HAVE_ARM_PCS_VFP.
2894
2895 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2896
2897 [BZ #13979]
2898 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2899 checking but the checks are disabled for any reason.
2900
2901 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2902
2903 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2904 and ELF64_R_TYPE with ELFW(R_TYPE).
2905
2906 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2907
2908 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2909 (ulimit): Likewise.
2910
2911 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2912 (settimeofday): Likewise.
2913
2914 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2915
2916 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2917 a struct th_u2 inside the union, and move tu_block/tu_code into
2918 a new th_u3 union of tu_block/tu_code inside of that. Move
2919 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2920 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2921 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2922 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2923 (th_stuff): Change to th_u1.tu_stuff.
2924 (th_data): Define.
2925 (th_msg): Change to th_u1.th_u2.tu_data.
2926
2927 2012-05-07 David S. Miller <davem@davemloft.net>
2928
2929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2930
2931 [BZ #14074]
2932 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2933 (SETUP_PIC_REG): Use it.
2934 (SETUP_PIC_REG_LEAF): Use it.
2935
2936 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2937
2938 [BZ #13885]
2939 [BZ #13923]
2940 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2941 USE_AS_EXPM1L.
2942 (EXPL_FINITE): Likewise.
2943 (FLDLOG): Likewise.
2944 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2945 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2946 e_expl.S.
2947 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2948 USE_AS_EXPM1L.
2949 (EXPL_FINITE): Likewise.
2950 (FLDLOG): Likewise.
2951 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2952 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2953 e_expl.S.
2954 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2955 test of -max_value argument for long double.
2956 * sysdeps/i386/fpu/libm-test-ulps: Update.
2957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2958
2959 2012-05-06 David S. Miller <davem@davemloft.net>
2960
2961 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2962 quad soft-float symbols whose references which are compiler
2963 generated.
2964 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2965
2966 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2967
2968 [BZ #13884]
2969 [BZ #13914]
2970 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2971 USE_AS_EXP10L.
2972 (EXPL_FINITE): Likewise.
2973 (FLDLOG): Likewise.
2974 (c0): Likewise.
2975 (c1): Likewise.
2976 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2977 Adjust comments for base varying.
2978 (__expl_finite): Change alias to EXPL_FINITE.
2979 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2980 e_expl.S.
2981 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2982 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2983 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2984 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2985 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2986 USE_AS_EXP10L.
2987 (EXPL_FINITE): Likewise.
2988 (FLDLOG): Likewise.
2989 (c0): Likewise.
2990 (c1): Likewise.
2991 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2992 Adjust comments for base varying.
2993 (__expl_finite): Change alias to EXPL_FINITE.
2994 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2995 tests for bugs.
2996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2997
2998 [BZ #14064]
2999 * math/libm-test.inc (check_float_internal): Correct ulp
3000 calculation for subnormal expected results.
3001
3002 2012-05-06 Andreas Jaeger <aj@suse.de>
3003
3004 * Makeconfig (+math-flags): New, set to -frounding-math.
3005 (+cflags): Add +math-flags so that all of glibc gets compiled with
3006 it.
3007
3008 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3009
3010 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3011
3012 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3013 Disable one test.
3014
3015 [BZ #13787]
3016 [BZ #13922]
3017 [BZ #14036]
3018 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3019 (__ieee754_expl): Allow for and saturate large arguments.
3020 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3021 (u_threshold): Likewise.
3022 (__exp): Call __ieee754_exp before checking for overflow and
3023 underflow.
3024 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3025 (u_threshold): Likewise.
3026 (__expf): Call __ieee754_expf before checking for overflow and
3027 underflow.
3028 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3029 (u_threshold): Likewise.
3030 (__expl): Call __ieee754_expl before checking for overflow and
3031 underflow.
3032 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3033 (__ieee754_expl): Allow for and saturate large arguments.
3034 * math/libm-test.inc (exp_test): Add another test. Do not allow
3035 missing overflow exception on overflow.
3036 (expm1_test): Do not allow missing overflow exception on overflow.
3037
3038 * sysdeps/i386/fpu/e_expl.c: Move to ...
3039 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3040 rather than using inline asm.
3041 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3042 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3043 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3044
3045 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3046 (nice): Likewise.
3047 (poll): Likewise.
3048 (signal): Likewise.
3049 (time): Likewise.
3050 (times): Likewise.
3051
3052 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3053
3054 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3055 sysdeps/unix/common/syscalls.list.
3056 (fchmod): Likewise.
3057 (fchown): Likewise.
3058 (ftruncate): Likewise.
3059 (getrusage): Likewise.
3060 (gettimeofday): Likewise.
3061 (setpgid): Likewise.
3062 (setregid): Likewise.
3063 (setreuid): Likewise.
3064 (sigaction): Likewise.
3065 (truncate): Likewise.
3066 (vhangup): Likewise.
3067 * sysdeps/unix/common/syscalls.list: Remove file.
3068 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3069 * sysdeps/unix/sysv/linux/Implies: Likewise.
3070
3071 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3072
3073 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3075 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3076 Moved to ...
3077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3078 Here.
3079 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3080 to ...
3081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3082 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3083 to ...
3084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3085 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3086 to ...
3087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3088 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3089 to ...
3090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3091 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3092 to ...
3093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3094 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3095 to ...
3096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3097 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3098 to ...
3099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3100 Here.
3101 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3102 to ...
3103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3104 Here.
3105 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3106 to ...
3107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3108 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3109 Moved to ...
3110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3111 Here.
3112 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3113 to ...
3114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3115
3116 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3117
3118 * sysdeps/unix/common/bits/dirent.h: Remove file.
3119 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3120
3121 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3122 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3123 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3124 * sysdeps/unix/bsd/isatty.c: Likewise.
3125 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3126 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3127 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3128
3129 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3130
3131 [BZ #13563]
3132 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3133 long double comparison inaccuracies.
3134 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3136
3137 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3138
3139 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3140 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3141
3142 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #14049]
3145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3146 nonzero digits before rounding a hex value.
3147 * stdlib/tst-strtod.c (tests): Add another test.
3148
3149 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3150
3151 * sysdeps/s390/fpu/libm-test-ulps: Update.
3152
3153 2012-05-03 Andreas Jaeger <aj@suse.de>
3154
3155 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3156 does not get optimized out.
3157 (malloc_opt_barrier): New.
3158
3159 2012-05-03 Andreas Jaeger <aj@suse.de>
3160 Roland McGrath <roland@hack.frob.com>
3161
3162 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3163 intermediate file deletion.
3164 (generated): Add .symlist files.
3165
3166 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3167
3168 [BZ #13775]
3169 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3170 Redirect under this condition.
3171 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3172 [__USE_GNU] (__dprintf_chk): Not under this condition.
3173 [__USE_GNU] (__vdprintf_chk): Likewise.
3174 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3175 under this condition.
3176 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3177 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3178 [__USE_XOPEN2K8] (vdprintf): Likewise.
3179 [__USE_GNU] (__dprintf_chk): Not under this condition.
3180 [__USE_GNU] (__vdprintf_chk): Likewise.
3181 [__USE_GNU] (dprintf): Likewise.
3182 [__USE_GNU] (vdprintf): Likewise.
3183
3184 2012-05-03 Roland McGrath <roland@hack.frob.com>
3185
3186 * elf/Makefile (common-generated): Set this instead of generated for
3187 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3188 $(all-built-dso)-derived lists.
3189
3190 2012-05-03 Andreas Jaeger <aj@suse.de>
3191
3192 * sysdeps/i386/fpu/libm-test-ulps: Update.
3193
3194 * FAQ: Removed.
3195 * FAQ.in: Likewise.
3196 * scripts/gen-FAQ.pl: Likewise.
3197 * manual/install.texi (Installation): Point to online location of
3198 FAQ.
3199 * Makefile (files-for-dist): Remove FAQ.
3200 (FAQ): Remove.
3201
3202 2012-05-02 Allan McRae <allan@archlinux.org>
3203
3204 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3205 (LDFLAGS-reldepmod5.so): Likewise.
3206 (LDFLAGS-reldep6mod1.so): Likewise.
3207 (LDFLAGS-reldep6mod4.so): Likewise.
3208 (LDFLAGS-reldep8mod3.so): Likewise.
3209 (LDFLAGS-unload4mod1.so): Likewise.
3210 (LDFLAGS-unload4mod2.so): Likewise.
3211 (LDFLAGS-tst-initorder): Likewise.
3212 (LDFLAGS-tst-initordera2.so): Likewise.
3213 (LDFLAGS-tst-initordera3.so): Likewise.
3214 (LDFLAGS-tst-initordera4.so): Likewise.
3215 (LDFLAGS-tst-initorderb2.so): Likewise.
3216 (LDFLAGS-noload): Likewise.
3217 (LDFLAGS-next): Likewise.
3218 (LDFLAGS-order2mod1.so): Likewise.
3219 (LDFLAGS-order2mod2.so): Likewise.
3220 (LDFLAGS-tst-initorder2): Likewise.
3221 (LDFLAGS-tst-initorder2a.so): Likewise.
3222 (LDFLAGS-tst-initorder2b.so): Likewise.
3223 (LDFLAGS-tst-initorder2c.so): Likewise.
3224 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3225
3226 2012-05-02 David S. Miller <davem@davemloft.net>
3227
3228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3229
3230 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3231
3232 [BZ #14055]
3233 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3234
3235 2012-05-02 Andreas Jaeger <aj@suse.de>
3236
3237 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3238 since we manipulate rounding mode.
3239 (CPPFLAGS-test-idouble.c): Likewise.
3240 (CPPFLAGS-test-ifloat.c): Likewise.
3241 (CFLAGS-test-ldouble.c): Likewise.
3242 (CFLAGS-test-double.c): Likewise.
3243 (CFLAGS-test-float.c): Likewise.
3244 (CFLAGS-test-misc.c): Likewise.
3245 (CFLAGS-test-test-fenv.c): Likewise.
3246
3247 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3248
3249 [BZ #2550]
3250 [BZ #2570]
3251 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3252 comparisons to determine direction to adjust input.
3253
3254 2012-05-01 Roland McGrath <roland@hack.frob.com>
3255
3256 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3257 output to the target.
3258
3259 * scripts/localplt.awk: New file.
3260 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3261 (check-localplt-CFLAGS): Variable removed.
3262 ($(all-built-dso:=.jmprel)): New static pattern rule.
3263 (generated): Add those targets.
3264 (localplt-built-dso): New variable.
3265 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3266
3267 * elf/check-localplt.c: File removed.
3268
3269 * scripts/check-execstack.awk: New file.
3270 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3271 (check-execstack-CFLAGS): Variable removed.
3272 ($(objpfx)check-execstack.h): Target removed.
3273 ($(objpfx)execstack-default): New target.
3274 (generated): Add that instead of check-execstack.h.
3275 ($(all-built-dso:=.phdr)): New static pattern rule.
3276 (generated): Add those targets.
3277 * elf/check-execstack.c: File removed.
3278
3279 * scripts/check-textrel.awk: New file.
3280 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3281 (check-textrel-CFLAGS): Variable removed.
3282 (all-built-dso): Use := to define.o
3283 ($(all-built-dso:=.dyn)): New static pattern rule.
3284 (generated): Add those targets.
3285 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3286 * config.make.in (READELF): New substituted variable.
3287 * elf/check-textrel.c: File removed.
3288
3289 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3290
3291 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3292 allow.
3293 * conform/data/ctype.h-data [C99-based standards] (isblank):
3294 Expect function.
3295 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3296 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3298 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3299 Specify type. Require positive value.
3300 (EILSEQ): Likewise.
3301 (ERANGE): Likewise.
3302 [ISO || POSIX] (EILSEQ): Do not expect.
3303 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3304 Specify type. Require positive value.
3305 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3306 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3307 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3308 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3309 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3310 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3311 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3312 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3313 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3314 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3315 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3316 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3317 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3318 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3319 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3320 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3321 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3322 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3323 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3324 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3325 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3326 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3327 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3328 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3329 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3330 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3331 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3332 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3333 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3334 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3335 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3336 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3337 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3338 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3339 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3340 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3341 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3342 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3343 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3344 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3345 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3346 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3347 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3348 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3349 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3350 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3351 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3352 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3353 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3354 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3355 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3356 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3357 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3358 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3359 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3360 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3361 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3362 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3363 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3364 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3365 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3366 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3367 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3368 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3369 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3370 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3371 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3372 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3373 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3374 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3375 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3376 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3377 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3378 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3379 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3380 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3381 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3382 Require >= 2.
3383 (FLT_ROUNDS): Expect as macro, not constant.
3384 (FLT_MANT_DIG): Use macro-int-constant.
3385 (DBL_MANT_DIG): Likewise.
3386 (LDBL_MANT_DIG): Likewise.
3387 (FLT_DIG): Likewise.
3388 (DBL_DIG): Likewise.
3389 (LDBL_DIG): Likewise.
3390 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3391 (DBL_MIN_EXP): Likewise.
3392 (LDBL_MIN_EXP): Likewise.
3393 (FLT_MAX_EXP): Use macro-int-constant.
3394 (DBL_MAX_EXP): Likewise.
3395 (LDBL_MAX_EXP): Likewise.
3396 (FLT_MAX_10_EXP): Likewise.
3397 (DBL_MAX_10_EXP): Likewise.
3398 (LDBL_MAX_10_EXP): Likewise.
3399 (FLT_MAX): Use macro-constant.
3400 (DBL_MAX): Likewise.
3401 (LDBL_MAX): Likewise.
3402 (FLT_EPSILON): Use macro-constant. Give upper bound.
3403 (DBL_EPSILON): Likewise.
3404 (LDBL_EPSILON): Likewise.
3405 (FLT_MIN): Likewise.
3406 (DBL_MIN): Likewise.
3407 (LDBL_MIN): Likewise.
3408 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3409 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3410 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3411 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3412 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3413 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3414 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3415 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3416 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3417 [ISO11] (FLT_TRUE_MIN): Likewise.
3418 [ISO11] (LDBL_TRUE_MIN): Likewise.
3419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3420 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3421 (SCHAR_MIN): Use macro-int-constant. Specify type.
3422 (SCHAR_MAX): Likewise.
3423 (UCHAR_MAX): Likewise.
3424 (CHAR_MIN): Likewise.
3425 (CHAR_MAX): Likewise.
3426 (MB_LEN_MAX): Use macro-int-constant.
3427 (SHRT_MIN): Use macro-int-constant. Specify type.
3428 (SHRT_MAX): Likewise.
3429 (USHRT_MAX): Likewise.
3430 (INT_MAX): Likewise.
3431 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3432 bound negative.
3433 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3434 bound with "U".
3435 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3436 bound with "L".
3437 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3438 bound negative. Suffix upper bound with "L".
3439 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3440 bound with "UL".
3441 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3442 Specify type.
3443 [C99-based standards] (LLONG_MAX): Likewise.
3444 [C99-based standards] (ULLONG_MAX): Likewise.
3445 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3446 == 0.
3447 [ISO11] (max_align_t): Require type.
3448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3449
3450 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3451 from $CFLAGS, without defining away __attribute__ calls.
3452 (checknamespace): Use $CFLAGS_namespace.
3453
3454 * conform/conformtest.pl (@keywords): Only include C99 keywords
3455 for standards based on C99 or C11.
3456
3457 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3458 Disable tests.
3459 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3460 UNIX98]: Likewise.
3461
3462 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3463 usability of symbols in #if.
3464
3465 * conform/conformtest.pl: If macro or constant types start
3466 "promoted:", expect the symbol to be of the following type
3467 promoted by the integer promotions.
3468
3469 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3470 in one place. Also handle "macro-constant".
3471
3472 * conform/conformtest.pl: Only accept expected macro values with
3473 "==". Parse all "macro" lines in one place.
3474 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3475
3476 * conform/conformtest.pl: Handle braced types on "constant" lines
3477 instead of handling "typed-constant".
3478 * conform/data/signal.h-data: Use "constant" instead of
3479 "typed-constant".
3480
3481 * conform/conformtest.pl: Handle "optional-" at start of lines in
3482 one place rather than duplicating several cases. Handle each
3483 format of "macro" line with initial "optional-".
3484
3485 * conform/conformtest.pl: Only accept expected constant or
3486 optional-constant values with "==". Parse all "constant" lines in
3487 one place. Parse all "optional-constant" lines in one place.
3488 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3489 * conform/data/fmtmsg.h-data: Likewise.
3490 * conform/data/netinet/in.h-data: Likewise.
3491 * conform/data/tar.h-data: Likewise.
3492 * conform/data/limits.h-data: Use "==" form on "constant" and
3493 "optional-constant" lines.
3494
3495 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3496 Use -std=c99 for XOPEN2K.
3497 (@knownproblems): Remove.
3498 (newtoken): Don't check %isknown.
3499
3500 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3501 Do not expect macro.
3502 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3503 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3504 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3505 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3506 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3508 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3509 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3510 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3511 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3512 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3513 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3514 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3515 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3532 [XPG3] (acosh): Likewise.
3533 [XPG3] (asinh): Likewise.
3534 [XPG3] (atanh): Likewise.
3535 [XPG3] (cbrt): Likewise.
3536 [XPG3] (expm1): Likewise.
3537 [XPG3] (ilogb): Likewise.
3538 [XPG3] (log1p): Likewise.
3539 [XPG3] (logb): Likewise.
3540 [XPG3] (nextafter): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3543 [XPG3] (remainder): Likewise.
3544 [XPG3] (rint): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3547 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3548 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3549 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3550 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3551 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3552 [UNIX98 || XOPEN2K] (scalb): Expect.
3553 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3554 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3555 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3558 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3559 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3565 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3566 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3567 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3568 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3569 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3616 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3617 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3620 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3621 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3625 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3626 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3629 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3630 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3631 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3634 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3635 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3636 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3645 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3646 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3690
3691 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3692 _XOPEN_SOURCE_EXTENDED for XPG4.
3693
3694 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3695
3696 * Makeconfig (localtime): Remove variable.
3697 (inst_localtime-file): Likewise.
3698
3699 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3700
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3702 Update.
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3704 Update.
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3706 Update.
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3708 Update.
3709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3710 Update.
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3712 Update.
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3714 Update.
3715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3716 Update.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3718 Update.
3719
3720 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3721
3722 [BZ #2550]
3723 [BZ #2570]
3724 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3725 comparisons to determine direction to adjust input.
3726 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3727 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3728 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3729 Likewise.
3730 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3731 Likewise.
3732 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3733 Likewise.
3734 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3735 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3736 Likewise.
3737 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3738 Likewise.
3739 * math/libm-test.inc (nexttoward_test): Add more tests.
3740
3741 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3742
3743 [BZ #14040]
3744 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3745 in version GLIBC_2.1, not GLIBC_2.0.
3746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3747 Likewise.
3748
3749 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3750
3751 [BZ #13942]
3752 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3753 (1 - x) * (1 + x).
3754 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3755 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3756 * math/libm-test.inc (acos_test): Add more tests.
3757 (asin_test): Likewise.
3758 * sysdeps/i386/fpu/libm-test-ulps: Update.
3759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3760
3761 [BZ #14034]
3762 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3763 of square root.
3764 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3765 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3766 * math/libm-test.inc (acos_test_tonearest): New function.
3767 (acos_test_towardzero): Likewise.
3768 (acos_test_downward): Likewise.
3769 (acos_test_upward): Likewise.
3770 (asin_test_tonearest): Likewise.
3771 (asin_test_towardzero): Likewise.
3772 (asin_test_downward): Likewise.
3773 (asin_test_upward): Likewise.
3774 (main): Call the new functions.
3775 * sysdeps/i386/fpu/libm-test-ulps: Update.
3776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3777
3778 [BZ #13884]
3779 [BZ #13924]
3780 * math/e_exp10.c: Include <float.h>.
3781 (__ieee754_exp10): Handle underflow here rather than multiplying
3782 large negative argument by M_LN10.
3783 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3784 of __ieee754_expf.
3785 * math/e_exp10l.c: Include <float.h>.
3786 (__ieee754_exp10l): Handle underflow here rather than multiplying
3787 large negative argument by M_LN10l.
3788 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3789 spurious overflow exception on underflow.
3790
3791 2012-04-29 Marek Polacek <polacek@redhat.com>
3792
3793 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3794 (__fortify_function): New macro.
3795 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3796 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3797 __extern_always_inline.
3798 * libio/bits/stdio2.h: Likewise.
3799 * libio/bits/stdio.h: Likewise.
3800 * string/string.h: Likewise.
3801 * string/bits/string3.h: Likewise.
3802 * include/stdio.h: Likewise.
3803 * stdlib/bits/stdlib.h: Likewise.
3804 * stdlib/stdlib.h: Likewise.
3805 * rt/bits/mqueue2.h: Likewise.
3806 * rt/mqueue.h: Likewise.
3807 * posix/bits/unistd.h: Likewise.
3808 * posix/unistd.h: Likewise.
3809 * io/bits/poll2.h: Likewise.
3810 * io/bits/fcntl2.h: Likewise.
3811 * io/fcntl.h: Likewise.
3812 * io/sys/poll.h: Likewise.
3813 * misc/bits/syslog.h: Likewise.
3814 * misc/bits/syslog-ldbl.h: Likewise.
3815 * misc/sys/syslog.h: Likewise.
3816 * socket/bits/socket2.h: Likewise.
3817 * socket/sys/socket.h: Likewise.
3818 * debug/tst-chk1.c: Likewise.
3819 * wcsmbs/bits/wchar2.h: Likewise.
3820 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3821 * wcsmbs/wchar.h: Likewise.
3822
3823 2012-04-29 Andreas Jaeger <aj@suse.de>
3824
3825 * Makerules (tests): Remove enable-check-abi protection.
3826 (check-abi-warn): Remove.
3827 (check-abi-%): Remove check-abi-warn usage.
3828
3829 * configure.in: Remove check-abi configure option.
3830 * configure: Regenerated.
3831 * config.make.in (enable-check-abi): Remove.
3832
3833 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3834
3835 [BZ #14033]
3836 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3837 double functions to double *_finite functions.
3838
3839 [BZ #13941]
3840 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3841 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3842 LDBL_MIN_EXP.
3843 * stdio-common/Makefile (tests): Add tst-sprintf3.
3844 * stdio-common/tst-sprintf3.c: New file.
3845
3846 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3847 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3848
3849 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3850
3851 * conform/conformtest.pl: Remove duplicate typed-constant
3852 handling.
3853
3854 2012-04-28 David S. Miller <davem@davemloft.net>
3855
3856 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3857 (check-abi-%): Remove AWK script prerequisite and explicit
3858 abilist directory.
3859 (check-abi): Rewrite to just diff the symlist with the abilist.
3860 (config-tls, config-abi-config): Delete, no longer used.
3861 (update-abi-%): Remove AWK script and explicit abilist directory.
3862 (update-abi): Rewrite to simply compare and conditionally copy the
3863 symlist and the sysdep abilist file. Remove update-abi-config
3864 checks.
3865 * abilist/ld.abilist: Remove.
3866 * abilist/libBrokenLocale.abilist: Remove.
3867 * abilist/libanl.abilist: Remove.
3868 * abilist/libcrypt.abilist: Remove.
3869 * abilist/libdl.abilist: Remove.
3870 * abilist/librt.abilist: Remove.
3871 * abilist/libthread_db.abilist: Remove.
3872 * abilist/libutil.abilist: Remove.
3873 * scripts/extract-abilist.awk: Remove.
3874 * scripts/merge-abilist.awk: Remove.
3875 * sysdeps/generic/libcidn.abilist: New file.
3876 * sysdeps/generic/libnss_compat.abilist: New file.
3877 * sysdeps/generic/libnss_db.abilist: New file.
3878 * sysdeps/generic/libnss_dns.abilist: New file.
3879 * sysdeps/generic/libnss_files.abilist: New file.
3880 * sysdeps/generic/libnss_hesiod.abilist: New file.
3881 * sysdeps/generic/libnss_nis.abilist: New file.
3882 * sysdeps/generic/libnss_nisplus.abilist: New file.
3883 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3884 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3885 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3886 file.
3887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3888 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3889 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3890 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3891 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3892 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3893 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3894 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3895 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3896 file.
3897 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3898 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3899 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3900 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3901 file.
3902 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3903 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3904 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3905 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3906 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3907 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3908 file.
3909 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3910 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3911 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3912 file.
3913 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3915 New file.
3916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3917 New file.
3918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3919 New file.
3920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3921 New file.
3922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3923 New file.
3924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3925 New file.
3926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3927 New file.
3928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3929 New file.
3930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3931 New file.
3932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3933 New file.
3934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3935 New file.
3936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3937 New file.
3938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3939 New file.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3941 file.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3943 New file.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3945 New file.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3947 file.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3949 New file.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3951 New file.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3953 file.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3955 New file.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3957 New file.
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3959 New file.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3961 New file.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3963 New file.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3965 New file.
3966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3968 file.
3969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3970 New file.
3971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3972 file.
3973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3974 file.
3975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3976 file.
3977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3978 file.
3979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3980 file.
3981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3982 New file.
3983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3984 file.
3985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3986 file.
3987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3988 New file.
3989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3990 file.
3991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3993 file.
3994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3995 New file.
3996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3997 file.
3998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3999 file.
4000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4001 file.
4002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4003 file.
4004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4005 file.
4006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4007 New file.
4008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4009 file.
4010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4011 file.
4012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4013 New file.
4014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4015 file.
4016 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4017 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4018 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4019 file.
4020 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4021 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4022 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4023 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4024 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4025 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4026 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4027 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4028 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4029 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4032 file.
4033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4034 New file.
4035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4036 file.
4037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4038 file.
4039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4040 file.
4041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4042 file.
4043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4044 file.
4045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4046 New file.
4047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4048 New file.
4049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4050 file.
4051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4052 New file.
4053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4054 file.
4055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4057 file.
4058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4059 New file.
4060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4061 file.
4062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4063 file.
4064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4065 file.
4066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4067 file.
4068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4069 file.
4070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4071 New file.
4072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4073 New file.
4074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4075 file.
4076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4077 New file.
4078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4079 file.
4080
4081 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4082
4083 * conform/conformtest.pl: Fix typo in handling typed-constant from
4084 allow-header.
4085
4086 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4087
4088 * README: Cut down references to pre-2.6 Linux kernels and
4089 Linuxthreads. Update lists of configurations in libc and ports
4090 and sort alphabetically. Say "or newer" with Linux kernel version
4091 requirements.
4092
4093 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4094
4095 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4096
4097 [BZ #887]
4098 * math/libm-test.inc (logb_test_downward): New test to expose
4099 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4100 rounding mode.
4101
4102 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4103
4104 [BZ #14027]
4105 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4106 to be done.
4107 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4108 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4109
4110 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4111
4112 * sysdeps/unix/i386/brk.S: Remove file.
4113 * sysdeps/unix/i386/dl-brk.S: Likewise.
4114 * sysdeps/unix/i386/pipe.S: Likewise.
4115 * sysdeps/unix/i386/sigreturn.S: Likewise.
4116 * sysdeps/unix/i386/syscall.S: Likewise.
4117 * sysdeps/unix/i386/vfork.S: Likewise.
4118 * sysdeps/unix/i386/wait.S: Likewise.
4119
4120 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4121 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4122
4123 * configure.in (arm*-none*): Do not allow without
4124 --enable-hacker-mode.
4125 (netbsd*): Remove case setting base_os.
4126 (386bsd*): Likewise.
4127 (freebsd*): Likewise.
4128 (bsdi*): Likewise.
4129 (osf*): Likewise.
4130 (sunos*): Likewise.
4131 (ultrix*): Likewise.
4132 (newsos*): Likewise.
4133 (dynix*): Likewise.
4134 (*bsd*): Likewise.
4135 (sysv*): Likewise.
4136 (isc*): Likewise.
4137 (esix*): Likewise.
4138 (sco*): Likewise.
4139 (minix*): Likewise.
4140 (irix4*): Likewise.
4141 (irix6*): Likewise.
4142 (solaris[2-9]*): Likewise.
4143 (none): Likewise.
4144 * configure: Regenerated.
4145
4146 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4147
4148 [BZ #11521]
4149 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4150 overflow or cancellation in calculating denominator.
4151 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4152 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4153 down expression to avoid unexpected rounding in newer GCCs.
4154 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4155
4156 2012-04-26 David S. Miller <davem@davemloft.net>
4157
4158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4159 long-double compat symbols.
4160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4173
4174 2012-04-25 David S. Miller <davem@davemloft.net>
4175
4176 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4177 HWCAP_* values only after the memory barriers have been defined.
4178 (atomic_full_barrier): Define.
4179 (atomic_read_barrier): Define.
4180 (atomic_write_barrier): Define.
4181
4182 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4183
4184 * shlib-versions: Add libgcc_s version information.
4185 * sysdeps/generic/libgcc_s.h: Remove.
4186 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4187 libgcc_s.h.
4188 * sysdeps/gnu/unwind-resume.c: Likewise.
4189 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4190
4191 2012-04-25 David S. Miller <davem@davemloft.net>
4192
4193 * sysdeps/unix/sparc/brk.S: Delete.
4194 * sysdeps/unix/sparc/dl-brk.S: Delete.
4195 * sysdeps/unix/sparc/pipe.S: Delete.
4196 * sysdeps/unix/sparc/sysdep.S: Delete.
4197 * sysdeps/unix/sparc/sysdep.h: Delete.
4198 * sysdeps/unix/sparc/vfork.S: Delete.
4199 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4200 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4201 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4202 ret_ERRVAL, r0, r1, MOVE): Define.
4203 (JUMPTARGET): Remove.
4204 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4205 sysdeps/unix/sparc/sysdep.h
4206 (ENTRY, END): Remove.
4207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4208
4209 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4210
4211 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4212 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4213 -DIS_IN_build.
4214
4215 * timezone/README: Update upstream location and email address for
4216 tzcode and tzdata.
4217 * timezone/zdump.c: Update from tzcode 2012b.
4218 * timezone/zic.c: Likewise.
4219
4220 * configure.in (libc_cv_as_needed): Remove test.
4221 * configure: Regenerated.
4222 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4223 conditional definition.
4224 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4225 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4226 * config.make.in (have-as-needed): Remove variable.
4227
4228 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4229 Paul Pluzhnikov <ppluzhnikov@google.com>
4230
4231 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4232 strings correctly.
4233
4234 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4235
4236 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4237 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4238 * sysdeps/sh/strlen.S: Likewise.
4239
4240 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4241
4242 * sysdeps/unix/fork.S: Remove file.
4243 * sysdeps/unix/i386/fork.S: Likewise.
4244 * sysdeps/unix/sparc/fork.S: Likewise.
4245
4246 * sysdeps/unix/system.c: Remove file.
4247 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4248
4249 * sysdeps/unix/getegid.S: Remove file.
4250 * sysdeps/unix/geteuid.S: Likewise.
4251
4252 2012-04-24 Roland McGrath <roland@hack.frob.com>
4253
4254 * scripts/check-localplt.awk: New file.
4255 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4256 of diff.
4257 * scripts/data/localplt-generic.data: Add a comment.
4258
4259 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4260 NODE when __dir_mkfile failed.
4261 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4262 Reported by Ludovic Courtès <ludo@gnu.org>.
4263
4264 2012-04-24 Andreas Jaeger <aj@suse.de>
4265
4266 * Makerules (common-clean): Also remove gen-as-const-headers
4267 files.
4268
4269 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4270
4271 * Makerules (native-compile): Do not change working directory for
4272 build. Use $(OUTPUT_OPTION) in command.
4273 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4274
4275 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4276
4277 [BZ #13886]
4278 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4279 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4280 * math/libm-test.inc (floor_test): Add more tests.
4281 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4282
4283 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4284
4285 * sysdeps/unix/getdents.c: Remove file.
4286 * sysdeps/unix/sysv/getdents.c: Likewise.
4287 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4288
4289 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4290 sysdeps/unix/mman/syscalls.list.
4291 (mmap): Likewise.
4292 (mprotect): Likewise.
4293 (msync): Likewise.
4294 (munmap): Likewise.
4295 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4296 * sysdeps/unix/mman/syscalls.list: Remove.
4297 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4298
4299 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4300 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4301 * configure: Regenerated.
4302 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4303 $(libgcc_s_suffix).
4304 * config.make.in (libgcc_s_suffix): Remove variable.
4305
4306 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4307
4308 * sysdeps/unix/sysv/gethostname.c: Move to ...
4309 * sysdeps/posix/gethostname.c: ... here.
4310
4311 * sysdeps/unix/execve.S: Remove file.
4312
4313 * sysdeps/unix/_exit.S: Remove file.
4314
4315 2012-04-23 Andreas Jaeger <aj@suse.de>
4316
4317 [BZ #13739]
4318 * manual/Makefile: Remove make dist support, there's no
4319 need for a stand-alone documentation tar ball.
4320 (TEXI2DVI): Define always, it's not in Makeconfig.
4321 (dist): Removed.
4322 (tar-it): Removed.
4323 (edition): Removed.
4324 (glibc-doc-$(edition).tar): Removed
4325 (%.Z): Removed.
4326 (%.gz): Removed.
4327 (%.uu): Removed.
4328 (ETAGS): Remove, it's in Makeconfig.
4329 (move-if-change): Remove, it's in Makeconfig.
4330
4331 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4332
4333 [BZ #13970]
4334 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4335 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4336 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4337 (strtod_l, strtof_l, strtold_l): Remove __wur.
4338 It is not necessarily an error to ignore strtol's return value.
4339 One can reliably look at the stored endptr to decide whether
4340 the number had valid syntax.
4341
4342 2012-04-21 Andreas Jaeger <aj@suse.de>
4343
4344 [BZ #13739]
4345 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4346
4347 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4348
4349 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4350 * sysdeps/unix/sysv/Versions: Remove file.
4351
4352 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4353
4354 [BZ #13927]
4355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4356
4357 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4358
4359 [BZ #7064]
4360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4361 version from __vm86.
4362
4363 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4364
4365 * sysdeps/unix/common/lxstat.c: Remove file.
4366 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4367
4368 * sysdeps/unix/sysv/Makefile: Remove file.
4369
4370 * sysdeps/unix/sysv/direct.h: Remove file.
4371
4372 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4373 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4374 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4375 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4376 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4377 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4378 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4379
4380 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4381
4382 * sysdeps/unix/xmknod.c: Remove file.
4383 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4384
4385 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4386
4387 * sysdeps/unix/sysv/i386/time.S: Remove file.
4388
4389 * sysdeps/unix/fxstat.c: Remove file.
4390 * sysdeps/unix/xstat.c: Likewise.
4391 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4392
4393 * sysdeps/unix/sysv/sigaction.c: Remove file.
4394
4395 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4396 (sysdep_headers): Remove variable.
4397 [termio.h not in sysdep_headers] (generated): Likewise.
4398 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4399 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4400 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4401 * sysdeps/unix/sysv/tcflow.c: Likewise.
4402 * sysdeps/unix/sysv/tcflush.c: Likewise.
4403 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4404 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4405 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4406 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4407 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4408
4409 * sysdeps/unix/siglist.c: Remove file.
4410
4411 * sysdeps/unix/getppid.S: Remove file.
4412
4413 * sysdeps/unix/mkdir.c: Remove file.
4414 * sysdeps/unix/rmdir.c: Likewise.
4415
4416 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4417
4418 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4419 ERR_MAX value.
4420 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4421 errlist-compat value.
4422
4423 2012-04-18 David S. Miller <davem@davemloft.net>
4424
4425 * sysdeps/generic/memcopy.h (reg_char): Delete.
4426 * debug/strcat_chk.c: Use char, not reg_char.
4427 * debug/strcpy_chk.c: Likewise.
4428 * debug/strncat_chk.c: Likewise.
4429 * debug/strncpy_chk.c: Likewise.
4430 * string/memchr.c: Likewise.
4431 * string/memrchr.c: Likewise.
4432 * string/rawmemchr.c: Likewise.
4433 * string/strcat.c: Likewise.
4434 * string/strchr.c: Likewise.
4435 * string/strchrnul.c: Likewise.
4436 * string/strcmp.c: Likewise.
4437 * string/strcpy.c: Likewise.
4438 * string/strncat.c: Likewise.
4439 * string/strncmp.c: Likewise.
4440 * string/strncpy.c: Likewise.
4441
4442 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4443
4444 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4445 __builtin_memcopy is called when src and dest ranges are known to not
4446 overlap.
4447
4448 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4449
4450 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4451 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4452 fwd_align_merge macro call.
4453 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4454 bwd_align_merge macro call.
4455 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4456
4457 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4458
4459 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4460 bwd_align_merge macros.
4461 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4462 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4463 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4464
4465 2012-04-18 David S. Miller <davem@davemloft.net>
4466
4467 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4468
4469 2012-04-18 Andreas Jaeger <aj@suse.de>
4470
4471 [BZ# 6794]
4472 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4473 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4474 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4475
4476 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4477 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4478 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4479
4480 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4481 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4482 Adjust for changed ldbl-128 files.
4483
4484 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4485 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4486 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4487
4488 2012-04-17 David S. Miller <davem@davemloft.net>
4489
4490 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4491
4492 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4493
4494 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4495 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4496 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4497 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4498 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4499 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4500
4501 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4502
4503 [BZ #6794]
4504 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4505 * math/libm-test.inc: Add ilogb errno and exception tests.
4506 * math/w_ilogb.c: New file: ilogb wrapper.
4507 * math/w_ilogbf.c: New file: ilogbf wrapper.
4508 * math/w_ilogbl.c: New file: ilogbl wrapper.
4509 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4510 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4511 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4512 exception being thrown with 0.0 as argument.
4513 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4514 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4515 exception being thrown with 0.0 as argument.
4516 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4517 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4518 exception being thrown with 0.0 as argument.
4519 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4520 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4521 exception being thrown with 0.0 as argument.
4522 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4523 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4524 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4525 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4526 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4527 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4528 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4529 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4530 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4531
4532 2012-04-17 Petr Baudis <pasky@ucw.cz>
4533
4534 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4535 with altivec.
4536
4537 2012-04-16 Marek Polacek <polacek@redhat.com>
4538
4539 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4540
4541 2012-04-16 Marek Polacek <polacek@redhat.com>
4542
4543 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4544 operands of fdivp instruction.
4545
4546 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4547
4548 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4549 * elf/tst-auditmod3b.c: Likewise.
4550 * elf/tst-auditmod4b.c: Likewise.
4551 * elf/tst-auditmod5b.c: Likewise.
4552 * elf/tst-auditmod6b.c: Likewise.
4553 * elf/tst-auditmod6c.c: Likewise.
4554 * elf/tst-auditmod7b.c: Likewise.
4555 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4556 * sysdeps/x86_64/preconfigure.in: Likewise.
4557 * sysdeps/x86_64/preconfigure: Regenerated.
4558
4559 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4560
4561 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4562 __ILP32__.
4563
4564 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4565
4566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4567 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4568
4569 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4570
4571 [BZ #13973]
4572 * locale/iso-639.def: Fix gl language name. Spotted by
4573 Yaron Shahrabani.
4574
4575 2012-04-12 Roland McGrath <roland@hack.frob.com>
4576
4577 [BZ #2074]
4578 * libio/libio.h (__io_write_fn): Update comment.
4579
4580 2012-04-12 Petr Baudis <pasky@ucw.cz>
4581
4582 [BZ #2074]
4583 * stdio.texi (Hook Functions): The user provided writer function
4584 is not allowed to return -1.
4585
4586 2012-04-11 David S. Miller <davem@davemloft.net>
4587
4588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4589
4590 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4591
4592 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4593 Add a leading slash to rtkaio.
4594
4595 2012-04-11 Jim Meyering <meyering@redhat.com>
4596
4597 [BZ #11959]
4598 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4599 It is not necessarily an error to ignore fwrite's return
4600 value. One can reliably use ferror to test for errors after
4601 the fact.
4602
4603 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4604
4605 * bits/types.h (__snseconds_t): New type.
4606 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4607
4608 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4609 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4610 (__SNSECONDS_T_TYPE): Likewise.
4611 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4612 (__SNSECONDS_T_TYPE): Likewise.
4613 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4614 (__SNSECONDS_T_TYPE): Likewise.
4615
4616 2012-04-10 Andreas Jaeger <aj@suse.de>
4617
4618 [BZ #2636]
4619 * manual/time.texi (Processor Time): Return type of times is
4620 elapsed real time since an arbitrary point in the past.
4621 (CPU Time): Move CLK_TCK from here...
4622 (Processor Time): ...to here. Correct description.
4623 * manual/conf.texi (Constants for Sysconf): Correct description of
4624 _SC_CLK_TCK.
4625
4626 2012-04-10 David S. Miller <davem@davemloft.net>
4627
4628 [BZ #13967]
4629 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4630 where the is a gap between DT_REL(A) and DT_JMPREL.
4631
4632 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4633
4634 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4635 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4636 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4637
4638 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4639
4640 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4641 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4642 (dl_main): Handle --inhibit-cache.
4643 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4644 _dl_inhibit_cache.
4645 * elf/dl-load.c (_dl_map_object): Use it.
4646 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4647
4648 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4649
4650 [BZ #13872]
4651 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4652 (__ieee754_powl): Saturate large exponents rather than testing for
4653 overflow of y*log2(x).
4654 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4655 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4656 exceptions.
4657
4658 [BZ #11521]
4659 * math/s_ctan.c: Include <float.h>.
4660 (__ctan): Avoid internal overflow or cancellation in calculating
4661 denominator.
4662 * math/s_ctanf.c: Likewise.
4663 * math/s_ctanl.c: Likewise.
4664 * math/s_ctanh.c: Likewise.
4665 * math/s_ctanhf.c: Likewise.
4666 * math/s_ctanhl.c: Likewise.
4667 * math/libm-test.inc (ctan_test): Add more tests.
4668 (ctanh_test): Likewise.
4669 * sysdeps/i386/fpu/libm-test-ulps: Update.
4670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4671
4672 2012-04-09 Andreas Jaeger <aj@suse.de>
4673
4674 [BZ #6894]
4675 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4676 is an optional BSD extension.
4677
4678 [BZ #10254]
4679 * manual/stdio.texi (Opening Streams): Document additional fopen
4680 parameters.
4681
4682 2012-04-09 Roland McGrath <roland@hack.frob.com>
4683
4684 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4685 %eax without telling the compiler.
4686
4687 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4688
4689 [BZ # 13963]
4690 * manual/install.texi: Use sourceware.org.
4691
4692 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4693
4694 [BZ #13873]
4695 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4696 (__ieee754_pow): Generate overflow and underflow using huge*huge
4697 and tiny*tiny rather than just returning constant infinity or zero
4698 for large exponents.
4699 * math/libm-test.inc (pow_test): Require overflow exceptions for
4700 applicable cases of large exponents.
4701
4702 [BZ #706]
4703 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4704 (__ieee754_pow): Use iterative multiplication algorithm only for
4705 integer exponents with absolute value below 1024. Check for odd
4706 integer exponents when using algorithm for real exponents.
4707 * math/libm-test.inc (pow_test): Add more tests.
4708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4709
4710 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4711
4712 [BZ #13705]
4713 * math/libm-test.inc (exp_test): Do not allow overflow exception
4714 on underflow test.
4715
4716 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4717
4718 [BZ #13705]
4719 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4720 instead of __kernel_standard_f.
4721
4722 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4723
4724 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4725 * sysdeps/x86_64/memset_chk.S: Likewise.
4726
4727 2012-04-08 Andreas Jaeger <aj@suse.de>
4728
4729 [BZ #10153]
4730 * manual/startup.texi (Environment Access): Describe return value
4731 for putenv and setenv.
4732
4733 [BZ #6895]
4734 * manual/filesys.texi (Directory Entries): Add description for
4735 DT_LNK.
4736
4737 [BZ #6890]
4738 * manual/filesys.texi (Directory Entries): Clarify that it's file
4739 system not operating system in the description of DT_UNKNOWN.
4740
4741 [BZ #6578]
4742 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4743
4744 2012-04-08 Stephen Compall <s11@member.fsf.org>
4745
4746 [BZ #6649]
4747 * manual/llio.texi (Opening and Closing Files): Add cross
4748 reference to explain mode argument.
4749
4750 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4751
4752 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4753 * sysdeps/x86_64/memset_chk.S: Likewise.
4754
4755 2012-04-07 David S. Miller <davem@davemloft.net>
4756
4757 * elf/elf.h (R_SPARC_WDISP10): Define.
4758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4759 R_SPARC_SIZE32.
4760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4761 R_SPARC_SIZE64 and R_SPARC_H34.
4762
4763 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4764
4765 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4766 conditions and remove no longer applicable assertion.
4767
4768 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4769
4770 * bits/byteswap.h: Include <features.h>.
4771 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4772 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4773
4774 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4775
4776 * bits/byteswap.h (__bswap_16): Removed.
4777 Include <bits/byteswap-16.h> to get __bswap_16.
4778 * sysdeps/i386/bits/byteswap.h: Likewise.
4779 * sysdeps/s390/bits/byteswap.h: Likewise.
4780 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4781 * bits/byteswap-16.h: New file.
4782 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4783 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4784 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4785 * string/Makefile (headers): Add bits/byteswap-16.h.
4786
4787 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4788
4789 [BZ #13895]
4790 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4791 extra indirection.
4792 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4793 * nss/tst-nss-static.c: New.
4794
4795 2012-04-06 Robert Millan <rmh@gnu.org>
4796
4797 [BZ #6486]
4798 * manual/llio.texi (File Position Primitive): lseek
4799 refers to WHENCE when it really means OFFSET.
4800
4801 2012-04-06 Andreas Jaeger <aj@suse.de>
4802
4803 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4804 strncmp declarations.
4805
4806 * abilist/libc.abilist: Add __poll and __ppoll.
4807
4808 2012-04-05 David S. Miller <davem@davemloft.net>
4809
4810 * scripts/check-local-headers.sh: Accept a host triplet in the
4811 path matched by the exclude regexp.
4812
4813 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4814 definition.
4815 * sysdeps/powerpc/powerpc32/dl-machine.h
4816 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4817 * sysdeps/s390/s390-32/dl-machine.h
4818 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4819 * sysdeps/sparc/sparc32/dl-machine.h
4820 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4821 * sysdeps/sparc/sparc64/dl-machine.h
4822 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4823
4824 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4825 lazy binding.
4826 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4827 undefined symbol errors.
4828
4829 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4830 DT_NEEDED entries.
4831
4832 2012-04-05 Michael Matz <matz@suse.de>
4833
4834 [BZ #13592]
4835 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4836
4837 2012-04-05 Andreas Jaeger <aj@suse.de>
4838
4839 [BZ #13908]
4840 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4841 comment.
4842
4843 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4844
4845 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4846 which ROUND is no valid rounding mode.
4847
4848 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4849
4850 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4851 read again.
4852 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4853
4854 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4855
4856 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4857 an exception using FPU order intentionally.
4858
4859 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4860
4861 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4862 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4863 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4864 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4865
4866 2012-04-05 Simon Josefsson <simon@josefsson.org>
4867
4868 [BZ #12340]
4869 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4870 EINVAL when BUFLEN is too smal.
4871
4872 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4873
4874 [BZ #13553]
4875 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4876 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4877
4878 2012-04-03 Andreas Jaeger <aj@suse.de>
4879
4880 [BZ #13938]
4881 * manual/setjmp.texi (System V contexts): Fix sentence.
4882
4883 [BZ #13926]
4884 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4885 New macro for this case.
4886 [!__GNUC__] (__bswap_64): New inline function for this case.
4887 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4888 * bits/byteswap.h: Likewise.
4889 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4890 ull, guard with __GLIBC_HAVE_LONG_LONG.
4891
4892 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4893 __GLIBC_HAVE_LONG_LONG.
4894
4895 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4896 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4897
4898 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4899
4900 [BZ #13691]
4901 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4902 inptr and inend, rather than using last_ch.
4903
4904 2012-04-02 David S. Miller <davem@davemloft.net>
4905
4906 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4907 * stdio-common/printf-parse.h (read_int): Change return type to
4908 'int', return -1 on INT_MAX overflow.
4909 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4910 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4911 overflows INT_MAX. Check for overflow of in-format-string precision
4912 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4913 SIZE_MAX not INT_MAX for integer overflow test.
4914 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4915 skip the construct in the format string but do not record anything.
4916 * stdio-common/bug22.c: Adjust to test both width/prevision
4917 INT_MAX overflow as well as total length INT_MAX overflow. Check
4918 explicitly for proper errno values.
4919
4920 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4921
4922 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4923 CHAR_MAX.
4924 * string/test-strcmp.c [! WIDE]: Likewise.
4925 * time/tst-mktime2.c: Likewise for INT_MAX.
4926 * string/test-string.h: #include <sys/param.h> for MIN.
4927
4928 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4929 * sysdeps/i386/init-first.c (init): Likewise.
4930 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4931 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4932 * sysdeps/sh/init-first.c (init): Likewise.
4933
4934 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4935
4936 * po/ru.po: Update from translation team.
4937 * po/vi.po: Likewise.
4938
4939 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4940
4941 * resolv/nss_dns/dns-host.c: Merge copyright years.
4942
4943 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4944
4945 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4946 Optimize memcpy with prefetch if
4947 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4948 src, dst pointers have unequal 16 byte alignments.
4949
4950 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4951
4952 [BZ #13928]
4953 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4954 from a CNAME entry and return the minimum ttl for the query.
4955 (gaih_getanswer_slice): Likewise.
4956
4957 2012-03-30 Jeff Law <law@redhat.com>
4958
4959 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4960 due to long keys.
4961 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4962 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4963
4964 * resolv/nss_dns/dns-host.c: Update copyright year.
4965
4966 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4967
4968 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4969 requests to save a system call. Fix check that all bytes are sent.
4970
4971 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4972 comments for sendmmsg.
4973
4974 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4975
4976 [BZ #13691]
4977 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4978 with only 1 character between 0x0041 and 0x01b0.
4979 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4980 * wcsmbs/tst-mbsnrtowcs.c: New file.
4981
4982 2012-03-29 David S. Miller <davem@davemloft.net>
4983
4984 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4985 small copies by hand.
4986
4987 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4988
4989 [BZ #13761]
4990 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4991 _nss_compat_initgroups_dyn): Fall back to malloc/free
4992 for large group memberships.
4993
4994 2012-03-28 David S. Miller <davem@davemloft.net>
4995
4996 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4997 that branches into memcpy.
4998 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4999 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5000 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5001 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5003 bits.
5004 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5005 implementation too.
5006 * sysdeps/sparc/mempcpy.S: New file.
5007
5008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5009 the IFUNC routine in the libc case.
5010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5011
5012 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5013 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5014 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5015 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5016 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5017 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5018 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5019 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5020
5021 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5022 loop to 256 bytes instead of 64 bytes and fix test signedness.
5023
5024 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5025 * sysdeps/sparc/sparc32/Makefile: rather than here...
5026 * sysdeps/sparc/sparc64/Makefile: and here.
5027
5028 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5029
5030 * malloc/mallocbug.c: Avoid warnings about unused variables.
5031
5032 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5033
5034 [BZ #13760]
5035 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5036 in the right place. Discard and retry query if response is
5037 larger than input buffer size.
5038
5039 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5040
5041 [BZ #369]
5042 [BZ #2678]
5043 [BZ #3866]
5044 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5045 x for large integer exponent.
5046 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5047 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5048 sign of result as needed afterwards.
5049 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5050 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5051 result for underflowing pow the same as for overflow.
5052 (__kernel_standard_l): Handle powl overflow and underflow here
5053 rather than calling __kernel_standard.
5054 * math/libm-test.inc (pow_test): Add more tests.
5055
5056 [BZ #3868]
5057 [BZ #13879]
5058 [BZ #13910]
5059 [BZ #13911]
5060 [BZ #13912]
5061 [BZ #13913]
5062 [BZ #13915]
5063 [BZ #13916]
5064 [BZ #13917]
5065 [BZ #13918]
5066 [BZ #13919]
5067 [BZ #13920]
5068 [BZ #13921]
5069 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5070 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5071 (__kernel_standard_l): New function.
5072 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5073 __kernel_standard.
5074 * math/w_acosl.c (__acosl): Likewise.
5075 * math/w_asinl.c (__asinl): Likewise.
5076 * math/w_atan2l.c (__atan2l): Likewise.
5077 * math/w_atanhl.c (__atanhl): Likewise.
5078 * math/w_coshl.c (__coshl): Likewise.
5079 * math/w_exp10l.c (__exp10l): Likewise.
5080 * math/w_exp2l.c (__exp2l): Likewise.
5081 * math/w_fmodl.c (__fmodl): Likewise.
5082 * math/w_hypotl.c (__hypotl): Likewise.
5083 * math/w_j0l.c (__j0l, __y0l): Likewise.
5084 * math/w_j1l.c (__j1l, __y1l): Likewise.
5085 * math/w_jnl.c (__jnl, __ynl): Likewise.
5086 * math/w_lgammal.c (__lgammal): Likewise.
5087 * math/w_log10l.c (__log10l): Likewise.
5088 * math/w_log2l.c (__log2l): Likewise.
5089 * math/w_logl.c (__logl): Likewise.
5090 * math/w_powl.c (__powl): Likewise.
5091 * math/w_remainderl.c (__remainderl): Likewise.
5092 * math/w_scalbl.c (sysv_scalbl): Likewise.
5093 * math/w_sinhl.c (__sinhl): Likewise.
5094 * math/w_sqrtl.c (__sqrtl): Likewise.
5095 * math/w_tgammal.c (__tgammal): Likewise.
5096 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5097 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5098 * math/libm-test.inc (acos_test): Add more tests.
5099 (acosh_test): Likewise.
5100 (asin_test): Likewise.
5101 (atanh_test): Likewise.
5102 (exp_test): Likewise.
5103 (exp10_test): Likewise.
5104 (exp2_test): Likewise.
5105 (expm1_test): Likewise.
5106 (lgamma_test): Likewise.
5107 (log_test): Likewise.
5108 (log10_test): Likewise.
5109 (log1p_test): Likewise.
5110 (log2_test): Likewise.
5111 (pow_test): Do not allow some spurious overflow exceptions.
5112 (sqrt_test): Add more tests.
5113 (tgamma_test): Likewise.
5114 (y0_test): Likewise.
5115 (y1_test): Likewise.
5116 (yn_test): Likewise.
5117
5118 2012-03-27 Anton Blanchard <anton@samba.org>
5119
5120 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5121 MAP_HUGETLB.
5122 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5123 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5124 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5125
5126 2012-03-27 David S. Miller <davem@davemloft.net>
5127
5128 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5129
5130 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5131 have-as-vis3 check.
5132
5133 2012-03-27 Andreas Jaeger <aj@suse.de>
5134
5135 * sysdeps/x86_64/elf/configure.in: Moved to ...
5136 * sysdeps/x86_64/configure.in: ... here.
5137 * sysdeps/x86_64/elf/start.S: Moved to ...
5138 * sysdeps/x86_64/start.S: ... here.
5139 * sysdeps/x86_64/elf/configure: Delete.
5140
5141 * sysdeps/x86_64/configure.in: Merge contents from
5142 sysdeps/i386/configure.in (without i686 check).
5143
5144 * sysdeps/i386/elf/Versions: Merge into ...
5145 * sysdeps/i386/Versions: ... this.
5146 * sysdeps/i386/elf/Versions: Delete file.
5147 * sysdeps/i386/elf/start.S: Moved to ...
5148 * sysdeps/i386/start.S: ...here.
5149 * sysdeps/i386/elf/configure.in: Merge into...
5150 * sysdeps/i386/configure.in: ...here.
5151 * sysdeps/i386/elf/configure.in: Delete file.
5152 * sysdeps/i386/elf/configure: Delete file.
5153
5154 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5155 * debug/backtracesyms.c: ... here.
5156 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5157 * debug/backtracesymsfd.c: ... here.
5158 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5159 * sysdeps/generic/ifunc-sel.h: ... here.
5160
5161 * sysdeps/unix/i386/start.c: Delete file.
5162 * sysdeps/unix/sparc/start.c: Delete file.
5163 * sysdeps/unix/start.c: Delete file.
5164
5165 * sysdeps/sh/elf/configure.in: Moved to ...
5166 * sysdeps/sh/configure.in: ... here.
5167 * sysdeps/sh/elf/start.S: Moved to ...
5168 * sysdeps/sh/start.S: ... here.
5169 * sysdeps/sh/elf/configure: Delete file.
5170
5171 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5172 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5173 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5174 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5175 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5176 * sysdeps/powerpc/powerpc64/start.S: here.
5177 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5178 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5179 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5180 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5181 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5182
5183 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5184 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5185 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5186 * sysdeps/powerpc/powerpc32/start.S: ... here.
5187 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5188 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5189 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5190
5191 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5192 * sysdeps/powerpc/ifunc-sel.h: ... here.
5193 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5194 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5195
5196 * sysdeps/sparc/elf/configure.in: Moved to ...
5197 * sysdeps/sparc/configure.in: ... here.
5198 * sysdeps/sparc/elf/configure: Delete file.
5199 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5200 * sysdeps/sparc/sparc32/start.S: ... here.
5201 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5202 * sysdeps/sparc/sparc64/start.S: ... here.
5203 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5204 * sysdeps/sparc/sparc32/Makefile: ... this.
5205 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5206 * sysdeps/sparc/sparc64/Makefile: ... this.
5207
5208 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5209 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5210 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5211 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5212 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5213 * sysdeps/s390/s390-32/setjmp.S: ... here.
5214 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5215 * sysdeps/s390/s390-32/configure.in: ... here.
5216 * sysdeps/s390/s390-32/elf/configure: Delete file.
5217 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5218 * sysdeps/s390/s390-32/start.S: ... here.
5219
5220 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5221 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5222 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5223 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5224 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5225 * sysdeps/s390/s390-64/setjmp.S: ... here.
5226 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5227 * sysdeps/s390/s390-64/configure.in: ... here
5228 * sysdeps/s390/s390-64/elf/configure: Delete file.
5229 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5230 * sysdeps/s390/s390-64/start.S: ... here.
5231 * sysdeps/s390/s390-64/elf/configure: Delete.
5232
5233 * configure.in: Remove support for elf directories in sysdeps.
5234
5235 * configure: Regenerated.
5236 * sysdeps/i386/configure: Regenerated.
5237 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5238 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5239 * sysdeps/s390/s390-32/configure: Regenerated.
5240 * sysdeps/s390/s390-64/configure: Regenerated.
5241 * sysdeps/sh/configure: Regenerated.
5242 * sysdeps/sparc/configure: Regenerated.
5243 * sysdeps/x86_64/configure: Regenerated.
5244
5245 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5246
5247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5248
5249 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5250 denormal result into account.
5251
5252 2012-03-25 Roland McGrath <roland@hack.frob.com>
5253
5254 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5255 Reported by Allan McRae <allan@archlinux.org>.
5256
5257 2012-03-23 Jeff Law <law@redhat.com>
5258
5259 * nss/getnssent.c (__nss_getent): Fix typo.
5260
5261 2012-03-23 David S. Miller <davem@davemloft.net>
5262
5263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5264
5265 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5266
5267 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5268 to pad to uint64_t for each field.
5269 (dl_tls_index): Replace unsigned long with uint64_t.
5270
5271 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5272 Paul Pluzhnikov <ppluzhnikov@google.com>
5273
5274 [BZ #6528]
5275 * grp/Makefile (otherlibs): Don't set it.
5276 * inet/Makefile (otherlibs): Likewise.
5277 * login/Makefile (otherlibs): Likewise.
5278 * nscd/Makefile (otherlibs): Likewise.
5279 * posix/Makefile (otherlibs): Likewise.
5280 * pwd/Makefile (otherlibs): Likewise.
5281 * rt/Makefile (otherlibs): Likewise.
5282 * sunrpc/Makefile (otherlibs): Likewise.
5283 * nss/Makefile (otherlibs): Likewise.
5284 Add libnss_files to routines and static-only-routines.
5285 ($(objpfx)getent): Remove rule.
5286 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5287 static-only-routines.
5288
5289 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5290
5291 [BZ #13892]
5292 * math/s_cexp.c: Include <float.h>.
5293 (__cexp): Handle exp result overflowing not necessarily
5294 overflowing both real and imaginary parts of result.
5295 * math/s_cexpf.c: Likewise.
5296 * math/s_cexpl.c: Likewise.
5297 * math/libm-test.inc (cexp_test): Add more tests.
5298 * sysdeps/i386/fpu/libm-test-ulps: Update.
5299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5300
5301 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5302
5303 * include/link.h (ELFW): New macro.
5304 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5305 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5306
5307 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5308
5309 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5310 with uint64_t.
5311
5312 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5313
5314 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5315 declaration.
5316 (struct La_x32_retval): Likewise.
5317
5318 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5319
5320 * sysdeps/x86_64/preconfigure.in: New file.
5321 * sysdeps/x86_64/preconfigure: New generated file.
5322
5323 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5324
5325 [BZ #13824]
5326 * math/e_exp2l.c: Include <float.h>.
5327 (__ieee754_exp2l): Handle overflow and underflow cases
5328 separately. Only pass fractional part of argument to
5329 __ieee754_expl.
5330 * math/libm-test.inc (exp2_test): Add more tests.
5331
5332 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5333 negating x to take absolute value.
5334 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5335 Likewise.
5336 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5337 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5338 Likewise.
5339 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5340 computing low part if x was negated.
5341 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5342
5343 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5344
5345 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5346 la_x32_gnu_pltexit.
5347 (pltexit): Cast int_retval to ptrdiff_t.
5348 * elf/tst-auditmod3b.c: Likewise.
5349 * elf/tst-auditmod4b.c: Likewise.
5350 * elf/tst-auditmod5b.c: Likewise.
5351 * elf/tst-auditmod6b.c: Likewise.
5352 * elf/tst-auditmod6c.c: Likewise.
5353 * elf/tst-auditmod7b.c: Likewise.
5354
5355 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5356 and x32_gnu_pltexit.
5357
5358 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5359 __ELF_NATIVE_CLASS.
5360 (La_x32_regs): New macro.
5361 (La_x32_retval): Likewise.
5362 (la_x32_gnu_pltenter): New function prototype.
5363 (la_x32_gnu_pltexit): Likewise.
5364
5365 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5366
5367 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5368 exponent.
5369
5370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5371
5372 * configure.in (libc_cv_cc_nofma): Check for option to disable
5373 generation of FMA instructions.
5374 * configure: Regenerate.
5375 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5376 * sysdeps/ieee754/dbl-64/Makefile: New file.
5377 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5378 Remove brandred-fma4.
5379 (CFLAGS-brandred-fma4.c): Remove.
5380 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5381 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5382 define.
5383 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5384 define.
5385
5386 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5387
5388 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5389 LLONG_MAX != LONG_MAX.
5390 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5391 (_fitoa_word): Likewise.
5392 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5393 LLONG_MAX != LONG_MAX.
5394 * stdio-common/_itowa.h: Include <_itoa.h>.
5395 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5396 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5397 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5398 only if not defined.
5399 (_ITOA_WORD_TYPE): Likewise.
5400 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5401 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5402
5403 2012-03-21 David S. Miller <davem@davemloft.net>
5404
5405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5406
5407 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5408
5409 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5410 of x86_64 when setting libc_cv_slibdir, libdir and
5411 libc_cv_localedir.
5412 * sysdeps/unix/sysv/linux/configure: Regenerated.
5413
5414 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5415
5416 * manual/lang.texi (Old Varargs): Remove section.
5417 (How Variadic): Update menu.
5418 (va_start): Do not mention varargs.h.
5419
5420 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5421 Joseph Myers <joseph@codesourcery.com>
5422
5423 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5424 link test.
5425 * configure: Regenerated.
5426
5427 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5428
5429 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5430 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5431 conformtest.pl
5432
5433 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5434
5435 * NOTES: Remove.
5436 * Makefile (files-for-dist): Remove NOTES.
5437 (NOTES): Remove rule.
5438 * README: Don't refer to NOTES.
5439 * manual/creature.texi: Don't include macros.texi.
5440 * manual/intro.texi (creature.texi): Remove comment referring to
5441 NOTES.
5442
5443 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5444 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5445 * configure: Regenerated.
5446 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5447 LIBC_TRY_CC_OPTION.
5448 (libc_cv_as_i686): Likewise.
5449 (libc_cv_cc_avx): Likewise.
5450 (libc_cv_cc_sse2avx): Likewise.
5451 (libc_cv_cc_fma4): Likewise.
5452 (libc_cv_cc_novzeroupper): Likewise.
5453 * sysdeps/i386/configure: Regenerated.
5454
5455 [BZ #13883]
5456 * sysdeps/i386/fpu/s_cexp.S: Remove.
5457 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5458 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5459 * math/libm-test.inc (cexp_test): Add more tests.
5460 * sysdeps/i386/fpu/libm-test-ulps: Update.
5461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5462
5463 2012-03-21 Allan McRae <allan@archlinux.org>
5464
5465 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5466
5467 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5468
5469 [BZ #13871]
5470 * math/w_exp2.c: Do not include <float.h>.
5471 (o_threshold, u_threshold): Remove.
5472 (__exp2): Calculate result before checking finiteness and calling
5473 __kernel_standard.
5474 * math/w_exp2f.c: Likewise.
5475 * math/w_exp2l.c: Likewise.
5476 * math/libm-test.inc (exp2_test): Require overflow exception for
5477 1e6 input.
5478
5479 [BZ #3866]
5480 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5481 range of signed 64-bit integers before using fistpll. Remove
5482 checks for whether integers fit in mantissa bits.
5483 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5484 the range of signed 32-bit integers before using fistpl. Remove
5485 checks for whether integers fit in mantissa bits.
5486 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5487 (__ieee754_powl): Test for y outside the range of signed 64-bit
5488 integers before using fistpll. Reduce 64-bit values to 63-bit
5489 ones as needed.
5490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5491 divide-by-zero is raised for zero to large negative powers.
5492 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5493 (__ieee754_powl): Test for y outside the range of signed 64-bit
5494 integers before using fistpll. Reduce 64-bit values to 63-bit
5495 ones as needed.
5496 * math/libm-test.inc (pow_test): Add more tests.
5497
5498 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5499
5500 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5501 <stdio-common/_itoa.h>.
5502 * debug/segfault.c: Likewise.
5503 * elf/dl-cache.c: Likewise.
5504 * elf/dl-minimal.c: Likewise.
5505 * elf/dl-misc.c: Likewise.
5506 * elf/dl-sysdep.c: Likewise.
5507 * elf/dl-version.c: Likewise.
5508 * elf/rtld.c: Likewise.
5509 * hurd/hurdsock.c: Likewise.
5510 * hurd/lookup-retry.c: Likewise.
5511 * malloc/malloc.c: Likewise.
5512 * malloc/mtrace.c: Likewise.
5513 * nscd/nscd_getgr_r.c: Likewise.
5514 * nscd/nscd_getpw_r.c: Likewise.
5515 * nscd/nscd_getserv_r.c: Likewise.
5516 * posix/getopt_init.c: Likewise.
5517 * posix/wordexp.c: Likewise.
5518 * stdio-common/_itoa.c: Likewise.
5519 * stdio-common/printf_fphex.c: Likewise.
5520 * stdio-common/vfprintf.c: Likewise.
5521 * string/_strerror.c: Likewise.
5522 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5523 * sysdeps/i386/i686/hp-timing.h: Likewise.
5524 * sysdeps/mach/_strerror.c: Likewise.
5525 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5526 * sysdeps/mach/hurd/sethostid.c: Likewise.
5527 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5528 * sysdeps/mach/xpg-strerror.c: Likewise.
5529 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5530 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5531 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5532 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5533 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5534 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5535 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5536 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5537 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5538 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5539 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5540 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5541 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5542 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5543 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5544 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5545 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5546 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5547 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5548 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5549 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5550
5551 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5552
5553 * stdio-common/_itoa.h: Moved to ...
5554 * sysdeps/generic/_itoa.h: Here.
5555
5556 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5557
5558 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5559 instead of "_itoa.h" and "_itowa.h".
5560 * stdio-common/vfprintf.: Likewise.
5561
5562 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5563
5564 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5565 <bits/wordsize.h>.
5566 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5567 (__signbit): Likwise.
5568 (llrintf): Likwise.
5569 (llrint): Likwise.
5570
5571 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5572
5573 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5574 __WORDSIZE != 64.
5575
5576 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5577
5578 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5579 OVERFLOW_EXCEPTION_OK.
5580 * math/libm-test.inc ("Philosophy"): Update comment about
5581 exception testing.
5582 (OVERFLOW_EXCEPTION): Define.
5583 (OVERFLOW_EXCEPTION_OK): Likewise.
5584 (INVALID_EXCEPTION_OK): Renumber.
5585 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5586 (IGNORE_ZERO_INF_SIGN): Likewise.
5587 (test_exceptions): Handle FE_OVERFLOW.
5588 (exp10_test): Expect overflow exceptions.
5589 (exp2_test): Likewise.
5590 (expm1_test): Likewise.
5591 (nextafter_test): Likewise.
5592 (pow_test): Likewise.
5593 (scalbn_test): Likewise.
5594 (scalbln_test): Likewise.
5595
5596 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5597
5598 * sysdeps/x86_64/bits/atomic.h
5599 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5600 64bit integer.
5601 (atomic_exchange_acq): Likewise.
5602 (__arch_exchange_and_add_body): Likewise.
5603 (__arch_add_body): Likewise.
5604 (atomic_add_negative): Likewise.
5605 (atomic_add_zero): Likewise.
5606
5607 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5608
5609 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5610 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5611
5612 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5613
5614 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5615 Check __x86_64__ instead of __WORDSIZE.
5616
5617 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5618
5619 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5620
5621 2012-03-19 David S. Miller <davem@davemloft.net>
5622
5623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5624
5625 * sysdeps/sparc/fpu/fenv_private.h: New file.
5626 * sysdeps/sparc/fpu/math_private.h: Use it.
5627 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5628 Remove.
5629 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5630 (libc_feholdexcept_setroundl): Remove.
5631 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5632 Remove.
5633 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5634 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5635
5636 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5637
5638 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5639 int64_t instead of long int.
5640 (INSERT_WORDS64): Likwise.
5641
5642 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5643
5644 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5645 _Unwind_GetCFA return to _Unwind_Ptr first.
5646
5647 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5648
5649 [BZ #13629]
5650 * math/s_clog.c: Include <float.h>.
5651 (__clog): Scale large or subnormal inputs.
5652 * math/s_clogf.c: Likewise.
5653 * math/s_clogl.c: Likewise.
5654 * math/s_clog10.c: Include <float.h>.
5655 (M_LOG10_2): Define.
5656 (__clog10): Scale large or subnormal inputs.
5657 * math/s_clog10f.c: Likewise.
5658 * math/s_clog10l.c: Likewise.
5659 * math/libm-test.inc (clog_test): Add more tests.
5660 (clog10_test): Likewise.
5661 * sysdeps/i386/fpu/libm-test-ulps: Update.
5662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5663
5664 [BZ #11451]
5665 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5666 x and y.
5667 * math/libm-test.inc (atan2_test): Add another test.
5668
5669 * Makerules (common-objdir-compile): Remove.
5670 * sysdeps/unix/Makefile (config-generated): Do not add
5671 $(unix-generated) to variable.
5672 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5673 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5674 Remove rule.
5675 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5676 Likewise.
5677 [generic bits/local_lim.h] (before-compile): Do not append to
5678 variable.
5679 [generic bits/local_lim.h] (common-generated): Likewise.
5680 [generic sys/param.h] (before-compile): Do not append to variable.
5681 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5682 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5683 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5684 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5685 include.
5686 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5687 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5688 [generic sys/param.h] ($(addprefix
5689 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5690 [generic sys/param.h] (common-generated): Do not append to
5691 variable.
5692 [generic sys/param.h] (sysdep_headers): Likewise.
5693 [generic bits/errno.h] (before-compile): Do not append to
5694 variable.
5695 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5696 rule.
5697 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5698 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5699 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5700 [generic bits/errno.h] (common-generated): Do not append to
5701 variable.
5702 [generic bits/ioctls.h] (before-compile): Do not append to
5703 variable.
5704 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5705 rule.
5706 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5707 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5708 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5709 rule.
5710 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5711 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5712 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5713 [generic bits/ioctls.h] (common-generated): Do not append to
5714 variable.
5715 [generic sys/syscall.h] (syscall.h): Remove variable.
5716 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5717 rule.
5718 [generic sys/syscall.h] (before-compile): Do not append to
5719 variable.
5720 [generic sys/syscall.h] (common-generated): Likewise.
5721 * sysdeps/unix/errnos-tmpl.c: Remove file.
5722 * sysdeps/unix/errnos.awk: Likewise.
5723 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5724 * sysdeps/unix/ioctls.awk: Likewise.
5725 * sysdeps/unix/mk-local_lim.c: Likewise.
5726 * sysdeps/unix/snarf-ioctls: Likewise.
5727
5728 2012-03-19 Richard Henderson <rth@twiddle.net>
5729
5730 * sysdeps/i386/fpu/fenv_private.h: New file.
5731 * sysdeps/i386/fpu/math_private.h: Use it.
5732 (math_opt_barrier, math_force_eval): Remove.
5733 (libc_feholdexcept_setround_53bit): Remove.
5734 (libc_feupdateenv_53bit): Remove.
5735 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5736 (math_opt_barrier, math_force_eval): Remove.
5737 (libc_feholdexcept): Remove.
5738 (libc_feholdexcept_setround): Remove.
5739 (libc_fetestexcept, libc_fesetenv): Remove.
5740 (libc_feupdateenv_test): Remove.
5741 (libc_feupdateenv, libc_feholdsetround): Remove.
5742 (libc_feresetround): Remove.
5743
5744 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5745 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5746
5747 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5748 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5749 (libc_feupdateenv_testl): New.
5750 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5751 (libc_feupdateenv_testf): New.
5752 (libc_feupdateenv): Use libc_feupdateenv_test.
5753 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5754 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5755
5756 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5757 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5758 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5759 (libc_feresetround_noex): New.
5760 (libc_feresetround_noexf): New.
5761 (libc_feresetround_noexl): New.
5762 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5763 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5764 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5765 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5766 SET_RESTORE_ROUND.
5767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5768 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5769 (__cos): Likewise.
5770 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5771 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5772 SET_RESTORE_ROUND_NOEX.
5773 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5774 SET_RESTORE_ROUND_NOEXF.
5775 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5776 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5777 (libc_feholdsetroundf): New.
5778 (libc_feresetround, libc_feresetroundf): New.
5779
5780 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5781 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5782 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5783
5784 * sysdeps/generic/math_private.h: Include <fenv.h>.
5785 (default_libc_feholdexcept): New.
5786 (default_libc_feholdexcept_setround): New.
5787 (default_libc_fesetenv, default_libc_feupdateenv): New.
5788 (libc_feholdexcept): Only define if undefined.
5789 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5790 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5791 (libc_feholdexcept_setroundl): Likewise.
5792 (libc_feholdexcept_setround_53bit): Likewise.
5793 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5794 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5795 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5796 (libc_feupdateenv_53bit): Likewise.
5797 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5798 (libc_feholdexcept): Convert from macro to inline function.
5799 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5800 (libc_fesetenv, libc_feupdateenv): Likewise.
5801
5802 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5803 not previously defined.
5804 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5805 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5806 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5807 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5808 * sysdeps/ieee754/flt-32/math_private.h: New file.
5809 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5810 math_private.h below SET_FLOAT_WORD.
5811 (__isnan, __isinf_ns, __finite): Remove.
5812 (__isnanf, __isinf_nsf, __finitef): Remove.
5813
5814 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5815
5816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5817
5818 2012-03-17 David S. Miller <davem@davemloft.net>
5819
5820 [BZ #6471]
5821 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5822 for 2.16.
5823
5824 2012-03-16 David S. Miller <davem@davemloft.net>
5825
5826 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5827 warnings.
5828
5829 [BZ #6471]
5830 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5831 properly.
5832 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5833 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5834 sysdep_routines when subdir is sysvipc.
5835 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5836 __getshmlba helper.
5837
5838 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5839
5840 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5841
5842 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5843 [__LP64__].
5844
5845 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5846
5847 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5848 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5849 (__lround): Renamed to ...
5850 (__llround): This. Replace long int with long long int.
5851 Define lround functions as aliases of llround functions.
5852 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5853
5854 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5855
5856 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5857 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5858 adresses to uintptr_t. Replace "long int" and "unsigned long
5859 int" with "greg_t" on va_arg.
5860
5861 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5862
5863 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5864 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5865
5866 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5867 Move e_machine check before EI_CLASS check. Handle x32
5868 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5869 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5870 SKIP_EM_IA_64 and include
5871 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5872
5873 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5874 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5875 (add_system_dir): New macro.
5876
5877 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5878 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5879
5880 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5881
5882 [BZ #2551]
5883 [BZ #2552]
5884 [BZ #2553]
5885 [BZ #2554]
5886 [BZ #2562]
5887 [BZ #2563]
5888 [BZ #2565]
5889 [BZ #2566]
5890 [BZ #2576]
5891 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5892 (y0): Likewise.
5893 * math/w_j0f.c (j0f): Likewise.
5894 (y0f): Likewise.
5895 * math/w_j0l.c (__j0l): Likewise.
5896 (__y0l): Likewise.
5897 * math/w_j1.c (j1): Likewise.
5898 (y1): Likewise.
5899 * math/w_j1f.c (j1f): Likewise.
5900 (y1f): Likewise.
5901 * math/w_j1l.c (__j1l): Likewise.
5902 (__y1l): Likewise.
5903 * math/w_jn.c (jn): Likewise.
5904 (yn): Likewise.
5905 * math/w_jnf.c (jnf): Likewise.
5906 (ynf): Likewise.
5907 * math/w_jnl.c (__jnl): Likewise.
5908 (__ynl): Likewise.
5909 * math/libm-test.inc (j0_test): Add more tests.
5910 (j1_test): Likewise.
5911 (jn_test): Likewise. Add trailing semicolon to existing test.
5912 (y0_test): Likewise.
5913 (y1_test): Likewise.
5914 * sysdeps/i386/fpu/libm-test-ulps: Update.
5915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5916
5917 [BZ #13851]
5918 [BZ #13854]
5919 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5920 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5921 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5922 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5923 (__tanl): Set errno for infinite argument.
5924 * sysdeps/i386/fpu/mptan.c: Remove.
5925 * sysdeps/i386/fpu/s_tan.S: Likewise.
5926 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5927 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5928 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5929 * math/libm-test.inc (tan_test): Add more tests and enable more
5930 tests for double and long double.
5931 * sysdeps/i386/fpu/libm-test-ulps: Update.
5932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5933
5934 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5935
5936 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5937 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5938
5939 2012-03-16 Roland McGrath <roland@hack.frob.com>
5940
5941 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5942 * configure.in: Use it for both main tree and add-ons.
5943 * configure: Regenerated.
5944
5945 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5946
5947 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5948
5949 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5950
5951 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5952 in comment.
5953
5954 [BZ #13851]
5955 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5956 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5957 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5959 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5960 infinite argument.
5961 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5962 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5963 != 0 for prec == 2.
5964 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5965 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5966 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5967 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5968 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5969 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5970 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5971 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5972 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5973 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5974 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5975 * math/libm-test.inc (cos_test): Add more tests and enable more
5976 tests for long double.
5977 (sin_test): Likewise.
5978 (sincos_test): Likewise.
5979 * sysdeps/i386/fpu/libm-test-ulps: Update.
5980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5981
5982 2012-03-16 David S. Miller <davem@davemloft.net>
5983
5984 * sysdeps/sparc/fpu/math_private.h: New file.
5985
5986 2012-03-15 David S. Miller <davem@davemloft.net>
5987
5988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5989 file.
5990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5992 file.
5993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5998 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5999 sysdep routines.
6000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6001
6002 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6003 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6004
6005 * sysdeps/sparc/sparc-ifunc.h: New file.
6006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6007 sparc-ifunc.h
6008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6010 Likewise.
6011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6012 Likewise.
6013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6017 Likewise.
6018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6023 Likewise.
6024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6025 Likewise.
6026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6032 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6033 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6044 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6045 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6046 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6047 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6048 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6049 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6050
6051 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6052
6053 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6054 scaling.
6055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6056
6057 2012-03-15 Andreas Jaeger <aj@suse.de>
6058
6059 [BZ #13852]
6060 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6061 ieee754/flt-32 implementation for sin, cos and sincos.
6062 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6063 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6064 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6065 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6066 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6067 ieee754/flt-32 implementation for tan.
6068
6069 * math/libm-test.inc (cos_test): Enable some large input tests for
6070 float as well
6071 (sin_test): Likewise.
6072 (sincos_test): Likewise.
6073 (tan_test): Add tests for large input.
6074
6075 * sysdeps/i386/fpu/libm-test-ulps: Update.
6076
6077 2012-03-15 Andreas Jaeger <aj@suse.de>
6078
6079 [BZ #13658]
6080 * math/libm-test.inc (cos_test): Add more test cases.
6081 (sin_test): Likewise.
6082 (sincos_test): Likewise.
6083
6084 2012-03-15 Andreas Jaeger <aj@suse.de>
6085
6086 [BZ #13837]
6087 * math/libm-test.inc (cos_test): Add a test case for large input
6088 value.
6089 (sin_test): Likewise.
6090 (sincos_test): Likewise.
6091
6092 2012-03-15 Andreas Jaeger <aj@suse.de>,
6093 Joseph Myers <joseph@codesourcery.com>
6094
6095 [BZ #13658]
6096 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6097 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6098 * sysdeps/i386/fpu/branred.c: Likewise.
6099 * sysdeps/i386/fpu/dosincos.c: Likewise.
6100 * sysdeps/i386/fpu/mpa.c: Likewise.
6101 * sysdeps/i386/fpu/s_cos.S: Likewise.
6102 * sysdeps/i386/fpu/s_sin.S: Likewise.
6103 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6104 * sysdeps/i386/fpu/sincos32.c: Likewise.
6105
6106 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6107 Define.
6108 (libc_feupdateenv_53bit): Define.
6109 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6110 Define.
6111 (libc_feupdateenv_53bit): Define.
6112
6113 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6114 53 bit (without extend i386 double precision).
6115
6116 * math/libm-test.inc (sincos_test): Add tests for large input.
6117 (sin): Likewise.
6118 (cos): Likewise.
6119
6120 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6121
6122 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6123
6124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6125
6126 2012-03-15 David S. Miller <davem@davemloft.net>
6127
6128 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6129 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6130 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6131 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6144 file.
6145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6147 file.
6148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6150 file.
6151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6153 file.
6154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6156 fmin/fmax sysdep routines.
6157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6158
6159 2012-03-14 David S. Miller <davem@davemloft.net>
6160
6161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6165 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6166 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6182 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6185 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6186 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6190 routines.
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6192 file.
6193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6195 file.
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6198 file.
6199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6201 file.
6202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6204 file.
6205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6207 file.
6208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6209 file.
6210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6211 file.
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6213 file.
6214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6215 New file.
6216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6217 file.
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6219 file.
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6222 file.
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6225 file.
6226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6228 file.
6229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6231 VIS3 routines.
6232
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6234 New file.
6235
6236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6237
6238 * sysdeps/sparc/configure.in: New file.
6239 * sysdeps/sparc/configure: Generate.
6240 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6241 * configure: Regenerate.
6242 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6243 * config.make.in (have-as-vis3): New.
6244 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6245 available use -Av9d instead of -Av9a.
6246 * sysdeps/sparc/sparc64/Makefile: Likewise.
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6249 New file.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6251 file.
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6253 New file.
6254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6255 file.
6256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6257 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6258 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6259 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6261
6262 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6263 fzeros/fnegs to load 0x80000000 into a float register instead of
6264 using the stack.
6265 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6266
6267 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6268
6269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6270 bits/syscall.h.
6271 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6272 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6273 ($(inst_includedir)/bits/syscall.h): Remove rule.
6274 ($(objpfx)bits/syscall.d): Include instead of
6275 $(objpfx)syscall-list.d.
6276 (generated): Change syscall-list.h and syscall-list.d to
6277 bits/syscall.h and bits/syscall.d.
6278
6279 2012-03-14 Roland McGrath <roland@hack.frob.com>
6280
6281 [BZ #13846]
6282 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6283
6284 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6285
6286 [BZ #13841]
6287 * math/s_csqrt.c: Include <float.h>.
6288 (__csqrt): Scale large or subnormal inputs.
6289 * math/s_csqrtf.c: Likewise.
6290 * math/s_csqrtl.c: Likewise.
6291 * math/libm-test.inc (csqrt_test): Add more tests.
6292 * sysdeps/i386/fpu/libm-test-ulps: Update.
6293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6294
6295 [BZ #13840]
6296 * math/libm-test.inc (hypot_test): Add more tests.
6297
6298 2012-03-13 David S. Miller <davem@davemloft.net>
6299
6300 [BZ #13840]
6301 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6302 double-precision for the calculation instead of scaling.
6303
6304 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6305
6306 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6307 manipulate bits before adding and subtracting TWO52[sx].
6308 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6309 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6310 Likewise.
6311 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6312
6313 2012-03-13 David S. Miller <davem@davemloft.net>
6314
6315 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6316 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6318 rtld-global-offsets.h
6319 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6320
6321 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6322 large parameters.
6323
6324 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6325
6326 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6327 'err' in the ifdef scope in which it is actually used.
6328
6329 * nss/nss_db/db-init.c: Include string.h
6330
6331 2012-03-12 David S. Miller <davem@davemloft.net>
6332
6333 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6334 masking out of the most significant byte of random value used.
6335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6336 Fix coding style in previous change.
6337
6338 * sysdeps/unix/sysv/linux/kernel-features.h
6339 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6340 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6341 expression.
6342 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6343 later.
6344
6345 2012-03-11 David S. Miller <davem@davemloft.net>
6346
6347 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6348 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6349 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6350 for 'resultvar' otherwise things get truncated on 64-bit.
6351
6352 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6353 Fix masking out of the most significant byte of random value used.
6354
6355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6356
6357 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6358
6359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6360
6361 2012-03-09 David S. Miller <davem@davemloft.net>
6362
6363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6364 variables with appropriate CPP guards.
6365 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6366 frame pointer, not the stack pointer. Correct layout comments. Fix test
6367 on resulting framesize and the management of the outregs buffer for pltexit.
6368 Preserve floating point return values across _dl_call_pltexit call.
6369 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6370 framesize and the management of the outregs buffer for pltexit.
6371 Preserve floating point return values across _dl_call_pltexit
6372 call.
6373 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6374 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6375 (print_exit): Fix format string for return register value.
6376
6377 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6378
6379 * sunrpc/Makefile (others): Add rpcgen.
6380 ($(objpfx)rpcgen): Remove special build rule and dependency on
6381 libc.
6382 * sunrpc/rpcgen.c: New file.
6383
6384 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6385
6386 [BZ #13673]
6387 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6388 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6389 * sysdeps/i386/crti.S: Likewise.
6390 * sysdeps/i386/crtn.S: Likewise.
6391 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6392 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6393 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6394 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6395 * sysdeps/sh/crti.S: Likewise.
6396 * sysdeps/sh/crtn.S: Likewise.
6397 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6398
6399 [BZ #13673]
6400 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6401 with URL.
6402 * locale/programs/locfile-kw.gperf: Likewise.
6403 * locale/programs/charmap-kw.h: Regenerated.
6404 * locale/programs/locfile-kw.h: Likewise.
6405
6406 [BZ #13673]
6407 * intl/plural.y: Replace FSF snail mail address with URL.
6408 * intl/plural.c: Regenerated.
6409
6410 2012-03-09 Richard Henderson <rth@twiddle.net>
6411
6412 * include/math_private.h: Remove file.
6413 * math/math_private.h: Move file ...
6414 * sysdeps/generic/math_private.h: ... here.
6415
6416 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6417 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6418 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6419
6420 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6421 and <math_private.h>.
6422 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6423 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6424 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6425 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6426 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6442 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6443 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6446 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6447 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6448 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6449 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6451 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6452 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6455 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6456 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6457 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6458 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6459 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6460 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6462 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6463 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6464 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6465 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6467 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6489 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6490 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6494 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6495 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6496 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6498 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6500 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6501 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6502 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6503 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6504 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6510 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6511 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6512 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6513 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6515 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6516 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6517 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6518 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6519 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6520 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6521 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6522 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6523 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6524 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6525 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6526 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6527 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6528 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6529 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6530 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6531 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6532 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6533 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6534 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6535 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6536 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6537 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6538 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6539 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6540 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6541 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6542 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6543 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6544 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6545 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6546 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6547 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6548 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6549 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6550 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6551 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6552 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6553 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6554 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6555 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6556 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6557 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6558 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6559 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6560 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6561 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6562 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6563 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6564 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6565 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6566 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6567 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6568 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6570 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6571 * sysdeps/ieee754/k_standard.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6581 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6582 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6584 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6687 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6691 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6692 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6694 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6699 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6704 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6720 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6721 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6722 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6732 * sysdeps/ieee754/s_lib_version.c: Likewise.
6733 * sysdeps/ieee754/s_matherr.c: Likewise.
6734 * sysdeps/ieee754/s_signgam.c: Likewise.
6735 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6736 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6737 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6738 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6739 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6740 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6741 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6742 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6743 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6744 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6745 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6746 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6747 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6748 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6749 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6750 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6751 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6752 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6753 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6754 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6755 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6756
6757 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6758
6759 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6760 * sunrpc/rpc_main.c: Likewise.
6761 * sunrpc/rpc_svcout.c: Likewise.
6762
6763 2012-03-09 David S. Miller <davem@davemloft.net>
6764
6765 * include/math_private.h: New file.
6766
6767 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6768
6769 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6770 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6771 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6772 from <bits/socket_type.h>.
6773 (enum __socket_type): Don't define here.
6774 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6776 bits/socket_type.h.
6777
6778 [BZ #13566]
6779 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6780 checking __USE_GNU.
6781
6782 * Makerules ($(inst_includedir)/%.h): New rule.
6783 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6784 (install-others): Remove variable setting.
6785 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6786
6787 2012-03-08 Richard Henderson <rth@twiddle.net>
6788
6789 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6790 from macro to inline function; merge with the
6791 !__LIBC_INTERNAL_MATH_INLINES version.
6792 (__ieee754_sqrtf): Likewise.
6793
6794 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6795 to inline function.
6796 (__rintf, __floor, __floorf): Likewise.
6797
6798 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6799 macro to inline function.
6800 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6801
6802 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6803 not <math/math_private.h>.
6804
6805 2012-03-08 David S. Miller <davem@davemloft.net>
6806
6807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6808 copyright year.
6809 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6810
6811 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6812
6813 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6814 normalization.
6815 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6816 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6817
6818 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6819
6820 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6821 be defined individually, they must be defined as a block. Define
6822 S for printing a string instead of hidint the different by using a
6823 macro for adding the 'l'.
6824 * stdio-common/tst-fphex-wide.c: Adjust.
6825
6826 2012-03-07 Marek Polacek <polacek@redhat.com>
6827
6828 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6829
6830 2012-03-08 Marek Polacek <polacek@redhat.com>
6831
6832 [BZ #13806]
6833 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6834 * stdio-common/tst-fphex.c: Define a few macros to make the
6835 test reusable. Use them.
6836 * stdio-common/tst-fphex-wide.c: New file.
6837
6838 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6839
6840 [BZ #6911]
6841 * manual/macros.texi (gnusystems): New macro.
6842 (nongnusystems): Likewise.
6843 (gnulinuxhurdsystems): Likewise.
6844 (gnuhurdsystems): Likewise..
6845 (gnulinuxsystems): Likewise.
6846 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6847 variants of the GNU system, not "GNU system".
6848 * manual/conf.texi: Likewise.
6849 * manual/errno.texi: Likewise. Update example of errno macro
6850 expansion.
6851 * manual/filesys.texi: Likewise.
6852 (getumask): Document as specific to GNU/Hurd.
6853 * manual/install.texi: Likewise. Reword some references to
6854 GNU/Linux.
6855 * manual/intro.texi: Likewise.
6856 * manual/io.texi: Likewise.
6857 (File Name Portability): Detail which constraints are inapplicable
6858 to all GNU systems and which are only inapplicable to GNU/Hurd.
6859 * manual/job.texi: Likewise.
6860 * manual/llio.texi: Likewise.
6861 (O_NOCTTY): Document as present on GNU/Linux.
6862 * manual/maint.texi: Likewise.
6863 * manual/memory.texi: Likewise.
6864 * manual/pattern.texi: Likewise.
6865 * manual/pipe.texi: Likewise.
6866 * manual/process.texi: Likewise.
6867 * manual/resource.texi: Likewise.
6868 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6869 child on GNU/Hurd.
6870 * manual/setjmp.texi: Likewise.
6871 * manual/signal.texi: Likewise.
6872 * manual/startup.texi: Likewise.
6873 * manual/stdio.texi: Likewise.
6874 * manual/terminal.texi: Likewise.
6875 (ONLCR): Document as POSIX.
6876 (OXTABS): Document availability on GNU/Linux as XTABS.
6877 (ONOEOT): Document availability separately from other bits.
6878 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6879 * manual/time.texi: Likewise.
6880 * manual/users.texi: Likewise.
6881 * INSTALL: Regenerated.
6882 * sysdeps/gnu/errlist.c: Regenerated.
6883
6884 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6885 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6886 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6887 puts.
6888 * configure: Regenerated.
6889
6890 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6891
6892 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6893 default includes instead of AC_HEADER_CHECK.
6894 * sysdeps/i386/configure: Regenerated.
6895
6896 [BZ #10716]
6897 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6898 * math/s_cacoshf.c (__cacoshf): Likewise.
6899 * math/s_cacoshl.c (__cacoshl): Likewise.
6900 * math/s_casinh.c (__casinh): Set signs of result from argument.
6901 * math/s_casinhf.c (__casinhf): Likewise.
6902 * math/s_casinhl.c (__casinhl): Likewise.
6903 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6904 (casinh_test): Add more tests.
6905 * sysdeps/i386/fpu/libm-test-ulps: Update.
6906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6907
6908 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6909
6910 * po/zh_TW.po: Update from translation team.
6911
6912 * login/Makefile (distribute): Remove variable.
6913 * catgets/Makefile: Likewise.
6914 * mach/Makefile: Likewise.
6915 * malloc/Makefile: Likewise.
6916 * misc/Makefile: Likewise.
6917 * iconv/Makefile: Likewise.
6918 * nscd/Makefile: Likewise.
6919 * hurd/Makefile: Likewise.
6920 * manual/Makefile: Likewise.
6921 * locale/Makefile: Likewise.
6922 * intl/Makefile: Likewise.
6923 * conform/Makefile: Likewise.
6924 * nss/Makefile: Likewise.
6925 * time/Makefile: Likewise.
6926 * soft-fp/Makefile: Likewise.
6927 * dirent/Makefile: Likewise.
6928 * gmon/Makefile: Likewise.
6929 * po/Makefile: Likewise.
6930 * rt/Makefile: Likewise.
6931 * socket/Makefile: Likewise.
6932 * math/Makefile: Likewise.
6933 * signal/Makefile: Likewise.
6934 * debug/Makefile: Likewise.
6935 * elf/Makefile: Likewise.
6936 * timezone/Makefile: Likewise.
6937 * stdlib/Makefile: Likewise.
6938 * iconvdata/Makefile: Likewise.
6939 * sunrpc/Makefile: Likewise.
6940 * io/Makefile: Likewise.
6941 * argp/Makefile: Likewise.
6942 * inet/Makefile: Likewise.
6943 * hesiod/Makefile: Likewise.
6944 * grp/Makefile: Likewise.
6945 * csu/Makefile: Likewise.
6946 * wctype/Makefile: Likewise.
6947 * crypt/Makefile: Likewise.
6948 * libio/Makefile: Likewise.
6949 * string/Makefile: Likewise.
6950 * nis/Makefile: Likewise.
6951 * resolv/Makefile: Likewise.
6952 * stdio-common/Makefile: Likewise.
6953 * wcsmbs/Makefile: Likewise.
6954 * dlfcn/Makefile: Likewise.
6955 * posix/Makefile: Likewise.
6956
6957 [BZ #6959]
6958 * timezone/Makefile: Don't install timezone files, just the programs
6959 and scripts.
6960
6961 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6962
6963 * nss/databases.def: Add missing gshadow entry.
6964
6965 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6966
6967 2012-03-06 Marek Polacek <polacek@redhat.com>
6968
6969 [BZ #13726]
6970 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6971 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6972 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6973 * stdio-common/tst-long-dbl-fphex.c: New file.
6974
6975 2012-03-06 David S. Miller <davem@davemloft.net>
6976
6977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6978 (set_obp_int): New function.
6979 (get_obp_int): New function.
6980 (__get_clockfreq_via_dev_openprom): Likewise.
6981 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6982 Avoid unused variable warnings on 'val' and use builtin_expect.
6983 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6984 __builtin_expect.
6985 (INLINE_CLONE_SYSCALL): Likewise.
6986
6987 2012-03-05 David S. Miller <davem@davemloft.net>
6988
6989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6990
6991 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6992
6993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6994
6995 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6996 only for |x| >= 40.
6997 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6998
6999 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7000
7001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7002 Replace gettimeofday with __vdso_gettimeofday.
7003
7004 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7005 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7006 __vdso_clock_gettime and __vdso_getcpu.
7007
7008 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7009 time with __vdso_time.
7010
7011 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7012
7013 * manual/lang.texi (size_t): Note types to which size_t may be
7014 equivalent with the GNU C Library, but do not describe when
7015 differences between them are significant.
7016
7017 2012-03-05 Andreas Jaeger <aj@suse.de>
7018
7019 * sysdeps/i386/fpu/libm-test-ulps: Update.
7020
7021 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7022
7023 [BZ #3976]
7024 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7025 (__ieee754_pow): Save and restore rounding mode and use
7026 round-to-nearest for main computations.
7027 * math/libm-test.inc (pow_test_tonearest): New function.
7028 (pow_test_towardzero): Likewise.
7029 (pow_test_downward): Likewise.
7030 (pow_test_upward): Likewise.
7031 (main): Call the new functions.
7032 * sysdeps/i386/fpu/libm-test-ulps: Update.
7033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7034
7035 [BZ #3976]
7036 * math/libm-test.inc (cosh_test_tonearest): New function.
7037 (cosh_test_towardzero): Likewise.
7038 (cosh_test_downward): Likewise.
7039 (cosh_test_upward): Likewise.
7040 (sinh_test_tonearest): Likewise.
7041 (sinh_test_towardzero): Likewise.
7042 (sinh_test_downward): Likewise.
7043 (sinh_test_upward): Likewise.
7044 (main): Call the new functions.
7045 * sysdeps/i386/fpu/libm-test-ulps: Update.
7046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7047
7048 2012-03-05 Tom de Vries <tom@codesourcery.com>
7049
7050 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7051 default stack guard is set in last bytes.
7052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7053
7054 2012-03-05 Kees Cook <keescook@chromium.org>
7055
7056 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7057
7058 [BZ #13656]
7059 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7060 possibly allocate from heap instead of stack.
7061 * stdio-common/bug-vfprintf-nargs.c: New file.
7062 * stdio-common/Makefile (tests): Add nargs overflow test.
7063
7064 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7065
7066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7067
7068 2012-03-03 Marek Polacek <polacek@redhat.com>
7069
7070 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7071 * math/math_private.h: Likewise.
7072 * stdlib/tst-strtod.c: Likewise.
7073 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7074 * sysdeps/x86_64/bits/atomic.h: Likewise.
7075
7076 2012-03-02 David S. Miller <davem@davemloft.net>
7077
7078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7082 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7083 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7084 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7085 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7086
7087 2012-03-02 Roland McGrath <roland@hack.frob.com>
7088
7089 [BZ #13792]
7090 * manual/examples/README: New file, says the example source files
7091 can be used under GPL>=2.
7092 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7093 line containing just "*/".
7094 * manual/examples/add.c: Add copyright header (GPL>=2).
7095 * manual/examples/argp-ex1.c: Likewise.
7096 * manual/examples/argp-ex2.c: Likewise.
7097 * manual/examples/argp-ex3.c: Likewise.
7098 * manual/examples/argp-ex4.c: Likewise.
7099 * manual/examples/atexit.c: Likewise.
7100 * manual/examples/db.c: Likewise.
7101 * manual/examples/dir.c: Likewise.
7102 * manual/examples/dir2.c: Likewise.
7103 * manual/examples/execinfo.c: Likewise.
7104 * manual/examples/filecli.c: Likewise.
7105 * manual/examples/filesrv.c: Likewise.
7106 * manual/examples/fmtmsgexpl.c: Likewise.
7107 * manual/examples/genpass.c: Likewise.
7108 * manual/examples/inetcli.c: Likewise.
7109 * manual/examples/inetsrv.c: Likewise.
7110 * manual/examples/isockad.c: Likewise.
7111 * manual/examples/longopt.c: Likewise.
7112 * manual/examples/memopen.c: Likewise.
7113 * manual/examples/memstrm.c: Likewise.
7114 * manual/examples/mkfsock.c: Likewise.
7115 * manual/examples/mkisock.c: Likewise.
7116 * manual/examples/mygetpass.c: Likewise.
7117 * manual/examples/pipe.c: Likewise.
7118 * manual/examples/popen.c: Likewise.
7119 * manual/examples/rprintf.c: Likewise.
7120 * manual/examples/search.c: Likewise.
7121 * manual/examples/select.c: Likewise.
7122 * manual/examples/setjmp.c: Likewise.
7123 * manual/examples/sigh1.c: Likewise.
7124 * manual/examples/sigusr.c: Likewise.
7125 * manual/examples/stpcpy.c: Likewise.
7126 * manual/examples/strdupa.c: Likewise.
7127 * manual/examples/strftim.c: Likewise.
7128 * manual/examples/strncat.c: Likewise.
7129 * manual/examples/subopt.c: Likewise.
7130 * manual/examples/swapcontext.c: Likewise.
7131 * manual/examples/termios.c: Likewise.
7132 * manual/examples/testopt.c: Likewise.
7133 * manual/examples/testpass.c: Likewise.
7134 * manual/examples/timeval_subtract.c: Likewise.
7135
7136 [BZ #13792]
7137 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7138 function to ...
7139 * manual/timeval_subtract.c.texi: ... here, new file.
7140
7141 2012-03-02 David S. Miller <davem@davemloft.net>
7142
7143 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7144
7145 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7146
7147 [BZ #3976]
7148 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7149 (__sin): Save and restore rounding mode and use round-to-nearest
7150 for all computations.
7151 (__cos): Save and restore rounding mode and use round-to-nearest
7152 for all computations.
7153 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7154 <fenv.h>.
7155 (tan): Save and restore rounding mode and use round-to-nearest for
7156 all computations.
7157 * math/libm-test.inc (cos_test_tonearest): New function.
7158 (cos_test_towardzero): Likewise.
7159 (cos_test_downward): Likewise.
7160 (cos_test_upward): Likewise.
7161 (sin_test_tonearest): Likewise.
7162 (sin_test_towardzero): Likewise.
7163 (sin_test_downward): Likewise.
7164 (sin_test_upward): Likewise.
7165 (tan_test_tonearest): Likewise.
7166 (tan_test_towardzero): Likewise.
7167 (tan_test_downward): Likewise.
7168 (tan_test_upward): Likewise.
7169 (main): Call the new functions.
7170 * sysdeps/i386/fpu/libm-test-ulps: Update.
7171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7172
7173 [BZ #10135]
7174 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7175 small n, then large n, before computing and testing k+n.
7176 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7177 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7178 Likewise.
7179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7180 Likewise.
7181 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7182 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7183 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7184 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7186 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7187 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7188 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7189 * math/libm-test.inc (scalbn_test): Add more tests.
7190 (scalbln_test): Likewise.
7191
7192 * manual/filesys.texi (mode_t): Describe constraints on size and
7193 signedness, not exact equivalence to a particular type.
7194 (ino_t): Likewise.
7195 (ino64_t): Likewise.
7196 (dev_t): Likewise.
7197 (nlink_t): Likewise.
7198 (blkcnt_t): Likewise.
7199 (blkcnt64_t): Likewise.
7200 * manual/llio.texi (off_t): Likewise.
7201
7202 [BZ #3976]
7203 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7204 (__ieee754_exp): Save and restore rounding mode and use
7205 round-to-nearest for all computations.
7206 * math/libm-test.inc (exp_test_tonearest): New function.
7207 (exp_test_towardzero): Likewise.
7208 (exp_test_downward): Likewise.
7209 (exp_test_upward): Likewise.
7210 (main): Call the new functions.
7211 * sysdeps/i386/fpu/libm-test-ulps: Update.
7212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7213
7214 2012-03-01 Chris Demetriou <cgd@google.com>
7215
7216 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7217 have predictable order.
7218
7219 2012-03-01 David S. Miller <davem@davemloft.net>
7220
7221 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7222
7223 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7224 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7225 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7226 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7227
7228 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7229 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7230 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7232 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7233 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7234 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7235 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7236 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7237
7238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7239
7240 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7241 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7242 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7243
7244 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7245 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7246 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7247 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7248 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7249 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7250 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7251 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7252 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7253 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7254 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7255 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7257 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7258 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7259 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7260 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7261 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7262 * sysdeps/sparc/elf/configure: Regenerated.
7263
7264 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7265
7266 * configure.in (AS, LD): Require binutils 2.20 or later.
7267 * configure: Regenerated.
7268 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7269 as required minimum version.
7270 * INSTALL: Regenerated.
7271
7272 [BZ #2541]
7273 [BZ #4108]
7274 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7275 before squaring exponent.
7276 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7277 bottom long double and 27 bits of top long double before squaring
7278 exponent.
7279 * math/libm-test.inc (erfc_test): Add more tests.
7280 * sysdeps/i386/fpu/libm-test-ulps: Update.
7281 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7283
7284 2012-03-01 Kai Tietz <ktietz@redhat.com>
7285
7286 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7287 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7288 containing bit-fields.
7289 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7290 * soft-fp/single.h (_FP_UNION_S): Likewise.
7291 * soft-fp/double.h (_FP_UNION_D): Likewise.
7292
7293 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7294
7295 [BZ #13786]
7296 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7297 not include ../strcmp.S.
7298 [USE_AS_STRNCASECMP_L]: Likewise.
7299 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7300 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7301 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7302 (__strncasecmp_l_ia32): Define as alias to
7303 __strncasecmp_l_nonascii.
7304
7305 [BZ #5794]
7306 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7307 * sysdeps/i386/fpu/libm-test-ulps: Update.
7308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7309
7310 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7312
7313 2012-02-29 Jeff Law <law@redhat.com>
7314
7315 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7316 out of bounds read.
7317
7318 2012-02-29 Marek Polacek <polacek@redhat.com>
7319
7320 [BZ #13706]
7321 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7322 * elf/Makefile: Add rules to run tst-unused-dep.out.
7323
7324 2012-02-28 David S. Miller <davem@davemloft.net>
7325
7326 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7327 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7328 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7329 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7330 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7331 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7332
7333 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7334
7335 * math/libm-test.inc (llround_test): Move one test from
7336 lround_test. Use TEST_f_L in moved test.
7337 (lround_test): Move misplaced test to llround_test. Add testcase
7338 from bug 2561.
7339
7340 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7341
7342 * sysdeps/x86_64/fpu/e_expf.S: New file.
7343 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7344
7345 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7346
7347 [BZ #13637]
7348 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7349 of remain_len that may cause incomplete multi-byte character and
7350 false match.
7351 * posix/bug-regex33.c: New file.
7352 * posix/Makefile (tests): Add bug-regex33.
7353
7354 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7355
7356 * manual/macros.texi: New file.
7357 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7358 * manual/libc.texinfo: Include macros.texi.
7359 * manual/creatute.texi: Likewise.
7360 * manual/install.texi: Likewise.
7361 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7362 @glibcadj{} in references to the GNU C Library.
7363 * manual/charset.texi: Likewise.
7364 * manual/conf.texi: Likewise.
7365 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7366 when not using those macros.
7367 * manual/creature.texi: Likewise.
7368 * manual/crypt.texi: Likewise.
7369 * manual/errno.texi: Likewise.
7370 * manual/filesys.texi: Likewise.
7371 * manual/header.texi: Likewise.
7372 * manual/install.texi: Likewise.
7373 * manual/intro.texi: Likewise.
7374 * manual/io.texi: Likewise.
7375 * manual/job.texi: Likewise.
7376 * manual/lang.texi: Likewise.
7377 * manual/libc.texiinfo: Likewise.
7378 * manual/llio.texi: Likewise.
7379 * manual/locale.texi: Likewise.
7380 * manual/maint.texi: Likewise.
7381 * manual/math.texi: Likewise.
7382 * manual/memory.texi: Likewise.
7383 * manual/message.texi: Likewise.
7384 * manual/nss.texi: Likewise.
7385 * manual/pattern.texi: Likewise.
7386 * manual/process.texi: Likewise.
7387 * manual/resource.texi: Likewise.
7388 * manual/search.texi: Likewise.
7389 * manual/setjmp.texi: Likewise.
7390 * manual/signal.texi: Likewise.
7391 * manual/socket.texi: Likewise.
7392 * manual/startup.texi: Likewise.
7393 * manual/stdio.texi: Likewise.
7394 * manual/string.texi: Likewise.
7395 * manual/sysinfo.texi: Likewise.
7396 * manual/syslog.texi: Likewise.
7397 * manual/terminal.texi: Likewise.
7398 * manual/time.texi: Likewise.
7399 * manual/users.texi: Likewise.
7400 * INSTALL: Regenerated.
7401 * NOTES: Regenerated.
7402 * sysdeps/gnu/errlist.c: Regenerated.
7403
7404 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7405
7406 * include/dirent.h: Include <dirstream.h> before
7407 <dirent/dirent.h>.
7408
7409 2012-02-28 David S. Miller <davem@davemloft.net>
7410
7411 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7412 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7413 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7414 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7415
7416 2012-02-27 David S. Miller <davem@davemloft.net>
7417
7418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7420 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7421 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7422
7423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7424 frame pointer instead of stack pointer relative arg slot.
7425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7426 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7427 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7428
7429 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7430
7431 [BZ #3992]
7432 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7433
7434 2012-02-27 David S. Miller <davem@davemloft.net>
7435
7436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7440 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7441 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7442 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7443 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7444
7445 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7446
7447 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7448 later. Allow versions 5-9.
7449 * configure: Regenerated.
7450 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7451 required minimum version and 4.6 as recommended version. Do not
7452 mention bugs in GCC 2.7 and 2.8.
7453 * INSTALL: Regenerated.
7454
7455 2012-02-27 David S. Miller <davem@davemloft.net>
7456
7457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7461 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7462 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7463 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7464 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7465
7466 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7467 manipulate bits before adding and subtracting TWO112[sx].
7468 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7469
7470 2012-02-27 Roland McGrath <roland@hack.frob.com>
7471
7472 [BZ #13775]
7473 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7474 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7475 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7476 being in POSIX, because they are in 1003.1-2008.
7477
7478 * rt/tst-aio.c: Include <fcntl.h>.
7479 * rt/tst-aio7.c: Likewise.
7480 * rt/tst-aio64.c: Likewise.
7481
7482 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7483
7484 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7485
7486 * manual/install.texi (--with-headers): Describe headers as
7487 interface headers, not private headers.
7488 (Specific advice for GNU/Linux systems): Describe use of headers
7489 from "make headers_install", not private headers from older
7490 kernels.
7491 * INSTALL: Regenerated.
7492 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7493 Change to 2.6.19.
7494 * sysdeps/unix/sysv/linux/configure: Regenerated.
7495
7496 * manual/llio.texi (fclean): Remove documentation.
7497
7498 * manual/Makefile (libc-texi-generated): New variable. Include
7499 version.texi.
7500 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7501 $(libc-texi-generated), not duplicated list of files.
7502 (version.texi, stamp-version): New rules.
7503 (realclean): Remove $(libc-texi-generated), not individual files
7504 from that list. Do not remove dir-add.texinfo.
7505 * manual/libc.texinfo: Comment out uses of edition numbers and
7506 references to printed manual. Remove last-updated dates.
7507 (EDITION): Comment out.
7508 (ISBN): Likewise.
7509 (VERSION, UPDATED): Remove.
7510 (version.texi): Include.
7511
7512 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7513
7514 * sysdeps/posix/spawni.c: Include <signal.h>.
7515 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7516 * sysdeps/pthread/aio_fsync.c: Likewise.
7517
7518 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7519
7520 * conform/Makefile (tests): Run only when not cross-compiling and
7521 when fast-check is not defined.
7522
7523 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7524 * conform/data/limits.h-data: Fixes for POSIX2008.
7525 * conform/run-conformtest.sh: Run all tests.
7526 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7527 headers.
7528 * include/bits/dlfcn.h: Likewise.
7529 * include/langinfo.h: Likewise.
7530 * include/monetary.h: Likewise.
7531 * include/sys/poll.h: Likewise.
7532
7533 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7534 for __USE_GNU.
7535 * posix/spawn.h: Define __need_sigset_t.
7536 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7537 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7538 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7539 to get sigevent_t only.
7540 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7541 only for __USE_GNU.
7542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7543 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7544 process_vm_writev only for __USE_GNU.
7545 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7546
7547 * conform/Makefile: For now ignore errors from run-conformtest.
7548 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7549 POSIX to avoid namespace pollution. Don't prepend headers.
7550 * conform/data/aio.h-data: Fixes for POSIX testing.
7551 * conform/data/fcntl.h-data: Likewise.
7552 * conform/data/glob.h-data: Likewise.
7553 * conform/data/grp.h-data: Likewise.
7554 * conform/data/pthread.h-data: Likewise.
7555 * conform/data/pwd.h-data: Likewise.
7556 * conform/data/signal.h-data: Likewise.
7557 * conform/data/spawn.h-data: Likewise.
7558 * conform/data/stdio.h-data: Likewise.
7559 * conform/data/stdlib.h-data: Likewise.
7560 * conform/data/stropts.h-data: Likewise.
7561 * conform/data/sys/mman.h-data: Likewise.
7562 * conform/data/sys/stat.h-data: Likewise.
7563 * conform/data/sys/types.h-data: Likewise.
7564 * conform/data/sys/wait.h-data: Likewise.
7565 * conform/data/time.h-data: Likewise.
7566 * conform/data/unistd.h-data: Likewise.
7567 * conform/data/utime.h-data: Likewise.
7568
7569 * io/sys/stat.h: fchmod was always in POSIX.
7570 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7571 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7572 * rt/aio.h: Define __need_timespec before including <time.h>.
7573 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7574 struct. Add forward declaration of pthread_attr_t and use it in
7575 sigevent.
7576 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7577 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7578 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7579 always remove CLK_TCK definition.
7580
7581 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7582
7583 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7584
7585 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7586
7587 * conform/run-conformtest.sh: New file.
7588 * conform/Makefile: Run run-conformtest for tests.
7589 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7590 support.
7591
7592 * conform/data/uchar.h-data: New file.
7593 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7594 * conform/data/arpa/inet.h-data: Likewise.
7595 * conform/data/assert.h-data: Likewise.
7596 * conform/data/complex.h-data: Likewise.
7597 * conform/data/cpio.h-data: Likewise.
7598 * conform/data/ctype.h-data: Likewise.
7599 * conform/data/dirent.h-data: Likewise.
7600 * conform/data/dlfcn.h-data: Likewise.
7601 * conform/data/errno.h-data: Likewise.
7602 * conform/data/fcntl.h-data: Likewise.
7603 * conform/data/float.h-data: Likewise.
7604 * conform/data/fmtmsg.h-data: Likewise.
7605 * conform/data/fnmatch.h-data: Likewise.
7606 * conform/data/ftw.h-data: Likewise.
7607 * conform/data/glob.h-data: Likewise.
7608 * conform/data/grp.h-data: Likewise.
7609 * conform/data/iconv.h-data: Likewise.
7610 * conform/data/inttypes.h-data: Likewise.
7611 * conform/data/langinfo.h-data: Likewise.
7612 * conform/data/libgen.h-data: Likewise.
7613 * conform/data/limits.h-data: Likewise.
7614 * conform/data/locale.h-data: Likewise.
7615 * conform/data/math.h-data: Likewise.
7616 * conform/data/monetary.h-data: Likewise.
7617 * conform/data/mqueue.h-data: Likewise.
7618 * conform/data/ndbm.h-data: Likewise.
7619 * conform/data/net/if.h-data: Likewise.
7620 * conform/data/netdb.h-data: Likewise.
7621 * conform/data/netinet/in.h-data: Likewise.
7622 * conform/data/nl_types.h-data: Likewise.
7623 * conform/data/poll.h-data: Likewise.
7624 * conform/data/pthread.h-data: Likewise.
7625 * conform/data/pwd.h-data: Likewise.
7626 * conform/data/regex.h-data: Likewise.
7627 * conform/data/sched.h-data: Likewise.
7628 * conform/data/search.h-data: Likewise.
7629 * conform/data/semaphore.h-data: Likewise.
7630 * conform/data/setjmp.h-data: Likewise.
7631 * conform/data/signal.h-data: Likewise.
7632 * conform/data/spawn.h-data: Likewise.
7633 * conform/data/stdarg.h-data: Likewise.
7634 * conform/data/stdio.h-data: Likewise.
7635 * conform/data/stdlib.h-data: Likewise.
7636 * conform/data/string.h-data: Likewise.
7637 * conform/data/strings.h-data: Likewise.
7638 * conform/data/stropts.h-data: Likewise.
7639 * conform/data/sys/ipc.h-data: Likewise.
7640 * conform/data/sys/mman.h-data: Likewise.
7641 * conform/data/sys/msg.h-data: Likewise.
7642 * conform/data/sys/resource.h-data: Likewise.
7643 * conform/data/sys/select.h-data: Likewise.
7644 * conform/data/sys/sem.h-data: Likewise.
7645 * conform/data/sys/shm.h-data: Likewise.
7646 * conform/data/sys/socket.h-data: Likewise.
7647 * conform/data/sys/stat.h-data: Likewise.
7648 * conform/data/sys/statvfs.h-data: Likewise.
7649 * conform/data/sys/time.h-data: Likewise.
7650 * conform/data/sys/timeb.h-data: Likewise.
7651 * conform/data/sys/times.h-data: Likewise.
7652 * conform/data/sys/types.h-data: Likewise.
7653 * conform/data/sys/uio.h-data: Likewise.
7654 * conform/data/sys/un.h-data: Likewise.
7655 * conform/data/sys/utsname.h-data: Likewise.
7656 * conform/data/sys/wait.h-data: Likewise.
7657 * conform/data/syslog.h-data: Likewise.
7658 * conform/data/tar.h-data: Likewise.
7659 * conform/data/termios.h-data: Likewise.
7660 * conform/data/utime.h-data: Likewise.
7661 * conform/data/utmpx.h-data: Likewise.
7662 * conform/data/varargs.h-data: Likewise.
7663 * conform/data/wchar.h-data: Likewise.
7664 * conform/data/wctype.h-data: Likewise.
7665 * conform/data/wordexp.h-data: Likewise.
7666
7667 * include/stropts.h: New file.
7668 * include/uchar.h: New file.
7669 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7670 * include/assert.h: Likewise.
7671 * include/ctype.h: Likewise.
7672 * include/dirent.h: Likewise.
7673 * include/dlfcn.h: Likewise.
7674 * include/fcntl.h: Likewise.
7675 * include/fnmatch.h: Likewise.
7676 * include/glob.h: Likewise.
7677 * include/grp.h: Likewise.
7678 * include/libio.h: Likewise.
7679 * include/locale.h: Likewise.
7680 * include/math.h: Likewise.
7681 * include/net/if.h: Likewise.
7682 * include/netdb.h: Likewise.
7683 * include/netinet/in.h: Likewise.
7684 * include/pthread.h: Likewise.
7685 * include/pwd.h: Likewise.
7686 * include/regex.h: Likewise.
7687 * include/sched.h: Likewise.
7688 * include/search.h: Likewise.
7689 * include/setjmp.h: Likewise.
7690 * include/signal.h: Likewise.
7691 * include/stdio.h: Likewise.
7692 * include/stdlib.h: Likewise.
7693 * include/string.h: Likewise.
7694 * include/sys/cdefs.h: Likewise.
7695 * include/sys/mman.h: Likewise.
7696 * include/sys/msg.h: Likewise.
7697 * include/sys/resource.h: Likewise.
7698 * include/sys/select.h: Likewise.
7699 * include/sys/socket.h: Likewise.
7700 * include/sys/stat.h: Likewise.
7701 * include/sys/statvfs.h: Likewise.
7702 * include/sys/time.h: Likewise.
7703 * include/sys/times.h: Likewise.
7704 * include/sys/uio.h: Likewise.
7705 * include/sys/utsname.h: Likewise.
7706 * include/sys/wait.h: Likewise.
7707 * include/termios.h: Likewise.
7708 * include/time.h: Likewise.
7709 * include/ulimit.h: Likewise.
7710 * include/unistd.h: Likewise.
7711 * include/utime.h: Likewise.
7712 * include/wchar.h: Likewise.
7713 * include/wctype.h: Likewise.
7714 * include/wordexp.h: Likewise.
7715
7716 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7717
7718 * time/time.h: TIME_UTC must be a macro.
7719 Make timespec_get available for ISO C11 only as well.
7720
7721 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7722
7723 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7724 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7725
7726 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7727
7728 * configure.in: Use -o not -a in test for unsupported multi-arch.
7729
7730 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7731
7732 * manual/texinfo.tex: Update to version 2012-01-19.16.
7733
7734 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7735
7736 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7737
7738 2012-02-24 Roland McGrath <roland@hack.frob.com>
7739
7740 [BZ #13738]
7741 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7742 * manual/fdl-1.3.texi: New file.
7743 * manual/fdl-1.1.texi: File removed.
7744
7745 [BZ #13738]
7746 * manual/libc.texinfo (FDL_VERSION): New @set.
7747 Use it for mention of FDL in cover text.
7748 (Documentation License): Use it in @include file name.
7749
7750 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7751 Roland McGrath <roland@hack.frob.com>
7752
7753 [BZ #5461]
7754 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7755 not LONG_LONG_MAX and LONG_LONG_MIN.
7756 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7757 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7758 name.
7759 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7760
7761 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7762
7763 [BZ #2547]
7764 [BZ #11365]
7765 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7766 manipulate bits before adding and subtracting TWO23[sx].
7767 * math/libm-test.inc (nearbyint_test): Add more tests.
7768
7769 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7770
7771 [BZ #2548]
7772 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7773 bits before adding and subtracting TWO23[sx].
7774 * math/libm-test.inc (rint_test): Add more tests.
7775 (rint_test_tonearest): Likewise.
7776 (rint_test_towardzero): Likewise.
7777 (rint_test_downward): Likewise.
7778 (rint_test_upward: Likewise.
7779
7780 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7781
7782 [BZ #10110]
7783 * include/stdc-predef.h: New file. Extracted from features.h.
7784 * include/features.h: Include stdc-predef.h.
7785 * Makefile (headers): Add stdc-predef.h.
7786 * CONFORMANCE (Compiler limitations): Update.
7787
7788 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7789
7790 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7791
7792 2012-02-21 David S. Miller <davem@davemloft.net>
7793
7794 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7795 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7796
7797 2012-02-20 David S. Miller <davem@davemloft.net>
7798
7799 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7800 using a normal save/restore sequence, rather than allocating a
7801 dummy stack frame just to store a frame pointer and restore.
7802 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7803
7804 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7805
7806 * manual/install.texi: Fix stray word in line-wrapped comment.
7807
7808 2012-02-20 David S. Miller <davem@davemloft.net>
7809
7810 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7811 both binutils and gcc support GOTDATA.
7812
7813 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7814 "rd %pc" in the PIC register setup sequences.
7815
7816 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7817 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7818 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7819 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7820 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7821 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7822 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7825 (SYSCALL_ERROR_HANDLER): Likewise.
7826 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7827 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7829 (SYSCALL_ERROR_HANDLER): Likewise.
7830
7831 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7832 (HAVE_GCC_GOTDATA): New.
7833 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7834 relocation support in both binutils and gcc.
7835 * sysdeps/sparc/elf/configure: Regenerate.
7836
7837 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7838 * sysdeps/sparc/sparc32/elf/configure: Delete.
7839 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7840 * sysdeps/sparc/sparc64/elf/configure: Delete.
7841 * sysdeps/sparc/elf/configure.in: New file.
7842 * sysdeps/sparc/elf/configure: Generate.
7843
7844 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7845 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7846 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7847 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7848 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7849
7850 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7851
7852 * manual/install.texi: Do not mention specific glibc version
7853 numbers.
7854 * manual/libc.texinfo (VERSION, UPDATED): Update.
7855 (@copying): Use @copyright{} and range of years.
7856
7857 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7858
7859 [BZ #13695]
7860 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7861 [crti.S not in sysdirs] (generated): Do not append.
7862 [crti.S not in sysdirs] (omit-deps): Likewise.
7863 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7864 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7865 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7866 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7867 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7868 Likewise.
7869 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7870 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7871 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7872 * csu/defs.awk: Remove file.
7873 * sysdeps/generic/initfini.c: Likewise.
7874 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7875 variable.
7876 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7877 Likewise.
7878
7879 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7880
7881 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7882 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7883 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7884 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7885 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7886 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7887 <bits/epoll.h>.
7888 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7889 (__EPOLL_PACKED): Define to empty if not defined by
7890 <bits/epoll.h>.
7891 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7893 bits/epoll.h.
7894
7895 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7896
7897 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7898 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7899 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7900 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7901 <bits/timerfd.h>.
7902 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7904 bits/timerfd.h.
7905
7906 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7907
7908 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7909 in C locale.
7910 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7911 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7912 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7914
7915 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7916
7917 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7918 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7919
7920 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7921
7922 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7923 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7924 defined.
7925 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7926 Likewise.
7927 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7928 entry for 2.16.
7929
7930 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7931
7932 * math/w_acos.c: Use non-signaling floating-point comparisons.
7933 * math/w_acosf.c: Likewise.
7934 * math/w_acosh.c: Likewise.
7935 * math/w_acoshf.c: Likewise.
7936 * math/w_acoshl.c: Likewise.
7937 * math/w_acosl.c: Likewise.
7938 * math/w_asin.c: Likewise.
7939 * math/w_asinf.c: Likewise.
7940 * math/w_asinl.c: Likewise.
7941 * math/w_atanh.c: Likewise.
7942 * math/w_atanhf.c: Likewise.
7943 * math/w_atanhl.c: Likewise.
7944 * math/w_exp2.c: Likewise.
7945 * math/w_exp2f.c: Likewise.
7946 * math/w_exp2l.c: Likewise.
7947 * math/w_j0.c: Likewise.
7948 * math/w_j0f.c: Likewise.
7949 * math/w_j0l.c: Likewise.
7950 * math/w_j1.c: Likewise.
7951 * math/w_j1f.c: Likewise.
7952 * math/w_j1l.c: Likewise.
7953 * math/w_jn.c: Likewise.
7954 * math/w_jnf.c: Likewise.
7955 * math/w_log.c: Likewise.
7956 * math/w_log10.c: Likewise.
7957 * math/w_log10f.c: Likewise.
7958 * math/w_log10l.c: Likewise.
7959 * math/w_log2.c: Likewise.
7960 * math/w_log2f.c: Likewise.
7961 * math/w_log2l.c: Likewise.
7962 * math/w_logf.c: Likewise.
7963 * math/w_logl.c: Likewise.
7964 * math/w_sqrt.c: Likewise.
7965 * math/w_sqrtf.c: Likewise.
7966 * math/w_sqrtl.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7969 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7970 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7971 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7972
7973 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7974
7975 [BZ #9739]
7976 * manual/string.texi (strnlen): Use correct parameter name in
7977 equivalent expression.
7978
7979 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7980
7981 [BZ #11174]
7982 * manual/users.texi (seteuid): Consistently use neweuid for
7983 argument name.
7984
7985 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7986
7987 [BZ #13704]
7988 * manual/nss.texi (Services in the NSS configuration): Correct
7989 list of services in example configuration file.
7990
7991 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7992
7993 [BZ #11322]
7994 * manual/arith.texi: Remove statements about negative zero
7995 behaving identically to zero.
7996
7997 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7998
7999 [BZ #5993]
8000 * manual/install.texi: Do not document upgrading from libc5.
8001
8002 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8003
8004 [BZ #4596]
8005 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8006
8007 2012-02-18 David S. Miller <davem@davemloft.net>
8008
8009 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8010 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8011 %o7 across the call.
8012 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8013 instead.
8014 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8015 SETUP_PIC_REG_LEAF.
8016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8017 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8018 * sysdeps/sparc/crtn.S: Likewise.
8019
8020 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8021
8022 * aout/Makefile: Remove.
8023
8024 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8025
8026 [BZ #13058]
8027 * manual/examples/argp-ex1.c (main): Format definition in GNU
8028 style.
8029 * manual/examples/argp-ex2.c (main): Likewise.
8030 * manual/examples/argp-ex3.c (main): Likewise.
8031 * manual/examples/argp-ex4.c (main): Likewise.
8032 * manual/examples/longopt.c (main): Use new-style prototype
8033 definition.
8034 * manual/examples/strncat.c (main): Specify return type and use
8035 (void) for arguments.
8036 * manual/examples/subopt.c (main): Use char **argv argument.
8037
8038 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8039
8040 [BZ #5077]
8041 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8042 rounding modes.
8043
8044 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8045
8046 [BZ #6907]
8047 * manual/string.texi (strchr): Change when strchrnul is
8048 recommended.
8049
8050 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8051
8052 [BZ #174]
8053 * manual/locale.texi (setlocale): Document LOCPATH.
8054
8055 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8056
8057 [BZ #10210]
8058 * manual/process.texi (execle): Move @dots{} before last argument.
8059
8060 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8061
8062 [BZ #12047]
8063 * manual/charset.texi (Generic Charset Conversion): Fix typo
8064 (LC_TYPE -> LC_CTYPE).
8065
8066 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8067
8068 [BZ #5805]
8069 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8070 (scalbnf): Likewise.
8071 (scalbnl): Likewise.
8072 (scalbln): Likewise.
8073 (scalblnf): Likewise.
8074 (scalblnl): Likewise.
8075 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8076 (vwarnx): Likewise.
8077 (verr): Likewise.
8078 (verrx): Likewise.
8079 * manual/filesys.texi (telldir): Use braces around return type.
8080 * manual/llio.texi (mmap): Add space after comma.
8081 (mmap64): Likewise.
8082 * manual/math.texi (jn): Use @var{} on parameter names.
8083 (jnf): Likewise.
8084 (jnl): Likewise.
8085 (yn): Likewise.
8086 (ynf): Likewise.
8087 (ynl): Likewise.
8088 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8089 line.
8090 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8091 "...".
8092 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8093 (sched_get_priority_max): Likewise.
8094 * manual/signal.texi (sigvec): Add space after comma.
8095 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8096 names.
8097 (if_indextoname): Likewise.
8098 (if_freenameindex): Likewise.
8099 (sendto): Use ',' instead of '.' in prototype.
8100 * manual/startup.texi (syscall): Use @dots{} instead of literal
8101 "...".
8102 * manual/stdio.texi (__fpending): Separate initial words of
8103 paragraph from @deftypefun line.
8104 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8105 "...".
8106 (vsyslog): Use @var{} on parameter names.
8107 * manual/terminal.texi (stty): Use @var{} on parameter names.
8108 * manual/users.texi (getutmp): Use @var{} on parameter names.
8109 (getutmpx): Likewise.
8110
8111 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8112
8113 [BZ #6884]
8114 * manual/stdio.texi (fopen): Fix typos in description of
8115 ",ccs=STRING".
8116
8117 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8118
8119 [BZ #4026]
8120 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8121 get clock_id definition.
8122
8123 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8124
8125 [BZ #4822]
8126 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8127 (madvise): Cast every argument to void on its own.
8128
8129 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8130
8131 [BZ #9902]
8132 * manual/startup.texi (Exit Status): Fix typo.
8133
8134 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8135
8136 [BZ #10140]
8137 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8138 * manual/examples/argp-ex2.c: Likewise.
8139 * manual/examples/argp-ex3.c: Likewise.
8140
8141 2012-02-16 Richard Henderson <rth@redhat.com>
8142
8143 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8144 * sysdeps/s390/s390-32/initfini.c: Remove.
8145 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8146 * sysdeps/s390/s390-64/initfini.c: Remove.
8147
8148 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8149
8150 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8151 compiler output for sysdeps/generic/initfini.c.
8152 * sysdeps/sh/elf/initfini.c: Remove file.
8153
8154 2012-02-16 David S. Miller <davem@davemloft.net>
8155
8156 [BZ #11494]
8157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8158
8159 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8160 * sysdeps/sparc/crti.S: New file.
8161 * sysdeps/sparc/crtn.S: New file.
8162 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8163 * sysdeps/sparc/sparc64/Makefile: Likewise.
8164
8165 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8166
8167 [BZ #3335]
8168 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8169
8170 2012-02-15 Roland McGrath <roland@hack.frob.com>
8171
8172 [BZ #4822]
8173 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8174
8175 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8176 (write, read, close): Likewise.
8177 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8178
8179 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8180
8181 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8182 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8183 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8184 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8185 <bits/signalfd.h>.
8186 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8188 bits/signalfd.h.
8189
8190 2012-02-14 Marek Polacek <polacek@redhat.com>
8191
8192 * sysdeps/x86_64/crti.S: New file.
8193 * sysdeps/x86_64/crtn.S: New file.
8194 * sysdeps/x86_64/elf/initfini.c: Remove file.
8195
8196 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8197
8198 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8199 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8200 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8201 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8202 <bits/inotify.h>.
8203 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8205 bits/inotify.h.
8206
8207 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8208
8209 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8210 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8211 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8212 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8213 <bits/eventfd.h>.
8214 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8216 bits/eventfd.h.
8217
8218 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8219
8220 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8221 __feraiseexcept instead of feraiseexcept.
8222
8223 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8224 nanosleep invocations.
8225 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8226 strings, and add error checking for a nanosleep invocations.
8227
8228 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8229
8230 Replace FSF snail mail address with URLs, as per GNU coding standards.
8231 Most of the snail mail addresses were wrong anyway, and omitting
8232 them makes the source code easier to maintain. Almost all of the
8233 changes are to license notices and to locale LC_IDENTIFICATION
8234 addresses, except for this one:
8235 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8236 not its snail mail address.
8237
8238 2012-02-09 Richard Henderson <rth@twiddle.net>
8239
8240 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8241 of kernel-features.h.
8242
8243 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8244
8245 2012-02-08 Marek Polacek <polacek@redhat.com>
8246
8247 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8248 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8249 * sysdeps/gnu/_G_config.h: Likewise.
8250 * sysdeps/generic/_G_config.h: Likewise.
8251
8252 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8253
8254 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8255 tests.
8256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8257
8258 * sysdeps/powerpc/powerpc32/crti.S: New file.
8259 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8260 * sysdeps/powerpc/powerpc64/crti.S: New file.
8261 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8262
8263 * Makeconfig (have-initfini): Don't set.
8264 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8265 * configure.in (nopic_initfini): Don't substitute.
8266 * config.h.in (HAVE_INITFINI): Don't #undef.
8267 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8268 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8269
8270 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8271
8272 Support crti.S and crtn.S provided directly by architectures.
8273 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8274 [crti.S in sysdirs] (omit-deps): Likewise.
8275 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8276 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8277 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8278 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8279 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8280 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8281 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8282 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8283 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8284 compiler output for sysdeps/generic/initfini.c.
8285 * sysdeps/i386/elf/Makefile: Remove file.
8286 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8287
8288 2012-02-07 Marek Polacek <polacek@redhat.com>
8289
8290 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8291 * sysdeps/gnu/_G_config.h: Likewise.
8292 * sysdeps/mach/hurd/_G_config.h: Likewise.
8293
8294 2012-02-07 Marek Polacek <polacek@redhat.com>
8295
8296 * math/Makefile (tests): Add tst-CMPLX2.
8297 * math/tst-CMPLX2.c: New file.
8298
8299 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8300
8301 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8302
8303 * math/libm-test.inc (jn_test): Add missing L suffix.
8304
8305 2012-02-06 Marek Polacek <polacek@redhat.com>
8306
8307 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8308 * sysdeps/i386/fpu/e_powf.S: Likewise.
8309 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8310 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8311 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8312 * sysdeps/i386/fpu/e_pow.S: Likewise.
8313 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8314 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8315 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8316 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8317 * sysdeps/i386/fpu/e_log2.S: Likewise.
8318 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8319 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8320 * sysdeps/i386/fpu/e_powl.S: Likewise.
8321 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8322 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8323 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8324 * sysdeps/i386/fpu/e_logl.S: Likewise.
8325 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8326 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8327 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8328 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8329 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8330 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8331 * sysdeps/i386/fpu/e_log.S: Likewise.
8332 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8333 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8334 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8335 * sysdeps/i386/fpu/e_logf.S: Likewise.
8336 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8337 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8338 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8339 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8340 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8341 * sysdeps/i386/fpu/e_log10.S: Likewise.
8342 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8343 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8344 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8345 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8346 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8347 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8348 * sysdeps/i386/asm-syntax.h: Likewise.
8349 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8350 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8351 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8352 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8353 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8354 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8355 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8356 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8357 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8358 * sysdeps/powerpc/sysdep.h: Likewise.
8359 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8360 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8361
8362 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8363
8364 [BZ #411]
8365 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8366
8367 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8368
8369 * sysdeps/i386/sysdep.h: Include <features.h>.
8370 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8371 version.
8372
8373 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8374
8375 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8376 Define.
8377 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8378 LOAD_PIC_REG_STR.
8379
8380 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8381
8382 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8383 (SETUP_PIC_REG): Use GET_PC_THUNK.
8384 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8385 macro.
8386
8387 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8388
8389 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8390 for non-PIC compilation.
8391 (SETUP_PIC_REG): Add .p2align directive.
8392 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8393 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8394 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8395 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8396 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8397 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8398 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8399 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8400 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8401 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8402 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8403 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8404 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8405 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8406 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8407 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8408 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8409 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8410 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8411 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8412 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8413 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8414 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8415 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8416 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8418 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8419 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8420 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8421 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8422 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8423 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8424 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8425 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8426 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8427 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8429 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8430 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8431 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8432 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8433
8434 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8435
8436 * math/tst-CMPLX.c: Include <stdio.h>.
8437
8438 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8439
8440 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8441 float.
8442 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8443 * sysdeps/sparc/bits/mathdef.h: Likewise.
8444
8445 2012-01-31 Marek Polacek <polacek@redhat.com>
8446
8447 * libio/libio.h: Don't define _PARAMS.
8448 * locale/programs/config.h: Don't define PARAMS.
8449 * stdlib/strtol_l.c: Likewise.
8450 (__strtol_l): Remove PARAMS from the prototype.
8451
8452 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8453
8454 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8455 names. Just use the correct names. Remove unnecessary wrapper
8456 functions.
8457 * malloc/arena.c: Likewise.
8458 * malloc/hooks.c: Likewise.
8459
8460 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8461 ARENA_TEST says not to. Simplify test for creation of a new arena.
8462 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8463
8464 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8465
8466 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8467 into tail calls.
8468 (update_get_addr): New function.
8469 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8470 GET_ADDR_MODULE parameter.
8471
8472 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8473
8474 * crypt/cert.c: Remove __STDC__ conditionals.
8475 * crypt/crypt-entry.c: Likewise.
8476 * crypt/crypt_util.c: Likewise.
8477 * libio/filedoalloc.c: Likewise.
8478 * libio/fileops.c: Likewise.
8479 * libio/genops.c: Likewise.
8480 * libio/iofclose.c: Likewise.
8481 * libio/iofdopen.c: Likewise.
8482 * libio/iofopen.c: Likewise.
8483 * libio/iofopen64.c: Likewise.
8484 * libio/iogetdelim.c: Likewise.
8485 * libio/iopopen.c: Likewise.
8486 * libio/obprintf.c: Likewise.
8487 * libio/oldfileops.c: Likewise.
8488 * libio/oldiofclose.c: Likewise.
8489 * libio/oldiofdopen.c: Likewise.
8490 * libio/oldiofopen.c: Likewise.
8491 * libio/oldiopopen.c: Likewise.
8492 * libio/wfiledoalloc.c: Likewise.
8493 * libio/wgenops.c: Likewise.
8494 * locale/programs/xmalloc.c: Likewise.
8495 * misc/syslog.c: Likewise.
8496 * stdio-common/xbug.c: Likewise.
8497 * string/memchr.c: Likewise.
8498 * string/memcmp.c: Likewise.
8499 * string/memrchr.c: Likewise.
8500 * string/rawmemchr.c: Likewise.
8501 * sysdeps/posix/getcwd.c: Likewise.
8502 * time/strftime_l.c: Likewise.
8503
8504 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8505
8506 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8507 * config.make.in (config-cflags-sse2avx): Define.
8508 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8509 Fix typo.
8510
8511 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8512
8513 * scripts/config.guess: Update from upstream config git repository.
8514 * scripts/config.sub: Likewise.
8515
8516 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8517
8518 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8519 (EM_NUM): Update.
8520 (R_TILEPRO_*, R_TILEGX_*): New macros.
8521
8522 * scripts/firstversions.awk: Fix bug in version range handling.
8523
8524 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8525
8526 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8527
8528 * include/sys/epoll.h: New file.
8529 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8530 libc_hidden_def.
8531
8532 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8533
8534 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8535 Avoid unnecessary __WORDSIZE == 64 test.
8536 (fmaxf): Use VEX format if possible.
8537 (fmax): Likewise.
8538 (fminf): Likewise.
8539 (fmin): Likewise.
8540
8541 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8542 * math/math_private.h: Remove libc_fegetround* and
8543 libc_fesetround*.
8544 * sysdeps/i386/configure.in: Check for -msse2avx.
8545 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8546 also if SSE2AVX is defined.
8547 Remove libc_fegetround* and libc_fesetround*.
8548 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8549 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8550 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8551 of HAS_YMM_USABLE.
8552 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8553 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8554 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8555 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8556 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8557
8558 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8559
8560 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8561
8562 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8563 size is not set.
8564 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8565
8566 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8567
8568 [BZ #13618]
8569 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8570 relocation.
8571 * Makeconfig (libm): Define.
8572 * elf/Makefile: Add rules to build and run tst-relsort1.
8573 * elf/tst-relsort1.c: New file.
8574 * elf/tst-relsort1mod1.c: New file.
8575 * elf/tst-relsort1mod2.c: New file.
8576
8577 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8578
8579 * math/s_ldexp.c: Remove __STDC__ conditionals.
8580 * math/s_ldexpf.c: Likewise.
8581 * math/s_ldexpl.c: Likewise.
8582 * math/s_nextafter.c: Likewise.
8583 * math/s_nexttowardf.c: Likewise.
8584 * math/s_significand.c: Likewise.
8585 * math/s_significandf.c: Likewise.
8586 * math/s_significandl.c: Likewise.
8587 * math/w_jnl.c: Likewise.
8588 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8589 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8590 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8591 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8592 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8607 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8608 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8609 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8610 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8611 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8612 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8613 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8614 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8615 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8616 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8617 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8618 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8619 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8620 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8621 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8622 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8623 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8624 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8625 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8628 * sysdeps/ieee754/k_standard.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8633 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8634 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8635 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8636 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8637 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8638 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8639 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8640 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8641 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8642 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8643 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8644 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8645 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8646 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8690 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8695 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8703 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8704 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8708 * sysdeps/ieee754/s_matherr.c: Likewise.
8709 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8710 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8711 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8712 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8713
8714 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8715
8716 * crypt/md5.h: Remove __STDC__ conditionals.
8717 * libio/libioP.h: Likewise.
8718 * locale/programs/config.h: Likewise.
8719 * sysdeps/generic/sysdep.h: Likewise.
8720 * sysdeps/i386/asm-syntax.h: Likewise.
8721 * sysdeps/s390/asm-syntax.h: Likewise.
8722 * sysdeps/unix/sysdep.h: Likewise.
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8725
8726 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8727
8728 * libio/libio.h: Remove __STDC__ conditionals.
8729 * malloc/obstack.h: Likewise.
8730 * math/complex.h: Likewise.
8731 * math/math.h: Likewise.
8732 * sysdeps/generic/_G_config.h: Likewise.
8733 * sysdeps/gnu/_G_config.h: Likewise.
8734 * sysdeps/mach/hurd/_G_config.h: Likewise.
8735 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8736 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8737 * sysdeps/sparc/bits/mathdef.h: Likewise.
8738
8739 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8740
8741 [BZ #13583]
8742 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8743 Clean up HAS_* macros.
8744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8745 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8746 possible.
8747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8748 HAS_AVX.
8749 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8750 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8751 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8753 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8754
8755 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8756
8757 * elf/tst-unique3.cc (gets): Remove declaration.
8758 * elf/tst-unique3lib.cc (gets): Likewise.
8759 * elf/tst-unique3lib2.cc (gets): Likewise.
8760 * elf/tst-unique4.cc (gets): Likewise.
8761
8762 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8763
8764 * include/stdio.h: Add C++ protection. Add gets declarations and
8765 definitions.
8766 * debug/tst-chk1.c: Don't declare gets here.
8767 * stdio-common/tst-gets.c: Likewise.
8768
8769 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8770
8771 * posix/glob: Remove directory.
8772
8773 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8774
8775 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8776
8777 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8778
8779 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8780 of the non-standard EPFNOSUPPORT.
8781
8782 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8783
8784 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8785 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8786 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8787
8788 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8789
8790 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8791
8792 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8793
8794 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8795 transient errors.
8796 * nscd/grpcache.c (cache_addgr): Likewise.
8797 * nscd/hstcache.c (cache_addhst): Likewise.
8798 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8799 * nscd/pwdcache.c (cache_addpw): Likewise.
8800 * nscd/servicescache.c (cache_addserv): Likewise.
8801
8802 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8803
8804 * malloc/malloc.c: Various cleanups.
8805 * malloc/hooks.c: Likewise.
8806
8807 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8808 * stdlib/bug-fmtmsg1.c: New file.
8809
8810 * stdlib/fmtmsg.c (init): Add missing unlock.
8811 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8812
8813 2012-01-12 Marek Polacek <polacek@redhat.com>
8814
8815 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8816 and _GNU_SOURCE.
8817
8818 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8819
8820 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8821 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8822 macro to ensure uniqueness of label name.
8823 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8824 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8825
8826 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8827
8828 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8829
8830 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8831 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8832 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8834
8835 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8836
8837 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8838
8839 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8840 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8841 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8842
8843 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8844
8845 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8846 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8847 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8849
8850 * math/bits/math-finite.h: Add ldexp support.
8851
8852 2012-01-10 Marek Polacek <polacek@redhat.com>
8853
8854 * locale/programs/localedef.h (show_archive_content): Add noreturn
8855 attribute.
8856
8857 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8858
8859 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8860
8861 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8862
8863 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8864
8865 * io/Makefile (headers): Add bits/poll2.h.
8866
8867 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8868
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8870 typo #include statement.
8871
8872 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8873
8874 * include/sys/cdefs.h: Define __attribute_alloc_size.
8875 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8876 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8877 * elf/pldd.c: Likewise.
8878 * iconv/iconv_charmap.c: Likewise.
8879 * iconv/iconvconfig.c: Likewise.
8880 * iconv/strtab.c: Likewise.
8881 * locale/programs/locale.c: Likewise.
8882 * locale/programs/localedef.h: Likewise.
8883 * locale/programs/simple-hash.c: Likewise.
8884 * nscd/nscd.h: Likewise.
8885 * nss/makedb.c: Likewise.
8886 * sysdeps/generic/ldconfig.h: Likewise.
8887 * locale/programs/localedef.c: Remove xmalloc prototype.
8888 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8889
8890 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8891
8892 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8893 appropriate.
8894
8895 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8896
8897 * math/Makefile (tests): Add tst-CMPLX.
8898 * math/tst-CMPLX.c: New file.
8899
8900 * math/complex.h (CMPLXL): Fix typo.
8901
8902 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8903 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8904 GLIBC_2.16.
8905 * debug/tst-chk1.c: Add poll and ppoll tests.
8906 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8907 * include/sys/poll.h: Add hidden proto for ppoll.
8908 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8909 * sysdeps/mach/hurd/ppoll.c: Likewise.
8910 * io/ppoll.c: Likewise.
8911 * debug/poll_chk.c: New file.
8912 * debug/ppoll_chk.c: New file.
8913 * include/bits/poll2.h: New file.
8914 * io/bits/poll2.h: New file.
8915
8916 [BZ #1350]
8917 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8918
8919 * configure.in: static is always set to yes. Remove.
8920 * config.make.in: Don't set build-static.
8921 * Makeconfig: Remove use of build-static.
8922 * dlfcn/Makefile: Likewise.
8923 * elf/Makefile: Likewise.
8924 * math/Makefile: Likewise.
8925 * misc/Makefile: Likewise.
8926 * nptl/Makefile: Likewise.
8927 * sysdeps/mach/hurd/Makefile: Likewise.
8928
8929 * configure.in: PWD_P is not used anymore.
8930 * config.make.in: Remove PWD_P entry.
8931
8932 * configure.in: Remove last remnants of RANLIB.
8933 No need to check for signed size_t anymore.
8934 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8935 and IA-64.
8936 Remove __builtin_expect test because we require at least gcc 3.4.
8937 * aclocal.m4: Likewise.
8938
8939 * wcsmbs/mbrtoc16.c: Implement using towc function.
8940 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8941 * wcsmbs/wcsmbsload.c: Likewise.
8942 * iconv/gconv_simple.c: Likewise.
8943 * iconv/gconv_int.h: Likewise.
8944 * iconv/gconv_builtin.h: Likewise.
8945 * iconv/iconv_prog.c: Remove CHAR16 handling.
8946
8947 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8948
8949 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8950
8951 * configure.in: Remove --with-elf and --enable-bounded options.
8952 Dont set base_machine for ia64. More non-ELF conditions removed.
8953 Remove testing and setting of leading underscore information.
8954 * config.make.in (build-bounded): Set to no.
8955 * config.h.in: Remove NO_UNDERSCORES entry.
8956 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8957 them.
8958 * csu/start.c: Remove !NO_UNDERSCORE code.
8959 * locale/localeinfo.h: Likewise.
8960 * sysdeps/generic/machine-gmon.h: Likewise.
8961 * sysdeps/generic/sysdep.h: Likewise.
8962 * sysdeps/i386/sysdep.h: Likewise.
8963 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8964 * sysdeps/mach/sysdep.h: Likewise.
8965 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8966 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8967 * sysdeps/sh/sysdep.h: Likewise.
8968 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8969 * sysdeps/unix/i386/sysdep.S: Likewise.
8970 * sysdeps/unix/sparc/start.c: Likewise.
8971 * sysdeps/unix/sparc/sysdep.S: Likewise.
8972 * sysdeps/unix/sparc/sysdep.h: Likewise.
8973 * sysdeps/unix/start.c: Likewise.
8974 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8975 * sysdeps/x86_64/sysdep.h: Likewise.
8976
8977 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8978
8979 [BZ #13553]
8980 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8981 for non-gcc.
8982 * argp/argp-fmtstream.h: Use const instead __const.
8983 * argp/argp.h: Likewise.
8984 * assert/assert.h: Likewise.
8985 * bits/fenv.h: Likewise.
8986 * bits/sched.h: Likewise.
8987 * bits/sigset.h: Likewise.
8988 * bits/sigthread.h: Likewise.
8989 * catgets/nl_types.h: Likewise.
8990 * conform/data/pthread.h-data: Likewise.
8991 * crypt/crypt-private.h: Likewise.
8992 * crypt/crypt.h: Likewise.
8993 * crypt/crypt_util.c: Likewise.
8994 * ctype/ctype.h: Likewise.
8995 * debug/execinfo.h: Likewise.
8996 * debug/mbsnrtowcs_chk.c: Likewise.
8997 * debug/mbsrtowcs_chk.c: Likewise.
8998 * debug/wcsnrtombs_chk.c: Likewise.
8999 * debug/wcsrtombs_chk.c: Likewise.
9000 * debug/wcstombs_chk.c: Likewise.
9001 * dirent/dirent.h: Likewise.
9002 * dlfcn/dlfcn.h: Likewise.
9003 * elf/neededtest4.c: Likewise.
9004 * grp/grp.h: Likewise.
9005 * gshadow/gshadow.h: Likewise.
9006 * iconv/gconv.h: Likewise.
9007 * iconv/gconv_int.h: Likewise.
9008 * iconv/gconv_simple.c: Likewise.
9009 * iconv/iconv.h: Likewise.
9010 * iconv/loop.c: Likewise.
9011 * iconv/skeleton.c: Likewise.
9012 * include/aio.h: Likewise.
9013 * include/aliases.h: Likewise.
9014 * include/argz.h: Likewise.
9015 * include/arpa/inet.h: Likewise.
9016 * include/assert.h: Likewise.
9017 * include/dirent.h: Likewise.
9018 * include/dlfcn.h: Likewise.
9019 * include/execinfo.h: Likewise.
9020 * include/fcntl.h: Likewise.
9021 * include/fenv.h: Likewise.
9022 * include/glob.h: Likewise.
9023 * include/grp.h: Likewise.
9024 * include/libintl.h: Likewise.
9025 * include/mntent.h: Likewise.
9026 * include/netdb.h: Likewise.
9027 * include/pwd.h: Likewise.
9028 * include/rpc/netdb.h: Likewise.
9029 * include/sched.h: Likewise.
9030 * include/search.h: Likewise.
9031 * include/shadow.h: Likewise.
9032 * include/signal.h: Likewise.
9033 * include/stdio.h: Likewise.
9034 * include/stdlib.h: Likewise.
9035 * include/string.h: Likewise.
9036 * include/sys/socket.h: Likewise.
9037 * include/sys/stat.h: Likewise.
9038 * include/sys/statfs.h: Likewise.
9039 * include/sys/statvfs.h: Likewise.
9040 * include/sys/syslog.h: Likewise.
9041 * include/sys/time.h: Likewise.
9042 * include/sys/uio.h: Likewise.
9043 * include/time.h: Likewise.
9044 * include/unistd.h: Likewise.
9045 * include/utmp.h: Likewise.
9046 * include/wchar.h: Likewise.
9047 * include/wctype.h: Likewise.
9048 * inet/aliases.h: Likewise.
9049 * inet/arpa/inet.h: Likewise.
9050 * inet/netinet/ether.h: Likewise.
9051 * inet/netinet/in.h: Likewise.
9052 * intl/libintl.h: Likewise.
9053 * io/bits/fcntl2.h: Likewise.
9054 * io/fcntl.h: Likewise.
9055 * io/ftw.h: Likewise.
9056 * io/sys/poll.h: Likewise.
9057 * io/sys/stat.h: Likewise.
9058 * io/sys/statfs.h: Likewise.
9059 * io/sys/statvfs.h: Likewise.
9060 * io/utime.h: Likewise.
9061 * libio/bits/stdio.h: Likewise.
9062 * libio/bits/stdio2.h: Likewise.
9063 * libio/libio.h: Likewise.
9064 * libio/libioP.h: Likewise.
9065 * libio/stdio.h: Likewise.
9066 * locale/lc-ctype.c: Likewise.
9067 * locale/locale.h: Likewise.
9068 * login/utmp.h: Likewise.
9069 * malloc/arena.c: Likewise.
9070 * malloc/malloc.c: Likewise.
9071 * malloc/malloc.h: Likewise.
9072 * malloc/mcheck.c: Likewise.
9073 * malloc/mtrace.c: Likewise.
9074 * math/bits/mathcalls.h: Likewise.
9075 * math/fenv.h: Likewise.
9076 * math/math_private.h: Likewise.
9077 * misc/bits/error.h: Likewise.
9078 * misc/bits/syslog.h: Likewise.
9079 * misc/err.h: Likewise.
9080 * misc/error.h: Likewise.
9081 * misc/fstab.h: Likewise.
9082 * misc/mntent.h: Likewise.
9083 * misc/regexp.h: Likewise.
9084 * misc/search.h: Likewise.
9085 * misc/sgtty.h: Likewise.
9086 * misc/sys/mman.h: Likewise.
9087 * misc/sys/syslog.h: Likewise.
9088 * misc/sys/uio.h: Likewise.
9089 * misc/sys/xattr.h: Likewise.
9090 * misc/ttyent.h: Likewise.
9091 * nis/rpcsvc/ypclnt.h: Likewise.
9092 * nss/nss.h: Likewise.
9093 * posix/bits/unistd.h: Likewise.
9094 * posix/fnmatch.h: Likewise.
9095 * posix/glob.h: Likewise.
9096 * posix/sched.h: Likewise.
9097 * posix/spawn.h: Likewise.
9098 * posix/sys/wait.h: Likewise.
9099 * posix/unistd.h: Likewise.
9100 * posix/wordexp.h: Likewise.
9101 * pwd/pwd.h: Likewise.
9102 * resolv/netdb.h: Likewise.
9103 * resource/sys/resource.h: Likewise.
9104 * rt/aio.h: Likewise.
9105 * rt/bits/mqueue2.h: Likewise.
9106 * rt/mqueue.h: Likewise.
9107 * shadow/shadow.h: Likewise.
9108 * signal/signal.h: Likewise.
9109 * socket/send.c: Likewise.
9110 * socket/sendto.c: Likewise.
9111 * socket/sys/socket.h: Likewise.
9112 * stdio-common/printf.h: Likewise.
9113 * stdlib/bits/stdlib.h: Likewise.
9114 * stdlib/fmtmsg.h: Likewise.
9115 * stdlib/monetary.h: Likewise.
9116 * stdlib/stdlib.h: Likewise.
9117 * stdlib/ucontext.h: Likewise.
9118 * streams/stropts.h: Likewise.
9119 * string/argz.h: Likewise.
9120 * string/bits/string2.h: Likewise.
9121 * string/string.h: Likewise.
9122 * string/strings.h: Likewise.
9123 * sunrpc/rpc/auth.h: Likewise.
9124 * sunrpc/rpc/auth_des.h: Likewise.
9125 * sunrpc/rpc/clnt.h: Likewise.
9126 * sunrpc/rpc/netdb.h: Likewise.
9127 * sunrpc/rpc/pmap_clnt.h: Likewise.
9128 * sunrpc/rpc/xdr.h: Likewise.
9129 * sysdeps/generic/inttypes.h: Likewise.
9130 * sysdeps/generic/net/if.h: Likewise.
9131 * sysdeps/generic/sys/swap.h: Likewise.
9132 * sysdeps/gnu/net/if.h: Likewise.
9133 * sysdeps/gnu/utmpx.h: Likewise.
9134 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9135 * sysdeps/i386/i486/bits/string.h: Likewise.
9136 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9137 * sysdeps/s390/bits/string.h: Likewise.
9138 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9139 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9140 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9141 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9142 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9143 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9144 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9145 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9146 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9147 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9148 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9149 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9150 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9151 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9152 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9153 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9154 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9155 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9156 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9157 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9158 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9159 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9160 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9161 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9162 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9163 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9164 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9165 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9166 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9167 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9168 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9169 * sysvipc/sys/ipc.h: Likewise.
9170 * sysvipc/sys/msg.h: Likewise.
9171 * sysvipc/sys/sem.h: Likewise.
9172 * sysvipc/sys/shm.h: Likewise.
9173 * termios/termios.h: Likewise.
9174 * time/sys/time.h: Likewise.
9175 * time/time.h: Likewise.
9176 * wcsmbs/bits/wchar2.h: Likewise.
9177 * wcsmbs/uchar.h: Likewise.
9178 * wcsmbs/wchar.h: Likewise.
9179 * wctype/wctype.h: Likewise.
9180
9181 [BZ #13551]
9182 * Makeconfig: Remove all but ELF support including AIX support.
9183 * Makerules: Likewise.
9184 * config.h.in: Likewise.
9185 * config.make.in: Likewise.
9186 * configure: Likewise.
9187 * configure.in: Likewise.
9188 * csu/Makefile: Likewise.
9189 * csu/version.c: Likewise.
9190 * debug/Makefile: Likewise.
9191 * dlfcn/Makefile: Likewise.
9192 * elf/Makefile: Likewise.
9193 * extra-lib.mk: Likewise.
9194 * iconv/Makefile: Likewise.
9195 * include/libc-symbols.h: Likewise.
9196 * include/shlib-compat.h: Likewise.
9197 * resolv/Makefile: Likewise.
9198 * resolv/res_libc.c: Likewise.
9199 * rt/Makefile: Likewise.
9200 * sysdeps/i386/asm-syntax.h: Likewise.
9201 * sysdeps/i386/sysdep.h: Likewise.
9202 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9203 * sysdeps/mach/sysdep.h: Likewise.
9204 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9205 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9206 * sysdeps/s390/asm-syntax.h: Likewise.
9207 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9208 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9209 * sysdeps/sh/sysdep.h: Likewise.
9210 * sysdeps/unix/sparc/sysdep.h: Likewise.
9211 * sysdeps/wordsize-32/divdi3.c: Likewise.
9212 * sysdeps/x86_64/sysdep.h: Likewise.
9213
9214 * argp/Versions: Remove _argp_unlock_xxx.
9215
9216 [BZ #13559]
9217 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9218 * abilist/libBrokenLocale.abilist: Likewise.
9219 * abilist/libanl.abilist: Likewise.
9220 * abilist/libc.abilist: Likewise.
9221 * abilist/libcrypt.abilist: Likewise.
9222 * abilist/libdl.abilist: Likewise.
9223 * abilist/libm.abilist: Likewise.
9224 * abilist/libnsl.abilist: Likewise.
9225 * abilist/libpthread.abilist: Likewise.
9226 * abilist/libresolv.abilist: Likewise.
9227 * abilist/librt.abilist: Likewise.
9228 * abilist/libthread_db.abilist: Likewise.
9229 * abilist/libutil.abilist: Likewise.
9230 * abilist/libnss_db.abilist: New file.
9231
9232 * scripts/abilist.awk: Add support for indirect functions.
9233
9234 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9235
9236 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9237
9238 * shlib-versions: Remove entries for ports architectures.
9239
9240 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9241 files in ports.
9242 * elf/stackguard-macros.h: Remove support for IA-64.
9243 * elf/tst-auditmod1.c: Likewise.
9244 * sysdeps/generic/ldsodefs.h: Likewise.
9245
9246 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9247 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9248 configure files.
9249
9250 [BZ #13552]
9251 * configure.in: Remove --enable-omitfp support.
9252 * FAQ.in: Adjust.
9253 * config.make.in: Likewise.
9254 * Makeconfig: Likewise.
9255 * manual/install.texi: Likewise.
9256
9257 In case anyone cares, the IA-64 architecture could move to ports.
9258 * sysdeps/ia64/*: Removed.
9259 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9260 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9261
9262 [BZ #13555]
9263 * configure.in: Remove entries for unsupported architectures.
9264
9265 [BZ #13533]
9266 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9267 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9268 routines.
9269 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9270 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9271 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9272 fall back to using wcrtomb.
9273 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9274 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9275 renaming.
9276 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9277 * wcsmbs/tst-c16c32-1.c: New file.
9278
9279 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9280 local variable.
9281
9282 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9283
9284 * elf/tst-unique3.cc: Add explicit declaration of gets.
9285 * elf/tst-unique3lib.cc: Likewise.
9286 * elf/tst-unique3lib2.cc: Likewise.
9287 * elf/tst-unique4.cc: Likewise.
9288
9289 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9290
9291 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9292
9293 [BZ #13566]
9294 * assert/assert.h (static_assert): Don't define for C++.
9295 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9296 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9297
9298 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9299
9300 * iconv/loop.c (single loop): Fix assertion in storing of
9301 remaining bytes.
9302
9303 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9304
9305 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9306
9307 * posix/getconf.c: Update copyright year.
9308 * nss/getent.c: Likewise.
9309 * nss/makedb.c: Likewise.
9310 * iconv/iconvconfig.c: Likewise.
9311 * iconv/iconv_prog.c: Likewise.
9312 * elf/ldconfig.c: Likewise.
9313 * elf/pldd.c: Likewise.
9314 * elf/sotruss.ksh: Likewise.
9315 * catgets/gencat.c: Likewise.
9316 * csu/version.c: Likewise.
9317 * elf/ldd.bash.in: Likewise.
9318 * elf/sprof.c (print_version): Likewise.
9319 * locale/programs/locale.c: Likewise.
9320 * locale/programs/localedef.c: Likewise.
9321 * login/programs/pt_chown.c: Likewise.
9322 * nscd/nscd.c (print_version): Likewise.
9323 * debug/xtrace.sh: Likewise.
9324 * malloc/memusage.sh: Likewise.
9325 * malloc/mtrace.pl: Likewise.
9326 * debug/catchsegv.sh: Likewise.
9327
9328 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9329
9330 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9331 pure attribute.
9332
9333 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9334
9335 [BZ #13533]
9336 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9337 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9338 transformations.
9339 * iconv/gconv_int.h: Likewise.
9340 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9341 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9342 from libc for GLIBC_2.16.
9343 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9344 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9345 * wcsmbs/uchar.h: Really define mbstate_t.
9346 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9347 * wcsmbs/c16rtomb.c: New file.
9348 * wcsmbs/mbrtoc16.c: New file.
9349 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9350 for C/POSIX locale.
9351 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9352 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9353
9354 * wcsmbs/wchar.h: Add missing __restrict.
9355
9356 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9357
9358 [BZ #13532]
9359 * time/Makefile (routines): Add timespec_get.
9360 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9361 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9362 timespec for ISO C11.
9363 * time/timespec_get.c: New file.
9364 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9365 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9366
9367 [BZ #13531]
9368 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9369 * stdlib/stdlib.h: Declare aligned_alloc.
9370 * Versions.def: Add GLIBC_2.16 for libc.
9371 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9372
9373 [BZ 13527]
9374 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9375 ISO C11.
9376
9377 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9378 code.
9379
9380 [BZ #13528]
9381 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9382
9383 [BZ #13529]
9384 * assert/assert.h (static_assert): Define.
9385
9386 * version.h: Update for 2.16 development version.
9387
9388 [BZ #13526]
9389 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9390 _ISOC11_SOURCE.
9391
9392 * version.h (RELEASE): Bump for 2.15 release.
9393 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9394
9395 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9396 Patch by Marek Polacek <mpolacek@redhat.com>.
9397
9398 * bits/byteswap.h: Protect long long constants with __extension__.
9399 * sysdeps/i386/bits/byteswap.h: Likewise.
9400 * sysdeps/ia64/bits/byteswap.h: Likewise.
9401 * sysdeps/s390/bits/byteswap.h: Likewise.
9402 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9403
9404 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9405
9406 [BZ #13540]
9407 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9408 destination buffer.
9409 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9410
9411 2011-12-23 Marek Polacek <polacek@redhat.com>
9412
9413 * elf/dl-addr.c (determine_info): Add inline keyword.
9414 * elf/tst-auditmod4b.c (check_avx): Likewise.
9415 * elf/tst-auditmod6b.c (check_avx): Likewise.
9416 * elf/tst-auditmod6c.c (check_avx): Likewise.
9417 * elf/tst-auditmod7b.c (check_avx): Likewise.
9418
9419 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9420
9421 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9422 !__SSE_MATH__.
9423
9424 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9425
9426 [BZ #13540]
9427 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9428 processing for last bytes.
9429
9430 2011-08-06 Bruno Haible <bruno@clisp.org>
9431
9432 [BZ #13061]
9433 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9434 U+0385, not to U+1FEE.
9435
9436 [BZ #13062]
9437 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9438 entry for U+00A5 U+0301.
9439
9440 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9441
9442 [BZ #13166]
9443 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9444 buffer for the output is too small.
9445
9446 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9447 optimization.
9448
9449 [BZ #13185]
9450 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9451 SSE flags if possible.
9452
9453 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9454
9455 [BZ #13540]
9456 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9457 processing for last bytes.
9458
9459 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9460
9461 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9462 (syscall-list-default-options, syscall-list-default-condition)
9463 (syscall-list-includes): Define.
9464 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9465 list of ABIs and options and #if conditions for each ABI. Do not
9466 handle common syscalls between ABIs specially.
9467 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9468 Remove.
9469 (syscall-list-variants, syscall-list-32bit-options)
9470 (syscall-list-32bit-condition, syscall-list-64bit-options)
9471 (syscall-list-64bit-condition): Define.
9472 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9473 (syscall-list-variants, syscall-list-32bit-options)
9474 (syscall-list-32bit-condition, syscall-list-64bit-options)
9475 (syscall-list-64bit-condition): Define.
9476 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9477 Remove.
9478 (syscall-list-variants, syscall-list-32bit-options)
9479 (syscall-list-32bit-condition, syscall-list-64bit-options)
9480 (syscall-list-64bit-condition): Define.
9481 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9482 Remove.
9483 (syscall-list-variants, syscall-list-32bit-options)
9484 (syscall-list-32bit-condition, syscall-list-64bit-options)
9485 (syscall-list-64bit-condition): Define.
9486
9487 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9488
9489 * locale/iso-639.def: Add brx entry.
9490
9491 [BZ #13328]
9492 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9493 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9494
9495 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9496 __feraiseexcept_renamed.
9497
9498 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9499
9500 [BZ #13538]
9501 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9502 EPOLLET with unsigned values.
9503 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9504 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9505
9506 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9507 to large cancellation.
9508 * math/s_cacoshf.c: Likewise.
9509 * math/s_cacoshl.c: Likewise.
9510
9511 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9512
9513 [BZ #13305]
9514 [BZ #12786]
9515 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9516 * math/s_cacoshf.c: Likewise.
9517 * math/s_cacoshl.c: Likewise.
9518
9519 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9520
9521 [BZ #13439]
9522 * iconv/gconv.h: Define __GCONV_SWAP.
9523 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9524 * iconvdata/utf-16.c: Likewise.
9525 * iconvdata/utf-32.c: Likewise.
9526
9527 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9528
9529 [BZ #13524]
9530 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9531 numerator after shifting it by one limb.
9532
9533 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9534
9535 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9536 under [__USE_EXTERN_INLINES].
9537
9538 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9539
9540 [BZ #13446]
9541 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9542
9543 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9544
9545 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9546 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9547 optimized code.
9548 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9549 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9550 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9551 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9552 for strncasecmp/strncasecmp_l compilation.
9553 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9554 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9555
9556 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9557
9558 [BZ #13484]
9559 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9560 of __asm__.
9561
9562 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9563
9564 [BZ #13506]
9565 * time/tzfile.c (__tzfile_read): Check values from file header.
9566
9567 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9568
9569 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9570 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9571 * powerpc/powerpc32/dl-start.S: Likewise.
9572 * powerpc/powerpc32/elf/start.S: Likewise.
9573 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9574 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9575 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9576 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9577 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9578 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9579 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9580 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9581 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9582 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9583 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9584 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9585 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9586 * powerpc/powerpc32/memset.S: Likewise.
9587 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9588 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9589 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9590 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9591 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9592 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9593 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9594 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9595 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9596 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9597 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9598 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9599 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9600
9601 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9602
9603 * math/libm-test.inc: Added more nearbyint tests.
9604 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9605 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9606 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9607 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9608
9609 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9610
9611 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9612 FD_CLOEXEC.
9613
9614 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9615
9616 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9617 Add wcscpy-ssse3 wcscpy-c.
9618 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9619 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9620 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9621 * sysdeps/x86_64/wcschr.S: New file.
9622 * sysdeps/x86_64/wcsrchr.S: New file.
9623 * string/test-strcmp.c: Remove checking of wcscmp function for
9624 wrong alignments.
9625 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9626 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9627 wcsrchr-sse2 wcsrchr-c.
9628 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9629 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9630 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9631 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9632 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9633 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9634 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9635 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9636 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9637 * wcsmbc/wcschr.c (WCSCHR): New macro.
9638
9639 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9640
9641 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9642 * wcsmbs/test-wcsrchr.c: New file.
9643 * string/test-strrchr.c: Add wcsrchr support.
9644 (WIDE): New macro.
9645 * wcsmbs/test-wcscpy.c: New file.
9646 * string/test-strcpy.c: Add wcscpy support.
9647 (WIDE): New macro.
9648
9649 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9650
9651 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9652 the inner loop.
9653
9654 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9655
9656 [BZ #13472]
9657 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9658
9659 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9660
9661 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9662 Minor optimizations.
9663
9664 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9665 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9666 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9667
9668 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9669
9670 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9671 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9672 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9673 for gcc to avoid warnings.
9674 * inet/Makefile (tests): Add tst-checks.
9675 * inet/tst-checks.c: New file.
9676
9677 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9678 warning.
9679
9680 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9681 __wmemcmp_sse2.
9682
9683 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9684 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9685
9686 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9687
9688 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9689
9690 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9691 problem.
9692
9693 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9694
9695 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9696
9697 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9698 conditional on GCC version.
9699 (__arch_compare_and_exchange_val_8_acq)
9700 (__arch_compare_and_exchange_val_16_acq)
9701 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9702 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9703 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9704
9705 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9706
9707 * sysdeps/sh/backtrace.c: New file.
9708
9709 2011-12-02 Andreas Schwab <schwab@redhat.com>
9710
9711 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9712 parenthesis.
9713
9714 2011-12-01 Andreas Schwab <schwab@redhat.com>
9715
9716 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9717 falling back to utime.
9718
9719 2011-11-30 Andreas Schwab <schwab@redhat.com>
9720
9721 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9722 expectations for float.
9723
9724 2011-11-29 Andreas Schwab <schwab@redhat.com>
9725
9726 * locale/weight.h (findidx): Add parameter len.
9727 * locale/weightwc.h (findidx): Likewise.
9728 * posix/fnmatch_loop.c (FCT): Adjust caller.
9729 * posix/regcomp.c (build_equiv_class): Likewise.
9730 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9731 * posix/regexec.c (check_node_accept_bytes): Likewise.
9732 * string/strcoll_l.c (STRCOLL): Likewise.
9733 * string/strxfrm_l.c (STRXFRM): Likewise.
9734
9735 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9736
9737 * Makefile.in: Remove CVSOPT handling.
9738 * configure.in: Remove use of AC_REVISION.
9739 * iconvdata/Makefile (distribute): No need to filter out CVS.
9740 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9741 handling.
9742
9743 2011-11-16 Andreas Schwab <schwab@redhat.com>
9744
9745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9746 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9747 [USE_AS_STRNCASECMP_L]: Likewise.
9748 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9749 NO_TLS_DIRECT_SEG_REFS.
9750 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9751 Fix argument offsets for non-PIC.
9752 [USE_AS_STRNCASECMP_L]: Likewise.
9753 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9754 NO_TLS_DIRECT_SEG_REFS.
9755
9756 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9757
9758 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9759 O_CLOEXEC.
9760 * locale/loadlocale.c (_nl_load_locale): Likewise.
9761
9762 2011-11-15 Andreas Schwab <schwab@redhat.com>
9763
9764 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9765 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9766 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9767 (SYSCALL_GETTIME): Set errno on error.
9768
9769 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9770 count references to noai6ai_cached.
9771
9772 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9773
9774 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9775
9776 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9777 FD_CLOEXEC for /proc/self/maps.
9778
9779 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9780 FD_CLOEXEC for /proc/meminfo.
9781
9782 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9783 gai.conf.
9784
9785 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9786 FD_CLOEXEC for given file.
9787
9788 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9789
9790 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9791 FD_CLOEXEC for /etc/hosts.
9792 (_gethtent): Likewise.
9793
9794 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9795
9796 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9797 cancellation and set FD_CLOEXEC for /etc/netgroup.
9798
9799 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9800 reading /etc/publickey.
9801
9802 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9803 allow cancellation when reading /etc/group.
9804
9805 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9806 cancellation.
9807 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9808
9809 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9810 when using data file.
9811
9812 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9813
9814 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9815 (write_nis_obj): Use "c" and "e" in fopen.
9816
9817 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9818
9819 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9820
9821 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9822
9823 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9824
9825 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9826 locale.alias.
9827
9828 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9829
9830 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9831
9832 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9833
9834 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9835 file parsing and set FD_CLOEXEC.
9836
9837 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9838
9839 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9840
9841 2011-11-14 Andreas Schwab <schwab@redhat.com>
9842
9843 * malloc/arena.c (arena_get2): Don't call reused_arena when
9844 _int_new_arena failed.
9845
9846 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9847
9848 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9849 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9850 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9851 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9852 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9853 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9854 to compile strcasecmp and strncasecmp.
9855 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9856 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9857
9858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9859
9860 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9861
9862 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9863 locale-defines.sym to gen-as-const-headers.
9864 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9865 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9867 to compile strcasecmp and strncasecmp.
9868 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9869 strcasecmp_l and strncasecmp_l.
9870 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9871 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9872 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9873 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9874 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9875 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9876 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9877 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9878 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9879 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9880 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9881
9882 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9883
9884 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9885 result of SYSDEP_GETTIME_CPU to retval.
9886 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9887 parameter list to macro. Remove trailing semicolon. Adjust users.
9888
9889 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9890 variable.
9891
9892 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9893 mantissa words.
9894 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9895
9896 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9897 from unused variable.
9898
9899 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9900 DWARF definitions.
9901 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9902 for assembling.
9903
9904 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9905 over namespaces.
9906
9907 * sunrpc/rpc_prot.c (rejected): Fix case value.
9908
9909 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9910 unsigned long long int to avoid warnings in shift.
9911
9912 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9913 of use of trans.
9914 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9915 variable tmp.
9916
9917 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9918 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9919 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9920
9921 * nis/nis_table.c (nis_list): Use variable of correct type for
9922 result of __follow_path call.
9923
9924 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9925
9926 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9927 of math functions ceil, trunc, floor, round, and sqrt, when
9928 avaliable on the platform.
9929 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9930 name clash.
9931 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9932 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9933 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9934
9935 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9936
9937 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9938 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9939
9940 2011-11-11 Roland McGrath <roland@hack.frob.com>
9941
9942 * include/unistd.h: Fix __readlink return type.
9943 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9944
9945 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9946
9947 * stdlib/ucontext.h: Undo last change for makecontext.
9948
9949 2011-11-11 Andreas Schwab <schwab@redhat.com>
9950
9951 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9952
9953 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9954 * setjmp/setjmp.h: Mark functions as non-leaf.
9955 * setjmp/bits/setjmp2.h: Likewise.
9956 * stdlib/ucontext.h: Likewise.
9957
9958 2011-11-10 Andreas Schwab <schwab@redhat.com>
9959
9960 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9961 (reused_arena): Don't check arena limit.
9962 (arena_get2): Atomically check arena limit.
9963
9964 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9965
9966 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9967 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9968
9969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9970 instructions.
9971
9972 2011-11-07 Andreas Schwab <schwab@redhat.com>
9973
9974 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9975 handler when locking.
9976
9977 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9978 Fix size of allocated buffer.
9979
9980 2011-11-04 Andreas Schwab <schwab@redhat.com>
9981
9982 [BZ #10103]
9983 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9984 declarations for long double functions.
9985 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9986
9987 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9988
9989 2011-11-03 Andreas Schwab <schwab@redhat.com>
9990
9991 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9992 installed.
9993
9994 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9995 is disabled.
9996
9997 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9998
9999 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10000
10001 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10002
10003 * include/alloca.h (stackinfo_alloca_round): Define.
10004 (extend_alloca): Use it.
10005 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10006 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10007 here.
10008
10009 * scripts/check-local-headers.sh: Ignore libaudit.h.
10010
10011 * nscd/Makefile (extra-objs): Make recursively expanded.
10012
10013 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10014
10015 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10016 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10017
10018 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10019 * posix/tst-rfc3484-2.c: Likewise.
10020 * posix/tst-rfc3484-3.c: Likewise.
10021
10022 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10023 process_vm_writev.
10024 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10025 process_vm_writev.
10026 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10027 process_vm_writev from libc using GLIBC_2.15 version.
10028
10029 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10030
10031 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10032
10033 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10034 stack usage.
10035
10036 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10037
10038 [BZ #13367]
10039 * nss/getent.c (initgroups_keys): Show error message in case no group
10040 names are given.
10041
10042 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10043 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10044 __bump_nl_timestamp.
10045 * nscd/connections (nscd_init): When host database is served open
10046 netlink socket and request notification about configuration changes.
10047 (main_loop_poll): Track netlink file descriptor and bump timestamp
10048 in case data becomes available.
10049 (main_loop_epoll): Likewise.
10050 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10051 (database_pers_head): Add extra_data fileds.
10052 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10053 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10054 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10055 Adjust caller.
10056 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10057 in6ai data, call __free_in6ai.
10058 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10059 Add -DHAVE_NETLINK.
10060 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10061 interface information. Reuse previous data if netlink timestamp
10062 is not changed.
10063 (__bump_nl_timestamp): New function.
10064 (__free_in6ai): New function.
10065
10066 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10067
10068 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10069 close_not_cancel_no_status here.
10070 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10071
10072 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10073
10074 [BZ #13276]
10075 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10076 return value.
10077
10078 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10079 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10080 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10081
10082 2011-07-03 Andreas Jaeger <aj@suse.de>
10083
10084 [BZ #10709]
10085 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10086 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10087 * math/libm-test.inc (sin_test): Add test case.
10088
10089 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10090
10091 [BZ #13337]
10092 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10093 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10094
10095 * elf/chroot_canon.c (chroot_canon): Cleanups.
10096
10097 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10098
10099 [BZ #13335]
10100 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10101 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10102
10103 * string/test-strchr.c: Make usable for strchrnul testing.
10104 * string/test-strchrnul.c: New file.
10105 * string/Makefile (strop-tests): Add strchrnul.
10106
10107 * po/it.po: Update from translation team.
10108 * po/es.po: Likewise.
10109
10110 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10111
10112 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10113 the three constants needed as parameters. Drop the others.
10114 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10115 __m128i_strloadu_tolower.
10116 Create and initialize variable zero and use it in all the places
10117 where _mm_setzero_si128 was used.
10118
10119 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10120 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10121 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10122 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10123 anymore.
10124 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10125 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10126 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10127 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10128 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10129 __mpranred, __mptan.
10130 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10131 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10132 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10133 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10134 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10135 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10136 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10137 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10138 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10139
10140 2011-10-28 Andreas Schwab <schwab@redhat.com>
10141
10142 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10143 redefine if SHARED.
10144 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10145
10146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10147 wide char related routines to wcsmbs subdir.
10148
10149 2011-10-27 Andreas Schwab <schwab@redhat.com>
10150
10151 [BZ #13344]
10152 * misc/sys/cdefs.h (__THROWNL): Define.
10153 * posix/unistd.h: Use __THREADNL instead of __THREAD
10154 for memory synchronization functions.
10155
10156 2011-10-26 Roland McGrath <roland@hack.frob.com>
10157
10158 [BZ #13349]
10159 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10160 doesn't exist.
10161 * manual/stdio.texi (Obstack Streams): Node removed.
10162
10163 2011-10-26 Andreas Schwab <schwab@redhat.com>
10164
10165 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10166 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10167 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10168
10169 * math/math_private.h (math_force_eval): Allow non-addressable
10170 arguments.
10171 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10172
10173 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10174
10175 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10176 file is not needed.
10177
10178 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10179 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10180 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10181 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10182 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10183 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10184 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10185 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10186 Add AVX variants.
10187 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10188 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10189 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10190 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10191 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10192 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10193 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10194 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10195 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10196 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10197 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10198 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10199 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10200 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10201 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10202 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10203 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10204 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10205 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10206
10207 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10208 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10209
10210 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10211 place. Use VEX encoding when compiling for AVX.
10212
10213 2011-10-25 Andreas Schwab <schwab@redhat.com>
10214
10215 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10216 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10217
10218 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10219
10220 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10221
10222 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10223 useless if() expression.
10224 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10233 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10234 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10235 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10236 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10237 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10238 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10240 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10242 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10243
10244 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10245
10246 2011-10-25 Andreas Schwab <schwab@redhat.com>
10247
10248 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10249 condition.
10250 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10251
10252 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10253
10254 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10255 .text section. Avoid duplicate constants.
10256 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10263 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10264 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10266 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10267 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10268 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10269 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10270 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10271 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10273 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10274 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10275 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10277 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10278 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10279 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10280 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10281 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10282 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10283 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10284 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10285 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10286 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10287 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10288 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10289 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10290 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10291 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10292 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10293 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10294 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10295 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10296 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10297 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10298 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10299 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10300 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10301
10302 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10303
10304 * sysdeps/x86_64/dla.h: Move to ...
10305 * sysdeps/x86_64/fpu/dla.h: ...here.
10306 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10307 situations. Use __builtin_fma only for gcc 4.6 and up.
10308
10309 * config.make.in: Add have-mfma4 entry.
10310 * configure.in: Substitute libc_cv_cc_fma4.
10311 * math/Makefile (dbl-only-routines): Add sincostab.
10312 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10313 Use __sincostab not sincos.
10314 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10315 name is a macro.
10316 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10320 using __copysign.
10321 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10322 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10323 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10324 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10325 and __inv.
10326 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10327 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10328 __copysign.
10329 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10330 define aliases when function name is a macro.
10331 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10332 sysdeps/ieee754/dbl-64/sincos.tbl.
10333 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10334 fma4-enabled routines.
10335 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10336 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10337 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10338 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10339 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10340 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10341 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10342 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10343 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10344 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10345 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10346 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10347 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10348 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10349 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10350 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10351 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10352 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10353 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10354 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10355 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10356 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10357 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10358 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10359 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10360 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10361 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10362 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10363 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10364 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10365
10366 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10367 rename.
10368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10376
10377 2011-10-24 Andreas Schwab <schwab@redhat.com>
10378
10379 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10380
10381 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10382
10383 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10384
10385 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10386 prediction.
10387 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10388
10389 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10390 Remove unused variable magic_bits.
10391 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10392
10393 * string/strnlen.c: Define and use STRNLEN macro.
10394 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10395 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10396 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10397 * wcsmbs/wcslen.c: Define and use WCSLEN.
10398 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10399 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10400 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10401 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10402 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10403 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10404 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10405
10406 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10407
10408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10409 strnlen-sse2-no-bsf.
10410 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10411 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10412 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10413 Add strnlen support.
10414 (USE_AS_STRNLEN): New macro.
10415 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10416 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10417 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10418 * sysdeps/x86_64/wcslen.S: New file.
10419
10420 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10421
10422 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10423 XMM-moves are used for copying on small sizes.
10424
10425 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10426
10427 * wcsmbs/Makefile (strop-tests): Add wcschr.
10428 * wcsmbs/test-wcschr.c: New file.
10429 * string/test-strchr.c: Update.
10430 Add wcschr support.
10431 (WIDE): New macro.
10432
10433 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10434
10435 * wcsmbs/Makefile (strop-tests): Add wcslen.
10436 * wcsmbs/test-wcslen.c: New file.
10437 * string/test-strlen.c: Update.
10438 Add wcslen support.
10439 (WIDE): New macro.
10440
10441 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10442
10443 * po/it.po: Update from translation team.
10444
10445 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10446
10447 * sysdeps/x86_64/wcscmp.S: Update.
10448 Fix wrong comparison semantics.
10449 wcscmp shall use signed comparison not unsigned.
10450 Don't use substraction to avoid overflow bug.
10451 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10452 * wcsmbc/wcscmp.c: Likewise.
10453 * string/test-strcmp.c: Likewise.
10454 Add new tests to check cases with negative values.
10455
10456 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10457
10458 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10459 * sysdeps/x86_64/dla.h: ...here. New file.
10460 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10469
10470 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10471
10472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10473 __ynl_finite aliases.
10474
10475 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10476
10477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10478
10479 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10480 define DLA_FMA.
10481 [DLA_FMA] (EMULV): Use DLA_FMA.
10482 [DLA_FMA] (MUL12): Use EMULV.
10483 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10484 that are not needed.
10485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10492
10493 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10494
10495 * math/s_nan.c: Undef __nan.
10496 * math/s_nanf.c: Undef __nanf.
10497 * math/s_nanl.c: Undef __nanl.
10498 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10499 "math_private.h".
10500
10501 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10502
10503 * math/s_catan.c: Add branch predictions.
10504 * math/s_catanf.c: Likewise.
10505 * math/s_catanh.c: Likewise.
10506 * math/s_catanhf.c: Likewise.
10507 * math/s_catanhl.c: Likewise.
10508 * math/s_catanl.c: Likewise.
10509 * math/s_cexp.c: Likewise.
10510 * math/s_cexpf.c: Likewise.
10511 * math/s_cexpl.c: Likewise.
10512 * math/s_clog.c: Likewise.
10513 * math/s_clog10.c: Likewise.
10514 * math/s_clog10f.c: Likewise.
10515 * math/s_clog10l.c: Likewise.
10516 * math/s_clogf.c: Likewise.
10517 * math/s_clogl.c: Likewise.
10518 * math/s_csqrt.c: Likewise.
10519 * math/s_csqrtf.c: Likewise.
10520 * math/s_csqrtl.c: Likewise.
10521 * math/s_ctanf.c: Likewise.
10522 * math/s_ctanh.c: Likewise.
10523 * math/s_ctanhf.c: Likewise.
10524 * math/s_ctanhl.c: Likewise.
10525 * math/s_ctanl.c: Likewise.
10526
10527 * math/math_private.h: Define __nan, __nanf, __nanl.
10528 * math/s_cacosh.c: Include <math_private.h>.
10529 * math/s_cacoshl.c: Likewise.
10530 * math/s_casinh.c: Likewise.
10531 * math/s_casinhf.c: Likewise.
10532 * math/s_casinhl.c: Likewise.
10533 * math/s_ccos.c: Rely entire on ccosh.
10534 * math/s_ccosf.c: Rely entire on ccoshf.
10535 * math/s_ccosl.c: Rely entirely on ccoshl.
10536 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10537 Remove tests for FE_INVALID.
10538 * math/s_ccoshf.c: Likewise.
10539 * math/s_ccoshl.c: Likewise.
10540 * math/s_csin.c: Likewise.
10541 * math/s_csinf.c: Likewise.
10542 * math/s_csinh.c Likewise.
10543 * math/s_csinhf.c: Likewise.
10544 * math/s_csinhl.c: Likewise.
10545 * math/s_csinl.c: Likewise.
10546 * math/s_ctan.c: Likewise.
10547 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10548 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10549 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10550
10551 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10552
10553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10554 compilation problems.
10555
10556 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10557 __builtin_expect.
10558
10559 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10560
10561 * sysdeps/i386/configure.in: Test for -mfma4 option.
10562 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10563 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10564 COMMON_CPUID_INDEX_80000001.
10565 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10566 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10567 use it if FMA3 is not supported.
10568 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10569
10570 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10571 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10572
10573 2011-10-20 Andreas Schwab <schwab@redhat.com>
10574
10575 [BZ #12892]
10576 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10577 it would create a cycle with a link time dependency.
10578
10579 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10580
10581 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10582 instruction.
10583 * string/Makefile (strop-tests): Add rawmemchr.
10584 * string/test-rawmemchr.c: New file.
10585
10586 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10587 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10588 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10589 when compiling str{,n}casecmp and when AVX is available. Hook up
10590 new optimized code in initializers.
10591
10592 2011-10-19 Andreas Schwab <schwab@redhat.com>
10593
10594 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10595 __feraiseexcept instead of feraiseexcept.
10596
10597 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10598
10599 * math/math_private.h: Define defaults for libc_fetestexcept and
10600 libc_feupdateenv.
10601 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10602 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10603 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10604 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10605 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10606 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10607 libc_fetestexcept and libc_feupdateenv.
10608
10609 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10610 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10611 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10612 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10613 libc_feholdexcept_setround.
10614
10615 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10616 Add s_nearbyint-c and s_nearbyintf-c.
10617 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10618 nearbyintf inlines.
10619 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10620 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10621 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10622 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10623
10624 * math/math_private.h: Define defaults for libc_fegetround,
10625 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10626 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10627 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10628 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10629 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10630 standard functions.
10631 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10632 Remove comments and hacks for old compiler versions.
10633 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10634 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10635 libc_feholdexceptl.
10636
10637 2011-10-18 Andreas Schwab <schwab@redhat.com>
10638
10639 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10640 (__feraiseexcept_renamed): Add __NTH.
10641 (feraiseexcept): Add __NTH. Rename local variables to fix
10642 namespace violations.
10643
10644 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10645
10646 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10647
10648 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10649
10650 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10651 recently added interfaces.
10652 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10653
10654 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10655 about macro parameter expansion.
10656
10657 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10658 __NO_MATH_INLINES is defined. Cleanups.
10659
10660 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10661 and __floorf is target has SSE4.1.
10662 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10663 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10664 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10665 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10666
10667 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10668 name.
10669 (floorf): Likewise.
10670
10671 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10672
10673 2011-10-17 Andreas Schwab <schwab@redhat.com>
10674
10675 * misc/sys/cdefs.h: Fix last change.
10676
10677 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10678 database lookup.
10679
10680 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10681
10682 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10683
10684 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10685 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10688 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10690 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10691 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10692 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10693 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10694 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10695 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10696 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10697 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10698 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10699 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10700 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10701 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10702 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10703 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10704 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10705 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10706
10707 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10708 ceil, ceilf, floor, floorf.
10709
10710 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10711 Perform IRELATIVE relocations last.
10712
10713 * elf/do-rel.h: Add another parameter nrelative, replacing the
10714 local variable with the same name. Change name of the function
10715 to end in Rel or Rela (uppercase).
10716 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10717 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10718 elf_dynamic_do_##reloc function.
10719
10720 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10721
10722 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10723 is sufficient, at least on modern CPUs.
10724
10725 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10726
10727 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10728 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10729
10730 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10731 __expl_finite.
10732 * math/bits/math-finite.h: Add entries for exp.
10733 * math/e_expl.c: Add __*_finite alias.
10734 * sysdeps/i386/fpu/e_exp.S: Likewise.
10735 * sysdeps/i386/fpu/e_expf.S: Likewise.
10736 * sysdeps/i386/fpu/e_expl.c: Likewise.
10737 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10738 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10742 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10743 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10744
10745 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10746 is sufficient, at least on modern CPUs.
10747
10748 * ctype/ctype-info.c (__ctype_init): Define.
10749 * include/ctype.h (__ctype_init): Declare.
10750 (__ctype_b_loc): The variable is always initialized.
10751 (__ctype_toupper_loc): Likewise.
10752 (__ctype_tolower_loc): Likewise.
10753 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10754 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10755
10756 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10757
10758 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10759
10760 * configure.in: Also look in $cxxmachine/include for C++ system
10761 headers.
10762
10763 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10764
10765 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10766 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10767 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10768 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10769 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10770 (USE_AS_WMEMCMP): New macro.
10771 Fixing indents.
10772 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10773 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10774 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10775 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10776 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10777 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10778 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10779 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10780 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10781 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10782 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10783 (USE_AS_WMEMCMP): New macro.
10784 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10785 * sysdeps/string/test-memcmp.c: Update.
10786 Fix simple_wmemcmp.
10787 Add new tests.
10788 * wcsmbs/wmemcmp.c: Update.
10789 (WMEMCMP): New macro.
10790 Fix overflow bug.
10791
10792 2011-10-12 Andreas Jaeger <aj@suse.de>
10793
10794 [BZ #13268]
10795 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10796
10797 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10798
10799 * libio/iofwide.c (do_length): Avoid warning.
10800
10801 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10802
10803 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10804
10805 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10806
10807 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10808 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10809 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10810 * sysdeps/i386/i686/fpu/e_log.S: New file.
10811 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10812 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10813
10814 * ctype/ctype.h: Add support for inlined isXXX functions when
10815 compiling C++ code.
10816
10817 2011-10-14 Andreas Schwab <schwab@redhat.com>
10818
10819 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10820
10821 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10822
10823 2011-10-13 Roland McGrath <roland@hack.frob.com>
10824
10825 [BZ #13291]
10826 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10827
10828 2011-10-13 Andreas Schwab <schwab@redhat.com>
10829
10830 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10831 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10832 feraiseexcept.
10833
10834 * sysdeps/x86_64/memrchr.S: Check for zero size.
10835
10836 * string/stratcliff.c: Add memrchr tests.
10837
10838 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10839
10840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10841 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10842 rawmemchr-sse2 rawmemchr-sse2-bsf.
10843 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10844 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10845 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10846 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10847 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10848 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10849 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10850 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10851 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10852 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10853 * string/memrchr.c (MEMRCHR): New macro.
10854
10855 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10856
10857 Add integration with gcc's -ffinite-math-only and optimize wrapper
10858 functions in libm.
10859 * Versions.def: Define GLIBC_2.15 version for libm.
10860 * math/Makefile (headers): Add bits/math-finite.h.
10861 * math/bits/math-finite.h: New file.
10862 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10863 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10864 * math/e_acoshl.c: Add __*_finite alias.
10865 * math/e_acosl.c: Likewise.
10866 * math/e_asinl.c: Likewise.
10867 * math/e_atan2l.c: Likewise.
10868 * math/e_atanhl.c: Likewise.
10869 * math/e_coshl.c: Likewise.
10870 * math/e_exp10.c: Likewise.
10871 * math/e_exp10f.c: Likewise.
10872 * math/e_exp10l.c: Likewise.
10873 * math/e_exp2l.c: Likewise.
10874 * math/e_fmodl.c: Likewise.
10875 * math/e_gammal_r.c: Likewise.
10876 * math/e_hypotl.c: Likewise.
10877 * math/e_j0l.c: Likewise.
10878 * math/e_j1l.c: Likewise.
10879 * math/e_jnl.c: Likewise.
10880 * math/e_lgammal_r.c: Likewise.
10881 * math/e_log10l.c: Likewise.
10882 * math/e_log2l.c: Likewise.
10883 * math/e_logl.c: Likewise.
10884 * math/e_powl.c: Likewise.
10885 * math/e_sinhl.c: Likewise.
10886 * math/e_sqrtl.c: Likewise.
10887 * math/e_scalb.c: Completely rewritten and optimized.
10888 * math/e_scalbf.c: Likewise.
10889 * math/e_scalbl.c: Likewise.
10890 * math/w_acos.c: Likewise.
10891 * math/w_acosf.c: Likewise.
10892 * math/w_acosl.c: Likewise.
10893 * math/w_acosh.c: Likewise.
10894 * math/w_acoshf.c: Likewise.
10895 * math/w_acoshl.c: Likewise.
10896 * math/w_asin.c: Likewise.
10897 * math/w_asinf.c: Likewise.
10898 * math/w_asinl.c: Likewise.
10899 * math/w_atan2.c: Likewise.
10900 * math/w_atan2f.c: Likewise.
10901 * math/w_atan2l.c: Likewise.
10902 * math/w_atanh.c: Likewise.
10903 * math/w_atanhf.c: Likewise.
10904 * math/w_atanhl.c: Likewise.
10905 * math/w_exp10.c: Likewise.
10906 * math/w_exp10f.c: Likewise.
10907 * math/w_exp10l.c: Likewise.
10908 * math/w_fmod.c: Likewise.
10909 * math/w_fmodf.c: Likewise.
10910 * math/w_fmodl.c: Likewise.
10911 * math/w_j0.c: Likewise.
10912 * math/w_j0f.c: Likewise.
10913 * math/w_j0l.c: Likewise.
10914 * math/w_j1.c: Likewise.
10915 * math/w_j1f.c: Likewise.
10916 * math/w_j1l.c: Likewise.
10917 * math/w_jn.c: Likewise.
10918 * math/w_jnf.c: Likewise.
10919 * math/w_log.c: Likewise.
10920 * math/w_logf.c: Likewise.
10921 * math/w_logl.c: Likewise.
10922 * math/w_log10.c: Likewise.
10923 * math/w_log10f.c: Likewise.
10924 * math/w_log10l.c: Likewise.
10925 * math/w_log2.c: Likewise.
10926 * math/w_log2f.c: Likewise.
10927 * math/w_log2l.c: Likewise.
10928 * math/w_pow.c: Likewise.
10929 * math/w_powf.c: Likewise.
10930 * math/w_powl.c: Likewise.
10931 * math/w_remainder.c: Likewise.
10932 * math/w_remainderf.c: Likewise.
10933 * math/w_remainderl.c: Likewise.
10934 * math/w_scalb.c: Likewise.
10935 * math/w_scalbf.c: Likewise.
10936 * math/w_scalbl.c: Likewise.
10937 * math/w_sqrt.c: Likewise.
10938 * math/w_sqrtf.c: Likewise.
10939 * math/w_sqrtl.c: Likewise.
10940 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10941 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10942 used.
10943 * math/math_private.h: Declare __kernel_standard_f.
10944 * math/w_cosh.c: Remove cruft and optimize a bit.
10945 * math/w_coshf.c: Likewise.
10946 * math/w_coshl.c: Likewise.
10947 * math/w_exp2.c: Likewise.
10948 * math/w_exp2f.c: Likewise.
10949 * math/w_exp2l.c: Likewise.
10950 * math/w_hypot.c: Likewise.
10951 * math/w_hypotf.c: Likewise.
10952 * math/w_hypotl.c: Likewise.
10953 * math/w_lgamma.c: Likewise.
10954 * math/w_lgamma_r.c: Likewise.
10955 * math/w_lgammaf.c: Likewise.
10956 * math/w_lgammaf_r.c: Likewise.
10957 * math/w_lgammal.c: Likewise.
10958 * math/w_lgammal_r.c: Likewise.
10959 * math/w_sinh.c: Likewise.
10960 * math/w_sinhf.c: Likewise.
10961 * math/w_sinhl.c: Likewise.
10962 * math/w_tgamma.c: Likewise.
10963 * math/w_tgammaf.c: Likewise.
10964 * math/w_tgammal.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10966 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10967 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10968 Minor optimizations. Pretty printing. Remove cruft.
10969 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10970 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10971 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10972 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10973 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10974 * sysdeps/i386/fpu/e_asin.S: Likewise.
10975 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10976 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10977 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10978 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10979 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10980 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10981 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10982 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10983 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10984 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10985 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10986 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10987 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10988 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10989 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10990 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10991 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10992 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10993 * sysdeps/i386/fpu/e_log.S: Likewise.
10994 * sysdeps/i386/fpu/e_log10.S: Likewise.
10995 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10996 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10997 * sysdeps/i386/fpu/e_log2.S: Likewise.
10998 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10999 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11000 * sysdeps/i386/fpu/e_logf.S: Likewise.
11001 * sysdeps/i386/fpu/e_logl.S: Likewise.
11002 * sysdeps/i386/fpu/e_pow.S: Likewise.
11003 * sysdeps/i386/fpu/e_powf.S: Likewise.
11004 * sysdeps/i386/fpu/e_powl.S: Likewise.
11005 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11006 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11007 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11008 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11009 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11010 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11011 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11012 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11013 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11018 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11019 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11020 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11021 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11022 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11024 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11035 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11036 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11037 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11038 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11039 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11040 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11041 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11042 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11043 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11044 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11045 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11046 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11047 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11048 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11049 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11050 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11051 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11052 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11053 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11054 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11055 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11094 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11097 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11099 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11100 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11102 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11105 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11106 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11107 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11108 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11109 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11110 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11111 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11112 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11113 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11114 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11115 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11116 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11117 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11118 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11119 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11120 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11121 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11122 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11123 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11124 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11125 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11126 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11127 (__isnanf): Likewise.
11128 (__isinf_ns): Likewise.
11129 (__isinf_nsf): Likewise.
11130 (__finite): Likewise.
11131 (__finitef): Likewise.
11132 (__ieee754_sqrt): Define as macro.
11133 (__ieee754_sqrtf): Define as macro.
11134 (__ieee754_sqrtl): Define as macro.
11135 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11136 inlined copy.
11137 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11138 __FINITE_MATH_ONLY__ consistent.
11139 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11140
11141 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11142
11143 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11144 of rawmemchr.
11145
11146 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11147
11148 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11149
11150 * po/ja.po: Update from translation team.
11151
11152 2011-10-08 Roland McGrath <roland@hack.frob.com>
11153
11154 * locale/programs/locarchive.c (prepare_address_space): New function.
11155 (create_archive, enlarge_archive, open_archive): Use it.
11156
11157 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11158 inside [SHARED], where it is used.
11159
11160 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11161
11162 * nss/getent.c (netgroup_keys): Remove unused variable.
11163 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11164
11165 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11166
11167 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11168 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11170 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11171 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11172 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11173 * math/Makefile (libm-calls): Add s_isinf_ns.
11174 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11175 * math/multc3.c: Likewise.
11176 * math/s_casin.c: Likewise.
11177 * math/s_casinf.c: Likewise.
11178 * math/s_casinl.c: Likewise.
11179 * math/s_ccos.c: Likewise.
11180 * math/s_ccosf.c: Likewise.
11181 * math/s_ccosl.c: Likewise.
11182 * math/s_ctan.c: Likewise.
11183 * math/s_ctanf.c: Likewise.
11184 * math/s_ctanh.c: Likewise.
11185 * math/s_ctanhf.c: Likewise.
11186 * math/s_ctanhl.c: Likewise.
11187 * math/s_ctanl.c: Likewise.
11188 * math/w_fmod.c: Likewise.
11189 * math/w_fmodf.c: Likewise.
11190 * math/w_fmodl.c: Likewise.
11191 * math/w_remainder.c: Likewise.
11192 * math/w_remainderf.c: Likewise.
11193 * math/w_remainderl.c: Likewise.
11194 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11195 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11196 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11198 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11199 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11200 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11201 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11202
11203 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11204 of the number.
11205 * stdio-common/printf_fphex.c: Likewise.
11206 * stdio-common/printf_size.c: Likewise.
11207
11208 * math/e_exp10.c: Include math_private.h using <...> not "...".
11209 * math/e_exp10f.c: Likewise.
11210 * math/e_exp10l.c: Likewise.
11211 * math/e_exp2l.c: Likewise.
11212 * math/e_j0l.c: Likewise.
11213 * math/e_j1l.c: Likewise.
11214 * math/e_jnl.c: Likewise.
11215 * math/e_lgammal_r.c: Likewise.
11216 * math/e_rem_pio2l.c: Likewise.
11217 * math/e_scalb.c: Likewise.
11218 * math/e_scalbf.c: Likewise.
11219 * math/e_scalbl.c: Likewise.
11220 * math/k_cosl.c: Likewise.
11221 * math/k_sinl.c: Likewise.
11222 * math/k_tanl.c: Likewise.
11223 * math/s_cacoshf.c: Likewise.
11224 * math/s_catan.c: Likewise.
11225 * math/s_catanf.c: Likewise.
11226 * math/s_catanh.c: Likewise.
11227 * math/s_catanhf.c: Likewise.
11228 * math/s_catanhl.c: Likewise.
11229 * math/s_catanl.c: Likewise.
11230 * math/s_ccosh.c: Likewise.
11231 * math/s_ccoshf.c: Likewise.
11232 * math/s_ccoshl.c: Likewise.
11233 * math/s_cexp.c: Likewise.
11234 * math/s_cexpf.c: Likewise.
11235 * math/s_cexpl.c: Likewise.
11236 * math/s_clog.c: Likewise.
11237 * math/s_clog10.c: Likewise.
11238 * math/s_clog10f.c: Likewise.
11239 * math/s_clog10l.c: Likewise.
11240 * math/s_clogf.c: Likewise.
11241 * math/s_clogl.c: Likewise.
11242 * math/s_csin.c: Likewise.
11243 * math/s_csinf.c: Likewise.
11244 * math/s_csinh.c: Likewise.
11245 * math/s_csinhf.c: Likewise.
11246 * math/s_csinhl.c: Likewise.
11247 * math/s_csinl.c: Likewise.
11248 * math/s_csqrt.c: Likewise.
11249 * math/s_csqrtf.c: Likewise.
11250 * math/s_csqrtl.c: Likewise.
11251 * math/s_ctan.c: Likewise.
11252 * math/s_ctanf.c: Likewise.
11253 * math/s_ctanh.c: Likewise.
11254 * math/s_ctanhf.c: Likewise.
11255 * math/s_ctanhl.c: Likewise.
11256 * math/s_ctanl.c: Likewise.
11257 * math/s_ldexp.c: Likewise.
11258 * math/s_ldexpf.c: Likewise.
11259 * math/s_ldexpl.c: Likewise.
11260 * math/s_significand.c: Likewise.
11261 * math/s_significandf.c: Likewise.
11262 * math/s_significandl.c: Likewise.
11263 * math/w_acos.c: Likewise.
11264 * math/w_acosf.c: Likewise.
11265 * math/w_acosh.c: Likewise.
11266 * math/w_acoshf.c: Likewise.
11267 * math/w_acoshl.c: Likewise.
11268 * math/w_acosl.c: Likewise.
11269 * math/w_asin.c: Likewise.
11270 * math/w_asinf.c: Likewise.
11271 * math/w_asinl.c: Likewise.
11272 * math/w_atan2.c: Likewise.
11273 * math/w_atan2f.c: Likewise.
11274 * math/w_atan2l.c: Likewise.
11275 * math/w_atanh.c: Likewise.
11276 * math/w_atanhf.c: Likewise.
11277 * math/w_atanhl.c: Likewise.
11278 * math/w_cosh.c: Likewise.
11279 * math/w_coshf.c: Likewise.
11280 * math/w_coshl.c: Likewise.
11281 * math/w_dremf.c: Likewise.
11282 * math/w_exp10.c: Likewise.
11283 * math/w_exp10f.c: Likewise.
11284 * math/w_exp10l.c: Likewise.
11285 * math/w_exp2.c: Likewise.
11286 * math/w_exp2f.c: Likewise.
11287 * math/w_fmod.c: Likewise.
11288 * math/w_fmodf.c: Likewise.
11289 * math/w_fmodl.c: Likewise.
11290 * math/w_hypot.c: Likewise.
11291 * math/w_hypotf.c: Likewise.
11292 * math/w_hypotl.c: Likewise.
11293 * math/w_j0.c: Likewise.
11294 * math/w_j0f.c: Likewise.
11295 * math/w_j0l.c: Likewise.
11296 * math/w_j1.c: Likewise.
11297 * math/w_j1f.c: Likewise.
11298 * math/w_j1l.c: Likewise.
11299 * math/w_jn.c: Likewise.
11300 * math/w_jnf.c: Likewise.
11301 * math/w_jnl.c: Likewise.
11302 * math/w_lgamma.c: Likewise.
11303 * math/w_lgamma_r.c: Likewise.
11304 * math/w_lgammaf.c: Likewise.
11305 * math/w_lgammaf_r.c: Likewise.
11306 * math/w_lgammal.c: Likewise.
11307 * math/w_lgammal_r.c: Likewise.
11308 * math/w_log.c: Likewise.
11309 * math/w_log10.c: Likewise.
11310 * math/w_log10f.c: Likewise.
11311 * math/w_log10l.c: Likewise.
11312 * math/w_log2.c: Likewise.
11313 * math/w_log2f.c: Likewise.
11314 * math/w_log2l.c: Likewise.
11315 * math/w_logf.c: Likewise.
11316 * math/w_logl.c: Likewise.
11317 * math/w_pow.c: Likewise.
11318 * math/w_powf.c: Likewise.
11319 * math/w_powl.c: Likewise.
11320 * math/w_remainder.c: Likewise.
11321 * math/w_remainderf.c: Likewise.
11322 * math/w_remainderl.c: Likewise.
11323 * math/w_scalb.c: Likewise.
11324 * math/w_scalbf.c: Likewise.
11325 * math/w_scalbl.c: Likewise.
11326 * math/w_sinh.c: Likewise.
11327 * math/w_sinhf.c: Likewise.
11328 * math/w_sinhl.c: Likewise.
11329 * math/w_sqrt.c: Likewise.
11330 * math/w_sqrtf.c: Likewise.
11331 * math/w_sqrtl.c: Likewise.
11332 * math/w_tgamma.c: Likewise.
11333 * math/w_tgammaf.c: Likewise.
11334 * math/w_tgammal.c: Likewise.
11335
11336 * po/ja.po: Update from translation team.
11337
11338 2011-09-29 Andreas Jaeger <aj@suse.de>
11339
11340 [BZ #13179]
11341 * sunrpc/netname.c (netname2host): Fix logic.
11342
11343 [BZ #6779]
11344 [BZ #6783]
11345 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11346 correctly.
11347 * math/w_remainder.c (__remainder): Likewise.
11348 * math/w_remainderf.c (__remainderf): Likewise.
11349 * math/libm-test.inc (remainder_test): Add test cases.
11350
11351 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11352
11353 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11354 sdiv_qrnnd.
11355
11356 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11357
11358 * string/test-memcmp.c: Avoid unncessary #defines.
11359 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11360
11361 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11362
11363 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11364 Use new sse2 version for core i3 - i7 as it's faster
11365 than sse42 version.
11366 (bit_Prefer_PMINUB_for_stringop): New.
11367 * sysdeps/x86_64/rawmemchr.S: Update.
11368 Replace with faster SSE2 version.
11369 * sysdeps/x86_64/memrchr.S: New file.
11370 * sysdeps/x86_64/memchr.S: Update.
11371 Replace with faster SSE2 version.
11372
11373 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11374
11375 * elf/dl-load.c (lose): Add cast to avoid warning.
11376
11377 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11378
11379 * po/ca.po: Update from translation team.
11380
11381 * inet/getnetgrent_r.c: Hook up nscd.
11382 * nscd/Makefile (routines): Add nscd_netgroup.
11383 (nscd-modules): Add netgroupcache.
11384 (CFLAGS-netgroupcache.c): Define.
11385 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11386 (cache_search): Add const to second parameter.
11387 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11388 INNETGR.
11389 (dbs): Add netgrdb entry.
11390 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11391 (verify_persistent_db): Handle netgrdb.
11392 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11393 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11394 GETFDNETGR.
11395 (netgroup_response_header): Define.
11396 (innetgroup_response_header): Define.
11397 (datahead): Add netgroup_response_header and innetgroup_response_header
11398 elements.
11399 * nscd/nscd.conf: Add entries for netgroup cache.
11400 * nscd/nscd.h (dbtype): Add netgrdb.
11401 (_PATH_NSCD_NETGROUP_DB): Define.
11402 (netgroup_iov_disabled): Declare.
11403 (xmalloc, xcalloc, xrealloc): Move declarations here.
11404 (cache_search): Adjust prototype.
11405 Add netgroup-related prototypes.
11406 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11407 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11408 (__nscd_innetgr): Declare.
11409 * nscd/selinux.c (perms): Use access_vector_t as element type and
11410 add netgroup-related initializers.
11411 * nscd/netgroupcache.c: New file.
11412 * nscd/nscd_netgroup.c: New file.
11413 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11414 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11415 For four parameters use innetgr.
11416 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11417 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11418 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11419 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11420
11421 * nscd/connections.c (register_traced_file): Don't register file
11422 for disabled databases.
11423
11424 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11425
11426 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11427
11428 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11429 from tree and freeing node.
11430
11431 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11432
11433 * nss/nsswitch.c (__nss_database_lookup): Handle
11434 nss_parse_service_list out of memory case.
11435
11436 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11437
11438 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11439 out of memory case.
11440
11441 2011-10-04 Andreas Schwab <schwab@redhat.com>
11442
11443 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11444 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11445 pass it down.
11446 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11447 elf_machine_rela, elf_machine_lazy_rel.
11448 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11449 (ELF_DYNAMIC_DO_REL): Likewise.
11450 (ELF_DYNAMIC_DO_RELA): Likewise.
11451 (ELF_DYNAMIC_RELOCATE): Likewise.
11452 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11453 to ELF_DYNAMIC_DO_REL.
11454 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11455 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11456 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11457 elf_machine_rela.
11458 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11459 skip_ifunc, don't call ifunc function if non-zero.
11460 (elf_machine_rela): Likewise.
11461 (elf_machine_lazy_rel): Likewise.
11462 (elf_machine_lazy_rela): Likewise.
11463 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11464 (elf_machine_lazy_rel): Likewise.
11465 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11466 Likewise.
11467 (elf_machine_lazy_rel): Likewise.
11468 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11469 Likewise.
11470 (elf_machine_lazy_rel): Likewise.
11471 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11472 (elf_machine_lazy_rel): Likewise.
11473 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11474 (elf_machine_lazy_rel): Likewise.
11475 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11476 (elf_machine_lazy_rel): Likewise.
11477 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11478 (elf_machine_lazy_rel): Likewise.
11479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11480 (elf_machine_lazy_rel): Likewise.
11481 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11482 (elf_machine_lazy_rel): Likewise.
11483
11484 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11485
11486 * nss/nss_files/files-init.c (_nss_files_init): Use static
11487 initialization for all the *_traced_file variables.
11488
11489 2011-09-28 Andreas Schwab <schwab@redhat.com>
11490
11491 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11492
11493 2011-09-27 Roland McGrath <roland@hack.frob.com>
11494
11495 [BZ #13226]
11496 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11497
11498 2011-09-27 Andreas Schwab <schwab@redhat.com>
11499
11500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11501 Reread the line before reparsing it.
11502
11503 2011-09-26 Andreas Schwab <schwab@redhat.com>
11504
11505 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11506
11507 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11508 Maxim Kuvyrkov <maxim@codesourcery.com>
11509 Joseph Myers <joseph@codesourcery.com>
11510
11511 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11512 if needed for __stack_chk_guard.
11513
11514 2011-09-19 Roland McGrath <roland@hack.frob.com>
11515
11516 * sysdeps/posix/spawni.c (script_execute): Always define it.
11517 It will be optimized away if unused.
11518 (maybe_script_execute): New function.
11519 (__spawni): Call it.
11520
11521 * Makerules: Don't include tls.make.
11522 (config-tls): Always set to thread.
11523 * tls.make.c: File removed.
11524
11525 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11526
11527 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11528 * config.make.in (CPPFLAGS-config): New substituted variable.
11529
11530 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11531
11532 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11533
11534 [BZ #13192]
11535 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11536 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11537
11538 2011-09-15 Roland McGrath <roland@hack.frob.com>
11539
11540 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11541 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11542 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11543 (CALL_FAIL): Likewise.
11544 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11545 (CALL_FAIL): Macro removed.
11546 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11547
11548 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11549
11550 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11551 for __FINITE_MATH_ONLY__ == 1.
11552
11553 2011-09-15 Andreas Schwab <schwab@redhat.com>
11554
11555 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11556 __ieee754_sqrt instead of sqrt.
11557 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11558 __ieee754_sqrtf instead of sqrtf.
11559 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11560 __floorf instead of floorf.
11561 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11562 __floorf, __truncf instead of floorf, truncf.
11563
11564 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11565
11566 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11567
11568 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11569 __extern_always_inline.
11570 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11571 32-bit.
11572
11573 2011-09-14 Andreas Schwab <schwab@redhat.com>
11574
11575 * elf/rtld.c (dl_main): Also relocate in dependency order when
11576 doing symbol dependency testing.
11577
11578 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11579
11580 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11581 Always define `refsym'.
11582
11583 2011-09-13 Andreas Schwab <schwab@redhat.com>
11584
11585 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11586 (__FD_ELT): Renamed from __FDELT.
11587 * misc/bits/select2.h (__FD_ELT): Likewise.
11588 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11589 __FD_MASK instead of __FDELT, __FDMASK.
11590 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11591 Likewise.
11592 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11593 Likewise.
11594
11595 * elf/Makefile (gen-ldd): Fix pattern.
11596
11597 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11598 (init_tls): Likewise.
11599
11600 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11601
11602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11603
11604 2011-09-12 Andreas Schwab <schwab@redhat.com>
11605
11606 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11607 `struct cmsghdr *' instead of `void *'.
11608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11609 Likewise.
11610
11611 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11612
11613 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11614 if non-absolute.
11615 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11616 ldd_rewrite_script.
11617
11618 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11619
11620 * configure.in: Remove --with-tls option.
11621 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11622 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11623 out in case it is missing.
11624 * sysdeps/ia64/elf/configure.in: Likewise.
11625 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11626 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11627 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11628 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11629 * sysdeps/sh/elf/configure.in: Likewise.
11630 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11631 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11632 * sysdeps/x86_64/elf/configure.in: Likewise.
11633 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11634 * sysdeps/mach/hurd/tls.h: Likewise.
11635
11636 [BZ #13067]
11637 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11638
11639 [BZ #13090]
11640 * configure.in: Fix use of AC_INIT.
11641
11642 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11643
11644 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11645
11646 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11647 __set_errno.
11648 * malloc/hooks.c: Likewise.
11649
11650 [BZ #11929]
11651 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11652 variables statically.
11653 (narenas): Initialize.
11654 (list_lock): Initialize.
11655 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11656 initializtion of main_arena and list_lock. Small cleanups.
11657 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11658 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11659 Add initializers to main_arena and mp_.
11660 (malloc_state): Remove pagesize member. Change all users to use
11661 GLRO(dl_pagesize).
11662
11663 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11664 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11665 is always initialized.
11666
11667 * malloc/malloc.c: Removed unused configurations and dead code.
11668 * malloc/arena.c: Likewise.
11669 * malloc/hooks.c: Likewise.
11670 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11671
11672 * include/tls.h: Removed. USE___THREAD must always be defined.
11673 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11674 * elf/dl-libc.c: Likewise.
11675 * elf/dl-tsd.c: Likewise.
11676 * include/errno.h: Likewise.
11677 * include/netdb.h: Likewise.
11678 * include/resolv.h: Likewise.
11679 * inet/herrno-loc.c: Likewise.
11680 * inet/herrno.c: Likewise.
11681 * malloc/arena.c: Likewise.
11682 * malloc/hooks.c: Likewise.
11683 * malloc/malloc.c: Likewise.
11684 * resolv/res-state.c: Likewise.
11685 * resolv/res_libc.c: Likewise.
11686 * sysdeps/i386/dl-machine.h: Likewise.
11687 * sysdeps/ia64/dl-machine.h: Likewise.
11688 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11689 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11690 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11691 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11692 * sysdeps/sh/dl-machine.h: Likewise.
11693 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11694 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11695 * sysdeps/unix/i386/sysdep.S: Likewise.
11696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11697 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11699 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11700 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11702 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11706 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11707 * sysdeps/x86_64/dl-machine.h: Likewise.
11708 * tls.make.c: Likewise.
11709
11710 * configure.in: Remove --with-__thread option. Make tests for
11711 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11712 tls_model attribute fail if no support is available. Remove
11713 USE_IN_LIBIO.
11714 * Makeconfig: Adjust for dropped configure option. All features are
11715 now mandatory.
11716 * Makerules: Likewise.
11717 * Versions.def: Likewise.
11718 * argp/argp-fmtstream.c: Likewise.
11719 * argp/argp-fmtstream.h: Likewise.
11720 * argp/argp-help.c: Likewise.
11721 * assert/assert.c: Likewise.
11722 * config.h.in: Likewise.
11723 * config.make.in: Likewise.
11724 * configure: Likewise.
11725 * configure.in: Likewise.
11726 * csu/Versions: Likewise.
11727 * csu/init.c: Likewise.
11728 * elf/tst-audit2.c: Likewise.
11729 * elf/tst-tls10.c: Likewise.
11730 * elf/tst-tls10.h: Likewise.
11731 * elf/tst-tls11.c: Likewise.
11732 * elf/tst-tls12.c: Likewise.
11733 * elf/tst-tls14.c: Likewise.
11734 * elf/tst-tlsmod11.c: Likewise.
11735 * elf/tst-tlsmod12.c: Likewise.
11736 * elf/tst-tlsmod13.c: Likewise.
11737 * elf/tst-tlsmod13a.c: Likewise.
11738 * elf/tst-tlsmod14a.c: Likewise.
11739 * elf/tst-tlsmod15b.c: Likewise.
11740 * elf/tst-tlsmod16a.c: Likewise.
11741 * elf/tst-tlsmod16b.c: Likewise.
11742 * elf/tst-tlsmod7.c: Likewise.
11743 * elf/tst-tlsmod8.c: Likewise.
11744 * elf/tst-tlsmod9.c: Likewise.
11745 * gmon/gmon.c: Likewise.
11746 * grp/fgetgrent_r.c: Likewise.
11747 * grp/putgrent.c: Likewise.
11748 * hurd/fopenport.c: Likewise.
11749 * include/libc-symbols.h: Likewise.
11750 * include/tls.h: Likewise.
11751 * intl/gettextP.h: Likewise.
11752 * intl/loadinfo.h: Likewise.
11753 * locale/global-locale.c: Likewise.
11754 * locale/localeinfo.h: Likewise.
11755 * mach/devstream.c: Likewise.
11756 * malloc/arena.c: Likewise.
11757 * malloc/set-freeres.c: Likewise.
11758 * misc/err.c: Likewise.
11759 * misc/getttyent.c: Likewise.
11760 * misc/mntent_r.c: Likewise.
11761 * posix/getopt.c: Likewise.
11762 * posix/wordexp.c: Likewise.
11763 * pwd/fgetpwent_r.c: Likewise.
11764 * resolv/Versions: Likewise.
11765 * resolv/res_hconf.c: Likewise.
11766 * shadow/fgetspent_r.c: Likewise.
11767 * shadow/putspent.c: Likewise.
11768 * stdio-common/printf_fphex.c: Likewise.
11769 * stdio-common/tmpfile.c: Likewise.
11770 * stdlib/abort.c: Likewise.
11771 * stdlib/fmtmsg.c: Likewise.
11772 * sunrpc/auth_unix.c: Likewise.
11773 * sunrpc/clnt_perr.c: Likewise.
11774 * sunrpc/clnt_tcp.c: Likewise.
11775 * sunrpc/clnt_udp.c: Likewise.
11776 * sunrpc/clnt_unix.c: Likewise.
11777 * sunrpc/openchild.c: Likewise.
11778 * sunrpc/svc_simple.c: Likewise.
11779 * sunrpc/svc_tcp.c: Likewise.
11780 * sunrpc/svc_udp.c: Likewise.
11781 * sunrpc/svc_unix.c: Likewise.
11782 * sunrpc/xdr.c: Likewise.
11783 * sunrpc/xdr_array.c: Likewise.
11784 * sunrpc/xdr_rec.c: Likewise.
11785 * sunrpc/xdr_ref.c: Likewise.
11786 * sunrpc/xdr_stdio.c: Likewise.
11787
11788 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11789
11790 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11791
11792 2011-07-03 Andreas Jaeger <aj@suse.de>
11793
11794 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11795 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11796 regenerate with gen-libm-tests.pl.
11797
11798 2010-05-12 Petr Baudis <pasky@suse.cz>
11799
11800 [BZ #11589]
11801 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11802 around j0() zero points by switching to j1().
11803 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11804 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11807
11808 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11809
11810 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11811 instead of 0.
11812 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11813 instead of 0. .
11814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11815 Patch in part by Pavel Roskin <proski@gnu.org>.
11816
11817 [BZ #13138]
11818 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11819 realloc.
11820 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11821 Free memory block if necessary.
11822
11823 [BZ #12847]
11824 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11825 be NULL. Don't lock in this case.
11826
11827 2011-09-09 Roland McGrath <roland@hack.frob.com>
11828
11829 * elf/elf.h (ELFOSABI_GNU): New macro.
11830 (ELFOSABI_LINUX): Define to that.
11831
11832 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11833
11834 * string/strncat.c (strncat): Undef the symbol in case it has been
11835 defined in bits/string.h.
11836
11837 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11838
11839 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11840
11841 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11842 link map.
11843
11844 2011-08-17 Andreas Jaeger <aj@suse.de>
11845
11846 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11847
11848 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11849 Ian Lance Taylor <iant@google.com>
11850
11851 * math/libm-test.inc (lround_test): New testcase.
11852 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11853
11854 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11855
11856 * Makefile: Remove support for automatic cvs check-ins.
11857 * Makerules: Likewise.
11858 * config.make.in: Likewise.
11859 * configure.in: Likewise.
11860 * intl/Makefile: Likewise.
11861 * locale/Makefile: Likewise.
11862 * po/Makefile: Likewise.
11863 * posix/Makefile: Likewise.
11864 * sysdeps/gnu/Makefile: Likewise.
11865 * sysdeps/mach/hurd/Makefile: Likewise.
11866 * sysdeps/sparc/sparc32/Makefile: Likewise.
11867
11868 [BZ #13118]
11869 * posix/Makefile (bug-regex32-ENV): Define.
11870 Patch by John Stanley <jpsinthemix@verizon.net>.
11871
11872 * misc/Makefile (headers): Add bits/select2.h.
11873 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11874 * misc/bits/select2.h: New file.
11875 * include/bits/select2.h: New file.
11876 * debug/Makefile (routines): Add fdelt_chk.
11877 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11878 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11879 FD_ISSET.
11880 * debug/fdelt_chk.c: New file.
11881
11882 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11883 * wcsmbs/test-wmemcmp.c: Likewise.
11884 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11885 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11886
11887 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11888
11889 * string/Makefile (strop-tests): Add memcmp.
11890 * string/test-wmemcmp.c: New file.
11891 * string/test-memcmp.c: Add wmemcmp support.
11892
11893 2011-09-08 Roland McGrath <roland@hack.frob.com>
11894
11895 [BZ #13153]
11896 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11897 2011-07-19 change.
11898
11899 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11900 garbage value in a __mach_port_mod_refs call in the cases of the
11901 task-self and thread-self ports.
11902
11903 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11904
11905 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11906
11907 2011-09-08 Andreas Schwab <schwab@redhat.com>
11908
11909 * elf/dl-load.c (lose): Check for non-null L.
11910
11911 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11912
11913 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11914
11915 * elf/dl-libc.c (dlerror_run): Pass back error code from
11916 dl_catch_error.
11917
11918 [BZ #13123]
11919 * elf/dl-load.c (lose): Free l_origin if it is valid.
11920
11921 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11922 names.
11923 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11924 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11925 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11926 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11927 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11928 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11929
11930 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11931
11932 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11933 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11934 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11935 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11936 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11937 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11938 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11939 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11940 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11941 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11942
11943 2011-08-15 Alan Modra <amodra@gmail.com>
11944
11945 [BZ #13092]
11946 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11947 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11948 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11949 ppc_mcount to static-only-routines.
11950 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11951 __mcount_internal.
11952 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11953 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11954
11955 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11956
11957 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11958 for finite and infinity parameters.
11959
11960 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11961
11962 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11963 and add nop instructions for throughput optimization.
11964 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11965
11966 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11967
11968 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11969 aligned copy for power7 with vector-scalar instructions.
11970 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11971
11972 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11973
11974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11975 AVX check.
11976
11977 2011-09-07 Andreas Schwab <schwab@redhat.com>
11978
11979 [BZ #13144]
11980 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11981 last change.
11982
11983 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11984
11985 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11986 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11987 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11988 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11989 clock_gettime.
11990
11991 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11992
11993 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11994 Forgot to demangle the pointer.
11995
11996 * sysdeps/i386/sysdep.h: Define atom_text_section.
11997 * sysdeps/x86_64/sysdep.h: Likewise.
11998 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11999 section with atom_text_section.
12000 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12001 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12002 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12004 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12005
12006 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12007 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12008 already be defined. Change to take two parameters and don't assign
12009 result to variable. Adjust all users.
12010 Define INTERNAL_GETTIME if not already defined.
12011 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12012 call.
12013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12014 HAVE_CLOCK_GETTIME_VSYSCALL.
12015 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12016
12017 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12018 gettimeofday vsyscall, just use time.
12019
12020 2011-09-06 Andreas Schwab <schwab@redhat.com>
12021
12022 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12023 <errno.h>.
12024
12025 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12026
12027 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12028 syscall on x86-64.
12029 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12030 syscall.
12031 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12032 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12033 syscall if possible.
12034
12035 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12036
12037 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12038 e_ident. Don't pass to find_mapsXX.
12039 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12040
12041 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12042
12043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12044 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12045 * sysdeps/x86_64/multiarch/strchr.S: Update.
12046 Check bit_slow_BSF bit.
12047 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12048 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12049 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12050
12051 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12052
12053 [BZ #13134]
12054 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12055 before glibc 2.15.
12056 (tryshell): Define.
12057 (__spawni): Change last parameter to be flag. Test
12058 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12059 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12060 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12061 * posix/spawni.c: Likewise.
12062 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12063 * posix/spawnp.c: Likewise. Change normal version to use
12064 SPAWN_XFLAGS_USE_PATH.
12065 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12066 SPAWN_XFLAGS_TRY_SHELL.
12067
12068 [BZ #13150]
12069 * posix/glob.h: Remove gcc 1.x support.
12070
12071 [BZ #13068]
12072 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12073
12074 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12075
12076 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12077 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12078 strrchr-sse2-bsf
12079 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12080 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12081 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12082 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12083 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12084 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12085
12086 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12087
12088 * sysdeps/x86_64/wcscmp.S: New file.
12089
12090 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12091 wcscmp-c wcscmp-sse2
12092 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12093 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12094 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12095 * wcsmbs/wcscmp.c: Allow renaming.
12096
12097 2011-09-05 David S. Miller <davem@davemloft.net>
12098
12099 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12100 stack slot, rather than the struct return pointer slot.
12101 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12102 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12104 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12105
12106 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12107
12108 * po/ja.po: Update from translation team.
12109
12110 [BZ #13144]
12111 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12112 kernel in 64-bit binaries.
12113
12114 2011-09-01 David S. Miller <davem@davemloft.net>
12115
12116 * elf/elf.h (HWCAP_SPARC_*): Move to..
12117 * sysdeps/sparc/sysdep.h: this new file and add new values.
12118 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12119 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12120 _DL_HWCAP_COUNT to 24.
12121 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12122 entries.
12123 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12124 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12125 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12126 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12127 instead of magic constants.
12128 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12129
12130 2011-08-31 David S. Miller <davem@davemloft.net>
12131
12132 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12134 Reimplement to do errno handling inline.
12135 (SYSCALL_ERROR_HANDLER): New macro.
12136 (__SYSCALL_STRING): Do not do errno handling in asm.
12137 (__CLONE_SYSCALL_STRING): Delete.
12138 (__INTERNAL_SYSCALL_STRING): Delete.
12139 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12140 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12141 (PSEUDO): Reimplement to do errno handling inline.
12142 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12143 (SYSCALL_ERROR_HANDLER): New macro.
12144 (__SYSCALL_STRING): Do not do errno handling in asm.
12145 (__CLONE_SYSCALL_STRING): Delete.
12146 (__INTERNAL_SYSCALL_STRING): Delete.
12147 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12148 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12149 i386.
12150 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12151 (inline_syscall*): Add 'err' argument.
12152 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12153 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12154 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12155 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12156
12157 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12158 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12159
12160 2011-08-30 Andreas Schwab <schwab@redhat.com>
12161
12162 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12163
12164 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12165
12166 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12167 directive.
12168
12169 2011-08-24 David S. Miller <davem@davemloft.net>
12170
12171 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12172
12173 2011-08-24 Andreas Schwab <schwab@redhat.com>
12174
12175 * elf/Makefile: Add rules to build and run unload8 test.
12176 * elf/unload8.c: New file.
12177 * elf/unload8mod1.c: New file.
12178 * elf/unload8mod1x.c: New file.
12179 * elf/unload8mod2.c: New file.
12180 * elf/unload8mod3.c: New file.
12181
12182 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12183 it wasn't used.
12184
12185 2011-08-23 David S. Miller <davem@davemloft.net>
12186
12187 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12188 subtract stack bias.
12189 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12190 %sp not %fp in calculations.
12191 (_JMPBUF_UNWINDS_ADJ): Likewise.
12192
12193 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12194 (aio_suspend): Call it to force an exception region around the
12195 AIO_MISC_WAIT() invocation.
12196
12197 2011-08-23 Andreas Schwab <schwab@redhat.com>
12198
12199 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12200 backslash.
12201
12202 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12203
12204 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12205 protection macro.
12206 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12207 and <dl-machine.h>.
12208 (Elf64_FuncDesc): Remove.
12209
12210 2011-08-22 David S. Miller <davem@davemloft.net>
12211
12212 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12213 sigaltstack check, add missing cfi directives.
12214 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12215 missing cfi directives, and sigaltstack handling.
12216
12217 2011-08-16 Andreas Schwab <schwab@redhat.com>
12218
12219 [BZ #11724]
12220 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12221 object is seen twice.
12222 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12223
12224 * elf/Makefile (distribute): Add tst-initorder2.c.
12225 (tests): Add tst-initorder2.
12226 (modules-names): Add tst-initorder2a tst-initorder2b
12227 tst-initorder2c tst-initorder2d. Add rules to build them.
12228 ($(objpfx)tst-initorder2.out): New rule.
12229 * elf/tst-initorder2.c: New file.
12230 * elf/tst-initorder2.exp: New file.
12231
12232 2011-08-22 Andreas Schwab <schwab@redhat.com>
12233
12234 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12235
12236 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12237 dependencies back to end of function.
12238
12239 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12240 $(elfobjdir)/ld.so.
12241
12242 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12243
12244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12245 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12246 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12247 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12248 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12249 of __vdso_gettimeofday.
12250 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12251 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12252 attribute_hidden.
12253 (_libc_vdso_platform_setup): Remove initialization of
12254 __vdso_gettimeofday and __vdso_time.
12255
12256 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12257
12258 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12259 and fgetc_unlocked.
12260 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12261 getc_unlocked.
12262
12263 * elf/dl-open.c (add_to_global): Report additions to the global scope
12264 for LD_DEBUG=scopes.
12265 (dl_open_worker): Also print scope of newly loaded dependencies.
12266 (_dl_show_scope): Indicate if there is no scope.
12267
12268 [BZ #13114]
12269 * stdio-common/Makefile (tests): Add bug24.
12270 * stdio-common/bug24.c: New file.
12271
12272 2011-08-19 Andreas Jaeger <aj@suse.de>
12273
12274 [BZ #13114]
12275 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12276 non-existant file when using close-on-exec mode.
12277
12278 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12279
12280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12281 the very first instruction.
12282
12283 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12284 the CFI state in the end.
12285 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12286 inclusion of dl-trampoline.h.
12287 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12288
12289 2011-08-19 Andreas Schwab <schwab@redhat.com>
12290
12291 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12292 expectations for long double.
12293
12294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12295 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12296
12297 2011-08-14 David S. Miller <davem@davemloft.net>
12298
12299 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12300 artificual limit depends upon the system page size.
12301
12302 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12303
12304 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12305 * resolv/Makefile: Define CFLAGS-libresolv.
12306
12307 2011-08-17 Andreas Schwab <schwab@redhat.com>
12308
12309 * nss/makedb.c (compute_tables): Make variables used in nested
12310 function static.
12311
12312 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12313
12314 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12315 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12316 if buffer was too small.
12317
12318 * elf/pldd.c (main): Attach to all threads in the process.
12319 Rewrite /proc handling to use *at functions.
12320
12321 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12322
12323 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12324 specifies first scope to show.
12325 (dl_open_worker): Update callers. Move printing scope of new
12326 object to before the relocation.
12327 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12328 * sysdeps/generic/ldsodefs.h: Update declaration.
12329
12330 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12331 string for the scope number.
12332
12333 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12334
12335 * nscd/servicescache.c (cache_addserv): Make sure written is always
12336 initialized.
12337
12338 2011-08-14 Roland McGrath <roland@hack.frob.com>
12339
12340 * sysdeps/i386/i486/bits/atomic.h
12341 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12342 statement expression, so as to suppress "set but not used" warning.
12343 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12344
12345 * string/strncat.c (STRNCAT): Use prototype definition.
12346
12347 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12348 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12349 -Iprograms here.
12350 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12351 (localedef-modules): Add localedef.
12352 (locale-modules): Add locale.
12353
12354 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12355 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12356 to avoid a warning.
12357
12358 2011-08-14 David S. Miller <davem@davemloft.net>
12359
12360 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12361 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12362
12363 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12364
12365 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12366 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12367 * elf/rtld.c (dl_main): Set l_name of vDSO.
12368 Call _dl_show_scope when DL_DEBUG_SCOPES.
12369 (process_dl_debug): Recognize scopes flag and also set it for all.
12370 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12371 Declare _dl_show_scope.
12372
12373 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12374 (do_dlopen): Pass caller_dlopen to dl_open.
12375 (__libc_dlopen_mode): Initialize caller_dlopen.
12376
12377 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12378 of libc. Make tolower call locale-independent. Optimize a bit by
12379 using isdigit instead of isalnum.
12380 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12381
12382 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12383
12384 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12385 was a dependency or dynamically loaded.
12386
12387 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12388
12389 * intl/l10nflist.c: Allow architecture-specific pop function.
12390 * sysdeps/x86_64/l10nflist.c: New file.
12391
12392 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12393 classification.
12394
12395 2011-08-10 Andreas Schwab <schwab@redhat.com>
12396
12397 * include/dirent.h: Add libc_hidden_proto for scandirat and
12398 scandirat64. Don't declare __scandirat64.
12399 * dirent/scandirat.c: Add libc_hidden_def.
12400 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12401 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12402
12403 2011-08-10 David S. Miller <davem@davemloft.net>
12404
12405 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12406 enum.
12407 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12408 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12409 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12410
12411 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12412
12413 * Versions.def [libc]: Add GLIBC_2.15.
12414 * dirent/Makefile (routines): Add scandirat and scandirat64.
12415 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12416 GLIBC_2.15.
12417 * dirent/dirent.h: Declare scandirat and scandirat64.
12418 * dirent/scandirat.c: New file.
12419 * dirent/scandirat64.c: New file.
12420 * sysdeps/wordsize-64/scandirat.c: New file.
12421 * sysdeps/wordsize-64/scandirat64.c: New file.
12422 * dirent/opendir.c: Define opendirat.
12423 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12424 using scandirat.
12425 * dirent/scandir64.c: Adjust for scandir.c change.
12426 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12427 __scandirat64, and __scandir_cancel_handler.
12428 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12429 additional parameter and use openat instead of open (outside of ld.so).
12430 Add new __opendir as wrapper around __opendirat.
12431 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12432 here without requiring old scandirat implementation.
12433
12434 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12435
12436 * dirent/scandir.c (cancel_handler): Renamed to
12437 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12438 defined. Adjust users.
12439 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12440 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12441
12442 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12443
12444 * string/test-string.h (IMPL): Use __STRING to expand name and then
12445 stringify it.
12446
12447 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12448 of cleanups.
12449
12450 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12451
12452 * string/Makefile: Update.
12453 (strop-tests): Append strncat.
12454 * string/test-wcscmp.c: New file.
12455 New comprehensive test for wcscmp.
12456 * string/test-strcmp.c: Update.
12457 (WIDE): New define.
12458
12459 2011-07-22 Andreas Schwab <schwab@redhat.com>
12460
12461 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12462 line.
12463
12464 2011-07-26 Andreas Schwab <schwab@redhat.com>
12465
12466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12467 encoding to ACE if AI_IDN.
12468
12469 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12470
12471 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12472 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12473
12474 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12475
12476 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12477 Fix overflow bug in strncat.
12478 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12479
12480 * string/test-strncat.c: Update.
12481 Add new tests for checking overflow bugs.
12482
12483 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12484
12485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12486 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12487 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12488 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12489 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12490 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12491 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12492 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12493 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12494
12495 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12496 (USE_AS_STRCAT): Define.
12497 Add strcat and strncat support.
12498 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12499
12500 2011-07-25 Andreas Schwab <schwab@redhat.com>
12501
12502 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12503 __n bigger than INT_MAX+1.
12504 (__strncmp_g): Likewise.
12505
12506 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12507
12508 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12509 * libio/stido.h: Likewise.
12510
12511 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12512 (AF_NFC): Define.
12513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12514 (AF_NFC): Define.
12515
12516 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12517 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12519 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12520 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12521
12522 [BZ #13021]
12523 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12524 installed.
12525
12526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12527 typo.
12528 (_dl_x86_64_save_sse): Likewise.
12529
12530 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12531
12532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12533 OSXSAVE.
12534 (_dl_x86_64_save_sse): Likewise.
12535
12536 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12537
12538 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12539
12540 2011-07-21 Andreas Schwab <schwab@redhat.com>
12541
12542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12543 change.
12544 (_dl_x86_64_save_sse): Use correct AVX check.
12545
12546 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12547
12548 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12549 bug in strncpy/strncat.
12550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12551
12552 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12553
12554 * string/tester.c (test_strcat): Add tests for different alignments
12555 of source and destination.
12556 (test_strncat): Likewise.
12557
12558 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12559
12560 [BZ #12852]
12561 * posix/glob.c (glob): Check passed in values before using them in
12562 expressions to avoid some overflows.
12563 (glob_in_dir): Likewise.
12564
12565 [BZ #13007]
12566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12567 check for AVX enablement so that we don't crash with old kernels and
12568 new hardware.
12569 * elf/tst-audit4.c: Add same checks here.
12570 * elf/tst-audit6.c: Likewise.
12571
12572 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12573
12574 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12575
12576 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12577
12578 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12579
12580 * po/cs.po: Update from translation team.
12581 * po/bg.po: Likewise.
12582
12583 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12584
12585 * misc/sys/cdefs.h: Add support for const attribute.
12586 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12587 to gnu_dev_{major,minor,makedev} functions.
12588
12589 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12590
12591 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12592
12593 2011-07-20 Andreas Schwab <schwab@redhat.com>
12594
12595 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12596 strlen results.
12597
12598 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12599
12600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12601 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12602 register in order to avoid conflicts with the soft frame pointer
12603 being held in r11 when necessary.
12604 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12605 (INTERNAL_VSYSCALL_NCS): Likewise.
12606
12607 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12608
12609 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12610 * elf/dl-fini.c (_dl_fini): Adjust caller.
12611 * elf/dl-close.c (_dl_close_worker): Likewise.
12612 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12613
12614 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12615
12616 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12617 "aux_cache->nlibs < 0".
12618
12619 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12620 in the reload-count case.
12621
12622 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12623
12624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12625 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12626 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12627 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12628 * sysdeps/x86_64/multiarch/strcat.S: New file.
12629 * sysdeps/x86_64/multiarch/strncat.S: New file.
12630 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12631 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12632 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12633 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12634 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12635 (USE_AS_STRCAT): Define.
12636 Add strcat and strncat support.
12637 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12639 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12640 * string/strncat.c: Update.
12641 (USE_AS_STRNCAT): Define.
12642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12643 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12644 and i7.
12645 * sysdeps/x86_64/multiarch/init-arch.h
12646 (bit_Prefer_PMINUB_for_stringop): New.
12647 (index_Prefer_PMINUB_for_stringop): Likewise.
12648 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12649 bit_Prefer_PMINUB_for_stringop.
12650
12651 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12652
12653 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12654 buffer64.
12655 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12656 of casting of buffer.
12657 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12658 buffer32 and buffer64.
12659 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12660 writes instead of casting of buffer.
12661 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12662 buffer32.
12663 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12664 casting of buffer.
12665
12666 2011-07-19 Andreas Schwab <schwab@redhat.com>
12667
12668 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12669
12670 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12671
12672 * nscd/nscd.c (termination_handler): Don't do anything for a database
12673 if it has not yet been initialized.
12674
12675 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12676
12677 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12678
12679 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12680
12681 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12682
12683 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12684
12685 * po/nl.po: Update from translation team.
12686 * po/sv.po: Likewise.
12687
12688 2011-07-16 Roland McGrath <roland@hack.frob.com>
12689
12690 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12691 now disallowed by GCC.
12692
12693 * configure.in (use-default-link): Default to yes if a test -shared
12694 link meets our qualifications.
12695 * configure: Regenerated.
12696
12697 * config.make.in (output-format): New variable.
12698 * configure.in: Check for ld --print-output-format support.
12699 * configure: Regenerated.
12700 * Makerules ($(common-objpfx)format.lds)
12701 [$(output-format) != unknown]: Just use $(output-format),
12702 instead of the linker-script munging.
12703
12704 2011-07-14 Roland McGrath <roland@hack.frob.com>
12705
12706 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12707 of $(common-objpfx)shlib.lds.
12708 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12709
12710 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12711 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12712
12713 * configure.in (-z relro check): Adjust test code to add a large
12714 writable data section after it.
12715 * configure: Regenerated.
12716
12717 2011-07-11 Roland McGrath <roland@hack.frob.com>
12718
12719 * configure.in (-z relro check): Fix test code to make the variable
12720 truly const.
12721 * configure: Regenerated.
12722
12723 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12724
12725 * nscd/nscd.h (struct traced_file): Define.
12726 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12727 elements. Add traced_files.
12728 (inotify_fd): Declare.
12729 (register_traced_file): Declare.
12730 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12731 (inotify_fd): Export.
12732 (resolv_conf_descr): Remove.
12733 (nscd_init): Move inotify descriptor creation to main.
12734 Don't register files for notification here.
12735 (register_traced_file): New function.
12736 (invalidate_cache): Don't use reset_res to determine whether to call
12737 res_init, go through the list of registered files.
12738 (main_loop_poll): The inotify descriptors are now stored in the
12739 structures for the traced files.
12740 (main_loop_epoll): Likewise
12741 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12742 to __nss_disable_nscd.
12743 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12744 for a database anymore. Check the records for all the registered
12745 files instead.
12746 * nss/Makefile (libnss_files-routines): Add files-init.
12747 (libnss_db-routines): Add db-init.
12748 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12749 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12750 * nss/nss_db/db-init.c: New file.
12751 * nss/nss_files/files-init.c: New file.
12752 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12753 __nss_lookup_function.
12754 (__nss_lookup_function): Call nss_load_library.
12755 (nss_load_all_libraries): New function.
12756 (__nss_disable_nscd): Take parameter with callback function for files
12757 to register. Set is_nscd. Load all the DSOs for the NSS modules
12758 used for the cached services.
12759 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12760 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12761 options for features to all the files in nscd.
12762
12763 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12764
12765 2011-07-10 Roland McGrath <roland@hack.frob.com>
12766
12767 * csu/elf-init.c (__libc_csu_init): Comment typo.
12768
12769 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12770
12771 * po/pl.po: Update from translation team.
12772 * po/ja.po: Likewise.
12773 * po/ru.po: Likewise.
12774 * po/ko.po: Likewise.
12775 * po/fr.po: Likewise.
12776
12777 2011-07-09 Roland McGrath <roland@hack.frob.com>
12778
12779 * configure.in (.ctors/.dtors header and trailer check):
12780 Use an empirical test on a built program.
12781 * configure: Regenerated.
12782
12783 * configure.in (-z relro check): Use an empirical test on a built DSO.
12784 Detect, but do not require, on ia64.
12785 * configure: Regenerated.
12786
12787 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12788 Update tests that use readelf to use $READELF instead.
12789 * configure: Regenerated.
12790
12791 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12792
12793 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12794 if the result is not used.
12795
12796 2011-07-05 Andreas Jaeger <aj@suse.de>
12797
12798 [BZ#9696]
12799 * stdlib/tst-strtod.c: Add testcase.
12800
12801 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12802
12803 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12804 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12805 The latter has a higher limit. Take additional parameter to pass to
12806 the new function.
12807 (__pathconf): Pass file to __statfs_link_max.
12808 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12809 __statfs_link_max.
12810 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12811 __statfs_link_max.
12812
12813 [BZ #12868]
12814 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12815 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12816 Handle Lustre.
12817 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12818 (__statfs_filesize_max): Likewise.
12819 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12820
12821 2011-07-05 Andreas Jaeger <aj@suse.de>
12822
12823 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12824
12825 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12826
12827 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12828 `status' variable.
12829 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12830 Likewise.
12831
12832 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12833
12834 * Makefile (strop-tests): Add strncat.
12835 * string/test-strncat.c: New file.
12836
12837 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12838
12839 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12840
12841 2011-06-21 Andreas Jaeger <aj@suse.de>
12842
12843 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12844 Copy rule from iconvdata/Makefile.
12845
12846 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12847
12848 [BZ #12922]
12849 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12850 but no long options are defined, just return 'W'.
12851
12852 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12853
12854 [BZ #9696]
12855 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12856
12857 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12858
12859 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12860 netgroups to read.
12861 (innetgr): Likewise.
12862
12863 2011-07-05 Roland McGrath <roland@hack.frob.com>
12864
12865 * config.make.in (install_root): Default to $(DESTDIR).
12866
12867 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12868
12869 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12870
12871 2011-07-02 Roland McGrath <roland@hack.frob.com>
12872
12873 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12874
12875 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12876 containing directory rather than embedding absolute directory names.
12877
12878 * scripts/check-local-headers.sh: Rewritten using awk.
12879 Match by word, not by line. Print error messages for matches.
12880 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12881
12882 * Makerules [shlib-lds-flags empty]:
12883 ($(common-objpfx)libc_pic.opts): New target.
12884 ($(common-objpfx)libc_pic.os.clean): New target.
12885 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12886
12887 * config.make.in (OBJCOPY): New variable.
12888 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12889 * configure: Regenerated.
12890
12891 * config.make.in (use-default-link): New variable.
12892 * configure.in (use_default_link): Grok --with-default-link to set it.
12893 * configure: Regenerated.
12894 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12895 (shlib-lds, shlib-lds-flags): Define to empty.
12896
12897 * Makerules (shlib-lds): New variable.
12898 (shlib-lds-flags): New variable.
12899 (build-shlib, build-moduile, build-module-asneeded): Use it.
12900 ($(common-objpfx)libc.so): Use $(shlib-lds).
12901 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12902 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12903
12904 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12905 DT_FLAGS/DT_FLAGS_1 with zero flags.
12906
12907 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12908 linker script munging.
12909
12910 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12911
12912 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12913 as 128-bit value.
12914 * crypt/sha512.c (sha512_process_block): Perform total addition using
12915 128-bit if possible.
12916 (__sha512_finish_ctx): Likewise.
12917 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12918 as 64-bit value.
12919 * crypt/sha256.c (SWAP64): Define.
12920 (sha256_process_block): Perform total addition using 64-bit if
12921 possible.
12922 (__sha256_finish_ctx): Likewise.
12923
12924 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12925
12926 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12927 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12928 * nscd/hstcache.c (cache_addhst): Likewise.
12929 * nscd/grpcache.c (cache_addgr): Likewise.
12930 * nscd/aicache.c (addhstaiX): Likewise
12931 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12932
12933 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12934
12935 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12936 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12937 * nscd/hstcache.c (cache_addhst): Likewise.
12938 * nscd/grpcache.c (cache_addgr): Likewise.
12939 * nscd/aicache.c (addhstaiX): Likewise
12940
12941 2011-07-01 Andreas Schwab <schwab@redhat.com>
12942
12943 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12944 domain only when needed.
12945
12946 2011-06-30 Andreas Schwab <schwab@redhat.com>
12947
12948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12949 is always restored.
12950
12951 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12952
12953 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12954 are re-adding the entry.
12955 * nscd/servicescache.c (cache_addserv): Likewise.
12956
12957 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12958
12959 * sysdeps/generic/dl-irel.h: fix protection against multiple
12960 inclusions.
12961 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12962
12963 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12964
12965 [BZ #12935]
12966 * malloc/memusage.sh: Fix quoting in message.
12967 * debug/xtrace.sh: Likewise.
12968
12969 * configure.in: Remove support for --experimental-malloc option, make
12970 it the default.
12971 * config.make.in: Likewise.
12972 * malloc/Makefile: Likewise.
12973
12974 2011-06-27 Andreas Schwab <schwab@redhat.com>
12975
12976 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12977 two-byte characters.
12978
12979 2011-06-27 Roland McGrath <roland@hack.frob.com>
12980
12981 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12982 AC_CACHE_CHECK invocation.
12983 * configure: Regenerated.
12984
12985 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12986
12987 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12988
12989 [BZ #12350]
12990 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12991 bit from old_res_options.
12992
12993 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12994
12995 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12996 value type for setfct.
12997
12998 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12999
13000 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13001 __gettimeofday instead of gettimeofday.
13002
13003 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13004
13005 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13006
13007 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13008
13009 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13010
13011 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13012 info.
13013
13014 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13015
13016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13017 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13018 strcpy-sse2-unaligned strncpy-sse2-unaligned
13019 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13020 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13021 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13022 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13023 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13024 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13025 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13026 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13027 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13028 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13029 (STRCPY): Support SSE2 and SSSE3 versions.
13030
13031 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13032
13033 [BZ #12874]
13034 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13035 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13036 kernels which artificially limit size of requests.
13037
13038 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13039
13040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13041 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13042 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13043 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13044 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13045 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13046 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13047 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13048 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13050 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13051 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13052 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13053 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13054 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13056 Enable unaligned load optimization for Intel Core i3, i5 and i7
13057 processors.
13058 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13059 Define.
13060 (index_Fast_Unaligned_Load): Define.
13061 (HAS_FAST_UNALIGNED_LOAD): Define.
13062
13063 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13064
13065 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13066
13067 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13068
13069 [BZ #12907]
13070 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13071 until it is clear that the information is realy needed.
13072 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13073
13074 2011-06-22 Andreas Schwab <schwab@redhat.com>
13075
13076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13077
13078 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13079
13080 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13081 /sys/devices/system/cpu/online if it is usable.
13082
13083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13084 reading the information from the /proc filesystem to once a second.
13085
13086 2011-06-21 Andreas Jaeger <aj@suse.de>
13087
13088 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13089 NULL after inclusion of kernel headers.
13090
13091 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13092
13093 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13094 calls to internal_setent.
13095
13096 [BZ #12885]
13097 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13098 addresses using gethostbyname4_r ignore IPv4 addresses.
13099
13100 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13101 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13102
13103 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13104
13105 2011-06-20 David S. Miller <davem@davemloft.net>
13106
13107 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13108 inclusions.
13109 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13110
13111 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13112 (elf_irel): Use it.
13113 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13114 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13115 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13116 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13117 * sysdeps/x86_64/dl-irel.h: Likewise.
13118
13119 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13120 * elf/dl-sym.c: Likewise.
13121
13122 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13123
13124 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13125 need to dereference resplen2.
13126
13127 2011-06-14 Andreas Schwab <schwab@redhat.com>
13128
13129 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13130
13131 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13132
13133 * Makeconfig: Define vardbdir and inst_vardbdir.
13134 * nss/Makefile: Add rules to install db-Makefile.
13135
13136 * nss/nss_db/db-XXX.c: Cleanup.
13137
13138 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13139 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13140 GLIBC_PRIVATE.
13141 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13142 * nss/makedb.c: Implement -g option to specify that value strings
13143 are generated and should not be added to table iterated over for
13144 get*ent calls.
13145 * nss/nss_db/db-initgroups.c: New file.
13146
13147 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13148 interface.
13149
13150 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13151 (internal_getgrouplist): Adjust to name change.
13152 Update use_initgroups_entry if this is not the first call.
13153 * nss/databases.def: Add initgroups entry.
13154
13155 * nss/makedb.c (compute_tables): Check result of multiple hash table
13156 sizes to minimize maximum chain length.
13157
13158 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13159
13160 * Versions.def: Add entry for libnss_db.
13161 * shlib-versions: Likewise.
13162 * nss/Makefile: Add rules to build libnss_db.
13163 * nss/Versions: Add libnss_db information. Organize libnss_files
13164 entries better.
13165 * nss/db-Makefile: Add gshadow support. Change rules for the new
13166 makedb progra. Some minor improvements to generate smaller files.
13167 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13168 here from...
13169 * nss/makedb.c: ...here.
13170 Improve database format to be smaller and require less memory at
13171 runtime.
13172 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13173 db anymore.
13174 * nss/nss_db/db-netgrp.c: Likewise.
13175 * nss/nss_db/db-open.c: Likewise.
13176 * nss/nss_files/flies-XXX.x: Adjust comments.
13177 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13178 * nss/nss_files/files-grp.c: Likewise.
13179 * nss/nss_files/files-hosts.c: Likewise.
13180 * nss/nss_files/files-network.c: Likewise.
13181 * nss/nss_files/files-proto.c: Likewise.
13182 * nss/nss_files/files-pwd.c: Likewise.
13183 * nss/nss_files/files-rpc.c: Likewise.
13184 * nss/nss_files/files-service.c: Likewise.
13185 * nss/nss_files/files-sgrp.c: Likewise.
13186 * nss/nss_files/files-spwd.c: Likewise.
13187 * nss/nss_db/db-alias.c: Removed.
13188 * nss/nss_db/dummy-db.h: Removed.
13189
13190 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13191
13192 * nss/makedb.c: Rewritten to not use database library.
13193 * nss/Makefile: Update to build new makedb program.
13194
13195 2011-06-14 Andreas Jaeger <aj@suse.de>
13196
13197 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13198 memset declaration.
13199
13200 2011-06-10 Andreas Schwab <schwab@redhat.com>
13201
13202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13203 tmpbuf.
13204
13205 2011-06-10 Roland McGrath <roland@hack.frob.com>
13206
13207 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13208 * elf/Makefile ($(objpfx)ld.so): Likewise.
13209
13210 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13211 Don't list ld.so twice in dependencies.
13212
13213 * posix/bug-regex31.c: Include <stdlib.h>.
13214
13215 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13216
13217 * nis/nss_compat/compat-spwd.c
13218 (getspent_next_nss_netgr): Remove unused variable.
13219 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13220
13221 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13222 nonmembers" output to use the right array.
13223
13224 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13225
13226 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13227
13228 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13229 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13230 * catgets/gencat.c (read_input_file): Likewise.
13231 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13232
13233 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13234 variable definition inside #if's controlling its use.
13235
13236 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13237
13238 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13239
13240 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13241
13242 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13243 unreachable code.
13244
13245 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13246
13247 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13248 * configure: Regenerated.
13249
13250 * Makerules: Revert last change.
13251 * elf/Makefile: Likewise.
13252
13253 2011-06-09 Roland McGrath <roland@hack.frob.com>
13254
13255 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13256 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13257 (reloc-link): Likewise.
13258
13259 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13260
13261 * elf/Makefile: Add rules to build pldd.
13262 * elf/pldd.c: New file.
13263 * elf/pldd-xx.c: New file.
13264
13265 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13266
13267 * version.h: Update for 2.15 development version.
13268
13269 2011-06-07 David S. Miller <davem@davemloft.net>
13270
13271 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13272 ifuncs.
13273 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13274 elf_machine_lazy_rel): Likewise.
13275 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13276 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13277 elf_machine_lazy_rel): Likewise.
13278 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13279 dl_hwcap via passed in argument.
13280 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13281 Likewise.
13282
13283 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13284
13285 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13286
13287 2011-06-06 Roland McGrath <roland@hack.frob.com>
13288
13289 [BZ #12849]
13290 * manual/fdl-1.1.texi: New file, verbatim from:
13291 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13292 * manual/lgpl-2.1.texi: New file, verbatim from:
13293 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13294 * manual/Makefile (licenses): New variable, list those new file names.
13295 (texis): Use it.
13296 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13297
13298 * manual/fdl.texi: File removed.
13299 * manual/lesser.texi: File removed.
13300 * manual/libc.texinfo (Copying, Documentation License):
13301 Use new @include file names, put @appendix directive before @include.
13302
13303 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13304
13305 [BZ #12841]
13306 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13307 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13308 (mq_open): Add __NTH.
13309
13310 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13311
13312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13313 Assume Intel Core i3/i5/i7 processor if AVX is available.
13314
13315 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13316
13317 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13318 typo.
13319
13320 2011-05-31 Andreas Schwab <schwab@redhat.com>
13321
13322 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13323 memory. Use alloca_account. Fix memory leak when retrying.
13324
13325 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13326
13327 * version.h (RELEASE): Bump for 2.14 release.
13328 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13329
13330 * config.make.in (RANLIB): Remove entry.
13331
13332 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13333
13334 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13335 (libc.pot): Work around missing support for .ksh extension in xgettext.
13336
13337 [BZ #12684]
13338 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13339 if both request failed.
13340 (send_dg): In case of server errors clear resplen or *resplen2.
13341
13342 [BZ #12454]
13343 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13344 when there are multiple maps.
13345 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13346 (_dl_fini): Remove test here.
13347
13348 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13349
13350 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13351
13352 [BZ #12350]
13353 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13354 bit from old_res_options.
13355 (gaih_inet): Likewise.
13356
13357 [BZ #11099]
13358 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13359 as signed.
13360
13361 * resolv/res_init.c (res_setoptions): Make the code more compact.
13362
13363 [BZ #11558]
13364 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13365 set RES_USEVC.
13366
13367 [BZ #11634]
13368 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13369
13370 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13371
13372 [BZ #11781]
13373 * malloc/malloc.h: Declare malloc hook variables as volatile.
13374
13375 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13376 in last patch.
13377
13378 [BZ #11799]
13379 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13380 raise in the comment.
13381 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13382 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13383 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13384
13385 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13386
13387 [BZ #12811]
13388 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13389 grow the buffers more if it already has to be sufficient.
13390 (build_wcs_upper_buffer): Likewise.
13391 * posix/regexec.c (check_matching): Likewise.
13392 (clean_state_log_if_needed): Likewise.
13393 (extend_buffers): Don't enlarge buffers beyond size of the input
13394 buffer.
13395 Patches mostly by Emil Wojak <emil@wojak.eu>.
13396 * posix/bug-regex32.c: New file.
13397 * posix/Makefile (tests): Add bug-regex32.
13398
13399 * locale/findlocale.c (_nl_find_locale): Return right away if
13400 _nl_explode_name failed.
13401 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13402
13403 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13404
13405 * debug/xtrace.sh: Unify messages.
13406 * malloc/memusage.sh: Likewise.
13407
13408 [BZ #12813]
13409 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13410 time symbol from vDSO. Substitute with vsyscall if not available.
13411 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13412 __vdso_time.
13413
13414 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13415 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13416 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13417 Add sendmmsg and internal_sendmmsg.
13418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13419 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13420 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13421
13422 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13423 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13424 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13425
13426 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13427
13428 [BZ #12813]
13429 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13430 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13431 available.
13432 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13433 __vdso_getcpu.
13434
13435 [BZ #12814]
13436 * iconvdata/Makefile (tests): Add bug-iconv9.
13437 * iconvdata/bug-iconv9.c: New file.
13438
13439 2011-05-27 Andreas Schwab <schwab@redhat.com>
13440
13441 [BZ #12814]
13442 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13443
13444 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13445
13446 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13447 (struct user_regs_struct): Change intcs field back to cs.
13448
13449 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13450
13451 * po/ja.po: Update from translation team.
13452
13453 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13454
13455 [BZ #12795]
13456 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13457 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13458
13459 2011-05-20 Andreas Schwab <schwab@redhat.com>
13460
13461 * stdlib/longlong.h: Update from GCC.
13462
13463 2011-05-23 Andreas Schwab <schwab@redhat.com>
13464
13465 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13466 parameter name.
13467 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13468 Add parameter name.
13469 (__sysconf): Pass it down.
13470
13471 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13472
13473 [BZ #12671]
13474 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13475 some situations.
13476 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13477 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13478 add in in __libc_use_alloca calls. Adjust callers.
13479 (glob): Use malloc in some situations.
13480
13481 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13482 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13483 pltexit.
13484
13485 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13486
13487 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13488 and CLOCK_BOOTTIME_ALARM.
13489
13490 [BZ #12782]
13491 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13492 is returned.
13493
13494 * string/_strerror.c (__strerror_r): Print negative errors as signed
13495 numbers.
13496
13497 [BZ #12777]
13498 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13499 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13500 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13501
13502 * configure.in: Fix typo in redirection and correct removal of test
13503 files in two cases.
13504
13505 [BZ #12788]
13506 * locale/setlocale.c (new_composite_name): Fix test to check for
13507 identical name of all categories.
13508
13509 [BZ #12792]
13510 * libio/filedoalloc.c (local_isatty): New function.
13511 (_IO_file_doallocate): Use local_isatty.
13512 * stdio-common/perror.c (perror): In case a new stream is used
13513 forward the stream error.
13514 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13515 error flag.
13516
13517 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13518
13519 [BZ #11869]
13520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13521 alloca.
13522 * include/alloca.h (extend_alloca_account): Define.
13523
13524 [BZ #11857]
13525 * posix/regex.h: Fix comments with documentation of user-accessible
13526 fields after compilation and describe correct free'ing of pattern
13527 after re_compile_pattern.
13528 Patch by Reuben Thomas <rrt@sc3d.org>.
13529
13530 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13531
13532 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13533 and -mno-altivec to prevent the compiler from using Altivec and/or
13534 VSX instructions when the corresponding registers are not available.
13535
13536 2011-05-19 Andreas Schwab <schwab@redhat.com>
13537
13538 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13539
13540 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13541
13542 * libio/freopen.c (freopen): Use __dup2, not dup2.
13543 * libio/freopen64.c (freopen64): Likewise.
13544
13545 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13546
13547 [BZ #12775]
13548 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13549 * math/Makefile (tests): Add test-powl.
13550 (CFLAGS-test-powl.c): Define.
13551 * math/test-powl.c: New file.
13552
13553 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13554
13555 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13556
13557 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13558
13559 [BZ #11837]
13560 * iconvdata/gb18030.c: Update to GB18020-2005.
13561
13562 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13563
13564 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13565 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13566 Patch by Aharon Robbins <arnold@skeeve.com>.
13567
13568 [BZ #11892]
13569 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13570 on the stack.
13571
13572 [BZ #11895]
13573 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13574 through underflows.
13575
13576 [BZ #12766]
13577 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13578 point to strings before performing equality test for error_one_per_line
13579 mode.
13580
13581 [BZ #11697]
13582 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13583
13584 [BZ #11820]
13585 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13586 (struct user_fpregs_struct): Avoid __uint*_t types.
13587
13588 [BZ #6420]
13589 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13590 symbol info. Use it instead of calling _dl_addr locally.
13591 (lock_and_info): New function.
13592 (tr_freehook): Call lock_and_info and pass symbol info as additional
13593 parameter to tr_where.
13594 (tr_mallochook): Likewise.
13595 (tr_reallochook): Likewise.
13596 (tr_memalignhook): Likewise.
13597
13598 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13599 used and couldn't be at all thread-safe.
13600
13601 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13602
13603 * libio/freopen.c (freopen): Don't close old file descriptor
13604 before the new one is opened. Instead dup the new file descriptor
13605 to the old one after the new stream is created.
13606 * libio/freopen64.c (freopen64): Likewise.
13607 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13608 * libio/fileops.c (_IO_new_file_close_it): Handle new
13609 _IO_FLAGS2_NOCLOSE flag.
13610 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13611 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13612 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13613 _IO_FLAGS2_NOCLOSE flag.
13614 * include/unistd.h: Add hidden_proto for dup3.
13615 Define __have_dup3.
13616 * io/dup3.c: Define hidden symbol.
13617 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13618
13619 [BZ #7101]
13620 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13621 when an incomplete long option is used.
13622 * posix/tst-getopt_long1.c: New file.
13623 * posix/Makefile (tests): Add tst-getopt_long1.
13624
13625 [BZ #10138]
13626 * scripts/config.guess: Update from autoconf-2.68.
13627 * scripts/config.sub: Likewise.
13628
13629 [BZ #10157]
13630 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13631 tests into ...
13632 (has_cpuclock): ...this. New function.
13633 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13634 macro here based on has_cpuclock code.
13635
13636 [BZ #10149]
13637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13638 First byte (not low byte) is now always NUL.
13639 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13640
13641 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13642 Use non-cancelable interfaces.
13643
13644 [BZ #9809]
13645 * locale/iso-639.def: Add entry for Sorani.
13646
13647 [BZ #11901]
13648 * include/stdlib.h: Move include protection to the right place.
13649 Define abort_msg_s. Declare __abort_msg with it.
13650 * stdlib/abort.c (__abort_msg): Adjust type.
13651 * assert/assert.c (__assert_fail_base): New function. Majority
13652 of code from __assert_fail. Allocate memory for __abort_msg with
13653 mmap.
13654 (__assert_fail): Now call __assert_fail_base.
13655 * assert/assert-perr.c: Remove bulk of implementation. Use
13656 __assert_fail_base.
13657 * include/assert.hL Declare __assert_fail_base.
13658 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13659 mmap.
13660 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13661
13662 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13663
13664 [BZ #11952]
13665 [BZ #12453]
13666 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13667 until all modules are registered in the DTV.
13668 * elf/Makefile: Add rules to build and run tst-tls19.
13669 * elf/tst-tls19.c: New file.
13670 * elf/tst-tls19mod1.c: New file.
13671 * elf/tst-tls19mod2.c: New file.
13672 * elf/tst-tls19mod3.c: New file.
13673 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13674
13675 [BZ #12083]
13676 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13677 correctly.
13678
13679 [BZ #12601]
13680 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13681 two-byte sequence errors.
13682 * iconvdata/Makefile (tests): Add bug-iconv8.
13683 * iconvdata/bug-iconv8.c: New file.
13684
13685 [BZ #12626]
13686 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13687 buf2 definition.
13688
13689 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13690
13691 [BZ #12432]
13692 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13693 (dummy_getcfa): New function.
13694 (init): Get _Unwind_GetCFA address, use dummy if not found.
13695 (backtrace_helper): In recursion check, also check whether CFA changes.
13696 (__backtrace): Completely initialize arg.
13697
13698 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13699 storing incomplete byte sequence in state object. Avoid testing for
13700 guaranteed too small input if we know there is enough data available.
13701
13702 2011-05-11 Andreas Schwab <schwab@redhat.com>
13703
13704 * Makeconfig (+link-pie): Indent.
13705 * Rules (binaries-pie): Define if $(have-fpie) and
13706 $(build-shared).
13707 (binaries-shared): Also filter out $(binaries-pie).
13708 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13709 * nscd/Makefile (others-pie): Add nscd.
13710 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13711 ($(objpfx)nscd): Remove command override.
13712 * login/Makefile (others-pie): Add pt_chown.
13713 ($(objpfx)pt_chown): Remove command override.
13714 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13715 remove command overrides.
13716
13717 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13718
13719 * libio/tst_putwc.c: Fix error messages.
13720
13721 [BZ #12724]
13722 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13723 currently writing and seek to current position when not.
13724 * libio/Makefile (tests): Add bug-fclose1.
13725 * libio/bug-fclose1.c: New file.
13726
13727 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13728
13729 [BZ #12511]
13730 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13731 don't set DF_1_NODELETE here.
13732 (do_lookup_x): When entering new entry test for copy relocation
13733 and if necessary set DF_1_NODELETE flag.
13734 * elf/tst-unique4.cc: New file.
13735 * elf/tst-unique4.h: New file.
13736 * elf/tst-unique4lib.cc: New file.
13737 * elf/Makefile: Add rules to build and run tst-unique4.
13738 Patch by Piotr Bury <pbury@goahead.com>.
13739
13740 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13741
13742 [BZ #12052]
13743 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13744
13745 [BZ #12625]
13746 * misc/mntent_r.c (addmntent): Flush the stream after the output
13747
13748 [BZ #12393]
13749 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13750 (is_trusted_path_normalize): Skip initial colon. Append slash
13751 to empty buffer. Duplicate is_trusted_path code but allow
13752 constructed patch to be prefix.
13753 (is_dst): Allow $ORIGIN followed by /.
13754 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13755 Correct testing of result of is_trusted_path_normalize
13756 (decompose_rpath): Fix warning.
13757
13758 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13759
13760 [BZ #11257]
13761 * grp/initgroups.c (internal_getgrouplist): When we found the service
13762 list through the initgroups entry in nsswitch.conf do not always
13763 continue on a successful lookup. Don't always use the
13764 __nss_group_database value if it is set.
13765 * nss/nsswitch.conf (initgroups): Change action for successful db
13766 lookup to continue for compatibility.
13767
13768 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13769
13770 [BZ #11532]
13771 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13772 and CP774 modules.
13773 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13774 and CP774 modules.
13775 * iconvdata/tst-tables.sh: Likewise.
13776 * iconvdata/cp770.c: New file.
13777 * iconvdata/cp771.c: New file.
13778 * iconvdata/cp772.c: New file.
13779 * iconvdata/cp773.c: New file.
13780 * iconvdata/cp774.c: New file.
13781 * iconvdata/testdata/CP770: New file.
13782 * iconvdata/testdata/CP770..UTF8: New file.
13783 * iconvdata/testdata/CP771: New file.
13784 * iconvdata/testdata/CP771..UTF8: New file.
13785 * iconvdata/testdata/CP772: New file.
13786 * iconvdata/testdata/CP772..UTF8: New file.
13787 * iconvdata/testdata/CP773: New file.
13788 * iconvdata/testdata/CP773..UTF8: New file.
13789 * iconvdata/testdata/CP774: New file.
13790 * iconvdata/testdata/CP774..UTF8: New file.
13791
13792 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13793 END CHARMAP line.
13794 * iconvdata/gen-8bit-gap.sh: Likewise.
13795 * iconvdata/gen-8bit.sh: Likewise.
13796
13797 * locale/iso-639.def: Add ary entry.
13798
13799 [BZ #11258]
13800 * locale/C-translit.h.in: Add U20A1 transliteration.
13801
13802 [BZ #12178]
13803 * locale/iso-639.def: Add wae entry.
13804 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13805
13806 [BZ #12545]
13807 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13808 for n.
13809
13810 [BZ #12711]
13811 * locale/C-translit.h.in: Add entry for U20B9.
13812 Patch by pravin.d.s@gmail.com.
13813
13814 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13815
13816 [BZ #12713]
13817 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13818 ENAMETOOLONG use generic getcwd.
13819 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13820 in rtld. Use *stat64.
13821 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13822 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13823 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13824 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13825 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13826 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13827 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13828 __fstatat64 macros.
13829 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13830 * dirent/rewinddir.c: Add libc_hidden_def.
13831 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13832 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13833
13834 * include/dirent.h (__alloc_dir): Add flags parameter.
13835 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13836 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13837 __alloc_dir.
13838 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13839 from fdopendir if O_CLOEXEC is already set.
13840
13841 2011-03-15 Alan Modra <amodra@gmail.com>
13842
13843 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13844 l_tls_firstbyte_offset non-zero. Save padding offset in
13845 l_tls_firstbyte_offset for later use.
13846 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13847 freeing static tls block.
13848
13849 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13850
13851 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13852 where #ifdef was intended. The intent is to prevent ARG_MAX from
13853 being defined by the kernel headers.
13854
13855 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13856
13857 [BZ #12734]
13858 * resolv/resolv.h: Define RES_NOTLDQUERY.
13859 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13860 no-tld-query and set RES_NOTLDQUERY.
13861 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13862 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13863 modern BIND to search name as TLD unless forbidden.
13864
13865 2011-05-07 Petr Baudis <pasky@suse.cz>
13866 Ulrich Drepper <drepper@gmail.com>
13867
13868 [BZ #12393]
13869 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13870 (is_trusted_path): ...to here.
13871 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13872 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13873 using is_trusted_path_normalize() in setuid scripts.
13874
13875 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13876
13877 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13878 __BEGIN/__END_DECLS.
13879
13880 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13881
13882 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13883 NSS_STATUS_NOTFOUND if no record was found.
13884
13885 2011-05-05 Andreas Schwab <schwab@redhat.com>
13886
13887 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13888 (headers-not-in-tirpc): Remove rpc/netdb.h
13889 * resolv/netdb.h: Revert last change.
13890
13891 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13892
13893 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13894 circular dependency between libgcc.a and libc.a.
13895
13896 2011-05-05 Andreas Schwab <schwab@redhat.com>
13897
13898 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13899 * nis/Makefile: Don't install rpcsvc/*.
13900 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13901 instead of <rpc/types.h>.
13902 (MAXHOSTNAMELEN): Define.
13903
13904 2011-05-03 Andreas Schwab <schwab@redhat.com>
13905
13906 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13907
13908 2011-04-28 Maciej Babinski <mbabinski@google.com>
13909
13910 [BZ #12714]
13911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13912 gethostbyname4_r when IPv6 results are possible.
13913
13914 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13915
13916 [BZ #12723]
13917 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13918 _PC_PIPE_BUF handling.
13919
13920 2011-04-30 Bruno Haible <bruno@clisp.org>
13921
13922 [BZ #12717]
13923 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13924 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13925 to 'int'.
13926 * inet/getnameinfo.c (getnameinfo): Likewise.
13927
13928 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13929
13930 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13931 to groups setting in database lookup.
13932 * nss/nsswitch.conf: Add initgroups entry.
13933
13934 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13935
13936 [BZ #12685]
13937 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13938 mode string.
13939 Patch by Eric Blake <eblake@redhat.com>.
13940
13941 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13942
13943 * sunrpc/Makefile (need-export-routines): Add svc_run.
13944 (routines): Remove svc_run.
13945 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13946 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13947 * sunrpc/svc_run.c (svc_run): Likewise.
13948 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13949
13950 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13951
13952 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13953 problem in reallocation in last patch.
13954
13955 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13956
13957 * sunrpc/Makefile: Move inclusion of Rules.
13958
13959 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13960
13961 * nss/nss_files/files-initgroups.c: New file.
13962 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13963 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13964 _nss_files_initgroups_dyn.
13965
13966 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13967
13968 * elf/elf.h (R_ARM_IRELATIVE): Define.
13969
13970 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13971
13972 * po/ru.po: Update from translation team.
13973
13974 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13975
13976 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13977 dependencies.
13978
13979 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13980
13981 [BZ #12653]
13982 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13983 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13984 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13985 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13986 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13987
13988 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13989
13990 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13991 differing bytes.
13992 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13994 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13995
13996 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13997
13998 [BZ #12420]
13999 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14000 storing it.
14001 * stdlib/bug-getcontext.c: New file.
14002 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14003
14004 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14005
14006 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14007 instructions into .machine "z9-109".
14008 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14009 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14010
14011 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14012
14013 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14014 between environment variables and auxiliary vector.
14015
14016 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14017
14018 * Makefile: Add rules to build linkobj/libc.so.
14019 * include/libc-symbols.h: Define libc_hidden_nolink.
14020 * include/rpc/auth.h: Mark functions which are to be hidden.
14021 * include/rpc/auth_des.h: Likewise.
14022 * include/rpc/auth_unix.h: Likewise.
14023 * include/rpc/clnt.h: Likewise.
14024 * include/rpc/des_crypt.h: Likewise.
14025 * include/rpc/key_prot.h: Likewise.
14026 * include/rpc/pmap_clnt.h: Likewise.
14027 * include/rpc/pmap_prot.h: Likewise.
14028 * include/rpc/pmap_rmt.h: Likewise.
14029 * include/rpc/rpc_msg.h: Likewise.
14030 * include/rpc/svc.h: Likewise.
14031 * include/rpc/svc_auth.h: Likewise.
14032 * include/rpc/xdr.h: Likewise.
14033 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14034 * nss/Makefile: Likewise.
14035 * sunrpc/Makefile: Don't install headers. Build library with normal
14036 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14037 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14038 for the compat linking library. Remove use of INTDEF/INTUSE.
14039 * sunrpc/auth_none.c: Likewise.
14040 * sunrpc/auth_unix.c: Likewise.
14041 * sunrpc/authdes_prot.c: Likewise.
14042 * sunrpc/authuxprot.c: Likewise.
14043 * sunrpc/clnt_gen.c: Likewise.
14044 * sunrpc/clnt_perr.c: Likewise.
14045 * sunrpc/clnt_raw.c: Likewise.
14046 * sunrpc/clnt_simp.c: Likewise.
14047 * sunrpc/clnt_tcp.c: Likewise.
14048 * sunrpc/clnt_udp.c: Likewise.
14049 * sunrpc/clnt_unix.c: Likewise.
14050 * sunrpc/des_crypt.c: Likewise.
14051 * sunrpc/des_soft.c: Likewise.
14052 * sunrpc/get_myaddr.c: Likewise.
14053 * sunrpc/key_call.c: Likewise.
14054 * sunrpc/key_prot.c: Likewise.
14055 * sunrpc/netname.c: Likewise.
14056 * sunrpc/pm_getmaps.c: Likewise.
14057 * sunrpc/pm_getport.c: Likewise.
14058 * sunrpc/pmap_clnt.c: Likewise.
14059 * sunrpc/pmap_prot.c: Likewise.
14060 * sunrpc/pmap_prot2.c: Likewise.
14061 * sunrpc/pmap_rmt.c: Likewise.
14062 * sunrpc/publickey.c: Likewise.
14063 * sunrpc/rpc_cmsg.c: Likewise.
14064 * sunrpc/rpc_common.c: Likewise.
14065 * sunrpc/rpc_dtable.c: Likewise.
14066 * sunrpc/rpc_prot.c: Likewise.
14067 * sunrpc/rpc_thread.c: Likewise.
14068 * sunrpc/rtime.c: Likewise.
14069 * sunrpc/svc.c: Likewise.
14070 * sunrpc/svc_auth.c: Likewise.
14071 * sunrpc/svc_authux.c: Likewise.
14072 * sunrpc/svc_raw.c: Likewise.
14073 * sunrpc/svc_run.c: Likewise.
14074 * sunrpc/svc_simple.c: Likewise.
14075 * sunrpc/svc_tcp.c: Likewise.
14076 * sunrpc/svc_udp.c: Likewise.
14077 * sunrpc/svc_unix.c: Likewise.
14078 * sunrpc/svcauth_des.c: Likewise.
14079 * sunrpc/xcrypt.c: Likewise.
14080 * sunrpc/xdr.c: Likewise.
14081 * sunrpc/xdr_array.c: Likewise.
14082 * sunrpc/xdr_float.c: Likewise.
14083 * sunrpc/xdr_intXX_t.c: Likewise.
14084 * sunrpc/xdr_mem.c: Likewise.
14085 * sunrpc/xdr_rec.c: Likewise.
14086 * sunrpc/xdr_ref.c: Likewise.
14087 * sunrpc/xdr_sizeof.c: Likewise.
14088 * sunrpc/xdr_stdio.c: Likewise.
14089
14090 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14091
14092 [BZ #12650]
14093 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14094 * sysdeps/ia64/dl-tls.h: Likewise.
14095 * sysdeps/powerpc/dl-tls.h: Likewise.
14096 * sysdeps/s390/dl-tls.h: Likewise.
14097 * sysdeps/sh/dl-tls.h: Likewise.
14098 * sysdeps/sparc/dl-tls.h: Likewise.
14099 * sysdeps/x86_64/dl-tls.h: Likewise.
14100 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14101
14102 2011-03-14 Andreas Schwab <schwab@redhat.com>
14103
14104 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14105 rpath element also skip the following colon.
14106 (expand_dynamic_string_token): Add is_path parameter and pass
14107 down to DL_DST_REQUIRED and _dl_dst_substitute.
14108 (decompose_rpath): Call expand_dynamic_string_token with
14109 non-zero is_path. Ignore empty rpaths.
14110 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14111 with zero is_path.
14112
14113 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14114
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14116 Make cancelable.
14117
14118 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14119
14120 [BZ #12655]
14121 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14122 Patch by Filipe David Manana <fdmanana@apache.org>.
14123
14124 2011-04-07 Andreas Schwab <schwab@redhat.com>
14125
14126 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14127 Maintain aligned stack.
14128 (CHECK_RSP): Remove unused macro.
14129
14130 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14131
14132 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14133 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14134
14135 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14136
14137 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14138
14139 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14140
14141 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14142
14143 [BZ #12518]
14144 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14145 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14146 * sysdeps/x86_64/memmove.c: New file.
14147 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14148 (memcpy): Renamed to ...
14149 (__new_memcpy): This.
14150 (memcpy): Provide GLIBC_2_14 memcpy.
14151 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14152 (memcpy): Provide GLIBC_2_2_5 memcpy.
14153
14154 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14155
14156 [BZ #12631]
14157 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14158
14159 2011-03-30 Andreas Schwab <schwab@redhat.com>
14160
14161 * misc/syncfs.c: New file.
14162 * misc/Makefile (routines): Add syncfs.
14163 * posix/unistd.h: Declare syncfs.
14164 * sysdeps/unix/syscalls.list: Add syncfs.
14165
14166 2011-04-01 Andreas Schwab <schwab@redhat.com>
14167
14168 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14169 open_by_handle_at.
14170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14171 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14172 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14173 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14175 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14177
14178 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14179
14180 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14181 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14182 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14184 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14186 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14187
14188 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14189 sync_file_range.c with -fexceptions.
14190 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14191 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14192 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14193 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14194 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14195 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14196 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14197 sync_file_range as cancellation point
14198 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14199 now a wrapper around __call_sync_file_range with cancellation handling.
14200 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14201 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14202 function name to __call_sync_file_range.
14203 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14204 Add call_sync_file_range.
14205
14206 2011-04-01 Andreas Schwab <schwab@redhat.com>
14207
14208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14209 bits/timex.h.
14210
14211 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14212
14213 * iconv/iconv.h: Fix typo in comment.
14214 * io/fcntl.h: Likewise.
14215 * libio/stdio.h: Likewise.
14216 * posix/spawn.h: Likewise.
14217 * posix/unistd.h: Likewise.
14218 * stdlib/stdlib.h: Likewise.
14219 * time/time.h: Likewise.
14220 * wcsmbs/wchar.h: Likewise.
14221
14222 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14223 open_by_handle): Add.
14224 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14225 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14226 Augment a few comments.
14227 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14229 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14231 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14232 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14233 open_by_handle.
14234
14235 * io/fcntl.h (AT_EMPTY_PATH): Define.
14236
14237 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14238
14239 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14240 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14241 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14242 to...
14243 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14244 * Versions.def: Add GLIBC_2.14.
14245 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14246 Export.
14247
14248 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14249
14250 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14251 round counter.
14252 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14253
14254 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14255
14256 [BZ #12597]
14257 * string/test-strncmp.c (do_page_test): New function.
14258 (check2): Likewise.
14259 (test_main): Call check2.
14260 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14261
14262 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14263
14264 [BZ #12587]
14265 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14266 Handle cache information in CPU leaf 4.
14267 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14268
14269 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14270
14271 [BZ #12583]
14272 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14273 character representation.
14274 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14275
14276 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14277
14278 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14279 END(__isnan) to END(__isnanf) to match function entry point/label
14280 EALIGN(__isnanf,...).
14281
14282 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14283
14284 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14285
14286 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14287
14288 [BZ #12510]
14289 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14290 copy from the symbol referenced in the relocation to initialize the
14291 used variable.
14292 Patch by Piotr Bury <pbury@goahead.com>.
14293 * elf/Makefile: Add rules to build and tst-unique3.
14294 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14295 * elf/tst-unique3.cc: New file.
14296 * elf/tst-unique3.h: New file.
14297 * elf/tst-unique3lib.cc: New file.
14298 * elf/tst-unique3lib2.cc: New file.
14299
14300 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14301
14302 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14303
14304 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14305 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14306 to _start.
14307
14308 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14309
14310 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14311 to-be-loaded object along a path to loader is ld.so.
14312
14313 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14314 Ulrich Drepper <drepper@gmail.com>
14315
14316 * sysdeps/x86_64/memset.S: After aligning destination, code
14317 branches to different locations depending on the value of
14318 misalignment, when multiarch is enabled. Fix this.
14319
14320 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14321
14322 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14323 Set _x86_64_preferred_memory_instruction for AMD processsors.
14324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14325 Set bit_Prefer_SSE_for_memop for AMD processors.
14326
14327 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14328
14329 * libio/fmemopen.c (fmemopen): Optimize a bit.
14330
14331 2011-03-03 Andreas Schwab <schwab@redhat.com>
14332
14333 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14334
14335 2011-03-03 Roland McGrath <roland@redhat.com>
14336
14337 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14338
14339 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14340
14341 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14342 __bzero_ultra1 instead of __memset_ultra1.
14343
14344 2011-02-23 Andreas Schwab <schwab@redhat.com>
14345 Ulrich Drepper <drepper@gmail.com>
14346
14347 [BZ #12509]
14348 * include/link.h (struct link_map): Add l_orig_initfini.
14349 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14350 returning unsuccessfully.
14351 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14352 close of a file loaded at startup, restore the original l_initfini
14353 list.
14354 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14355 list, store the pointer.
14356 * elf/Makefile ($(objpfx)noload-mem): New rule.
14357 (noload-ENV): Define.
14358 (tests): Add $(objpfx)noload-mem.
14359 * elf/noload.c: Include <memcheck.h>.
14360 (main): Call mtrace. Close all opened handles.
14361
14362 2011-02-17 Andreas Schwab <schwab@redhat.com>
14363
14364 [BZ #12454]
14365 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14366 dependencies are missing.
14367
14368 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14369
14370 Fix __if_freereq crash: Unlike the generic version which uses free,
14371 Hurd needs munmap.
14372 * sysdeps/mach/hurd/ifreq.h: New file.
14373
14374 2011-01-27 Petr Baudis <pasky@suse.cz>
14375 Ulrich Drepper <drepper@gmail.com>
14376
14377 [BZ 12445]#
14378 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14379 to extend_alloca().
14380 * stdio-common/bug23.c: New file.
14381 * stdio-common/Makefile (tests): Add bug23.
14382
14383 2010-09-28 Andreas Schwab <schwab@redhat.com>
14384 Ulrich Drepper <drepper@gmail.com>
14385
14386 [BZ #12489]
14387 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14388 before performing relro protection. At old place add assertion
14389 to make sure nothing changed.
14390
14391 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14392 Glauber de Oliveira Costa <glommer@gmail.com>
14393
14394 * elf/elf.h: Add new ARM TLS relocs.
14395
14396 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14397
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14399 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14400 cast from r3.
14401 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14402 'tests' variable.
14403 * sysdeps/wordsize-64/tst-writev.c: New file.
14404
14405 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14406
14407 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14408 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14409 insns in _dl_start to prevent a TOC reference before relocs are
14410 resolved.
14411
14412 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14413
14414 [BZ #12469]
14415 * Makeconfig: Remove RANLIB definition.
14416 * Makerules: Don't use RANLIB.
14417 * aclocal.m4: Remove ranlib test.
14418 * configure.in: No need to check for ranlib.
14419 * elf/rtld-Rules: Don't use RANLIB.
14420
14421 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14422
14423 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14424 protection macro.
14425 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14426 inclusion protection macro.
14427
14428 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14429 SIGRTMIN and SIGRTMAX and print information in that case only when
14430 SIGRTMIN is defined.
14431
14432 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14433
14434 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14435 arginfo fn returning -1.
14436
14437 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14438 and thousands string is zero terminated.
14439
14440 2011-02-03 Andreas Schwab <schwab@redhat.com>
14441
14442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14443 sysdeps/unix/sysv/linux/bits/socket.h.
14444
14445 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14446
14447 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14448 (__CPU_COUNT): Remove old macros.
14449 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14450 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14451 (__CPU_ALLOC, __CPU_FREE): Add macros.
14452 (__sched_cpualloc, __sched_cpufree): Add declarations.
14453
14454 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14455
14456 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14457 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14458 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14459 (readdhstai): Return value of addhstaiX call.
14460 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14461 (addgrbyX): Return value returned by cache_addgr.
14462 (readdgrbyname): Return value returned by addgrbyX.
14463 (readdgrbygid): Likewise.
14464 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14465 (addpwbyX): Return value returned by cache_addpw.
14466 (readdpwbyname): Return value returned by addhstbyX.
14467 (readdpwbyuid): Likewise.
14468 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14469 (addservbyX): Return value returned by cache_addserv.
14470 (readdservbyname): Return value returned by addservbyX:
14471 (readdservbyport): Likewise.
14472 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14473 (addhstbyX): Return value returned by cache_addhst.
14474 (readdhstbyname): Return value returned by addhstbyX.
14475 (readdhstbyaddr): Likewise.
14476 (readdhstbynamev6): Likewise.
14477 (readdhstbyaddrv6): Likewise.
14478 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14479 (readdinitgroups): Return value returned by addinitgroupsX.
14480 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14481 (prune_cache): Keep track of timeout value of re-added entries.
14482 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14483 * nscd/nscd.h: Adjust prototypes of readd* functions.
14484
14485 2011-02-04 Roland McGrath <roland@redhat.com>
14486
14487 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14488 (nis_stats): Likewise.
14489 * nis/nis_modify.c (nis_modify): Likewise.
14490 * nis/nis_remove.c (nis_remove): Likewise.
14491 * nis/nis_add.c (nis_add): Likewise.
14492
14493 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14494
14495 * posix/fnmatch_loop.c: Add some consts.
14496
14497 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14498
14499 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14500
14501 [BZ #12460]
14502 * config.make.in (config-cflags-novzeroupper): Define.
14503 * configure.in: Substitute libc_cv_cc_novzeroupper.
14504 * elf/Makefile (AVX-CFLAGS): Define.
14505 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14506 (CFLAGS-tst-auditmod4a.c): Likewise.
14507 (CFLAGS-tst-auditmod4b.c): Likewise.
14508 (CFLAGS-tst-auditmod6b.c): Likewise.
14509 (CFLAGS-tst-auditmod6c.c): Likewise.
14510 (CFLAGS-tst-auditmod7b.c): Likewise.
14511 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14512
14513 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14514
14515 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14516 function to the callback.
14517 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14518
14519 2011-02-02 Andreas Schwab <schwab@redhat.com>
14520
14521 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14522 of errno.
14523
14524 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14525
14526 [BZ #11724]
14527 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14528 of constructors.
14529 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14530 of destructors.
14531 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14532
14533 [BZ #11724]
14534 * elf/Makefile: Add rules to build and run new test.
14535 * elf/tst-initorder.c: New file.
14536 * elf/tst-initorder.exp: New file.
14537 * elf/tst-initordera1.c: New file.
14538 * elf/tst-initordera2.c: New file.
14539 * elf/tst-initordera3.c: New file.
14540 * elf/tst-initordera4.c: New file.
14541 * elf/tst-initorderb1.c: New file.
14542 * elf/tst-initorderb2.c: New file.
14543 * elf/tst-order-a1.c: New file.
14544 * elf/tst-order-a2.c: New file.
14545 * elf/tst-order-a3.c: New file.
14546 * elf/tst-order-a4.c: New file.
14547 * elf/tst-order-b1.c: New file.
14548 * elf/tst-order-b2.c: New file.
14549 * elf/tst-order-main.c: New file.
14550 New test case by George Gensure <werkt0@gmail.com>.
14551
14552 2010-10-01 Andreas Schwab <schwab@redhat.com>
14553
14554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14555 decoding ACE if AI_CANONIDN.
14556
14557 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14558
14559 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14560
14561 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14562
14563 * version.h (RELEASE): Bump for 2.13 release.
14564 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14565
14566 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14567
14568 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14569 MADV_NOHUGEPAGE.
14570 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14571 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14572 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14573 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14574 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14575 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14576
14577 * posix/getconf.c: Update copyright year.
14578 * catgets/gencat.c: Likewise.
14579 * csu/version.c: Likewise.
14580 * debug/catchsegv.sh: Likewise.
14581 * debug/xtrace.sh: Likewise.
14582 * elf/ldconfig.c: Likewise.
14583 * elf/ldd.bash.in: Likewise.
14584 * elf/sprof.c (print_version): Likewise.
14585 * iconv/iconv_prog.c: Likewise.
14586 * iconv/iconvconfig.c: Likewise.
14587 * locale/programs/locale.c: Likewise.
14588 * locale/programs/localedef.c: Likewise.
14589 * malloc/memusage.sh: Likewise.
14590 * malloc/mtrace.pl: Likewise.
14591 * nscd/nscd.c (print_version): Likewise.
14592 * nss/getent.c: Likewise.
14593
14594 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14595 PF_CAIF, and PF_ALG.
14596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14597
14598 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14599
14600 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14601 (modules-names): Use them.
14602 (ifunc-test-modules, ifunc-pie-tests): Define.
14603 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14604 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14605 (test-extras): Likewise.
14606 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14607 $(compile-command.c).
14608 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14609 (all-built-dso): Define.
14610 (check-textrel.out, check-execstack.out): Depend on it.
14611
14612 * configure.in: Don't override --enable-multi-arch.
14613
14614 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14615
14616 [BZ #6812]
14617 * nscd/hstcache.c (tryagain): Define.
14618 (cache_addhst): Return tryagain not notfound for temporary errors.
14619 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14620 failed.
14621
14622 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14623
14624 [BZ #10563]
14625 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14626 to make the syscall.
14627 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14628
14629 [BZ #12378]
14630 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14631 and fall back to matching as normal character if the string ends before
14632 the matching ']' is found. This is what POSIX requires.
14633 * posix/testfnm.c: Adjust test result.
14634 * posix/globtest.sh: Adjust test result. Add new test.
14635 * posix/tst-fnmatch.input: Likewise.
14636 * posix/tst-fnmatch2.c: Add new test.
14637
14638 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14639
14640 * elf/Makefile (check-execstack): Revert last change. Depend on
14641 check-execstack.h.
14642 (check-execstack.h): New target.
14643 (generated): Add check-execstack.h.
14644 * elf/check-execstack.c: Include "check-execstack.h".
14645 (main): Revert last change.
14646 (handle_file): Return zero if GNU_STACK is absent and
14647 DEFAULT_STACK_PERMS doesn't include PF_X.
14648
14649 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14650
14651 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14652 in child fails because the descriptor is already closed.
14653 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14654 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14655 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14656
14657 [BZ #12397]
14658 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14659 syscall.
14660
14661 [BZ #10484]
14662 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14663 temporary buffer used to handle multi lookups locally.
14664 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14665
14666 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14667
14668 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14669 loader is ld.so.
14670
14671 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14672
14673 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14674 alignment for SSE2.
14675
14676 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14677
14678 [BZ #12394]
14679 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14680 characters. When rounding increased number of integer digits recompute
14681 number of groups.
14682 * stdio-common/tst-grouping.c: New file.
14683 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14684
14685 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14686
14687 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14688 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14689
14690 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14691 void.
14692 * bits/select.h: Likewise.
14693
14694 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14695
14696 * po/ja.po: Update from translation team.
14697
14698 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14699
14700 [BZ #11155]
14701 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14702 implementation just like for lxstat, fxstatat, et al.
14703
14704 2010-12-27 Jim Meyering <meyering@redhat.com>
14705
14706 [BZ #12348]
14707 * posix/regexec.c (build_trtable): Return failure indication upon
14708 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14709
14710 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14711
14712 [BZ #12201]
14713 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14714 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14715 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14716 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14717
14718 [BZ #12207]
14719 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14720
14721 [BZ #12204]
14722 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14723 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14724
14725 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14726
14727 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14728 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14729 script has SORT_BY_INIT_PRIORITY.
14730 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14731 NO_CTORS_DTORS_SECTIONS is defined.
14732 * elf/soinit.c: Likewise.
14733 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14734 NO_CTORS_DTORS_SECTIONS is defined.
14735 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14736 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14737 * sysdeps/sh/init-first.c: Likewise.
14738 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14739
14740 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14741
14742 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14743 always use the slow path.
14744
14745 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14746
14747 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14748 similar rule which adds the sysdep directories to the header search in
14749 order to pick up the correct platform stackinfo.h.
14750 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14751 perform test if it is, otherwise return successfully without testing.
14752 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14753 DEFAULT_STACK_PERMS define in stackinfo.h.
14754 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14755 defined in stackinfo.h.
14756 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14757 DEFAULT_STACK_PERMS defined in stackinfo.h.
14758 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14759 * sysdeps/ia64/stackinfo.h: Likewise.
14760 * sysdeps/s390/stackinfo.h: Likewise.
14761 * sysdeps/sh/stackinfo.h: Likewise.
14762 * sysdeps/sparc/stackinfo.h: Likewise.
14763 * sysdeps/x86_64/stackinfo.h: Likewise.
14764 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14765 PF_X for powerpc64. Retain PF_X for powerpc32.
14766
14767 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14768
14769 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14770 accurately.
14771 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14772 GETDENTS_64BIT_ALIGNED.
14773
14774 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14775
14776 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14777
14778 2010-12-10 Andreas Schwab <schwab@redhat.com>
14779
14780 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14781 _GNU_SOURCE.
14782
14783 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14784 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14785 Remove __restrict.
14786 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14787 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14788
14789 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14790
14791 [BZ #11655]
14792 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14793 are initialized.
14794
14795 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14796
14797 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14798
14799 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14800
14801 * po/it.po: Update from translation team.
14802
14803 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14804
14805 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14806 unused codes.
14807
14808 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14809
14810 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14811
14812 2010-11-24 Andreas Schwab <schwab@redhat.com>
14813
14814 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14815 specially.
14816 (gaih_getanswer_slice): Likewise.
14817
14818 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14819
14820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14821
14822 2010-05-31 Petr Baudis <pasky@suse.cz>
14823
14824 [BZ #11149]
14825 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14826 silently even in the chroot mode.
14827
14828 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14829
14830 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14831 last patch a bit. Pretty printing
14832
14833 2010-05-31 Petr Baudis <pasky@suse.cz>
14834
14835 [BZ #10085]
14836 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14837 initialization of skip_initgroups_dyn.
14838
14839 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14840
14841 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14842 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14843
14844 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14845
14846 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14847
14848 2010-11-11 Andreas Schwab <schwab@redhat.com>
14849
14850 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14851 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14852 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14853 ($(objpfx)tst-fnmatch-mem): New rule.
14854 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14855 * posix/tst-fnmatch.c (main): Call mtrace.
14856
14857 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14858
14859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14860 Support Intel processor model 6 and model 0x2c.
14861
14862 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14863
14864 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14865 signed comparison.
14866
14867 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14868
14869 [BZ #12205]
14870 * string/test-strncasecmp.c (check_result): New function.
14871 (do_one_test): Use it.
14872 (check1): New function.
14873 (test_main): Use it.
14874 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14875 Support strcasecmp and strncasecmp.
14876
14877 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14878
14879 [BZ #12194]
14880 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14881 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14882
14883 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14884
14885 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14886 IFUNC support.
14887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14888 memset-x86-64.
14889 * sysdeps/x86_64/multiarch/bzero.S: New file.
14890 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14891 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14892 * sysdeps/x86_64/multiarch/memset.S: New file.
14893 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14895 Set bit_Prefer_SSE_for_memop for Intel processors.
14896 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14897 Define.
14898 (index_Prefer_SSE_for_memop): Define.
14899 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14900
14901 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14902
14903 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14904 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14905
14906 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14907
14908 [BZ #12191]
14909 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14910 (__x86_64_raw_data_cache_size_half): Likewise.
14911 (__x86_64_raw_shared_cache_size): Likewise.
14912 (__x86_64_raw_shared_cache_size_half): Likewise.
14913
14914 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14915 (__x86_64_raw_data_cache_size_half): Likewise.
14916 (__x86_64_raw_shared_cache_size): Likewise.
14917 (__x86_64_raw_shared_cache_size_half): Likewise.
14918 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14919 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14920 and __x86_64_raw_shared_cache_size_half. Round
14921 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14922 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14923 to multiple of 256 bytes.
14924
14925 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14926
14927 [BZ #12167]
14928 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14929 of inacessible symlinks. Verify result of symlink before returning it.
14930 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14931 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14932
14933 2010-10-28 Erich Ritz <erichritz@gmail.com>
14934
14935 * math/math.h (isinf): Fix typo in comment.
14936
14937 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14938
14939 * po/da.po: Update from translation team.
14940
14941 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14942
14943 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14944 is added to the list.
14945
14946 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14947 Ulrich Drepper <drepper@gmail.com>
14948
14949 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14950 the global list here. Move code to...
14951 (_dl_add_to_namespace_list): ...here. New function.
14952 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14953 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14954 * elf/dl-load.c (lose): Don't remove the element from the list.
14955 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14956 (_dl_map_object): Likewise.
14957
14958 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14959
14960 [BZ #12159]
14961 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14962 into all bytes of SSE register.
14963 Patch by Richard Li <richardpku@gmail.com>.
14964
14965 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14966
14967 [BZ #12140]
14968 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14969 perturbing.
14970
14971 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14972
14973 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14974 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14975 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14976 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14978 submachine.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14980
14981 2010-10-22 Andreas Schwab <schwab@redhat.com>
14982
14983 * include/dlfcn.h (__RTLD_SECURE): Define.
14984 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14985 mode & __RTLD_SECURE instead.
14986 (open_path): Rename preloaded parameter to secure.
14987 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14988 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14989 * elf/dl-deps.c (openaux): Likewise.
14990 * elf/rtld.c (struct map_args): Remove is_preloaded.
14991 (map_doit): Don't use it.
14992 (dl_main): Likewise.
14993 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14994 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14995
14996 2010-09-09 Andreas Schwab <schwab@redhat.com>
14997
14998 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14999 (sysd-rules-targets): Remove duplicates.
15000 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15001 rtld-%.$o dependency.
15002
15003 2010-10-18 Andreas Schwab <schwab@redhat.com>
15004
15005 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15006 _dl_map_object do it.
15007
15008 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15009
15010 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15011 fast fma builtins, define the macros in the C99 standard.
15012 (FP_FAST_FMAF): Likewise.
15013 (FP_FAST_FMAL): Likewise.
15014 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15015
15016 * bits/mathdef.h: Update copyright year.
15017 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15018
15019 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15020
15021 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15022 builtins, define the macros in the C99 standard.
15023 (FP_FAST_FMAF): Likewise.
15024 (FP_FAST_FMAL): Likewise.
15025 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15026 multiply/add.
15027 (FP_FAST_FMAF): Likewise.
15028
15029 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15030
15031 [BZ #3268]
15032 * math/libm-test.inc (fma_test): Some new testcases.
15033 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15034 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15035 y and infinite z. Do multiplication by C already in long double.
15036 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15038 y and infinite z. Do bitwise or of inexact bit into u.d.
15039 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15040 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15041 * sysdeps/i386/fpu/s_fma.S: Removed.
15042 * sysdeps/i386/fpu/s_fmal.S: Removed.
15043
15044 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15045
15046 [BZ #3268]
15047 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15049 computation is not scheduled after fetestexcept. Fix value
15050 of minimum denormal long double.
15051
15052 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15053
15054 [BZ #3268]
15055 * math/libm-test.inc (fma_test): Add some more tests.
15056 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15057 correctly.
15058
15059 2010-10-15 Andreas Schwab <schwab@redhat.com>
15060
15061 * scripts/data/localplt-s390-linux-gnu.data: New file.
15062 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15063
15064 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15065
15066 [BZ #3268]
15067 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15068 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15069 instead of dbl-64.
15070 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15071 inlines.
15072 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15074 if one of x and y is very large and the other is subnormal.
15075 * sysdeps/s390/fpu/s_fmaf.c: New file.
15076 * sysdeps/s390/fpu/s_fma.c: New file.
15077 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15078 * sysdeps/powerpc/fpu/s_fma.S: New file.
15079 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15080 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15081 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15082
15083 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15084
15085 [BZ #3268]
15086 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15087 fma tests.
15088 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15089 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15090 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15091 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15092 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15093 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15094 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15095
15096 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15097
15098 [BZ #12078]
15099 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15100 * posix/bug-regex31.input: Add test case.
15101
15102 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15103
15104 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15105 * posix/bug-regex31.input: New file.
15106
15107 [BZ #12078]
15108 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15109 (parse_sub_exp): Fix last change, use postorder.
15110
15111 * posix/bug-regex31.c: New file.
15112 * posix/Makefile: Add rules to build and run bug-regex31.
15113
15114 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15115
15116 [BZ #12078]
15117 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15118
15119 [BZ #12108]
15120 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15121 to have entries in sys_siglist.
15122
15123 [BZ #12093]
15124 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15125 be NULL.
15126
15127 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15128
15129 [BZ #3268]
15130 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15131 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15132 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15133 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15134 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15135 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15136 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15137 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15138 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15139 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15140 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15141 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15142 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15143 * math/ftestexcept.c (fetestexcept): Likewise.
15144 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15145 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15146 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15147 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15148 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15149 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15150 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15151
15152 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15153
15154 [BZ #12107]
15155 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15156 newline.
15157
15158 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15159
15160 * string/bug-strstr1.c: New file.
15161 * string/Makefile: Add rules to build and run bug-strstr1.
15162
15163 2010-10-05 Eric Blake <eblake@redhat.com>
15164
15165 [BZ #12092]
15166 * string/str-two-way.h (two_way_long_needle): Always clear memory
15167 when skipping input due to the shift table.
15168
15169 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15170
15171 [BZ #12005]
15172 * malloc/mcheck.c: Handle large requests.
15173
15174 [BZ #12077]
15175 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15176 for strncmp and strncasecmp.
15177 * string/stratcliff.c: Add tests for strcmp and strncmp.
15178 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15179
15180 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15181
15182 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15183 __set_fpscr.
15184
15185 2010-09-30 Andreas Jaeger <aj@suse.de>
15186
15187 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15188 (CGROUP_SUPER_MAGIC): Define.
15189 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15190 Handle btrfs and cgroup file systems.
15191 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15192 Likewise.
15193
15194 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15195
15196 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15197 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15198
15199 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15200
15201 [BZ #12067]
15202 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15203 trying to locate the ELF header.
15204
15205 2010-09-27 Andreas Schwab <schwab@redhat.com>
15206
15207 [BZ #11611]
15208 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15209 Mask out sign-bit copies when constructing f_fsid.
15210
15211 2010-09-24 Petr Baudis <pasky@suse.cz>
15212
15213 * debug/stack_chk_fail_local.c: Add missing licence exception.
15214 * debug/warning-nop.c: Likewise.
15215
15216 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15217
15218 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15219 implementing getdents64 using getdents syscall, set d_type if
15220 __ASSUME_GETDENTS32_D_TYPE.
15221
15222 2010-09-16 Andreas Schwab <schwab@redhat.com>
15223
15224 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15225 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15226
15227 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15228
15229 [BZ #12037]
15230 * posix/unistd.h: Undo change of feature selection for ftruncate from
15231 2010-01-11.
15232
15233 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15234
15235 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15236 detection.
15237
15238 2010-09-20 Andreas Schwab <schwab@redhat.com>
15239
15240 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15241 fanotify_mark.
15242 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15243
15244 2010-09-14 Andreas Schwab <schwab@redhat.com>
15245
15246 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15247 variables after CHECK_SP call.
15248 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15249
15250 2010-09-13 Andreas Schwab <schwab@redhat.com>
15251 Ulrich Drepper <drepper@redhat.com>
15252
15253 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15254 re-relocationg ld.so.
15255 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15256 _dl_init_paths call.
15257 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15258 here anymore.
15259
15260 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15261
15262 * resolv/res_init.c (__res_vinit): Count the default server we added.
15263
15264 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15265 Ulrich Drepper <drepper@redhat.com>
15266
15267 [BZ #11968]
15268 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15269 (____longjmp_chk): Use %ebx for saving value across system call.
15270 Add unwind info.
15271
15272 2010-09-06 Andreas Schwab <schwab@redhat.com>
15273
15274 * manual/Makefile: Don't mix pattern rules with normal rules.
15275
15276 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15277
15278 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15279 operation.
15280 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15281 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15282 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15283 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15284 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15285 Likewise.
15286
15287 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15288
15289 [BZ #11979]
15290 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15291 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15292
15293 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15294
15295 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15296 * sysdeps/x86_64/addmul_1.S: Likewise.
15297 * sysdeps/x86_64/lshift.S: Likewise.
15298 * sysdeps/x86_64/mul_1.S: Likewise.
15299 * sysdeps/x86_64/rshift.S: Likewise.
15300 * sysdeps/x86_64/sub_n.S: Likewise.
15301 * sysdeps/x86_64/submul_1.S: Likewise.
15302
15303 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15304
15305 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15306 Define __sched_param instead of SCHED_* and sched_param when
15307 <bits/sched.h> is included with __need_schedparam defined.
15308 * bits/sched.h [__need_schedparam]
15309 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15310 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15311 (__defined_schedparam): Define to 1.
15312 (__sched_param): New structure, identical to sched_param.
15313 (__need_schedparam): Undefine.
15314
15315 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15316
15317 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15318 (epoll_create1): Declare.
15319
15320 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15321
15322 2010-08-31 Andreas Schwab <schwab@redhat.com>
15323
15324 [BZ #7066]
15325 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15326 shifting retval into place.
15327
15328 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15329
15330 * nis/rpcsvc/nis.h: Update copyright notice.
15331 * nis/rpcsvc/nis.x: Likewise.
15332 * nis/rpcsvc/nis_callback.h: Likewise.
15333 * nis/rpcsvc/nis_callback.x: Likewise.
15334 * nis/rpcsvc/nis_object.x: Likewise.
15335 * nis/rpcsvc/nis_tags.h: Likewise.
15336 * nis/rpcsvc/yp.h: Likewise.
15337 * nis/rpcsvc/yp.x: Likewise.
15338 * nis/rpcsvc/ypupd.h: Likewise.
15339 * nis/yp_xdr.c: Likewise.
15340 * nis/ypupdate_xdr.c: Likewise.
15341
15342 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15343 mainly the body of pmap_getport. Add parameters to specify timeouts.
15344 (pmap_getport): Use __libc_rpc_getport.
15345 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15346 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15347 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15348
15349 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15350
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15352 fanotify_mark.
15353
15354 2010-08-27 Roland McGrath <roland@redhat.com>
15355
15356 * sysdeps/i386/i686/multiarch/Makefile
15357 (CFLAGS-varshift.c): New variable.
15358
15359 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15360
15361 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15362 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15363
15364 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15365
15366 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15367
15368 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15369
15370 * sysdeps/x86_64/strlen.S: Unroll the loop.
15371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15372 strlen-sse2 strlen-sse2-bsf.
15373 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15374 __strlen_no_bsf if bit_Slow_BSF is set.
15375 (__strlen_sse42): Removed.
15376 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15377 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15378
15379 2010-08-25 Roland McGrath <roland@redhat.com>
15380
15381 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15382 * sysdeps/x86_64/multiarch/varshift.c: New file.
15383 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15384 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15385 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15386 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15387
15388 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15389
15390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15391 strlen-sse2 strlen-sse2-bsf.
15392 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15393 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15394 (__strlen_sse2): Removed.
15395 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15396 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15398 bit_Slow_BSF for Atom.
15399 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15400 (index_Slow_BSF): Define.
15401 (HAS_SLOW_BSF): Define.
15402
15403 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15404
15405 [BZ #10851]
15406 * resolv/res_init.c (__res_vinit): When no server address at all
15407 is given default to loopback.
15408
15409 2010-08-24 Roland McGrath <roland@redhat.com>
15410
15411 * configure.in: Remove config-name.h generation.
15412 * configure: Regenerated.
15413 * config-name.in: File removed.
15414 * scripts/config-uname.sh: New file.
15415 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15416 ($(objdir)config-name.h): New target.
15417
15418 * sunrpc/rpc_parse.h: Avoid nested comment.
15419
15420 2010-08-24 Richard Henderson <rth@redhat.com>
15421 Ulrich Drepper <drepper@redhat.com>
15422 H.J. Lu <hongjiu.lu@intel.com>
15423
15424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15426 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15427 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15428 _mm_alignr_epi8 with _mm_loadu_si128.
15429 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15430 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15431 (__m128i_shift_right): Removed.
15432 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15433 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15434 * sysdeps/x86_64/multiarch/varshift.h: New file.
15435 * sysdeps/x86_64/multiarch/varshift.S: New file.
15436
15437 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15438
15439 * configure.in: Move assembler checks to before sysdep dir checking.
15440
15441 2010-08-20 Petr Baudis <pasky@suse.cz>
15442
15443 * LICENSES: Sync the sunrpc license.
15444
15445 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15446
15447 * sunrpc/auth_des.c: Update copyright notice once again.
15448 * sunrpc/auth_none.c: Likewise.
15449 * sunrpc/auth_unix.c: Likewise.
15450 * sunrpc/authdes_prot.c: Likewise.
15451 * sunrpc/authuxprot.c: Likewise.
15452 * sunrpc/bindrsvprt.c: Likewise.
15453 * sunrpc/clnt_gen.c: Likewise.
15454 * sunrpc/clnt_perr.c: Likewise.
15455 * sunrpc/clnt_raw.c: Likewise.
15456 * sunrpc/clnt_simp.c: Likewise.
15457 * sunrpc/clnt_tcp.c: Likewise.
15458 * sunrpc/clnt_udp.c: Likewise.
15459 * sunrpc/clnt_unix.c: Likewise.
15460 * sunrpc/des_crypt.c: Likewise.
15461 * sunrpc/des_soft.c: Likewise.
15462 * sunrpc/get_myaddr.c: Likewise.
15463 * sunrpc/getrpcport.c: Likewise.
15464 * sunrpc/key_call.c: Likewise.
15465 * sunrpc/key_prot.c: Likewise.
15466 * sunrpc/openchild.c: Likewise.
15467 * sunrpc/pm_getmaps.c: Likewise.
15468 * sunrpc/pm_getport.c: Likewise.
15469 * sunrpc/pmap_clnt.c: Likewise.
15470 * sunrpc/pmap_prot.c: Likewise.
15471 * sunrpc/pmap_prot2.c: Likewise.
15472 * sunrpc/pmap_rmt.c: Likewise.
15473 * sunrpc/rpc/auth.h: Likewise.
15474 * sunrpc/rpc/auth_unix.h: Likewise.
15475 * sunrpc/rpc/clnt.h: Likewise.
15476 * sunrpc/rpc/des_crypt.h: Likewise.
15477 * sunrpc/rpc/key_prot.h: Likewise.
15478 * sunrpc/rpc/netdb.h: Likewise.
15479 * sunrpc/rpc/pmap_clnt.h: Likewise.
15480 * sunrpc/rpc/pmap_prot.h: Likewise.
15481 * sunrpc/rpc/pmap_rmt.h: Likewise.
15482 * sunrpc/rpc/rpc.h: Likewise.
15483 * sunrpc/rpc/rpc_des.h: Likewise.
15484 * sunrpc/rpc/rpc_msg.h: Likewise.
15485 * sunrpc/rpc/svc.h: Likewise.
15486 * sunrpc/rpc/svc_auth.h: Likewise.
15487 * sunrpc/rpc/types.h: Likewise.
15488 * sunrpc/rpc/xdr.h: Likewise.
15489 * sunrpc/rpc_clntout.c: Likewise.
15490 * sunrpc/rpc_cmsg.c: Likewise.
15491 * sunrpc/rpc_common.c: Likewise.
15492 * sunrpc/rpc_cout.c: Likewise.
15493 * sunrpc/rpc_dtable.c: Likewise.
15494 * sunrpc/rpc_hout.c: Likewise.
15495 * sunrpc/rpc_main.c: Likewise.
15496 * sunrpc/rpc_parse.c: Likewise.
15497 * sunrpc/rpc_parse.h: Likewise.
15498 * sunrpc/rpc_prot.c: Likewise.
15499 * sunrpc/rpc_sample.c: Likewise.
15500 * sunrpc/rpc_scan.c: Likewise.
15501 * sunrpc/rpc_scan.h: Likewise.
15502 * sunrpc/rpc_svcout.c: Likewise.
15503 * sunrpc/rpc_tblout.c: Likewise.
15504 * sunrpc/rpc_util.c: Likewise.
15505 * sunrpc/rpc_util.h: Likewise.
15506 * sunrpc/rpcinfo.c: Likewise.
15507 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15508 * sunrpc/rpcsvc/key_prot.x: Likewise.
15509 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15510 * sunrpc/rpcsvc/mount.x: Likewise.
15511 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15512 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15513 * sunrpc/rpcsvc/rex.x: Likewise.
15514 * sunrpc/rpcsvc/rstat.x: Likewise.
15515 * sunrpc/rpcsvc/rusers.x: Likewise.
15516 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15517 * sunrpc/rpcsvc/spray.x: Likewise.
15518 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15519 * sunrpc/rtime.c: Likewise.
15520 * sunrpc/svc.c: Likewise.
15521 * sunrpc/svc_auth.c: Likewise.
15522 * sunrpc/svc_authux.c: Likewise.
15523 * sunrpc/svc_raw.c: Likewise.
15524 * sunrpc/svc_run.c: Likewise.
15525 * sunrpc/svc_simple.c: Likewise.
15526 * sunrpc/svc_tcp.c: Likewise.
15527 * sunrpc/svc_udp.c: Likewise.
15528 * sunrpc/svc_unix.c: Likewise.
15529 * sunrpc/svcauth_des.c: Likewise.
15530 * sunrpc/xcrypt.c: Likewise.
15531 * sunrpc/xdr.c: Likewise.
15532 * sunrpc/xdr_array.c: Likewise.
15533 * sunrpc/xdr_float.c: Likewise.
15534 * sunrpc/xdr_mem.c: Likewise.
15535 * sunrpc/xdr_rec.c: Likewise.
15536 * sunrpc/xdr_ref.c: Likewise.
15537 * sunrpc/xdr_sizeof.c: Likewise.
15538 * sunrpc/xdr_stdio.c: Likewise.
15539
15540 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15541 handling.
15542
15543 2010-08-19 Andreas Schwab <schwab@redhat.com>
15544
15545 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15546
15547 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15548
15549 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15550 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15551 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15552 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15553 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15554 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15555 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15556 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15557 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15558 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15559 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15560 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15561 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15562 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15563
15564 2010-07-26 Anton Blanchard <anton@samba.org>
15565
15566 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15567 * malloc/arena.c (heap_trim): Likewise.
15568
15569 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15570
15571 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15572 here. Not...
15573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15574 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15575
15576 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15577
15578 * sysdeps/i386/elf/Makefile: New file.
15579
15580 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15581
15582 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15583 from fanotify_init.
15584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15586
15587 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15588
15589 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15590 of strncasecmp_l.
15591 * sysdeps/multiarch/strcmp.S: Likewise.
15592
15593 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15594
15595 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15596 strncase_l-nonascii.
15597 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15598 Add strncase_l-ssse3.
15599 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15600 * sysdeps/x86_64/strcmp.S: Likewise.
15601 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15602 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15603 * sysdeps/x86_64/strncase.S: New file.
15604 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15605 * sysdeps/x86_64/strncase_l.S: New file.
15606 * string/Makefile (strop-tests): Add strncasecmp.
15607 * string/test-strncasecmp.c: New file.
15608
15609 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15610 warning.
15611
15612 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15613 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15614
15615 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15616
15617 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15618
15619 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15620
15621 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15622 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15623 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15624
15625 2010-05-01 Alan Modra <amodra@gmail.com>
15626
15627 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15628 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15629 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15630 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15631 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15632 tidying. Don't tail-call __sigjmp_save for static lib.
15633 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15634 save location.
15635 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15636 (CALL_MCOUNT): Add eh info, and nop after bl.
15637 (TAIL_CALL_SYSCALL_ERROR): New macro.
15638 (PSEUDO_RET): Use it.
15639 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15640 Correct save location of integer regs and cr.
15641 (_dl_profile_resolve): Correct cr save location. Delete nops
15642 after bl when SHARED. Reduce cfi size a little by better
15643 placement of cfi directives.
15644 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15645 make a stack frame. Instead use parm save area as a temp.
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15647 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15649 Don't make a stack frame for parent, use parm save area.
15650 Increase child stack frame to 112 bytes. Don't save unused reg,
15651 and adjust reg usage. Set up cfi on error recovery and
15652 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15654 (__makecontext): Add dummy nop after jump to exit.
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15656 Use correct parm save area and cr save, reduce stack frame.
15657 Correct cfi for possible PSEUDO_RET frame setup.
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15659 Branch to local label emitted by PSEUDO_RET rather than
15660 __syscall_error.
15661
15662 2010-08-12 Andreas Schwab <schwab@redhat.com>
15663
15664 [BZ #11904]
15665 * locale/programs/locale.c (print_assignment): New function.
15666 (show_locale_vars): Use it.
15667
15668 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15669
15670 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15671 field.
15672 (struct statfs64): Likewise.
15673 (_STATFS_F_FLAGS): Define.
15674 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15675 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15676 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15677 (ST_VALID): Define locally.
15678 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15679 __statvfs_getflags, use the provided value.
15680 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15681 __ASSUME_STATFS_F_FLAGS.
15682
15683 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15684
15685 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15686 Add sys/fanotify.h.
15687 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15688 fanotify_mask for GLIBC_2.13.
15689 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15690 fanotify_init and fanotify_mark.
15691 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15692 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15693
15694 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15695 Add prlimit.
15696 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15697 prlimit64 for GLIBC_2.13.
15698 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15699 prlimit64.
15700 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15701 syscall.
15702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15703 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15704 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15705 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15706 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15707 add prlimit alias.
15708 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15709
15710 [BZ #11903]
15711 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15712 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15713
15714 * nss/Makefile: Add rules to build and run tst-nss-test1.
15715 * shlib-versions: Add entry for libnss_test1.
15716 * nss/nss_test1.c: New file.
15717 * nss/tst-nss-test1.c: New file.
15718
15719 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15720 (__nss_configure_lookup): Set appropriate entry in
15721 __nss_configure_lookup to true.
15722 * nss/nsswitch.h: Define enum with indeces of databases in
15723 databases and __nss_database_custom arrays. Declare
15724 __nss_database_custom.
15725 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15726 to avoid using nscd when custom rules are installed.
15727 * nss/getXXbyYY_r.c: Likewise.
15728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15729
15730 * nss/nss_files/files-parse.c: Whitespace fixes.
15731
15732 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15733
15734 [BZ #11883]
15735 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15736 * posix/fnmatch_loop.c: Likewise.
15737
15738 2010-07-17 Andi Kleen <ak@linux.intel.com>
15739
15740 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15741 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15742 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15743 * Versions.def [GLIBC_2.13]: Add.
15744
15745 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15746
15747 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15748 Also fail if tpwd after pwuid call is NULL.
15749
15750 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15751
15752 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15753 when converting to ms.
15754
15755 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15756
15757 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15758 EOPNOTSUPP errors with ENOTTY.
15759 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15760 EOPNOTSUPP errors with ENOTTY.
15761
15762 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15763
15764 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15765 Add strcasecmp_l-ssse3.
15766 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15767 strcasecmp.
15768 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15769 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15770 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15771
15772 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15773
15774 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15775
15776 * string/Makefile (strop-tests): Add strcasecmp.
15777 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15778 strcasecmp_l-nonascii.
15779 (gen-as-const-headers): Add locale-defines.sym.
15780 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15781 * sysdeps/x86_64/strcasecmp.S: New file.
15782 * sysdeps/x86_64/strcasecmp_l.S: New file.
15783 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15784 * sysdeps/x86_64/locale-defines.sym: New file.
15785 * string/test-strcasecmp.c: New file.
15786
15787 * string/test-strcasestr.c: Test both ends of the range of characters.
15788 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15789
15790 2010-07-29 Roland McGrath <roland@redhat.com>
15791
15792 [BZ #11856]
15793 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15794
15795 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15796
15797 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15798 for ld.so.
15799
15800 2010-07-27 Andreas Schwab <schwab@redhat.com>
15801
15802 * manual/memory.texi (Malloc Tunable Parameters): Document
15803 M_PERTURB.
15804
15805 2010-07-26 Roland McGrath <roland@redhat.com>
15806
15807 [BZ #11840]
15808 * configure.in (-fgnu89-inline check): Set and substitute
15809 gnu89_inline, not libc_cv_gnu89_inline.
15810 * configure: Regenerated.
15811 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15812
15813 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15814
15815 * string/test-strnlen.c: New file.
15816 * string/Makefile (strop-tests): Add strnlen.
15817 * string/tester.c (test_strnlen): Add a few more test cases.
15818 * string/tst-strlen.c: Better error reporting.
15819
15820 * sysdeps/x86_64/strnlen.S: New file.
15821
15822 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15823
15824 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15825 lower-latency instructions.
15826
15827 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15828
15829 * string/test-strcasestr.c: New file.
15830 * string/test-strstr.c: New file.
15831 * string/Makefile (strop-tests): Add strstr and strcasestr.
15832 * string/str-two-way.h: Don't undefine MAX.
15833 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15834
15835 2010-07-21 Andreas Schwab <schwab@redhat.com>
15836
15837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15838 strcasestr-nonascii.
15839 (CFLAGS-strcasestr-nonascii.c): Define.
15840 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15841 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15842 Remove unused attribute.
15843
15844 2010-07-20 Roland McGrath <roland@redhat.com>
15845
15846 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15847 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15848 ld.so.cache was broken. With it, there is no way to disable dsocaps
15849 like LD_HWCAP_MASK can disable hwcaps.
15850
15851 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15852
15853 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15854
15855 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15856
15857 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15858 call in strcasestr.
15859 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15860 __strcasestr_sse42_nonascii.
15861 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15862 strcasestr-nonascii.c.
15863 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15864
15865 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15866
15867 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15868 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15869 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15870 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15871
15872 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15873
15874 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15875 fcntl.
15876
15877 2010-07-06 Andreas Schwab <schwab@redhat.com>
15878
15879 [BZ #11577]
15880 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15881 dl_signal_cerror.
15882
15883 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15884
15885 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15886 _PC_PIPE_BUF using F_GETPIPE_SZ.
15887
15888 2010-07-05 Roland McGrath <roland@redhat.com>
15889
15890 * manual/arith.texi (Rounding Functions): Fix rint description
15891 implicit in round description.
15892
15893 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15894
15895 * elf/Makefile: Fix linking for a few tests to make recent linker
15896 happy.
15897
15898 2010-06-30 Andreas Schwab <schwab@redhat.com>
15899
15900 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15901 $(common-objpfx)libc_nonshared.a.
15902
15903 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15904
15905 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15906 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15907 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15908 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15909 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15910 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15911 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15912 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15927 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15928 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15929 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15930 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15931 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15932 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15933 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15934 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15935 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15936 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15937 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15938 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15953
15954 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15955
15956 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15957 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15958 * string/memmove.c (memmove): Renamed to ...
15959 (MEMMOVE): ...this. Default to memmove.
15960 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15961 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15962 (END_CHK): Define.
15963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15964 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15965 mempcpy-ssse3-back memmove-ssse3-back.
15966 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15967 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15968 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15969 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15970 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15971 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15972 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15973 * sysdeps/x86_64/multiarch/memmove.c: New file.
15974 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15975 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15976 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15977 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15978 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15979 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15980 Define.
15981 (index_Fast_Copy_Backward): Define.
15982 (HAS_ARCH_FEATURE): Define.
15983 (HAS_FAST_REP_STRING): Define.
15984 (HAS_FAST_COPY_BACKWARD): Define.
15985
15986 2010-06-21 Andreas Schwab <schwab@redhat.com>
15987
15988 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15989 Restore proper fallback handling.
15990
15991 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15992
15993 [BZ #11701]
15994 * posix/group_member.c (__group_member): Correct checking loop.
15995
15996 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15997 OOM in getpwuid_r correctly. Return error number when the caller
15998 should return, otherwise -1.
15999 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16000 call returning > 0 value.
16001 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16002
16003 2010-06-07 Andreas Schwab <schwab@redhat.com>
16004
16005 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16006 libc_nonshared.a from targets in modules-names.
16007
16008 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16009
16010 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16011 requires it.
16012
16013 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16014
16015 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16016 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16017 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16018 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16019
16020 2010-06-02 Andreas Schwab <schwab@redhat.com>
16021
16022 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16023
16024 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16025
16026 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16027 and F_GETPIPE_SZ.
16028 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16030 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16032 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16033 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16034
16035 2010-06-14 Roland McGrath <roland@redhat.com>
16036
16037 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16038
16039 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16040
16041 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16042 __REDIRECT followed by __THROW.
16043 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16044 * posix/getopt.h (getopt): Likewise.
16045
16046 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16047
16048 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16049 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16050 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16051 in AT_FLAGS.
16052 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16053 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16054
16055 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16056
16057 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16058
16059 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16060
16061 [BZ #11640]
16062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16063 Properly check family and model.
16064
16065 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16066
16067 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16068
16069 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16070
16071 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16072
16073 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16074
16075 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16076 symbol reference.
16077
16078 2010-05-19 Andreas Schwab <schwab@redhat.com>
16079
16080 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16081 symbol reference.
16082
16083 2010-05-21 Andreas Schwab <schwab@redhat.com>
16084
16085 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16086 and internal_recvmmsg.
16087 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16088 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16089 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16090 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16091
16092 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16093 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16094 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16095
16096 2010-05-20 Andreas Schwab <schwab@redhat.com>
16097
16098 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16099
16100 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16101
16102 POWER7 optimizations.
16103 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16104 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16105
16106 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16107
16108 * version.h: Update for 2.13 development version.
16109
16110 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16111
16112 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16113 exceptions. Return 0.
16114
16115 2010-05-07 Roland McGrath <roland@redhat.com>
16116
16117 * elf/ldconfig.c (main): Add a const.
16118
16119 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16120
16121 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16122 (args_options): Add no-idn option.
16123 (ahosts_keys_int): Add idn_flags to ai_flags.
16124 (parse_option): Handle 'i' option to clear idn_flags.
16125
16126 * malloc/malloc.c (_int_free): Possible race in the most recently
16127 added check. Only act on the data if no current modification
16128 happened.
16129
16130 See ChangeLog.17 for earlier changes.