]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Remove unused default-abi definition in Makeconfig.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12012-06-01 Joseph Myers <joseph@codesourcery.com>
2
3 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4 definition. Document in comment.
5
62012-06-01 David S. Miller <davem@davemloft.net>
7
8 * stdlib/longlong.h: Updated from GCC.
9
102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11
12 [BZ #14117]
13 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15 sys/debugreg.h sys/io.h here.
16 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18 sys/io.h.
19 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25
26 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27 Define only if __x86_64__ is defined.
28
292012-06-01 Joseph Myers <joseph@codesourcery.com>
30
31 [BZ #14048]
32 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33 Use int64_t for variable i.
34 * math/libm-test.inc (fmod_test): Add more tests.
35
36 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37 z computation is not scheduled after fetestexcept.
38 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39 Use math_force_eval instead of asm to ensure calculation scheduled
40 before exception test.
41 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42 Ensure a1 + u.d computation is not scheduled after fetestexcept.
43
442012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45
46 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47 computation is not scheduled after fetestexcept.
48
492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50
51 [BZ #14117]
52 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
53 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54
552012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56
57 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59
602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
61
62 [BZ #14117]
63 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64 <bits/wordsize.h>.
65 (__WCHAR_MIN): Support __WORDSIZE == 64.
66 (__WCHAR_MAX): Likewise.
67
68 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
70
71 [BZ #14183]
72 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
73 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74
75 [BZ #14117]
76 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
77 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78
79 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
81
82 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
83 Defined to 1 if __x86_64__ isn't defined.
84 (_STAT_VER_LINUX_OLD): New.
85 (st_atime): Remove duplicate.
86 (st_mtime): Likewise.
87 (st_ctime): Likewise.
88
892012-05-31 David S. Miller <davem@davemloft.net>
90
91 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
92 entries.
93
942012-06-01 Andreas Schwab <schwab@linux-m68k.org>
95
96 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
97 gen-libm-test.pl.
98
99 [BZ #14132]
100 * elf/dl-reloc.c: Include <_itoa.h>.
101 (_dl_reloc_bad_type): Remove use of INTUSE.
102 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
103 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
104 * stdio-common/psiginfo.c (psiginfo): Likewise.
105 * stdio-common/psignal.c (psignal): Likewise.
106 * string/strsignal.c (strsignal): Likewise.
107 * include/signal.h (_sys_siglist): Declare hidden proto.
108 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
109 INTVARDEF with libc_hidden_data_def.
110 * stdio-common/itoa-udigits.c: Likewise.
111 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
112 (_itoa_lower_digits_internal): Remove declaration.
113 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
114 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
115 (_sys_sigabbrev_internal): Remove aliases.
116 (_sys_siglist): Define hidden alias.
117
1182012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
119
120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
121 bits/sysctl.h.
122
1232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
124
125 [BZ #14117]
126 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
127 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
128
129 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
130 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
131 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
132 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
134 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
135
136 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
137 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
138 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
139
140 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
141 with __addr.
142 (insw): Likewise.
143 (insl): Likewise.
144 (outsb): Likewise.
145 (outsw): Likewise.
146 (outsl): Likewise.
147
148 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
149 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
150 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
151
152 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
153 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
154 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
155 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
156 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
157 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
158
159 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
160 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
161
162 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
163 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
164
165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
167 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
168
169 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
170 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
171 to ...
172 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
173
174 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
175 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
176 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
177
178 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
179 for x86-64.
180 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
181
1822012-05-31 Joseph Myers <joseph@codesourcery.com>
183
184 * math/math.h (M_El): Use two more decimal places.
185 (M_LOG2El): Likewise.
186 (M_LOG10El): Likewise.
187 (M_LN2l): Likewise.
188 (M_LN10l): Likewise.
189 (M_PIl): Likewise.
190 (M_PI_2l): Likewise.
191 (M_PI_4l): Likewise.
192 (M_1_PIl): Likewise.
193 (M_2_PIl): Likewise.
194 (M_2_SQRTPIl): Likewise.
195 (M_SQRT2l): Likewise.
196 (M_SQRT1_2l): Likewise.
197
1982012-05-31 David S. Miller <davem@davemloft.net>
199
200 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
201 values between float registers.
202 * sysdeps/sparc/sparc64/memset.S: Likewise.
203 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
204
2052012-05-31 Mike Frysinger <vapier@gentoo.org>
206
207 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
208 -D_FORTIFY_SOURCE=1.
209 (CPPFLAGS-tst-longjmp_chk.c): Define.
210 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
211 (CPPFLAGS-tst-longjmp_chk2.c): Define.
212 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
213 CFLAGS-tst-wchar-h.c.
214
2152012-05-31 Marek Polacek <polacek@redhat.com>
216
217 [BZ #14132]
218 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
219 __endmntent_internal): Remove declaration.
220 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
221 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
222 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
223
2242012-05-30 David S. Miller <davem@davemloft.net>
225
226 * sysdeps/sparc/sparc32/soft-fp/q_util.c
227 (___Q_simulate_exceptions): Use real FP ops rather than writing
228 into the %fsr.
229 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
230 Likewise.
231
2322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
233
234 [BZ #14117]
235 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
236 * sysdeps/x86/bits/xtitypes.h: This.
237
238 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
239 * sysdeps/x86/bits/wordsize.h: This.
240
241 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
242 * sysdeps/x86/bits/huge_vall.h: This.
243
244 * sysdeps/i386/bits/select.h: Removed.
245 * sysdeps/x86_64/bits/select.h: Renamed to ...
246 * sysdeps/x86/bits/select.h: This.
247
248 * sysdeps/i386/bits/setjmp.h: Removed.
249 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
250 * sysdeps/x86/bits/setjmp.h: This.
251
252 * sysdeps/i386/bits/mathdef.h: Removed.
253 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
254 * sysdeps/x86/bits/mathdef.h: This.
255
2562012-05-30 Andreas Schwab <schwab@linux-m68k.org>
257
258 [BZ #14132]
259 * include/sys/socket.h (__connect_internal)
260 (__libc_sa_len_internal): Remove declaration.
261 (__connect, __libc_sa_len): Declare hidden_proto.
262 (SA_LEN): Remove use of INTUSE.
263 * socket/connect.c: Add libc_hidden_def.
264 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
265 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
266 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
267 alias.
268 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
269 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
270 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
271 of adding _internal alias.
272
2732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
274
275 [BZ #14117]
276 * sysdeps/i386/bits/link.h: Removed.
277 * sysdeps/i386/bits/linkmap.h: Likewise.
278 * sysdeps/x86_64/bits/link.h: Renamed to ...
279 * sysdeps/x86/bits/link.h: This.
280 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
281 * sysdeps/x86/bits/linkmap.h: This.
282
283 * sysdeps/i386/bits/endian.h: Removed.
284 * sysdeps/x86_64/bits/endian.h: Renamed to ...
285 * sysdeps/x86/bits/endian.h: This.
286
287 * sysdeps/i386/bits/byteswap.h: Removed.
288 * sysdeps/i386/bits/byteswap-16.h: Likewise.
289 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
290 * sysdeps/x86/bits/byteswap.h: This.
291 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
292 * sysdeps/x86/bits/byteswap-16.h: This.
293 * sysdeps/i386/Implies: Add x86.
294 * sysdeps/x86_64/Implies: Likewise.
295
2962012-05-30 David S. Miller <davem@davemloft.net>
297
298 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
299 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
300 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
301 (FP_TRAPPING_EXCEPTIONS): Define.
302 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
303 (FP_TRAPPING_EXCEPTIONS): Define.
304 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
305 subnormals only when inexact has been signalled or underflow
306 exceptions are enabled.
307 (_FP_PACK_CANONICAL): Likewise.
308
3092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
310
311 [BZ #14183]
312 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
313 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
314
3152012-05-30 Richard Henderson <rth@twiddle.net>
316
317 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
318 with #ifndef NOT_IN_libc.
319
320 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
321 marked to avoid plt entry.
322
3232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
324
325 [BZ #14112]
326 * Makeconfig (default-abi): New macro.
327 (abi-includes): Likewise.
328 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
329 $(abi-$(default-abi)-lib-soname) for soname if defined.
330 ($(common-objpfx)gnu/lib-names.stmp): Generate from
331 abi-variants.
332 * Makefile (installed-stubs): Likewise.
333 * include/stubs-biarch.h: Removed.
334 * scripts/lib-names.awk: Only handle one library at a time.
335 * scripts/soversions.awk: Remove WORDSIZE support.
336 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
337 entries.
338 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
339 Removed.
340 (syscall-list-default-condition): Likewise.
341 (syscall-list-default-condition): Likewise.
342 (syscall-list-includes): Likewise.
343 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
344 syscall-list-* with abi-*. Handle undefined abi-variants.
345 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
346 * sysdeps/unix/sysv/linux/i386/Implies: New file.
347 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
348 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
349 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
350 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
351 Removed.
352 (syscall-list-32-options): Likewise.
353 (syscall-list-32-condition): Likewise.
354 (syscall-list-64-options): Likewise.
355 (syscall-list-64-condition): Likewise.
356 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
357 macro.
358 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
359 Renamed to ...
360 (abi-*): This.
361 (abi-64-ld-soname): New macro.
362 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
363 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
364 Renamed to ...
365 (abi-*): This.
366 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
367 * sysdeps/x86_64/x32/shlib-versions: Likewise.
368
3692012-05-30 Joseph Myers <joseph@codesourcery.com>
370
371 * sysdeps/unix/sysv/linux/kernel-features.h
372 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
373 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
374 include <kernel-features.h>.
375 [!__NR_ftruncate64]: Remove conditional code.
376 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
377 [__NR_ftruncate64]: Make code unconditional.
378 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
379 * sysdeps/unix/sysv/linux/truncate64.c: Do not
380 include <kernel-features.h>.
381 [!__NR_ftruncate64]: Remove conditional code.
382 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
383 [__NR_ftruncate64]: Make code unconditional.
384 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
386 include <kernel-features.h>.
387 [!__NR_ftruncate64]: Remove conditional code.
388 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
389 [__NR_ftruncate64]: Make code unconditional.
390 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
392 include <kernel-features.h>.
393 [!__NR_ftruncate64]: Remove conditional code.
394 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
395 [__NR_ftruncate64]: Make code unconditional.
396 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
397
398 * configure.in (libc_cv_fpie): Weaken to a compile test using
399 LIBC_TRY_CC_OPTION.
400 * configure: Regenerated.
401
4022012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
403
404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
408 Refreshed.
409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
415 Refreshed.
416
4172012-05-27 David S. Miller <davem@davemloft.net>
418
419 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
420 (___Q_zero): New.
421 (__Q_simulate_exceptions): Return void. Change to simulate
422 exceptions by writing into the %fsr.
423 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
424 (__Qp_handle_exceptions): Likewise.
425 (numbers): Delete.
426 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
427 __Qp_handle_exceptions.
428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
429 __Qp_handle_exceptions.
430 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
431 as unused and give dummy FP_RND_NEAREST initializer.
432 (FP_INHIBIT_RESULTS): Define.
433 (___Q_simulate_exceptions): Update declaration.
434 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
435 formatting.
436 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
437 as unused and give dummy FP_RND_NEAREST initializer.
438 (__Qp_handle_exceptions): Update declaration.
439 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
440 formatting.
441
4422012-05-27 Thomas Schwinge <thomas@codesourcery.com>
443
444 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
445 the temporary FPU control word.
446 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
447 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
448 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
449 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
450 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
451 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
452 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
453 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
454 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
455 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
456 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
457
4582012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
459
460 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
461 fields.
462
4632012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
464
465 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
466 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
467 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
468 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
469 Likewise.
470 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
471 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
472 Likewise.
473
4742012-05-27 Ulrich Drepper <drepper@gmail.com>
475
476 * po/h.po: Update from translation team.
477
4782012-05-26 Andreas Schwab <schwab@linux-m68k.org>
479
480 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
481
482 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
483 handling of denormals.
484 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
485 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
486 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
487 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
488 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
491 Likewise.
492
4932012-05-26 Marek Polacek <polacek@redhat.com>
494
495 [BZ #14152]
496 * math/libm-test.inc (fma_test): Don't always expect underflow
497 exception.
498
4992012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
500
501 [BZ #12416]
502 * elf/tst-execstack.c: Include stackinfo.h.
503 (do_test): Adjust test case to ensure that pthread_getattr_np
504 behaviour remains the same after marking stack executable.
505
5062012-05-25 Joseph Myers <joseph@codesourcery.com>
507
508 * sysdeps/unix/sysv/linux/kernel-features.h
509 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
510 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
511 kernel-features.h.
512 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
513 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
514 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
515 kernel-features.h.
516 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
517 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
518
5192012-05-25 H.J. Lu <hongjiu.lu@intel.com>
520
521 * configure.in: Define the default includes to being none.
522 * configure: Regenerated.
523
5242012-05-25 Roland McGrath <roland@hack.frob.com>
525
526 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
527 * sysdeps/x86_64/setjmp.S: Likewise.
528 * sysdeps/i386/bsd-setjmp.S: Likewise.
529 * sysdeps/i386/bsd-_setjmp.S: Likewise.
530 * sysdeps/i386/setjmp.S: Likewise.
531 * sysdeps/i386/__longjmp.S: Likewise.
532 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
533 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
534
535 * include/stap-probe.h: New file.
536 * configure.in: Handle --enable-systemtap.
537 * configure: Regenerated.
538 * config.h.in (USE_STAP_PROBE): New #undef.
539 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
540 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
541 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
542
5432012-05-25 Joseph Myers <joseph@codesourcery.com>
544
545 [BZ #13717]
546 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
547 to 2.4.0 where earlier.
548 * sysdeps/unix/sysv/linux/configure: Regenerated.
549 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
550 <kernel-features.h>.
551 [__ASSUME_32BITUIDS]: Make code unconditional.
552 [!__ASSUME_32BITUIDS]: Remove conditional code.
553 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
554 <kernel-features.h>.
555 [__ASSUME_32BITUIDS]: Make code unconditional.
556 [!__ASSUME_32BITUIDS]: Remove conditional code.
557 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
558 [__ASSUME_32BITUIDS]: Make code unconditional.
559 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
560 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
561 <kernel-features.h>.
562 [__ASSUME_32BITUIDS]: Make code unconditional.
563 [!__ASSUME_32BITUIDS]: Remove conditional code.
564 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
565 <kernel-features.h>.
566 [__ASSUME_32BITUIDS]: Make code unconditional.
567 [!__ASSUME_32BITUIDS]: Remove conditional code.
568 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
569 <kernel-features.h>.
570 [__ASSUME_32BITUIDS]: Make code unconditional.
571 [!__ASSUME_32BITUIDS]: Remove conditional code.
572 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
573 <kernel-features.h>.
574 [__ASSUME_32BITUIDS]: Make code unconditional.
575 [!__ASSUME_32BITUIDS]: Remove conditional code.
576 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
577 <kernel-features.h>.
578 [__ASSUME_32BITUIDS]: Make code unconditional.
579 [!__ASSUME_32BITUIDS]: Remove conditional code.
580 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
581 <kernel-features.h>.
582 [__ASSUME_32BITUIDS]: Make code unconditional.
583 [!__ASSUME_32BITUIDS]: Remove conditional code.
584 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
585 <kernel-features.h>.
586 [__ASSUME_32BITUIDS]: Make code unconditional.
587 [!__ASSUME_32BITUIDS]: Remove conditional code.
588 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
589 <kernel-features.h>.
590 [__ASSUME_32BITUIDS]: Make code unconditional.
591 [!__ASSUME_32BITUIDS]: Remove conditional code.
592 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
593 <kernel-features.h>.
594 [__ASSUME_32BITUIDS]: Make code unconditional.
595 [!__ASSUME_32BITUIDS]: Remove conditional code.
596 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
597 <kernel-features.h>.
598 [__ASSUME_32BITUIDS]: Make code unconditional.
599 [!__ASSUME_32BITUIDS]: Remove conditional code.
600 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
601 <kernel-features.h>.
602 [__NR_setresgid] (__setresgid): Do not declare.
603 [__ASSUME_32BITUIDS]: Make code unconditional.
604 [!__ASSUME_32BITUIDS]: Remove conditional code.
605 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
606 <kernel-features.h>.
607 [__NR_setresuid] (__setresuid): Do not declare.
608 [__ASSUME_32BITUIDS]: Make code unconditional.
609 [!__ASSUME_32BITUIDS]: Remove conditional code.
610 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
611 <kernel-features.h>.
612 [__ASSUME_32BITUIDS]: Make code unconditional.
613 [!__ASSUME_32BITUIDS]: Remove conditional code.
614 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
615 <kernel-features.h>.
616 [__ASSUME_32BITUIDS]: Make code unconditional.
617 [!__ASSUME_32BITUIDS]: Remove conditional code.
618 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
619 <kernel-features.h>.
620 [__ASSUME_32BITUIDS]: Make code unconditional.
621 [!__ASSUME_32BITUIDS]: Remove conditional code.
622 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
623 <kernel-features.h>.
624 [__ASSUME_32BITUIDS]: Make code unconditional.
625 [!__ASSUME_32BITUIDS]: Remove conditional code.
626 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
627 <kernel-features.h>.
628 [__ASSUME_32BITUIDS]: Make code unconditional.
629 [!__ASSUME_32BITUIDS]: Remove conditional code.
630 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
631 <kernel-features.h>.
632 [__ASSUME_32BITUIDS]: Make code unconditional.
633 [!__ASSUME_32BITUIDS]: Remove conditional code.
634 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
635 <kernel-features.h>.
636 [__ASSUME_32BITUIDS]: Make code unconditional.
637 [!__ASSUME_32BITUIDS]: Remove conditional code.
638 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
639 <kernel-features.h>.
640 [__ASSUME_32BITUIDS]: Make code unconditional.
641 [!__ASSUME_32BITUIDS]: Remove conditional code.
642 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
643 <kernel-features.h>.
644 [__ASSUME_32BITUIDS]: Make code unconditional.
645 [!__ASSUME_32BITUIDS]: Remove conditional code.
646 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
647 <kernel-features.h>.
648 [__ASSUME_32BITUIDS]: Make code unconditional.
649 [!__ASSUME_32BITUIDS]: Remove conditional code.
650 * sysdeps/unix/sysv/linux/kernel-features.h
651 (__ASSUME_SETRESUID_SYSCALL): Remove.
652 (__ASSUME_SETRESGID_SYSCALL): Likewise.
653 (__ASSUME_32BITUIDS): Likewise.
654 (__ASSUME_LDT_WORKS): Likewise.
655 (__ASSUME_O_DIRECTORY): Likewise.
656 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
657 architecture but not kernel version.
658 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
659 (__ASSUME_MMAP2_SYSCALL): Likewise.
660 (__ASSUME_STAT64_SYSCALL): Likewise.
661 (__ASSUME_IPC64): Likewise.
662 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
663 <kernel-features.h>.
664 [__ASSUME_32BITUIDS]: Make code unconditional.
665 [!__ASSUME_32BITUIDS]: Remove conditional code.
666 * sysdeps/unix/sysv/linux/opendir.c: Do not include
667 <kernel-features.h>.
668 [__ASSUME_O_DIRECTORY]: Make code unconditional.
669 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
670 132096]: Remove conditional code.
671 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
672 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
673 <kernel-features.h>.
674 [__ASSUME_32BITUIDS]: Make code unconditional.
675 [!__ASSUME_32BITUIDS]: Remove conditional code.
676 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
677 <kernel-features.h>.
678 [__ASSUME_32BITUIDS]: Make code unconditional.
679 [!__ASSUME_32BITUIDS]: Remove conditional code.
680 * sysdeps/unix/sysv/linux/setegid.c: Do not include
681 <kernel-features.h>.
682 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
683 unconditional.
684 (__setresgid): Do not declare.
685 [__ASSUME_32BITUIDS]: Make code unconditional.
686 [!__ASSUME_32BITUIDS]: Remove conditional code.
687 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
688 <kernel-features.h>.
689 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
690 unconditional.
691 (__setresuid): Do not declare.
692 [__ASSUME_32BITUIDS]: Make code unconditional.
693 [!__ASSUME_32BITUIDS]: Remove conditional code.
694 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
695 <kernel-features.h>.
696 [__ASSUME_32BITUIDS]: Make code unconditional.
697 [!__ASSUME_32BITUIDS]: Remove conditional code.
698 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
699 <kernel-features.h>.
700 [__ASSUME_32BITUIDS]: Make code unconditional.
701 [!__ASSUME_32BITUIDS]: Remove conditional code.
702
7032012-05-25 Richard Henderson <rth@twiddle.net>
704
705 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
706 dl_hwcap to ifunc resolver.
707 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
708 elf_ifunc_invoke.
709 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
710 dl_hwcap to ifunc resolver.
711 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
712
7132012-05-24 Joseph Myers <joseph@codesourcery.com>
714
715 [BZ #14153]
716 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
717 for |x| <= 2**-26, not 2**-57.
718 * math/libm-test.inc (acos_test): Do not allow spurious underflow
719 exception.
720
7212012-05-24 Jeff Law <law@redhat.com>
722
723 * stdio-common/Makefile (tests): Add bug25.
724 * stdio-common/bug25.c: New test.
725
7262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
727
728 [BZ #13576]
729 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
730 multiple of MALLOC_ALIGNMENT in size.
731 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
732
7332012-05-24 Joseph Myers <joseph@codesourcery.com>
734
735 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
736 Require >= 256.
737 (FILENAME_MAX): Use macro-int-constant.
738 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
739 (_IOFBF): Use macro-int-constant.
740 (_IOLBF): Likewise.
741 (_IONBF): Likewise.
742 (SEEK_CUR): Likewise.
743 (SEEK_END): Likewise.
744 (SEEK_SET): Likewise.
745 (TMP_MAX): Likewise.
746 (EOF): Use macro-int-constant. Require < 0.
747 (NULL): Use macro-constant. Require == 0.
748 (stdin): Require type to be FILE *.
749 (stdout): Likewise.
750 (stderr): Likewise.
751 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
752 macro-int-constant.
753 (EXIT_SUCCESS): Likewise.
754 (NULL): Use macro-constant. Require == 0.
755 (RAND_MAX): Use macro-int-constant.
756 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
757 [C99-based standards] (strtof): Require function.
758 [C99-based standards] (strtold): Likewise.
759 [C99-based standards] (strtoll): Likewise.
760 [C99-based standards] (strtoull): Likewise.
761 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
762 [ISO || ISO99 || ISO11] (limits.h): Likewise.
763 [ISO || ISO99 || ISO11] (math.h): Likewise.
764 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
765 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
766 [ISO || ISO99 || ISO11] (*_t): Do not allow.
767
7682012-05-24 Andreas Schwab <schwab@linux-m68k.org>
769
770 [BZ #14132]
771 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
772 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
773 * intl/dgettext.c (DCGETTEXT): Likewise.
774 * intl/gettext.c (DCGETTEXT): Likewise.
775 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
776 * posix/regex_internal.h (gettext): Likewise.
777 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
778 Remove declaration.
779 * include/argz.h (__argz_count_internal)
780 (__argz_stringify_internal): Remove declaration.
781 (__argz_count, __argz_stringify): Declare hidden proto.
782 * intl/dcgettext.c: Remove use of INTDEF.
783 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
784 * string/argz-stringify.c: Likewise.
785 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
786 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
787 Declare hidden proto.
788 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
789 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
790 Declare hidden proto.
791 * include/stdio.h (__asprintf_internal): Don't declare.
792 (__asprintf): Don't define as macro. Declare hidden proto.
793 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
794 (__fsetlocking): Declare hidden proto.
795 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
796 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
797 hidden proto.
798 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
799 (_IO_setlinebuf): Remove use of INTUSE.
800 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
801 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
802 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
803 Remove declaration.
804 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
805 (_IO_do_flush): Remove use of INTUSE.
806 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
807 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
808 (_IO_adjust_column, _IO_least_wmarker)
809 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
810 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
811 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
812 (_IO_default_doallocate, _IO_wdefault_doallocate)
813 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
814 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
815 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
816 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
817 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
818 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
819 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
820 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
821 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
822 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
823 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
824 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
825 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
826 proto.
827 (_IO_flush_all_internal, _IO_adjust_column_internal)
828 (_IO_default_uflow_internal, _IO_default_finish_internal)
829 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
830 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
831 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
832 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
833 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
834 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
835 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
836 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
837 (_IO_file_close_internal, _IO_file_close_it_internal)
838 (_IO_file_underflow_internal, _IO_file_overflow_internal)
839 (_IO_file_init_internal, _IO_file_attach_internal)
840 (_IO_file_fopen_internal, _IO_file_read_internal)
841 (_IO_file_sync_internal, _IO_file_seek_internal)
842 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
843 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
844 (_IO_str_underflow_internal, _IO_str_overflow_internal)
845 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
846 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
847 (_IO_list_all_internal, _IO_link_in_internal)
848 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
849 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
850 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
851 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
852 (_IO_do_write_internal, _IO_padn_internal)
853 (_IO_getline_info_internal, _IO_getline_internal)
854 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
855 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
856 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
857 (_IO_vfscanf_internal, _IO_vfprintf_internal)
858 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
859 (_IO_init_internal, _IO_un_link_internal): Don't declare.
860 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
861 with libc_hidden_ver, remove use of INTUSE.
862 * libio/genops.c: Likewise.
863 * libio/freopen.c: Likewise.
864 * libio/freopen64.c: Likewise.
865 * libio/iofclose.c: Likewise.
866 * libio/iofdopen.c: Likewise.
867 * libio/iofflush.c: Likewise.
868 * libio/iofflush_u.c: Likewise.
869 * libio/iofgets.c: Likewise.
870 * libio/iofgets_u.c: Likewise.
871 * libio/iofopen.c: Likewise.
872 * libio/iofopncook.c: Likewise.
873 * libio/iofread.c: Likewise.
874 * libio/iofread_u.c: Likewise.
875 * libio/ioftell.c: Likewise.
876 * libio/iofwrite.c: Likewise.
877 * libio/iogetline.c: Likewise.
878 * libio/iogets.c: Likewise.
879 * libio/iogetwline.c: Likewise.
880 * libio/iopadn.c: Likewise.
881 * libio/iopopen.c: Likewise.
882 * libio/ioseekoff.c: Likewise.
883 * libio/ioseekpos.c: Likewise.
884 * libio/iosetbuffer.c: Likewise.
885 * libio/iosetvbuf.c: Likewise.
886 * libio/ioungetc.c: Likewise.
887 * libio/ioungetwc.c: Likewise.
888 * libio/iovdprintf.c: Likewise.
889 * libio/iovsprintf.c: Likewise.
890 * libio/iovsscanf.c: Likewise.
891 * libio/memstream.c: Likewise.
892 * libio/obprintf.c: Likewise.
893 * libio/oldfileops.c: Likewise.
894 * libio/oldiofclose.c: Likewise.
895 * libio/oldiofdopen.c: Likewise.
896 * libio/oldiofopen.c: Likewise.
897 * libio/oldiopopen.c: Likewise.
898 * libio/oldstdfiles.c: Likewise.
899 * libio/putc.c: Likewise.
900 * libio/setbuf.c: Likewise.
901 * libio/setlinebuf.c: Likewise.
902 * libio/stdfiles.c: Likewise.
903 * libio/strops.c: Likewise.
904 * libio/vasprintf.c: Likewise.
905 * libio/vscanf.c: Likewise.
906 * libio/vsnprintf.c: Likewise.
907 * libio/vswprintf.c: Likewise.
908 * libio/wfiledoalloc.c: Likewise.
909 * libio/wfileops.c: Likewise.
910 * libio/wgenops.c: Likewise.
911 * libio/wmemstream.c: Likewise.
912 * libio/wstrops.c: Likewise.
913 * libio/__fpurge.c: Likewise.
914 * libio/__fsetlocking.c: Likewise.
915 * assert/assert.c: Likewise.
916 * debug/fgets_chk.c: Likewise.
917 * debug/fgets_u_chk.c: Likewise.
918 * debug/fread_chk.c: Likewise.
919 * debug/fread_u_chk.c: Likewise.
920 * debug/gets_chk.c: Likewise.
921 * debug/obprintf_chk.c: Likewise.
922 * debug/vasprintf_chk.c: Likewise.
923 * debug/vdprintf_chk.c: Likewise.
924 * debug/vsnprintf_chk.c: Likewise.
925 * debug/vsprintf_chk.c: Likewise.
926 * malloc/mtrace.c: Likewise.
927 * misc/error.c: Likewise.
928 * misc/syslog.c: Likewise.
929 * stdio-common/asprintf.c: Likewise.
930 * stdio-common/fxprintf.c: Likewise.
931 * stdio-common/getw.c: Likewise.
932 * stdio-common/isoc99_fscanf.c: Likewise.
933 * stdio-common/isoc99_scanf.c: Likewise.
934 * stdio-common/isoc99_vfscanf.c: Likewise.
935 * stdio-common/isoc99_vscanf.c: Likewise.
936 * stdio-common/isoc99_vsscanf.c: Likewise.
937 * stdio-common/printf-prs.c: Likewise.
938 * stdio-common/printf_fp.c: Likewise.
939 * stdio-common/printf_fphex.c: Likewise.
940 * stdio-common/printf_size.c: Likewise.
941 * stdio-common/putw.c: Likewise.
942 * stdio-common/scanf.c: Likewise.
943 * stdio-common/sprintf.c: Likewise.
944 * stdio-common/tmpfile.c: Likewise.
945 * stdio-common/vfprintf.c: Likewise.
946 * stdio-common/vfscanf.c: Likewise.
947 * stdlib/strfmon_l.c: Likewise.
948 * sunrpc/openchild.c: Likewise.
949 * sunrpc/xdr_stdio.c: Likewise.
950 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
951 * sysdeps/mach/hurd/tmpfile.c: Likewise.
952
9532012-05-24 Roland McGrath <roland@hack.frob.com>
954
955 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
956
957 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
958 in the third column, to generate for the shared library an IFUNC
959 that uses _dl_vdso_vsym.
960 * Makerules (COMPILE.c, compile-stdin.c): New variables.
961 * Makeconfig (object-suffixes-noshared): New variable.
962
963 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
964 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
965 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
966 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
967
968 [BZ #14132]
969 * include/sys/time.h (__gettimeofday): Remove macro.
970 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
971 * time/gettimeofday.c (__gettimeofday): Remove #undef.
972 Remove INTDEF.
973 (__gettimeofday): Add libc_hidden_def.
974 (gettimeofday): Add libc_hidden_weak.
975 * sysdeps/mach/gettimeofday.c: Likewise.
976 * sysdeps/posix/gettimeofday.c: Likewise.
977 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
978 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
979 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
980 (__gettimeofday_internal): Remove strong_alias.
981 (__gettimeofday): Add libc_hidden_def.
982 (gettimeofday): Add libc_hidden_weak.
983 * sysdeps/unix/syscalls.list (gettimeofday):
984 Remove __gettimeofday_internal alias.
985
9862012-05-24 Daniel Jacobowitz <drow@false.org>
987 H.J. Lu <hongjiu.lu@intel.com>
988
989 [BZ #12495]
990 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
991 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
992 (largebin_index_32_big): New.
993 (largebin_index): Use it for 16-byte alignment.
994 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
995 correction with front_misalign.
996
9972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
998
999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1001 Likewise.
1002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1003 Likewise.
1004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1005 Likewise.
1006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1007 Likewise.
1008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1009 Likewise.
1010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1011 Likewise.
1012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1013 Likewise.
1014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1015 Likewise.
1016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1017 Likewise.
1018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1019 Likewise.
1020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1021 Likewise.
1022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1023 Likewise.
1024
1025 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1026 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1027
10282012-05-24 Joseph Myers <joseph@codesourcery.com>
1029
1030 [BZ #10846]
1031 [BZ #14036]
1032 * math/libm-test.inc (exp_test): Add test from bug 14036.
1033 (pow_test): Add test from bug 10846.
1034
1035 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1036 and other flags.
1037 (special_function): Do not include flags in test name.
1038 (parse_args): Likewise.
1039 * sysdeps/i386/fpu/libm-test-ulps: Update.
1040 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1041 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1042 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1044
1045 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1046 exceptions.
1047 * math/libm-test.inc ("Philosophy"): Update comment about
1048 exception testing.
1049 (UNDERFLOW_EXCEPTION): New macro.
1050 (UNDERFLOW_EXCEPTION_OK): Likewise.
1051 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1052 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1053 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1054 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1055 (INVALID_EXCEPTION_OK): Update value.
1056 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1057 (OVERFLOW_EXCEPTION_OK): Likewise.
1058 (IGNORE_ZERO_INF_SIGN): Likewise.
1059 (test_exceptions): Handle underflow exceptions.
1060 (acos_test): Update for underflow exception expectations.
1061 (cexp_test): Likewise.
1062 (clog_test): Likewise.
1063 (clog10_test): Likewise.
1064 (csqrt_test): Likewise.
1065 (ctan_test): Likewise.
1066 (ctanh_test): Likewise.
1067 (exp_test): Likewise.
1068 (exp10_test): Likewise.
1069 (exp2_test): Likewise.
1070 (expm1_test): Likewise.
1071 (fma_test): Likewise.
1072 (j0_test): Likewise.
1073 (jn_test): Likewise.
1074 (nexttoward_test): Likewise.
1075 (pow_test): Likewise.
1076 (scalbn_test): Likewise.
1077 (scalbln_test): Likewise.
1078 (tan_test): Likewise.
1079 (y1_test): Likewise.
1080 * sysdeps/i386/fpu/libm-test-ulps: Update.
1081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1082
10832012-05-23 David S. Miller <davem@davemloft.net>
1084
1085 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1086 (__libc_sigaction): Remove unused local variables.
1087
10882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1089
1090 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1091
10922012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1093
1094 mktime: avoid signed integer overflow
1095 * time/mktime.c (__mktime_internal): Do not mishandle the case
1096 where diff == INT_MIN.
1097
1098 mktime: simplify computation of average
1099 * time/mktime.c (ranged_convert): Use new time_t_avg function
1100 instead of rolling our own (probably-slower) code.
1101
1102 mktime: do not assume signed right shift propagates sign bit
1103 * time/mktime.c (isdst_differ): New static function.
1104 (__mktime_internal): No need to normalize tm_isdst now.
1105 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1106 tm_isdst values.
1107
1108 mktime: merge another wrapv change from gnulib
1109 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1110 from some compilers.
1111
1112 mktime: remove incorrect attempt at unusual arithmetics
1113 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1114 The code didn't really work on such machines anyway.
1115 (TYPE_MINIMUM): Assume two's complement.
1116 (twos_complement_arithmetic): Verify that long_int and time_t
1117 are two's complement (or unsigned, in the latter case).
1118
1119 mktime: check signed shifts on long_int and time_t, too
1120 * time/mktime.c (SHR): Check that shifts work as desired
1121 on the types long_int and time_t too, as SHR is used on
1122 such types.
1123
1124 mktime: do not assume 'long' is wide enough
1125 * time/mktime.c (verify): Move decl up.
1126 (long_int): New type.
1127 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1128 to remove assumption in the code that 'long' is wide enough to
1129 store year values. This assumption is not true on x32 and on
1130 some non-glibc platforms.
1131
1132 mktime: merge wrapv change from gnulib
1133 * time/mktime.c (WRAPV): New macro.
1134 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1135 (guess_time_tm, __mktime_internal): Do not assume that signed
1136 integer overflow wraps around; modern compilers generate code
1137 where this assumption is no longer valid.
1138
11392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1142 Replace "jmp L(pseudo_end)" with "ret".
1143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1144 Likewise.
1145
11462012-05-23 Andreas Jaeger <aj@suse.de>
1147
1148 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1149 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1150
11512012-05-23 Andreas Jaeger <aj@suse.de>
1152 Maximilian Attems <max@stro.at>
1153
1154 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1155 New macros.
1156
11572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1158
1159 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1160 code so that pseudo_end is just ret and the stack pointer is
1161 correct also for static library in error case.
1162
11632012-05-23 Joseph Myers <joseph@codesourcery.com>
1164
1165 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1166 move to syscalls.list.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1171
1172 * manual/install.texi (Running make install): Do not mention Linux
1173 kernel version for which pt_chown is not needed.
1174 (Linux): Do not mention problems with nscd with 2.0 kernels.
1175 * INSTALL: Regenerated.
1176
11772012-05-23 Andreas Jaeger <aj@suse.de>
1178
1179 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1180 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1181 macro.
1182 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1183 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1184 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1185 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1186 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1187 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1188 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1189 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1190 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1191 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1192 * sysdeps/unix/sysv/linux/bits/in.h
1193 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1194
11952012-05-22 Roland McGrath <roland@hack.frob.com>
1196
1197 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1198 (PREPARE_VERSION): Just use assert instead, it will be elided
1199 under [NDEBUG] anyway.
1200
12012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1202
1203 * sysdeps/unix/sysv/linux/Makefile: Include
1204 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1205 (sysdep_routines): Remove sysctl.
1206 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1207 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1208 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1209 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1210 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1211
12122012-05-22 Andreas Jaeger <aj@suse.de>
1213
1214 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1215 that pseudo_end is just ret and the stack pointer is correct also
1216 for static library in error case.
1217
12182012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1219
1220 [BZ #14122]
1221 * nss/nsswitch.c (defconfig_entries): New variable.
1222 (__nss_database_lookup): Don't leak defconfig entries.
1223 (nss_parse_service_list): Don't leak on error paths.
1224 (free_database_entries): New function.
1225 (free_defconfig): New function.
1226 (free_mem): Move common code to free_database_entries.
1227
12282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1229
1230 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1231 Add arch_prctl.
1232 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1233
1234 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1235 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1237 New macro.
1238 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1239 (INTERNAL_SYSCALL_TYPES): Likewise.
1240 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1241 (LOAD_REGS_TYPES_[1-6]): Likewise.
1242 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1243 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1244
12452012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1246
1247 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1248 copysignl for GLIBC_2_0.
1249 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1250 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1252 logbl for GLIBC_2_0.
1253 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1254 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1255
12562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1257
1258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1259 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1260
1261 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1262 Use "neg %eax".
1263
1264 * time/mktime.c: Update copyright years.
1265
12662012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1267
1268 mktime: merge comment-quoting-style change from gnulib
1269 * time/mktime.c: Quote 'like this' in comments.
1270 The GNU coding standards suggest that we no longer quote `like this',
1271 as "`" and "'" are typically rendered asymmetrically nowadays.
1272 The typical gnulib style is to quote 'like this' when quoting
1273 code, and "like this" when quoting English.
1274
1275 * time/mktime.c (compile-command): Add "-I.".
1276
1277 mktime: merge mktime-internal.h change from gnulib
1278 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1279
1280 mktime: merge time_r change from gnulib
1281 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1282
1283 mktime: merge DEBUG change from gnulib
1284 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1285 case system <time.h> has a #define.
1286
1287 mktime: merge <sys/types.h> change from gnulib
1288 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1289 since <time.t> is now guaranteed to define time_t.
1290
1291 mktime: merge HAVE_CONFIG_H change from gnulib
1292 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1293
12942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1295
1296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1297 Use "neg %eax".
1298
1299 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1300 __rlim_t cast.
1301 (struct rusage): Use anonymous union to pad each field to
1302 __syscall_slong_t.
1303
13042012-05-21 David S. Miller <davem@davemloft.net>
1305
1306 * Makefules (o-iterator): Remove .s cases.
1307 (compile-command.s): Delete.
1308 (COMPILE.s): Delete.
1309 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1310
13112012-05-21 Joseph Myers <joseph@codesourcery.com>
1312
1313 * configure.in (libc_cv_predef_stack_protector): Only consider
1314 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1315 * configure: Regenerated.
1316
13172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1318
1319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1320 New macro. Use R*LP on int and pointer.
1321 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1322 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1323 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1325
1326 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1327 [__WORDSIZE_TIME64_COMPAT32] instead of
1328 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1329 (struct utmp): Likewise.
1330 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1331 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1332 Renamed to ...
1333 (__WORDSIZE_TIME64_COMPAT32): This.
1334 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1335 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1336 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1337 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1338 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1339 (__WORDSIZE_TIME64_COMPAT32): New macro.
1340
13412012-05-21 Andreas Jaeger <aj@suse.de>
1342
1343 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1344 only if [SHARED]. Add prototype for __wcschr_ia32.
1345
13462012-05-21 Roland McGrath <roland@hack.frob.com>
1347
1348 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1349 of %rbp unmolested in the jmp_buf while mangling the low bits.
1350 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1351 unmolested high bits of %rbp while demangling the low bits.
1352 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1353
13542012-05-21 Andreas Jaeger <aj@suse.de>
1355
1356 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1357 * sunrpc/svc_simple.c: Use it for registerrpc.
1358 * sunrpc/xcrypt.c: Use it for passwd2des.
1359
1360 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1361
13622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1363
1364 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1365 Don't define if [__SYSCALL_WORDSIZE != 32].
1366 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1367 New macro.
1368
13692012-05-21 Bruno Haible <bruno@clisp.org>
1370 Andreas Jaeger <aj@suse.de>
1371
1372 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1373 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1374 inptr and inend for must_buffer_ch.
1375 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1376 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1377 * stdio-common/Makefile (tests): Remove bug15.
1378 (bug15-ENV): Remove macro.
1379 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1380 anymore.
1381
13822012-05-19 Andreas Jaeger <aj@suse.de>
1383 Roland McGrath <roland@hack.frob.com>
1384
1385 * manual/contrib.texi: Completely rewritten. It contains now an
1386 alphabetical list of contributors and their contributions.
1387
13882012-05-21 Richard Henderson <rth@twiddle.net>
1389
1390 * misc/getauxval.c (__getauxval): Use unsigned long int.
1391 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1392 (getauxval): Use unsigned long int.
1393
13942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1395
1396 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1397
13982012-05-21 Roland McGrath <roland@hack.frob.com>
1399
1400 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1401 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1402 __alignof__ (long double).
1403
14042012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1405
1406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1407
14082012-05-20 Richard Henderson <rth@twiddle.net>
1409
1410 * misc/getauxval.c: New file.
1411 * misc/sys/auxv.h: New file.
1412 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1413 (routines): Add getauxval.
1414 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1415 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1416 * elf/dl-sysdep.c (_dl_auxv): Remove.
1417 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1418 * elf/dl-support.c (_dl_auxv): New variable.
1419 (_dl_aux_init): Initialize it.
1420 * manual/startup.texi (Auxiliary Vector): New node.
1421 * sysdeps/generic/bits/hwcap.h: New file.
1422 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1423 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1424 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1425 * sysdeps/sparc/sysdep.h: ... here. Include it.
1426 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1427 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1429 Update.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1438
14392012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1440
1441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1442
14432012-05-19 David S. Miller <davem@davemloft.net>
1444
1445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1446
14472012-05-19 Joseph Myers <joseph@codesourcery.com>
1448
1449 [BZ #14123]
1450 * math/s_ccosh.c: Include <float.h>
1451 (__ccosh): Avoid internal overflow calculating sinh and cosh
1452 values before multiplying by sin and cos values.
1453 * math/s_ccoshf.c: Likewise.
1454 * math/s_ccoshl.c: Likewise.
1455 * math/s_csin.c: Likewise.
1456 * math/s_csinf.c: Likewise.
1457 * math/s_csinl.c: Likewise.
1458 * math/s_csinh.c: Likewise.
1459 * math/s_csinhf.c: Likewise.
1460 * math/s_csinhl.c: Likewise.
1461 * math/libm-test.inc (ccos_test): Add more tests.
1462 (ccosh_test): Likewise.
1463 (csin_test): Likewise.
1464 (csinh_test): Likewise.
1465 * sysdeps/i386/fpu/libm-test-ulps: Update.
1466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1467
14682012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1469
1470 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1471 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1472
1473 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1474
14752012-05-19 Joseph Myers <joseph@codesourcery.com>
1476
1477 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1478 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1479 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1480 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1481 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1482 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1483 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1484 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1485 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1486 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1487 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1488 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1489 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1490 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1491 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1492 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1493 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1494 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1495 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1496 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1497 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1498 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1499 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1500 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1501 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1502 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1503 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1504 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1505 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1506 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1507 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1508
15092012-05-18 Andreas Jaeger <aj@suse.de>
1510
1511 * csu/.gitignore: Delete.
1512
15132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1514
1515 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1516 (timex): Use __syscall_slong_t.
1517
15182012-05-18 Andreas Jaeger <aj@suse.de>
1519 Carlos O'Donell <carlos_odonell@mentor.com>
1520
1521 * manual/install.texi (Configuring and compiling): Update
1522 description about files modified in the source directory.
1523 * INSTALL: Regenerated.
1524
15252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1528 value. Use "or" to set return value to -1.
1529 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1530 negate return value.
1531
15322012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1533
1534 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1535 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1536 failure if the compiler has Graphite support disabled.
1537 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1538 Likewise.
1539 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1540 CFLAGS-memmove.c): Likewise.
1541 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1542 Likewise.
1543
15442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1545
1546 * sysdeps/x86_64/x32/_itoa.h: New file.
1547
1548 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1549 getdents system call only if kernel and user dirents have the
1550 same d_ino and d_off.
1551
1552 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1553 LLONG_MAX != LONG_MAX.
1554 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1555 (_fitoa_word): Likewise.
1556
1557 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1558 years.
1559 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1560 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1561 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1562
1563 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1564 include <bits/wordsize.h>. Check __x86_64__ instead of
1565 __WORDSIZE.
1566 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1567 if __x86_64__ is defined. Use anonymous union on fpstate.
1568
1569 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1570 anonymous union.
1571
15722012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1573
1574 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1575 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1576 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1577 Refer to _rtld_local_ro instead of _rtld_global_ro.
1578 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1579 Likewise.
1580 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1581 Likewise.
1582 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1583 Likewise.
1584 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1585 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1586 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1587
1588 * sysdeps/powerpc/powerpc32/dl-machine.c
1589 (__elf_machine_runtime_setup) [PROF]: Don't reference
1590 _dl_prof_resolve.
1591
15922012-05-18 Andreas Jaeger <aj@suse.de>
1593
1594 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1595 function only available for GCCs before 3.4 since GCC 3.4
1596 introduced a builtin.
1597 (lrint): Likewise.
1598 (llrintf): Likewise.
1599 (llrint): Likewise.
1600 (fmaxf): Likewise.
1601 (fmax): Likewise.
1602 (fminf): Likewise.
1603 (fmin): Likewise.
1604 (rint): Likewise.
1605 (rintf): Likewise.
1606 (nearbyint): Likewise.
1607 (nearbyintf): Likewise.
1608 (ceil): Likewise.
1609 (ceilf): Likewise.
1610 (floor): Likewise.
1611 (floorf): Likewise.
1612
16132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1614
1615 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1616 on both fields and cast pointer to __syscall_ulong_t.
1617
1618 * bits/types.h (__fsword_t): New type.
1619 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1620 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1622 (__FSWORD_T_TYPE): Likewise.
1623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1624 (__FSWORD_T_TYPE): Likewise.
1625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1626 (__FSWORD_T_TYPE): Likewise.
1627 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1628 (__FSWORD_T_TYPE): Likewise.
1629 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1630 __SWORD_TYPE with __fsword_t.
1631 (statfs64): Likewise.
1632
16332012-05-17 David S. Miller <davem@davemloft.net>
1634
1635 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1636
16372012-05-17 Andreas Jaeger <aj@suse.de>
1638
1639 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1640 warning.
1641
16422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1643
1644 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1645
16462012-05-17 Andreas Jaeger <aj@suse.de>
1647
1648 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1649 when it is used.
1650
16512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1652
1653 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1654
16552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1658 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1659
16602012-05-17 Andreas Jaeger <aj@suse.de>
1661 Carlos O'Donell <carlos_odonell@mentor.com>
1662
1663 [BZ #14059]
1664 * sysdeps/x86_64/multiarch/init-arch.h
1665 (bit_YMM_Usable): Rename to...
1666 (bit_AVX_Usable): ... this.
1667 (bit_FMA4_Usable): New macro.
1668 (bit_XMM_state): New macro.
1669 (bit_YMM_state): New macro.
1670 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1671 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1672 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1673 (CPUID_OSXSAVE): New macro.
1674 (CPUID_AVX): New macro.
1675 (CPUID_FMA4): New macro.
1676 (index_YMM_Usable): Rename to...
1677 (index_AVX_Usable): ... this.
1678 (HAS_AVX): Use HAS_ARCH_FEATURE.
1679 (HAS_FMA4): Likewise.
1680 (HAS_YMM_USABLE): Remove.
1681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1682 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1683 are present.
1684 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1685 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1686 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1687 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1688 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1689
16902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1691
1692 * math/libm-test.c: Support platforms without multiple rounding modes.
1693 * math/bug-nextafter.c: Support platforms without FP exceptions.
1694 * math/bug-nexttoward.c: Likewise.
1695 * math/test-fenv.c: Likewise.
1696 * math/test-misc.c: Likewise.
1697 * stdlib/bug-getcontext.c: Likewise.
1698
16992012-05-17 Andreas Jaeger <aj@suse.de>
1700
1701 * manual/examples/search.c (critter_cmp): Change signature to
1702 avoid warnings.
1703 * manual/string.texi (Collation Functions): Likewise.
1704
17052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1706
1707 * bits/types.h: Fold copyright years.
1708 * bits/typesizes.h: Likewise.
1709 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1710 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1712 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1713 * time/time.h: Likewise.
1714
17152012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1716
1717 [BZ #208]
1718 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1719 in instead of returning them. Return void.
1720 (__libc_mallinfo): Accumulate over all arenas.
1721 (__malloc_stats): Adjust for change in int_mallinfo interface.
1722
17232012-05-16 Roland McGrath <roland@hack.frob.com>
1724
1725 [BZ #10375]
1726 * configure.in (NM): Add AC_CHECK_TOOL for it.
1727 (libc_extra_cflags): New substituted variable.
1728 Check for -fstack-protector being used implicitly.
1729 * configure: Regenerated.
1730 * config.make.in (config-extra-cflags): New variable,
1731 gets @libc_extra_cflags@.
1732 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1733
1734 [BZ #10375]
1735 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1736 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1737 * configure: Regenerated.
1738 * config.make.in (CPPUNDEFS): New substituted variable.
1739 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1740 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1741 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1742
17432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1744
1745 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1746 (mq_attr): Use __syscall_slong_t.
1747
17482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1749
1750 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1751 Check __x86_64__ instead of __WORDSIZE.
1752 (_STAT_VER_LINUX): Likewise.
1753 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1754 __syscall_ulong_t and __syscall_slong_t.
1755 (stat64): Likewise.
1756
17572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1758
1759 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1760
17612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1762
1763 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1764
17652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1766
1767 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1768 __syscall_ulong_t.
1769
1770 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1771 include <bits/wordsize.h>. Check __x86_64__ instead of
1772 __WORDSIZE.
1773 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1774 defined.
1775 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1776
1777 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1778 include <bits/wordsize.h>. Check __x86_64__ instead of
1779 __WORDSIZE.
1780 (user_regs_struct): Use "__extension__ unsigned long long"
1781 instead of "unsigned long" if __x86_64__ is defined.
1782 (user): Likewise. Pad after pointer field if __ILP32__ is
1783 defined.
1784
17852012-05-16 Joseph Myers <joseph@codesourcery.com>
1786
1787 * configure.in (makeinfo): Require version 4.5 or later. Allow
1788 versions 5 to 9.
1789 * configure: Regenerated.
1790 * manual/install.texi (texinfo): Increase version requirement to
1791 4.5 or later.
1792 * INSTALL: Regenerated.
1793
1794 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1795
17962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1797
1798 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1799
1800 * sysdeps/x86_64/x32/ffs.c: New file.
1801
1802 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1803 __syscall_ulong_t.
1804 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1805 defined. Use __syscall_ulong_t.
1806 (shminfo): Use __syscall_ulong_t.
1807 (shm_info): Likewise.
1808
1809 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1810 __syscall_ulong_t.
1811
1812 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1813 <bits/wordsize.h>.
1814 (msgqnum_t): Use __syscall_ulong_t.
1815 (msglen_t): Likewise.
1816 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1817 __syscall_ulong_t.
1818
1819 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1820 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1821
1822 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1823
1824 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1825 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1826
1827 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1828 __syscall_slong_t.
1829
1830 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1831 include <bits/wordsize.h>. Check __x86_64__ instead of
1832 __WORDSIZE.
1833
1834 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1835 "unsigned long long int" if __x86_64__ is defined.
1836 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1837
1838 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1839 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1840 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1841
1842 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1843 <stdint.h>.
1844 (GET_PC): Cast to uintptr_t first.
1845 (GET_FRAME): Likewise.
1846 (GET_STACK): Likewise.
1847
1848 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1849 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1850 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1851 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1852 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1853 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1854 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1855 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1856 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1857 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1858 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1859 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1860 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1861 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1862 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1863 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1864 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1865 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1866 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1867 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1868 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1869 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1870 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1871 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1872 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1873 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1874 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1875 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1876 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1877
18782012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1879
1880 * Makerules (+depfiles): Also collect depfiles from .oS in
1881 $(extra-objs).
1882 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1883 .oS, $(libnldbl-routines)).
1884
1885 * Makerules (native-compile-mkdep-flags): Define.
1886 * sunrpc/Makefile (extra-objs): Add $(addprefix
1887 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1888 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1889 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1890 calling $(make-target-directory).
1891
18922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 * bits/types.h (__snseconds_t): Removed.
1895 * time/time.h (struct timespec): Replace __snseconds_t with
1896 __syscall_slong_t.
1897 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1898 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1899 Likewise.
1900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1901 (__SNSECONDS_T_TYPE): Likewise.
1902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1903 (__SNSECONDS_T_TYPE): Likewise.
1904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1905 (__SNSECONDS_T_TYPE): Likewise.
1906
19072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 * sysdeps/mach/hurd/bits/typesizes.h
1910 (__SYSCALL_SLONG_TYPE): New macro.
1911 (__SYSCALL_ULONG_TYPE): Likewise.
1912
19132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1914
1915 * bits/types.h (__syscall_slong_t): New type.
1916 (__syscall_ulong_t): Likewise.
1917
1918 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1919 (__SYSCALL_ULONG_TYPE): Likewise.
1920 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1921 (__SYSCALL_SLONG_TYPE): Likewise.
1922 (__SYSCALL_ULONG_TYPE): Likewise.
1923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1924 (__SYSCALL_SLONG_TYPE): Likewise.
1925 (__SYSCALL_ULONG_TYPE): Likewise.
1926 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1927 (__SYSCALL_SLONG_TYPE): Likewise.
1928 (__SYSCALL_ULONG_TYPE): Likewise.
1929
19302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1933 Add sigaltstack-offsets.sym.
1934 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1935 <sigaltstack-offsets.h>.
1936 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1937 longjmp_msg pointer.
1938 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1939 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1940 signal stack.
1941 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1942
19432012-05-15 Joseph Myers <joseph@codesourcery.com>
1944
1945 * elf/stackguard-macros.h: Remove file.
1946 * sysdeps/generic/stackguard-macros.h: New file.
1947 * sysdeps/i386/stackguard-macros.h: Likewise.
1948 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1949 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1950 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1951 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1952 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1953 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1954 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1955 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1956 <elf/stackguard-macros.h>.
1957
1958 [BZ #14109]
1959 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1960 __aligned__ in attribute.
1961 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1962 (gregset_t): Likewise.
1963
19642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1965
1966 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1967 * sysdeps/x86_64/64/Implies-after: Here. New file.
1968 * sysdeps/x86_64/x32/Implies-after: New file.
1969
19702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1971
1972 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1973 and access return value for _dl_profile_fixup. Use R10_LP to
1974 load frame size.
1975
19762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1977
1978 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1979
19802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1981
1982 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1983 * sysdeps/x86_64/x32/sysdep.h: New file.
1984
19852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1986
1987 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1988 * sysdeps/x86_64/setjmp.S: Likewise.
1989
19902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1991
1992 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1993 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1994 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1995 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1996 remove unused global constant.
1997
19982012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1999
2000 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2001 include of <not-cancel.h>.
2002
20032012-05-15 Roland McGrath <roland@hack.frob.com>
2004
2005 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2006
20072012-05-15 Jeff Law <law@redhat.com>
2008 Andreas Jaeger <aj@suse.de>
2009
2010 [BZ #13594]
2011 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2012 out from...
2013 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2014 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2015 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2016 code changing __hst_map_handle.map.
2017
20182012-05-15 Roland McGrath <roland@hack.frob.com>
2019
2020 * configure.in (sysnames): Look for Implies-before and Implies-after
2021 files.
2022 * configure: Regenerated.
2023
20242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2025
2026 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2027 8-byte data alignment with LP_SIZE alignment.
2028
20292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2030
2031 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2032 into R10_LP.
2033
20342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2035
2036 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2037
20382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2039
2040 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2041 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2042 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2043 Likewise.
2044 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2045
20462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2047
2048 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2049 (stackinfo_sub_sp): Likewise.
2050
20512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2052
2053 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2054 RAX_LP.
2055
20562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2057
2058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2059 into R*_LP.
2060
20612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2062
2063 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2064 sizes into R*_LP.
2065
20662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2067
2068 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2069
20702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2071
2072 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2073 into R11_LP and load __x86_64_shared_cache_size_half into
2074 R8_LP.
2075
20762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2079 R8_LP.
2080
20812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2082
2083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2084 logb for POWER7.
2085 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2086 logbf for POWER7.
2087 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2088 logbl for POWER7.
2089 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2090 powerpc32/power7/fpu/s_logb.c via #include.
2091 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2092 powerpc32/power7/fpu/s_logbf.c via #include.
2093 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2094 powerpc32/power7/fpu/s_logbl.c via #include.
2095
20962012-05-15 Joseph Myers <joseph@codesourcery.com>
2097
2098 * README.libm: Remove file.
2099
21002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2101
2102 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2103 count for x32. Use R*_LP and omit operand-size suffix.
2104
21052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2106
2107 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2108 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2109 * sysdeps/x86_64/x32/shlib-versions: New file.
2110
21112012-05-14 Roland McGrath <roland@hack.frob.com>
2112
2113 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2114 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2115 Use _dl_fatal_printf instead.
2116
21172012-05-14 Joseph Myers <joseph@codesourcery.com>
2118
2119 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2120 set if not set by the user. Do not allow for being unset.
2121 * sysdeps/unix/sysv/linux/configure: Regenerated.
2122
21232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2126 the `q' suffix from lea and replace .quad with ASM_ADDR.
2127
21282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2129
2130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2131 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2132 instead of $17.
2133 (PTR_DEMANGLE): Likewise.
2134
21352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2136
2137 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2138 (LP_OP): Likewise.
2139 (ASM_ADDR): Likewise.
2140 (RAX_LP): Likewise.
2141 (RBP_LP): Likewise.
2142 (RBX_LP): Likewise.
2143 (RCX_LP): Likewise.
2144 (RDI_LP): Likewise.
2145 (RSI_LP): Likewise.
2146 (RSP_LP): Likewise.
2147 (R8_LP): Likewise.
2148 (R9_LP): Likewise.
2149 (R10_LP): Likewise.
2150 (R10_LP): Likewise.
2151 (R11_LP): Likewise.
2152 (R12_LP): Likewise.
2153 (R13_LP): Likewise.
2154 (R14_LP): Likewise.
2155 (R15_LP): Likewise.
2156
21572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 * sysdeps/x86_64/x32/dl-machine.h: New file.
2160
21612012-05-14 Andreas Jaeger <aj@suse.de>
2162
2163 * manual/Makefile (subdir): Remove export of subdir.
2164 (all): Remove target.
2165 (.PHONY): Remove all from list.
2166 (mkinstalldirs): Remove.
2167 (.PHONY): Remove installdirs from list.
2168 ($(inst_infodir)/libc.info): Use make-target-directory.
2169 (installdirs): Remove.
2170 (subdir_%): Remove.
2171 (glibc-targets): Remove.
2172 (lib): Remove.
2173 (stubs): Remove.
2174 ($(objpfx)stubs ../po/manual.pot): Remove.
2175 ($(objpfx)stamp%): Remove.
2176 (make-target-directory): Remove.
2177 (subdir_install): Remove.
2178 (routines): Remove.
2179 (aux): Remove.
2180 (sources): Remove.
2181 (objects): Remove.
2182 (headers): Remove.
2183
2184 [BZ #13750]
2185 * manual/.gitignore: Remove, it's not needed anymore.
2186 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2187 all files in it.
2188 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2189 directory.
2190 (texis): Renamed to $(objpfx)texis.
2191 (texis-path): New, contains path to generated files.
2192 (chapters.%): Use texis-path for complete path, add extra argument
2193 libc-texinfo.sh.
2194 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2195 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2196 (summary,texi, stamp-summary): Use complete path of
2197 files. Generate files in build dir.
2198 (dir-add.texi): Build in build dir.
2199 (libm-err.texi,stamp-libm-err): Likewise.
2200 (version.texi, stamp-version): Likewise.
2201 (.%c.texi): Likewise.
2202 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2203 (mostlyclean): Remove target.
2204 (realclean): Remove target.
2205 (generated): Add new variable with contents from mostlyclean and
2206 realclean, remove entries duplicated in common-mostlyclean, add
2207 stamp-libm-err and stamp-version.
2208 (generated-dirs): Add libc directory.
2209 ($(inst_infodir)/libc.info): Install files from build dir.
2210
2211 * manual/install.texi (Configuring and compiling): Adjust since
2212 the info files are not part of the tar ball anymore.
2213
22142012-05-14 Andreas Jaeger <aj@suse.de>
2215
2216 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2217 variable.
2218
22192012-05-14 Joseph Myers <joseph@codesourcery.com>
2220
2221 [BZ #13717]
2222 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2223 to 2.2.0 where earlier.
2224 * sysdeps/unix/sysv/linux/configure: Regenerated.
2225 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2226 Remove conditional code.
2227 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2228 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2229 Remove conditional code.
2230 [!__NR_lchown]: Likewise.
2231 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2232 [__NR_lchown]: Likewise.
2233 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2234 comment referencing __ASSUME_LCHOWN_SYSCALL.
2235 * sysdeps/unix/sysv/linux/i386/sigaction.c
2236 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2237 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2238 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2239 Remove conditional code.
2240 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2241 (__protocol_available): Remove #if 0 code.
2242 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2243 conditional code.
2244 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2245 * sysdeps/unix/sysv/linux/kernel-features.h
2246 (__ASSUME_GETCWD_SYSCALL): Don't define.
2247 (__ASSUME_REALTIME_SIGNALS): Likewise.
2248 (__ASSUME_PREAD_SYSCALL): Likewise.
2249 (__ASSUME_PWRITE_SYSCALL): Likewise.
2250 (__ASSUME_POLL_SYSCALL): Likewise.
2251 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2252 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2253 non-SPARC.
2254 (__ASSUME_SIOCGIFNAME): Don't define.
2255 (__ASSUME_MSG_NOSIGNAL): Likewise.
2256 (__ASSUME_SENDFILE): Define unconditionally.
2257 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2258 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2259 conditional code.
2260 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2261 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2262 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2263 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2264 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2265 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2266 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2268 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2271 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2274 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2277 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2280 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2283 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2284 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2286 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2289 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2290 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2291 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2292 Remove conditional code.
2293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2294 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2295 Remove conditional code.
2296 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2297 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2298 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2299 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2300 Remove conditional code.
2301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2302 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2303 Remove conditional code.
2304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2305 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2306 Remove conditional code.
2307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2308 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2309 Remove conditional code.
2310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2311 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2312 Remove conditional code.
2313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2314 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2315 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2317 * sysdeps/unix/sysv/linux/sigaction.c
2318 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2319 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2320 * sysdeps/unix/sysv/linux/sigpending.c
2321 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2322 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2323 * sysdeps/unix/sysv/linux/sigprocmask.c
2324 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2325 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2326 * sysdeps/unix/sysv/linux/sigsuspend.c
2327 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2328 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2329 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2330 (__libc_missing_rt_sigs): Remove.
2331 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2332 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2333 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2334 Remove conditional code.
2335 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2336 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2337 return 1.
2338 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2339 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2340 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2341 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2342
23432012-05-14 Andreas Jaeger <aj@suse.de>
2344
2345 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2346 it's not used in glibc.
2347 (__coshm1): Likewise.
2348 (__acosh1p): Likewise.
2349 (__sgn): Likewise.
2350
2351 * manual/string.texi (Copying and Concatenation): Add missing
2352 variable in concat example.
2353 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2354
23552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2356
2357 [BZ #14103]
2358 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2359 __builtin_clzl with __builtin_clzll.
2360
23612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2362
2363 [BZ #14104]
2364 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2365 libc_freeres_ptr.
2366
23672012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2368
2369 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2370 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2371 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2372 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2373
23742012-05-14 Mike Frysinger <vapier@gentoo.org>
2375
2376 * NEWS: Update ia64 info.
2377
23782012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2379
2380 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2381 used as bcopy.
2382
23832012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2384
2385 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2386 * sysdeps/unix/syscalls.list (dup3): Likewise.
2387 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2388 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2389
23902012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2391
2392 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2393 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2394
23952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2396
2397 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2398 thread pointer.
2399 (TLS_IE): Use mov/add instead of movq/addq to load thread
2400 pointer.
2401 (TLS_GD_PREFIX): New.
2402 (TLS_GD): Use it.
2403
24042012-05-11 David S. Miller <davem@davemloft.net>
2405
2406 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2407 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2408 (_FPU_SETCW): Likewise.
2409
24102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2411
2412 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2413 is 32-byte aligned.
2414
24152012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2416
2417 [BZ #11837]
2418 * iconvdata/gb18030.c: Update tables.
2419 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2420 characters specially.
2421 (BODY for TO_LOOP): Add encoding of missing ranges.
2422
24232012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2424
2425 [BZ #13673]
2426 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2427 * sysdeps/mach/hurd/dup3.c: Likewise.
2428 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2429 * sysdeps/powerpc/memmove.c:: Likewise.
2430
24312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2432
2433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2434 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2435
24362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2437
2438 * elf/elf.h (R_X86_64_RELATIVE64): New.
2439 (R_X86_64_NUM): Updated.
2440 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2441 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2442 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2443 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2444 tst-quad1pie tst-quad2pie
2445 (modules-names): Add tst-quadmod1 tst-quadmod2.
2446 ($(objpfx)tst-quad1): New dependency.
2447 ($(objpfx)tst-quad2): Likewise.
2448 ($(objpfx)tst-quad1pie): Likewise.
2449 ($(objpfx)tst-quad2pie): Likewise.
2450 * sysdeps/x86_64/tst-quad1.c: New file.
2451 * sysdeps/x86_64/tst-quad1pie.c: New file.
2452 * sysdeps/x86_64/tst-quad2.c: Likewise.
2453 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2454 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2455 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2456 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2457 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2458
24592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2460
2461 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2462 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2463 * streams/stropts.h (t_scalar_t): Define type.
2464
2465 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2466 (_PATH_PRESERVE): Set to "/var/lib".
2467 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2468
2469 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2470 instead of int.
2471
2472 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2473 if __dir_mkfile succeeded.
2474
2475 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2476 checking for _hurd_dtablesize. Unlock it right after having
2477 finished _hurd_dtable allocation.
2478
24792012-05-10 Thomas Schwinge <thomas@schwinge.name>
2480
2481 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2482 * sysdeps/mach/hurd/configure: Regenerated.
2483 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2484 special-casing to...
2485 * sysdeps/gnu/configure.in: ... this new file.
2486 * sysdeps/unix/sysv/linux/configure: Regenerated.
2487 * sysdeps/gnu/configure: New generated file.
2488
2489 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2490 for Linux: use nsec instead of usec, as well as:
2491 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2492 members of type struct timespec.
2493 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2494 New macros.
2495 (struct stat64): Likewise.
2496 (_STATBUF_ST_NSEC): New macro.
2497 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2498
2499 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2500 __strtoul_internal rather than strtoul.
2501
25022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2503
2504 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2505 and reject them.
2506
25072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2508
2509 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2510 which preserves existing values.
2511 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2512
25132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2514
2515 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2516 TIMEOUT values. Return EINVAL for NFDS values either negative or
2517 greater than FD_SETSIZE.
2518
25192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2520
2521 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2522 allocated, call __vm_protect to finish enabling the existing space, and
2523 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2524 allocate the remainder.
2525
25262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2527
2528 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2529 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2530
25312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2532
2533 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2534 sysdeps/mach/hurd/readlink.c.
2535
2536 * posix/tst-sysconf.c (posix_options): Only use
2537 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2538 _POSIX_SYNCHRONIZED_IO when they are defined
2539 * sysdeps/mach/hurd/bits/posix_opt.h:
2540 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2541 (_XOPEN_REALTIME): Undefine macro.
2542 (_XOPEN_REALTIME_THREADS): Undefine macro.
2543 (_XOPEN_SHM): Undefine macro.
2544 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2545 macro to -1.
2546 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2547 macro to -1.
2548 (_POSIX_ASYNC_IO): Undefine macro.
2549 (_POSIX_PRIORITIZED_IO): Undefine macro.
2550 (_POSIX_SPIN_LOCKS): Define macro to -1.
2551
2552 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2553 SA_NODEFER, SA_RESETHAND.
2554 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2555 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2556 F_DUPFD_CLOEXEC.
2557
25582012-05-10 Thomas Schwinge <thomas@schwinge.name>
2559
2560 * elf/Makefile (pldd-modules): Define unconditionally.
2561
25622012-05-10 Thomas Schwinge <thomas@schwinge.name>
2563
2564 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2565
25662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2567
2568 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2569 Return ENOENT when name is empty.
2570 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2571
25722012-05-10 Thomas Schwinge <thomas@schwinge.name>
2573
2574 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2575
2576 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2577
25782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2579
2580 Fix mlock in all cases except non-readable pages.
2581 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2582 instead of VM_PROT_ALL as parameter to __vm_wire function.
2583
2584 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2585 (__mkdir): When path is `/', just fail with EEXIST.
2586 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2587
25882012-05-10 Thomas Schwinge <thomas@schwinge.name>
2589
2590 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2591 <sys/uio.h> (for writev).
2592 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2593 and <sys/param.h> (for MIN).
2594
25952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2596
2597 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2598 REQUESTED_TIME. Properly set the remaining time and return EINTR
2599 if interrupted.
2600
26012012-05-10 Thomas Schwinge <thomas@schwinge.name>
2602
2603 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2604 Depend on against $(link-rpcuserlibs).
2605
26062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2607
2608 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2609 (__libc_stack_end): Do not use attribute_relro.
2610 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2611 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2612 to libthread-provided value.
2613 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2614 attribute_relro.
2615
26162012-05-10 Thomas Schwinge <thomas@schwinge.name>
2617
2618 [BZ #3748]
2619 * bits/libc-lock.h (__libc_once_get): New macro.
2620 * sysdeps/mach/bits/libc-lock.h: Likewise.
2621 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2623 instead of using implementation details.
2624
2625 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2626 * libio/freopen.c: Likewise.
2627 * libio/freopen64.c: Likewise.
2628 * misc/syslog.c: Likewise.
2629 * nscd/connections.c: Likewise.
2630 * nscd/netgroupcache.c: Likewise.
2631 * sysdeps/posix/getcwd.c: Likewise.
2632
26332012-05-10 Roland McGrath <roland@hack.frob.com>
2634
2635 * math/w_ilogbf.c: Add #include <limits.h>.
2636
26372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2638
2639 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2640 path instead of returning without unlocking.
2641
2642 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2643 immediate-write ioctls.
2644 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2645
26462012-05-10 Thomas Schwinge <thomas@schwinge.name>
2647
2648 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2649 __builtin_frame_address instead of making assumptions about the
2650 location of the return address relative to DATA. Force early load of
2651 the return address.
2652 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2653 __builtin_frame_address.
2654
2655 dup3 for GNU Hurd.
2656 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2657 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2658 implement dup3 and do some further code clean-ups.
2659 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2660 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2661
26622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2663
2664 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2665
2666 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2667 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2668 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2669 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2670 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2671 d->port.lock.
2672
2673 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2674 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2675 when handler == SIG_ERR, not when handler != SIG_ERR.
2676
26772012-05-10 Thomas Schwinge <thomas@schwinge.name>
2678
2679 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2680 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2681 definitions.
2682
2683 accept4 for GNU Hurd.
2684 * include/sys/socket.h (__libc_accept4): New prototype.
2685 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2686 to implement __libc_accept4.
2687 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2688 __libc_accept4.
2689 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2690
2691 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2692 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2693 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2694 signal-defines.sym.
2695
26962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2697
2698 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2699
27002012-05-10 Thomas Schwinge <thomas@schwinge.name>
2701
2702 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2703 assertion on O_CLOEXEC flag.
2704 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2705 * hurd/intern-fd.c: Likewise.
2706 * hurd/port2fd.c: Likewise.
2707
27082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2709
2710 [BZ #3906]
2711 * bits/in.h (IPV6_PKTINFO): Define new macro.
2712 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2713
27142012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2715
2716 [BZ #13954]
2717 [BZ #13955]
2718 [BZ #13956]
2719 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2720 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2721 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2722 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2724 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2725 * math/libm-test.inc (logb_test) : Additional logb tests.
2726
27272012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2728 Andreas Jaeger <aj@suse.de>
2729
2730 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2731 * configure: Regenerated.
2732 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2733 * config.make.in (link-obsolete-rpc): New substituted variable.
2734 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2735 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2736 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2737 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2738 so that libc.a contains the symbols.
2739 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2740 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2741 * sunrpc/auth_none.c: Likewise.
2742 * sunrpc/auth_unix.c: Likewise.
2743 * sunrpc/authdes_prot.c: Likewise.
2744 * sunrpc/authuxprot.c: Likewise.
2745 * sunrpc/clnt_gen.c: Likewise.
2746 * sunrpc/clnt_perr.c: Likewise.
2747 * sunrpc/clnt_raw.c: Likewise.
2748 * sunrpc/clnt_simp.c: Likewise.
2749 * sunrpc/clnt_tcp.c: Likewise.
2750 * sunrpc/clnt_udp.c: Likewise.
2751 * sunrpc/clnt_unix.c: Likewise.
2752 * sunrpc/des_crypt.c: Likewise.
2753 * sunrpc/des_soft.c: Likewise.
2754 * sunrpc/get_myaddr.c: Likewise.
2755 * sunrpc/key_call.c: Likewise.
2756 * sunrpc/key_prot.c: Likewise.
2757 * sunrpc/netname.c: Likewise.
2758 * sunrpc/pm_getmaps.c: Likewise.
2759 * sunrpc/pm_getport.c: Likewise.
2760 * sunrpc/pmap_clnt.c: Likewise.
2761 * sunrpc/pmap_prot.c: Likewise.
2762 * sunrpc/pmap_prot2.c: Likewise.
2763 * sunrpc/pmap_rmt.c: Likewise.
2764 * sunrpc/publickey.c: Likewise.
2765 * sunrpc/rpc_cmsg.c: Likewise.
2766 * sunrpc/rpc_common.c: Likewise.
2767 * sunrpc/rpc_dtable.c: Likewise.
2768 * sunrpc/rpc_prot.c: Likewise.
2769 * sunrpc/rpc_thread.c: Likewise.
2770 * sunrpc/rtime.c: Likewise.
2771 * sunrpc/svc.c: Likewise.
2772 * sunrpc/svc_auth.c: Likewise.
2773 * sunrpc/svc_raw.c: Likewise.
2774 * sunrpc/svc_run.c: Likewise.
2775 * sunrpc/svc_tcp.c: Likewise.
2776 * sunrpc/svc_udp.c: Likewise.
2777 * sunrpc/svc_unix.c: Likewise.
2778 * sunrpc/svcauth_des.c: Likewise.
2779 * sunrpc/xcrypt.c: Likewise.
2780 * sunrpc/xdr.c: Likewise.
2781 * sunrpc/xdr_array.c: Likewise.
2782 * sunrpc/xdr_float.c: Likewise.
2783 * sunrpc/xdr_intXX_t.c: Likewise.
2784 * sunrpc/xdr_mem.c: Likewise.
2785 * sunrpc/xdr_rec.c: Likewise.
2786 * sunrpc/xdr_ref.c: Likewise.
2787 * sunrpc/xdr_sizeof.c: Likewise.
2788 * sunrpc/xdr_stdio.c: Likewise.
2789
27902012-05-10 Roland McGrath <roland@hack.frob.com>
2791
2792 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2793 change. Update copyright years.
2794
27952012-05-10 Joseph Myers <joseph@codesourcery.com>
2796
2797 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2798
27992012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2800 Joseph Myers <joseph@codesourcery.com>
2801 Paul Pluzhnikov <ppluzhnikov@google.com>
2802
2803 [BZ #14012]
2804 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2805 requiring rpcgen.
2806 [cross-compiling] (extra-libs): Likewise.
2807 [cross-compiling] (extra-libs-others): Likewise.
2808 [cross-compiling] (librpcsvc-routines): Likewise.
2809 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2810 [cross-compiling] (omit-deps): Likewise.
2811 (sunrpc-CPPFLAGS): New variable.
2812 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2813 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2814 (cross-rpcgen-objs): New variable.
2815 (extra-objs): Append $(cross-rpcgen-objs).
2816 ($(cross-rpcgen-objs)): New rule.
2817 ($(objpfx)cross-rpcgen): Likewise.
2818 (rpcgen-cmd): Define to use $(built-program-file). Expand
2819 comment.
2820 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2821 ($(objpfx)x%.stmp): Likewise.
2822 * sunrpc/proto.h [IS_IN_build] (_): Define.
2823 [IS_IN_build] (_libc_intl_domainname): Likewise.
2824
28252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2826
2827 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2828 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2829 and R_X86_64_TPOFF64.
2830
28312012-05-10 Joseph Myers <joseph@codesourcery.com>
2832
2833 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2834 sysdeps/unix/sysv/syscalls.list.
2835 (stime): Likewise.
2836 (utime): Likewise.
2837 * sysdeps/unix/sysv/syscalls.list: Remove file.
2838
28392012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2840
2841 [BZ #3440]
2842 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2843 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2844 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2845 (__LC_IDENTIFICATION): Make these macros useful in #if
2846 expressions, as required by C99.
2847
28482012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2849
2850 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2851 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2852 after this.
2853
28542012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2855
2856 * stdlib/longlong.h: Updated from GCC.
2857
28582012-05-09 Andreas Jaeger <aj@suse.de>
2859
2860 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2861 default is first entry.
2862 (run_mode): Set type.
2863 (main): Remove informal message about syslog.
2864 (options): Fix typo.
2865
2866 [BZ #14053]
2867 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2868 to asm.
2869 (lrint): Likewise.
2870 (llrintf): Likewise.
2871 (llrint): Likewise.
2872 (rint): Likewise.
2873 (rintf): Likewise.
2874 (nearbyint): Likewise.
2875 (nearbyintf): Likewise.
2876
28772012-05-09 Andreas Jaeger <aj@suse.de>
2878 Pedro Alves <palves@redhat.com>
2879
2880 * nscd/nscd.c (run_mode): Use enum.
2881 (main): Cleanup coding style issue.
2882
28832012-05-09 Alexandre Oliva <aoliva@redhat.com>
2884 Andreas Jaeger <aj@suse.de>
2885
2886 * nscd/nscd.c (go_background): Replaced with...
2887 (run_mode): ... this.
2888 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2889 (options): Add -F --foreground.
2890 (main): Implement it.
2891 (parse_opt): Parse it.
2892
28932012-05-09 Andreas Jaeger <aj@suse.de>
2894
2895 [BZ #14083]
2896 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2897 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2898 -Wconversion warning.
2899 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2900 Likewise.
2901
29022012-05-09 Joseph Myers <joseph@codesourcery.com>
2903
2904 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2905 == 0.
2906 (LC_ALL): Use macro-int-constant.
2907 (LC_COLLATE): Likewise.
2908 (LC_CTYPE): Likewise.
2909 (LC_MESSAGES): Likewise.
2910 (LC_MONETARY): Likewise.
2911 (LC_NUMERIC): Likewise.
2912 (LC_TIME): Likewise.
2913 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2914 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2915 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2916 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2917 Specify type.
2918 [C99-based standards] (float_t): Expect type.
2919 [C99-based standards] (double_t): Expect type.
2920 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2921 type.
2922 [C99-based standards] (HUGE_VALL): Likewise.
2923 [C99-based standards] (INFINITY): Likewise.
2924 [C99-based standards] (NAN): Likewise.
2925 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2926 [C99-based standards] (FP_NAN): Likewise.
2927 [C99-based standards] (FP_NORMAL): Likewise.
2928 [C99-based standards] (FP_SUBNORMAL): Likewise.
2929 [C99-based standards] (FP_ZERO): Likewise.
2930 [C99-based standards] (FP_FAST_FMA): Use
2931 optional-macro-int-constant. Specify type. Require == 1.
2932 [C99-based standards] (FP_FAST_FMAF): Likewise.
2933 [C99-based standards] (FP_FAST_FMAL): Likewise.
2934 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2935 [C99-based standards] (FP_ILOGBNAN): Likewise.
2936 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2937 Specify type.
2938 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2939 [C99-based standards] (math_errhandling): Specify type.
2940 [ISO99 || ISO11] (signgam): Do not allow.
2941 [non-C99-based standards] (copysignf): Do not allow.
2942 [non-C99-based standards] (exp2f): Likewise.
2943 [non-C99-based standards] (log2f): Likewise.
2944 [non-C99-based standards] (modff): Allow.
2945 [non-C99-based standards] (erff): Do not allow.
2946 [non-C99-based standards] (erfcf): Likewise.
2947 [non-C99-based standards] (gammaf): Likewise.
2948 [non-C99-based standards] (hypotf): Likewise.
2949 [non-C99-based standards] (j0f): Likewise.
2950 [non-C99-based standards] (j1f): Likewise.
2951 [non-C99-based standards] (jnf): Likewise.
2952 [non-C99-based standards] (lgammaf): Likewise.
2953 [non-C99-based standards] (tgammaf): Likewise.
2954 [non-C99-based standards] (y0f): Likewise.
2955 [non-C99-based standards] (y1f): Likewise.
2956 [non-C99-based standards] (ynf): Likewise.
2957 [non-C99-based standards] (isnanf): Likewise.
2958 [non-C99-based standards] (acoshf): Likewise.
2959 [non-C99-based standards] (asinhf): Likewise.
2960 [non-C99-based standards] (atanhf): Likewise.
2961 [non-C99-based standards] (cbrtf): Likewise.
2962 [non-C99-based standards] (expm1f): Likewise.
2963 [non-C99-based standards] (ilogbf): Likewise.
2964 [non-C99-based standards] (log1pf): Likewise.
2965 [non-C99-based standards] (logbf): Likewise.
2966 [non-C99-based standards] (nextafterf): Likewise.
2967 [non-C99-based standards] (remainderf): Likewise.
2968 [non-C99-based standards] (rintf): Likewise.
2969 [non-C99-based standards] (scalbf): Likewise.
2970 [non-C99-based standards] (copysignl): Likewise.
2971 [non-C99-based standards] (exp2l): Likewise.
2972 [non-C99-based standards] (log2l): Likewise.
2973 [non-C99-based standards] (modfl): Allow.
2974 [non-C99-based standards] (erfl): Do not allow.
2975 [non-C99-based standards] (erfcl): Likewise.
2976 [non-C99-based standards] (gammal): Likewise.
2977 [non-C99-based standards] (hypotl): Likewise.
2978 [non-C99-based standards] (j0l): Likewise.
2979 [non-C99-based standards] (j1l): Likewise.
2980 [non-C99-based standards] (jnl): Likewise.
2981 [non-C99-based standards] (lgammal): Likewise.
2982 [non-C99-based standards] (tgammal): Likewise.
2983 [non-C99-based standards] (y0l): Likewise.
2984 [non-C99-based standards] (y1l): Likewise.
2985 [non-C99-based standards] (ynl): Likewise.
2986 [non-C99-based standards] (isnanl): Likewise.
2987 [non-C99-based standards] (acoshl): Likewise.
2988 [non-C99-based standards] (asinhl): Likewise.
2989 [non-C99-based standards] (atanhl): Likewise.
2990 [non-C99-based standards] (cbrtl): Likewise.
2991 [non-C99-based standards] (expm1l): Likewise.
2992 [non-C99-based standards] (ilogbl): Likewise.
2993 [non-C99-based standards] (log1pl): Likewise.
2994 [non-C99-based standards] (logbl): Likewise.
2995 [non-C99-based standards] (nextafterl): Likewise.
2996 [non-C99-based standards] (remainderl): Likewise.
2997 [non-C99-based standards] (rintl): Likewise.
2998 [non-C99-based standards] (scalbl): Likewise.
2999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3000 [non-C99-based standards] (FP_*): Do not allow.
3001 [C99-based standards] (FP_*): Change to
3002 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3003 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3004 allow.
3005 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3006 (SIG_ERR): Likewise.
3007 [X/Open-based standards] (SIG_HOLD): Likewise.
3008 (SIG_IGN): Likewise.
3009 (SIGABRT): Use macro-int-constant. Specify type. Require
3010 positive value.
3011 (SIGFPE): Likewise.
3012 (SIGILL): Likewise.
3013 (SIGINT): Likewise.
3014 (SIGSEGV): Likewise.
3015 (SIGTER): Likewise.
3016 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3017 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3018 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3019 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3020 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3021 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3022 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3023 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3024 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3025 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3026 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3027 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3028 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3029 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3030 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3031 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3032 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3033 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3034 [X/Open-based standards] (SIGTRAP): Likewise.
3035 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3036 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3037 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3038 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3039 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3040 allow.
3041
30422012-05-08 Ian Wienand <ianw@vmware.com>
3043
3044 [BZ #14080]
3045 * time/tzset.c (__tzset_parse_tz): Update default rules for
3046 daylight time changes in the Energy Policy Act of 2005.
3047
30482012-05-09 Andreas Jaeger <aj@suse.de>
3049
3050 [BZ #13983]
3051 * elf/ldconfig.c (parse_conf): Change string to make clear that
3052 ldconfig only issued a warning if ld.so.conf does not exist.
3053
30542012-05-08 David S. Miller <davem@davemloft.net>
3055
3056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3057 movxtod instead of popping the value on the stack.
3058
3059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3060
30612012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3062
3063 * config.h.in: Add HAVE_ARM_PCS_VFP.
3064
30652012-05-08 Roland Mc Grath <roland@hack.frob.com>
3066
3067 [BZ #13979]
3068 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3069 checking but the checks are disabled for any reason.
3070
30712012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3072
3073 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3074 and ELF64_R_TYPE with ELFW(R_TYPE).
3075
30762012-05-08 Joseph Myers <joseph@codesourcery.com>
3077
3078 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3079 (ulimit): Likewise.
3080
3081 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3082 (settimeofday): Likewise.
3083
30842012-05-08 Mike Frysinger <vapier@gentoo.org>
3085
3086 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3087 a struct th_u2 inside the union, and move tu_block/tu_code into
3088 a new th_u3 union of tu_block/tu_code inside of that. Move
3089 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3090 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3091 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3092 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3093 (th_stuff): Change to th_u1.tu_stuff.
3094 (th_data): Define.
3095 (th_msg): Change to th_u1.th_u2.tu_data.
3096
30972012-05-07 David S. Miller <davem@davemloft.net>
3098
3099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3100
3101 [BZ #14074]
3102 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3103 (SETUP_PIC_REG): Use it.
3104 (SETUP_PIC_REG_LEAF): Use it.
3105
31062012-05-07 Joseph Myers <joseph@codesourcery.com>
3107
3108 [BZ #13885]
3109 [BZ #13923]
3110 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3111 USE_AS_EXPM1L.
3112 (EXPL_FINITE): Likewise.
3113 (FLDLOG): Likewise.
3114 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3115 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3116 e_expl.S.
3117 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3118 USE_AS_EXPM1L.
3119 (EXPL_FINITE): Likewise.
3120 (FLDLOG): Likewise.
3121 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3122 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3123 e_expl.S.
3124 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3125 test of -max_value argument for long double.
3126 * sysdeps/i386/fpu/libm-test-ulps: Update.
3127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3128
31292012-05-06 David S. Miller <davem@davemloft.net>
3130
3131 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3132 quad soft-float symbols whose references which are compiler
3133 generated.
3134 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3135
31362012-05-06 Joseph Myers <joseph@codesourcery.com>
3137
3138 [BZ #13884]
3139 [BZ #13914]
3140 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3141 USE_AS_EXP10L.
3142 (EXPL_FINITE): Likewise.
3143 (FLDLOG): Likewise.
3144 (c0): Likewise.
3145 (c1): Likewise.
3146 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3147 Adjust comments for base varying.
3148 (__expl_finite): Change alias to EXPL_FINITE.
3149 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3150 e_expl.S.
3151 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3152 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3153 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3154 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3155 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3156 USE_AS_EXP10L.
3157 (EXPL_FINITE): Likewise.
3158 (FLDLOG): Likewise.
3159 (c0): Likewise.
3160 (c1): Likewise.
3161 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3162 Adjust comments for base varying.
3163 (__expl_finite): Change alias to EXPL_FINITE.
3164 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3165 tests for bugs.
3166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3167
3168 [BZ #14064]
3169 * math/libm-test.inc (check_float_internal): Correct ulp
3170 calculation for subnormal expected results.
3171
31722012-05-06 Andreas Jaeger <aj@suse.de>
3173
3174 * Makeconfig (+math-flags): New, set to -frounding-math.
3175 (+cflags): Add +math-flags so that all of glibc gets compiled with
3176 it.
3177
3178 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3179
31802012-05-05 Joseph Myers <joseph@codesourcery.com>
3181
3182 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3183 Disable one test.
3184
3185 [BZ #13787]
3186 [BZ #13922]
3187 [BZ #14036]
3188 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3189 (__ieee754_expl): Allow for and saturate large arguments.
3190 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3191 (u_threshold): Likewise.
3192 (__exp): Call __ieee754_exp before checking for overflow and
3193 underflow.
3194 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3195 (u_threshold): Likewise.
3196 (__expf): Call __ieee754_expf before checking for overflow and
3197 underflow.
3198 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3199 (u_threshold): Likewise.
3200 (__expl): Call __ieee754_expl before checking for overflow and
3201 underflow.
3202 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3203 (__ieee754_expl): Allow for and saturate large arguments.
3204 * math/libm-test.inc (exp_test): Add another test. Do not allow
3205 missing overflow exception on overflow.
3206 (expm1_test): Do not allow missing overflow exception on overflow.
3207
3208 * sysdeps/i386/fpu/e_expl.c: Move to ...
3209 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3210 rather than using inline asm.
3211 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3212 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3213 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3214
3215 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3216 (nice): Likewise.
3217 (poll): Likewise.
3218 (signal): Likewise.
3219 (time): Likewise.
3220 (times): Likewise.
3221
32222012-05-04 Joseph Myers <joseph@codesourcery.com>
3223
3224 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3225 sysdeps/unix/common/syscalls.list.
3226 (fchmod): Likewise.
3227 (fchown): Likewise.
3228 (ftruncate): Likewise.
3229 (getrusage): Likewise.
3230 (gettimeofday): Likewise.
3231 (setpgid): Likewise.
3232 (setregid): Likewise.
3233 (setreuid): Likewise.
3234 (sigaction): Likewise.
3235 (truncate): Likewise.
3236 (vhangup): Likewise.
3237 * sysdeps/unix/common/syscalls.list: Remove file.
3238 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3239 * sysdeps/unix/sysv/linux/Implies: Likewise.
3240
32412012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3242
3243 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3245 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3246 Moved to ...
3247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3248 Here.
3249 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3250 to ...
3251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3252 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3253 to ...
3254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3255 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3256 to ...
3257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3258 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3259 to ...
3260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3261 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3262 to ...
3263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3264 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3265 to ...
3266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3267 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3268 to ...
3269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3270 Here.
3271 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3272 to ...
3273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3274 Here.
3275 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3276 to ...
3277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3278 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3279 Moved to ...
3280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3281 Here.
3282 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3283 to ...
3284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3285
32862012-05-04 Joseph Myers <joseph@codesourcery.com>
3287
3288 * sysdeps/unix/common/bits/dirent.h: Remove file.
3289 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3290
3291 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3292 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3293 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3294 * sysdeps/unix/bsd/isatty.c: Likewise.
3295 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3296 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3297 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3298
32992012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3300
3301 [BZ #13563]
3302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3303 long double comparison inaccuracies.
3304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3306
33072012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3308
3309 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3310 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3311
33122012-05-04 Joseph Myers <joseph@codesourcery.com>
3313
3314 [BZ #14049]
3315 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3316 nonzero digits before rounding a hex value.
3317 * stdlib/tst-strtod.c (tests): Add another test.
3318
33192012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3320
3321 * sysdeps/s390/fpu/libm-test-ulps: Update.
3322
33232012-05-03 Andreas Jaeger <aj@suse.de>
3324
3325 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3326 does not get optimized out.
3327 (malloc_opt_barrier): New.
3328
33292012-05-03 Andreas Jaeger <aj@suse.de>
3330 Roland McGrath <roland@hack.frob.com>
3331
3332 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3333 intermediate file deletion.
3334 (generated): Add .symlist files.
3335
33362012-05-03 Joseph Myers <joseph@codesourcery.com>
3337
3338 [BZ #13775]
3339 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3340 Redirect under this condition.
3341 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3342 [__USE_GNU] (__dprintf_chk): Not under this condition.
3343 [__USE_GNU] (__vdprintf_chk): Likewise.
3344 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3345 under this condition.
3346 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3347 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3348 [__USE_XOPEN2K8] (vdprintf): Likewise.
3349 [__USE_GNU] (__dprintf_chk): Not under this condition.
3350 [__USE_GNU] (__vdprintf_chk): Likewise.
3351 [__USE_GNU] (dprintf): Likewise.
3352 [__USE_GNU] (vdprintf): Likewise.
3353
33542012-05-03 Roland McGrath <roland@hack.frob.com>
3355
3356 * elf/Makefile (common-generated): Set this instead of generated for
3357 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3358 $(all-built-dso)-derived lists.
3359
33602012-05-03 Andreas Jaeger <aj@suse.de>
3361
3362 * sysdeps/i386/fpu/libm-test-ulps: Update.
3363
3364 * FAQ: Removed.
3365 * FAQ.in: Likewise.
3366 * scripts/gen-FAQ.pl: Likewise.
3367 * manual/install.texi (Installation): Point to online location of
3368 FAQ.
3369 * Makefile (files-for-dist): Remove FAQ.
3370 (FAQ): Remove.
3371
33722012-05-02 Allan McRae <allan@archlinux.org>
3373
3374 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3375 (LDFLAGS-reldepmod5.so): Likewise.
3376 (LDFLAGS-reldep6mod1.so): Likewise.
3377 (LDFLAGS-reldep6mod4.so): Likewise.
3378 (LDFLAGS-reldep8mod3.so): Likewise.
3379 (LDFLAGS-unload4mod1.so): Likewise.
3380 (LDFLAGS-unload4mod2.so): Likewise.
3381 (LDFLAGS-tst-initorder): Likewise.
3382 (LDFLAGS-tst-initordera2.so): Likewise.
3383 (LDFLAGS-tst-initordera3.so): Likewise.
3384 (LDFLAGS-tst-initordera4.so): Likewise.
3385 (LDFLAGS-tst-initorderb2.so): Likewise.
3386 (LDFLAGS-noload): Likewise.
3387 (LDFLAGS-next): Likewise.
3388 (LDFLAGS-order2mod1.so): Likewise.
3389 (LDFLAGS-order2mod2.so): Likewise.
3390 (LDFLAGS-tst-initorder2): Likewise.
3391 (LDFLAGS-tst-initorder2a.so): Likewise.
3392 (LDFLAGS-tst-initorder2b.so): Likewise.
3393 (LDFLAGS-tst-initorder2c.so): Likewise.
3394 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3395
33962012-05-02 David S. Miller <davem@davemloft.net>
3397
3398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3399
34002012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3401
3402 [BZ #14055]
3403 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3404
34052012-05-02 Andreas Jaeger <aj@suse.de>
3406
3407 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3408 since we manipulate rounding mode.
3409 (CPPFLAGS-test-idouble.c): Likewise.
3410 (CPPFLAGS-test-ifloat.c): Likewise.
3411 (CFLAGS-test-ldouble.c): Likewise.
3412 (CFLAGS-test-double.c): Likewise.
3413 (CFLAGS-test-float.c): Likewise.
3414 (CFLAGS-test-misc.c): Likewise.
3415 (CFLAGS-test-test-fenv.c): Likewise.
3416
34172012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3418
3419 [BZ #2550]
3420 [BZ #2570]
3421 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3422 comparisons to determine direction to adjust input.
3423
34242012-05-01 Roland McGrath <roland@hack.frob.com>
3425
3426 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3427 output to the target.
3428
3429 * scripts/localplt.awk: New file.
3430 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3431 (check-localplt-CFLAGS): Variable removed.
3432 ($(all-built-dso:=.jmprel)): New static pattern rule.
3433 (generated): Add those targets.
3434 (localplt-built-dso): New variable.
3435 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3436
3437 * elf/check-localplt.c: File removed.
3438
3439 * scripts/check-execstack.awk: New file.
3440 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3441 (check-execstack-CFLAGS): Variable removed.
3442 ($(objpfx)check-execstack.h): Target removed.
3443 ($(objpfx)execstack-default): New target.
3444 (generated): Add that instead of check-execstack.h.
3445 ($(all-built-dso:=.phdr)): New static pattern rule.
3446 (generated): Add those targets.
3447 * elf/check-execstack.c: File removed.
3448
3449 * scripts/check-textrel.awk: New file.
3450 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3451 (check-textrel-CFLAGS): Variable removed.
3452 (all-built-dso): Use := to define.o
3453 ($(all-built-dso:=.dyn)): New static pattern rule.
3454 (generated): Add those targets.
3455 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3456 * config.make.in (READELF): New substituted variable.
3457 * elf/check-textrel.c: File removed.
3458
34592012-05-01 Joseph Myers <joseph@codesourcery.com>
3460
3461 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3462 allow.
3463 * conform/data/ctype.h-data [C99-based standards] (isblank):
3464 Expect function.
3465 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3466 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3467 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3468 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3469 Specify type. Require positive value.
3470 (EILSEQ): Likewise.
3471 (ERANGE): Likewise.
3472 [ISO || POSIX] (EILSEQ): Do not expect.
3473 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3474 Specify type. Require positive value.
3475 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3476 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3477 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3478 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3479 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3480 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3481 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3482 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3483 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3484 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3485 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3486 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3487 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3488 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3489 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3490 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3491 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3492 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3493 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3494 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3495 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3496 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3497 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3498 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3499 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3500 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3501 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3502 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3503 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3504 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3505 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3506 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3507 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3508 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3509 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3510 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3511 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3512 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3513 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3514 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3515 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3516 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3517 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3518 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3519 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3520 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3521 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3522 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3523 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3524 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3525 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3526 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3527 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3528 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3529 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3530 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3531 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3532 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3533 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3534 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3535 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3536 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3537 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3538 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3539 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3540 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3541 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3542 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3544 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3545 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3547 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3548 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3549 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3550 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3551 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3552 Require >= 2.
3553 (FLT_ROUNDS): Expect as macro, not constant.
3554 (FLT_MANT_DIG): Use macro-int-constant.
3555 (DBL_MANT_DIG): Likewise.
3556 (LDBL_MANT_DIG): Likewise.
3557 (FLT_DIG): Likewise.
3558 (DBL_DIG): Likewise.
3559 (LDBL_DIG): Likewise.
3560 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3561 (DBL_MIN_EXP): Likewise.
3562 (LDBL_MIN_EXP): Likewise.
3563 (FLT_MAX_EXP): Use macro-int-constant.
3564 (DBL_MAX_EXP): Likewise.
3565 (LDBL_MAX_EXP): Likewise.
3566 (FLT_MAX_10_EXP): Likewise.
3567 (DBL_MAX_10_EXP): Likewise.
3568 (LDBL_MAX_10_EXP): Likewise.
3569 (FLT_MAX): Use macro-constant.
3570 (DBL_MAX): Likewise.
3571 (LDBL_MAX): Likewise.
3572 (FLT_EPSILON): Use macro-constant. Give upper bound.
3573 (DBL_EPSILON): Likewise.
3574 (LDBL_EPSILON): Likewise.
3575 (FLT_MIN): Likewise.
3576 (DBL_MIN): Likewise.
3577 (LDBL_MIN): Likewise.
3578 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3579 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3580 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3581 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3582 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3583 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3584 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3585 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3586 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3587 [ISO11] (FLT_TRUE_MIN): Likewise.
3588 [ISO11] (LDBL_TRUE_MIN): Likewise.
3589 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3590 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3591 (SCHAR_MIN): Use macro-int-constant. Specify type.
3592 (SCHAR_MAX): Likewise.
3593 (UCHAR_MAX): Likewise.
3594 (CHAR_MIN): Likewise.
3595 (CHAR_MAX): Likewise.
3596 (MB_LEN_MAX): Use macro-int-constant.
3597 (SHRT_MIN): Use macro-int-constant. Specify type.
3598 (SHRT_MAX): Likewise.
3599 (USHRT_MAX): Likewise.
3600 (INT_MAX): Likewise.
3601 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3602 bound negative.
3603 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3604 bound with "U".
3605 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3606 bound with "L".
3607 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3608 bound negative. Suffix upper bound with "L".
3609 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3610 bound with "UL".
3611 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3612 Specify type.
3613 [C99-based standards] (LLONG_MAX): Likewise.
3614 [C99-based standards] (ULLONG_MAX): Likewise.
3615 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3616 == 0.
3617 [ISO11] (max_align_t): Require type.
3618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3619
3620 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3621 from $CFLAGS, without defining away __attribute__ calls.
3622 (checknamespace): Use $CFLAGS_namespace.
3623
3624 * conform/conformtest.pl (@keywords): Only include C99 keywords
3625 for standards based on C99 or C11.
3626
3627 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3628 Disable tests.
3629 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3630 UNIX98]: Likewise.
3631
3632 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3633 usability of symbols in #if.
3634
3635 * conform/conformtest.pl: If macro or constant types start
3636 "promoted:", expect the symbol to be of the following type
3637 promoted by the integer promotions.
3638
3639 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3640 in one place. Also handle "macro-constant".
3641
3642 * conform/conformtest.pl: Only accept expected macro values with
3643 "==". Parse all "macro" lines in one place.
3644 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3645
3646 * conform/conformtest.pl: Handle braced types on "constant" lines
3647 instead of handling "typed-constant".
3648 * conform/data/signal.h-data: Use "constant" instead of
3649 "typed-constant".
3650
3651 * conform/conformtest.pl: Handle "optional-" at start of lines in
3652 one place rather than duplicating several cases. Handle each
3653 format of "macro" line with initial "optional-".
3654
3655 * conform/conformtest.pl: Only accept expected constant or
3656 optional-constant values with "==". Parse all "constant" lines in
3657 one place. Parse all "optional-constant" lines in one place.
3658 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3659 * conform/data/fmtmsg.h-data: Likewise.
3660 * conform/data/netinet/in.h-data: Likewise.
3661 * conform/data/tar.h-data: Likewise.
3662 * conform/data/limits.h-data: Use "==" form on "constant" and
3663 "optional-constant" lines.
3664
3665 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3666 Use -std=c99 for XOPEN2K.
3667 (@knownproblems): Remove.
3668 (newtoken): Don't check %isknown.
3669
3670 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3671 Do not expect macro.
3672 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3684 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3685 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3702 [XPG3] (acosh): Likewise.
3703 [XPG3] (asinh): Likewise.
3704 [XPG3] (atanh): Likewise.
3705 [XPG3] (cbrt): Likewise.
3706 [XPG3] (expm1): Likewise.
3707 [XPG3] (ilogb): Likewise.
3708 [XPG3] (log1p): Likewise.
3709 [XPG3] (logb): Likewise.
3710 [XPG3] (nextafter): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3713 [XPG3] (remainder): Likewise.
3714 [XPG3] (rint): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3717 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3718 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3719 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3720 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3721 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3722 [UNIX98 || XOPEN2K] (scalb): Expect.
3723 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3724 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3725 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3726 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3727 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3728 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3729 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3730 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3731 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3732 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3734 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3735 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3738 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3739 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3744 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3745 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3749 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3773 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3774 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3776 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3777 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3780 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3782 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3783 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3784 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3785 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3786 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3787 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3790 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3794 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3800 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3801 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3806 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3826 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3860
3861 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3862 _XOPEN_SOURCE_EXTENDED for XPG4.
3863
3864 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3865
3866 * Makeconfig (localtime): Remove variable.
3867 (inst_localtime-file): Likewise.
3868
38692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3870
3871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3872 Update.
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3874 Update.
3875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3876 Update.
3877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3878 Update.
3879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3880 Update.
3881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3882 Update.
3883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3884 Update.
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3886 Update.
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3888 Update.
3889
38902012-05-01 Joseph Myers <joseph@codesourcery.com>
3891
3892 [BZ #2550]
3893 [BZ #2570]
3894 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3895 comparisons to determine direction to adjust input.
3896 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3897 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3898 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3899 Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3901 Likewise.
3902 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3903 Likewise.
3904 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3905 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3906 Likewise.
3907 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3908 Likewise.
3909 * math/libm-test.inc (nexttoward_test): Add more tests.
3910
39112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3912
3913 [BZ #14040]
3914 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3915 in version GLIBC_2.1, not GLIBC_2.0.
3916 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3917 Likewise.
3918
39192012-04-30 Joseph Myers <joseph@codesourcery.com>
3920
3921 [BZ #13942]
3922 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3923 (1 - x) * (1 + x).
3924 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3925 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3926 * math/libm-test.inc (acos_test): Add more tests.
3927 (asin_test): Likewise.
3928 * sysdeps/i386/fpu/libm-test-ulps: Update.
3929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3930
3931 [BZ #14034]
3932 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3933 of square root.
3934 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3935 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3936 * math/libm-test.inc (acos_test_tonearest): New function.
3937 (acos_test_towardzero): Likewise.
3938 (acos_test_downward): Likewise.
3939 (acos_test_upward): Likewise.
3940 (asin_test_tonearest): Likewise.
3941 (asin_test_towardzero): Likewise.
3942 (asin_test_downward): Likewise.
3943 (asin_test_upward): Likewise.
3944 (main): Call the new functions.
3945 * sysdeps/i386/fpu/libm-test-ulps: Update.
3946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3947
3948 [BZ #13884]
3949 [BZ #13924]
3950 * math/e_exp10.c: Include <float.h>.
3951 (__ieee754_exp10): Handle underflow here rather than multiplying
3952 large negative argument by M_LN10.
3953 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3954 of __ieee754_expf.
3955 * math/e_exp10l.c: Include <float.h>.
3956 (__ieee754_exp10l): Handle underflow here rather than multiplying
3957 large negative argument by M_LN10l.
3958 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3959 spurious overflow exception on underflow.
3960
39612012-04-29 Marek Polacek <polacek@redhat.com>
3962
3963 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3964 (__fortify_function): New macro.
3965 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3966 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3967 __extern_always_inline.
3968 * libio/bits/stdio2.h: Likewise.
3969 * libio/bits/stdio.h: Likewise.
3970 * string/string.h: Likewise.
3971 * string/bits/string3.h: Likewise.
3972 * include/stdio.h: Likewise.
3973 * stdlib/bits/stdlib.h: Likewise.
3974 * stdlib/stdlib.h: Likewise.
3975 * rt/bits/mqueue2.h: Likewise.
3976 * rt/mqueue.h: Likewise.
3977 * posix/bits/unistd.h: Likewise.
3978 * posix/unistd.h: Likewise.
3979 * io/bits/poll2.h: Likewise.
3980 * io/bits/fcntl2.h: Likewise.
3981 * io/fcntl.h: Likewise.
3982 * io/sys/poll.h: Likewise.
3983 * misc/bits/syslog.h: Likewise.
3984 * misc/bits/syslog-ldbl.h: Likewise.
3985 * misc/sys/syslog.h: Likewise.
3986 * socket/bits/socket2.h: Likewise.
3987 * socket/sys/socket.h: Likewise.
3988 * debug/tst-chk1.c: Likewise.
3989 * wcsmbs/bits/wchar2.h: Likewise.
3990 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3991 * wcsmbs/wchar.h: Likewise.
3992
39932012-04-29 Andreas Jaeger <aj@suse.de>
3994
3995 * Makerules (tests): Remove enable-check-abi protection.
3996 (check-abi-warn): Remove.
3997 (check-abi-%): Remove check-abi-warn usage.
3998
3999 * configure.in: Remove check-abi configure option.
4000 * configure: Regenerated.
4001 * config.make.in (enable-check-abi): Remove.
4002
40032012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4004
4005 [BZ #14033]
4006 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4007 double functions to double *_finite functions.
4008
4009 [BZ #13941]
4010 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4011 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4012 LDBL_MIN_EXP.
4013 * stdio-common/Makefile (tests): Add tst-sprintf3.
4014 * stdio-common/tst-sprintf3.c: New file.
4015
4016 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4017 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4018
40192012-04-28 Joseph Myers <joseph@codesourcery.com>
4020
4021 * conform/conformtest.pl: Remove duplicate typed-constant
4022 handling.
4023
40242012-04-28 David S. Miller <davem@davemloft.net>
4025
4026 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4027 (check-abi-%): Remove AWK script prerequisite and explicit
4028 abilist directory.
4029 (check-abi): Rewrite to just diff the symlist with the abilist.
4030 (config-tls, config-abi-config): Delete, no longer used.
4031 (update-abi-%): Remove AWK script and explicit abilist directory.
4032 (update-abi): Rewrite to simply compare and conditionally copy the
4033 symlist and the sysdep abilist file. Remove update-abi-config
4034 checks.
4035 * abilist/ld.abilist: Remove.
4036 * abilist/libBrokenLocale.abilist: Remove.
4037 * abilist/libanl.abilist: Remove.
4038 * abilist/libcrypt.abilist: Remove.
4039 * abilist/libdl.abilist: Remove.
4040 * abilist/librt.abilist: Remove.
4041 * abilist/libthread_db.abilist: Remove.
4042 * abilist/libutil.abilist: Remove.
4043 * scripts/extract-abilist.awk: Remove.
4044 * scripts/merge-abilist.awk: Remove.
4045 * sysdeps/generic/libcidn.abilist: New file.
4046 * sysdeps/generic/libnss_compat.abilist: New file.
4047 * sysdeps/generic/libnss_db.abilist: New file.
4048 * sysdeps/generic/libnss_dns.abilist: New file.
4049 * sysdeps/generic/libnss_files.abilist: New file.
4050 * sysdeps/generic/libnss_hesiod.abilist: New file.
4051 * sysdeps/generic/libnss_nis.abilist: New file.
4052 * sysdeps/generic/libnss_nisplus.abilist: New file.
4053 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4054 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4055 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4056 file.
4057 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4058 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4059 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4060 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4061 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4062 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4063 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4064 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4065 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4066 file.
4067 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4068 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4069 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4070 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4071 file.
4072 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4073 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4074 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4075 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4076 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4077 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4078 file.
4079 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4080 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4081 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4082 file.
4083 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4085 New file.
4086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4087 New file.
4088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4089 New file.
4090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4091 New file.
4092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4093 New file.
4094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4095 New file.
4096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4097 New file.
4098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4099 New file.
4100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4101 New file.
4102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4103 New file.
4104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4105 New file.
4106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4107 New file.
4108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4109 New file.
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4111 file.
4112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4113 New file.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4115 New file.
4116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4117 file.
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4119 New file.
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4121 New file.
4122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4123 file.
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4125 New file.
4126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4127 New file.
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4129 New file.
4130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4131 New file.
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4133 New file.
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4135 New file.
4136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4138 file.
4139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4140 New file.
4141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4142 file.
4143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4144 file.
4145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4146 file.
4147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4148 file.
4149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4150 file.
4151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4152 New file.
4153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4154 file.
4155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4156 file.
4157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4158 New file.
4159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4160 file.
4161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4163 file.
4164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4165 New file.
4166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4167 file.
4168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4169 file.
4170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4171 file.
4172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4173 file.
4174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4175 file.
4176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4177 New file.
4178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4179 file.
4180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4181 file.
4182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4183 New file.
4184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4185 file.
4186 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4187 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4188 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4189 file.
4190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4191 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4192 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4193 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4194 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4195 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4196 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4197 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4198 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4199 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4202 file.
4203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4204 New file.
4205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4206 file.
4207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4208 file.
4209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4210 file.
4211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4212 file.
4213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4214 file.
4215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4216 New file.
4217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4218 New file.
4219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4220 file.
4221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4222 New file.
4223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4224 file.
4225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4227 file.
4228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4229 New file.
4230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4231 file.
4232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4233 file.
4234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4235 file.
4236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4237 file.
4238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4239 file.
4240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4241 New file.
4242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4243 New file.
4244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4245 file.
4246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4247 New file.
4248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4249 file.
4250
42512012-04-28 Joseph Myers <joseph@codesourcery.com>
4252
4253 * conform/conformtest.pl: Fix typo in handling typed-constant from
4254 allow-header.
4255
42562012-04-27 Joseph Myers <joseph@codesourcery.com>
4257
4258 * README: Cut down references to pre-2.6 Linux kernels and
4259 Linuxthreads. Update lists of configurations in libc and ports
4260 and sort alphabetically. Say "or newer" with Linux kernel version
4261 requirements.
4262
4263 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4264
42652012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4266
4267 [BZ #887]
4268 * math/libm-test.inc (logb_test_downward): New test to expose
4269 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4270 rounding mode.
4271
42722012-04-27 Joseph Myers <joseph@codesourcery.com>
4273
4274 [BZ #14027]
4275 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4276 to be done.
4277 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4278 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4279
42802012-04-26 Joseph Myers <joseph@codesourcery.com>
4281
4282 * sysdeps/unix/i386/brk.S: Remove file.
4283 * sysdeps/unix/i386/dl-brk.S: Likewise.
4284 * sysdeps/unix/i386/pipe.S: Likewise.
4285 * sysdeps/unix/i386/sigreturn.S: Likewise.
4286 * sysdeps/unix/i386/syscall.S: Likewise.
4287 * sysdeps/unix/i386/vfork.S: Likewise.
4288 * sysdeps/unix/i386/wait.S: Likewise.
4289
4290 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4291 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4292
4293 * configure.in (arm*-none*): Do not allow without
4294 --enable-hacker-mode.
4295 (netbsd*): Remove case setting base_os.
4296 (386bsd*): Likewise.
4297 (freebsd*): Likewise.
4298 (bsdi*): Likewise.
4299 (osf*): Likewise.
4300 (sunos*): Likewise.
4301 (ultrix*): Likewise.
4302 (newsos*): Likewise.
4303 (dynix*): Likewise.
4304 (*bsd*): Likewise.
4305 (sysv*): Likewise.
4306 (isc*): Likewise.
4307 (esix*): Likewise.
4308 (sco*): Likewise.
4309 (minix*): Likewise.
4310 (irix4*): Likewise.
4311 (irix6*): Likewise.
4312 (solaris[2-9]*): Likewise.
4313 (none): Likewise.
4314 * configure: Regenerated.
4315
43162012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4317
4318 [BZ #11521]
4319 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4320 overflow or cancellation in calculating denominator.
4321 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4322 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4323 down expression to avoid unexpected rounding in newer GCCs.
4324 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4325
43262012-04-26 David S. Miller <davem@davemloft.net>
4327
4328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4329 long-double compat symbols.
4330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4343
43442012-04-25 David S. Miller <davem@davemloft.net>
4345
4346 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4347 HWCAP_* values only after the memory barriers have been defined.
4348 (atomic_full_barrier): Define.
4349 (atomic_read_barrier): Define.
4350 (atomic_write_barrier): Define.
4351
43522012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4353
4354 * shlib-versions: Add libgcc_s version information.
4355 * sysdeps/generic/libgcc_s.h: Remove.
4356 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4357 libgcc_s.h.
4358 * sysdeps/gnu/unwind-resume.c: Likewise.
4359 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4360
43612012-04-25 David S. Miller <davem@davemloft.net>
4362
4363 * sysdeps/unix/sparc/brk.S: Delete.
4364 * sysdeps/unix/sparc/dl-brk.S: Delete.
4365 * sysdeps/unix/sparc/pipe.S: Delete.
4366 * sysdeps/unix/sparc/sysdep.S: Delete.
4367 * sysdeps/unix/sparc/sysdep.h: Delete.
4368 * sysdeps/unix/sparc/vfork.S: Delete.
4369 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4370 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4371 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4372 ret_ERRVAL, r0, r1, MOVE): Define.
4373 (JUMPTARGET): Remove.
4374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4375 sysdeps/unix/sparc/sysdep.h
4376 (ENTRY, END): Remove.
4377 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4378
43792012-04-25 Joseph Myers <joseph@codesourcery.com>
4380
4381 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4382 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4383 -DIS_IN_build.
4384
4385 * timezone/README: Update upstream location and email address for
4386 tzcode and tzdata.
4387 * timezone/zdump.c: Update from tzcode 2012b.
4388 * timezone/zic.c: Likewise.
4389
4390 * configure.in (libc_cv_as_needed): Remove test.
4391 * configure: Regenerated.
4392 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4393 conditional definition.
4394 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4395 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4396 * config.make.in (have-as-needed): Remove variable.
4397
43982012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4399 Paul Pluzhnikov <ppluzhnikov@google.com>
4400
4401 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4402 strings correctly.
4403
44042012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4405
4406 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4407 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4408 * sysdeps/sh/strlen.S: Likewise.
4409
44102012-04-24 Joseph Myers <joseph@codesourcery.com>
4411
4412 * sysdeps/unix/fork.S: Remove file.
4413 * sysdeps/unix/i386/fork.S: Likewise.
4414 * sysdeps/unix/sparc/fork.S: Likewise.
4415
4416 * sysdeps/unix/system.c: Remove file.
4417 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4418
4419 * sysdeps/unix/getegid.S: Remove file.
4420 * sysdeps/unix/geteuid.S: Likewise.
4421
44222012-04-24 Roland McGrath <roland@hack.frob.com>
4423
4424 * scripts/check-localplt.awk: New file.
4425 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4426 of diff.
4427 * scripts/data/localplt-generic.data: Add a comment.
4428
4429 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4430 NODE when __dir_mkfile failed.
4431 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4432 Reported by Ludovic Courtès <ludo@gnu.org>.
4433
44342012-04-24 Andreas Jaeger <aj@suse.de>
4435
4436 * Makerules (common-clean): Also remove gen-as-const-headers
4437 files.
4438
44392012-04-24 Joseph Myers <joseph@codesourcery.com>
4440
4441 * Makerules (native-compile): Do not change working directory for
4442 build. Use $(OUTPUT_OPTION) in command.
4443 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4444
44452012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4446
4447 [BZ #13886]
4448 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4449 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4450 * math/libm-test.inc (floor_test): Add more tests.
4451 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4452
44532012-04-24 Joseph Myers <joseph@codesourcery.com>
4454
4455 * sysdeps/unix/getdents.c: Remove file.
4456 * sysdeps/unix/sysv/getdents.c: Likewise.
4457 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4458
4459 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4460 sysdeps/unix/mman/syscalls.list.
4461 (mmap): Likewise.
4462 (mprotect): Likewise.
4463 (msync): Likewise.
4464 (munmap): Likewise.
4465 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4466 * sysdeps/unix/mman/syscalls.list: Remove.
4467 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4468
4469 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4470 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4471 * configure: Regenerated.
4472 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4473 $(libgcc_s_suffix).
4474 * config.make.in (libgcc_s_suffix): Remove variable.
4475
44762012-04-23 Joseph Myers <joseph@codesourcery.com>
4477
4478 * sysdeps/unix/sysv/gethostname.c: Move to ...
4479 * sysdeps/posix/gethostname.c: ... here.
4480
4481 * sysdeps/unix/execve.S: Remove file.
4482
4483 * sysdeps/unix/_exit.S: Remove file.
4484
44852012-04-23 Andreas Jaeger <aj@suse.de>
4486
4487 [BZ #13739]
4488 * manual/Makefile: Remove make dist support, there's no
4489 need for a stand-alone documentation tar ball.
4490 (TEXI2DVI): Define always, it's not in Makeconfig.
4491 (dist): Removed.
4492 (tar-it): Removed.
4493 (edition): Removed.
4494 (glibc-doc-$(edition).tar): Removed
4495 (%.Z): Removed.
4496 (%.gz): Removed.
4497 (%.uu): Removed.
4498 (ETAGS): Remove, it's in Makeconfig.
4499 (move-if-change): Remove, it's in Makeconfig.
4500
45012013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4502
4503 [BZ #13970]
4504 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4505 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4506 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4507 (strtod_l, strtof_l, strtold_l): Remove __wur.
4508 It is not necessarily an error to ignore strtol's return value.
4509 One can reliably look at the stored endptr to decide whether
4510 the number had valid syntax.
4511
45122012-04-21 Andreas Jaeger <aj@suse.de>
4513
4514 [BZ #13739]
4515 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4516
45172012-04-21 Joseph Myers <joseph@codesourcery.com>
4518
4519 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4520 * sysdeps/unix/sysv/Versions: Remove file.
4521
45222012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4523
4524 [BZ #13927]
4525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4526
45272012-04-21 Nick Alcock <nick.alcock@oracle.com>
4528
4529 [BZ #7064]
4530 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4531 version from __vm86.
4532
45332012-04-20 Joseph Myers <joseph@codesourcery.com>
4534
4535 * sysdeps/unix/common/lxstat.c: Remove file.
4536 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4537
4538 * sysdeps/unix/sysv/Makefile: Remove file.
4539
4540 * sysdeps/unix/sysv/direct.h: Remove file.
4541
4542 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4543 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4544 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4545 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4546 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4547 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4548 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4549
4550 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4551
4552 * sysdeps/unix/xmknod.c: Remove file.
4553 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4554
4555 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4556
4557 * sysdeps/unix/sysv/i386/time.S: Remove file.
4558
4559 * sysdeps/unix/fxstat.c: Remove file.
4560 * sysdeps/unix/xstat.c: Likewise.
4561 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4562
4563 * sysdeps/unix/sysv/sigaction.c: Remove file.
4564
4565 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4566 (sysdep_headers): Remove variable.
4567 [termio.h not in sysdep_headers] (generated): Likewise.
4568 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4569 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4570 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4571 * sysdeps/unix/sysv/tcflow.c: Likewise.
4572 * sysdeps/unix/sysv/tcflush.c: Likewise.
4573 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4574 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4575 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4576 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4577 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4578
4579 * sysdeps/unix/siglist.c: Remove file.
4580
4581 * sysdeps/unix/getppid.S: Remove file.
4582
4583 * sysdeps/unix/mkdir.c: Remove file.
4584 * sysdeps/unix/rmdir.c: Likewise.
4585
45862012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4587
4588 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4589 ERR_MAX value.
4590 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4591 errlist-compat value.
4592
45932012-04-18 David S. Miller <davem@davemloft.net>
4594
4595 * sysdeps/generic/memcopy.h (reg_char): Delete.
4596 * debug/strcat_chk.c: Use char, not reg_char.
4597 * debug/strcpy_chk.c: Likewise.
4598 * debug/strncat_chk.c: Likewise.
4599 * debug/strncpy_chk.c: Likewise.
4600 * string/memchr.c: Likewise.
4601 * string/memrchr.c: Likewise.
4602 * string/rawmemchr.c: Likewise.
4603 * string/strcat.c: Likewise.
4604 * string/strchr.c: Likewise.
4605 * string/strchrnul.c: Likewise.
4606 * string/strcmp.c: Likewise.
4607 * string/strcpy.c: Likewise.
4608 * string/strncat.c: Likewise.
4609 * string/strncmp.c: Likewise.
4610 * string/strncpy.c: Likewise.
4611
46122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4613
4614 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4615 __builtin_memcopy is called when src and dest ranges are known to not
4616 overlap.
4617
46182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4619
4620 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4621 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4622 fwd_align_merge macro call.
4623 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4624 bwd_align_merge macro call.
4625 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4626
46272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4628
4629 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4630 bwd_align_merge macros.
4631 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4632 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4633 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4634
46352012-04-18 David S. Miller <davem@davemloft.net>
4636
4637 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4638
46392012-04-18 Andreas Jaeger <aj@suse.de>
4640
4641 [BZ# 6794]
4642 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4643 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4644 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4645
4646 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4647 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4648 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4649
4650 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4651 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4652 Adjust for changed ldbl-128 files.
4653
4654 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4655 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4656 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4657
46582012-04-17 David S. Miller <davem@davemloft.net>
4659
4660 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4661
46622012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4663
4664 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4665 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4666 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4667 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4668 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4669 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4670
46712012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4672
4673 [BZ #6794]
4674 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4675 * math/libm-test.inc: Add ilogb errno and exception tests.
4676 * math/w_ilogb.c: New file: ilogb wrapper.
4677 * math/w_ilogbf.c: New file: ilogbf wrapper.
4678 * math/w_ilogbl.c: New file: ilogbl wrapper.
4679 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4680 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4681 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4682 exception being thrown with 0.0 as argument.
4683 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4684 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4685 exception being thrown with 0.0 as argument.
4686 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4687 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4688 exception being thrown with 0.0 as argument.
4689 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4690 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4691 exception being thrown with 0.0 as argument.
4692 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4693 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4694 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4695 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4696 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4697 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4698 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4699 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4700 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4701
47022012-04-17 Petr Baudis <pasky@ucw.cz>
4703
4704 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4705 with altivec.
4706
47072012-04-16 Marek Polacek <polacek@redhat.com>
4708
4709 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4710
47112012-04-16 Marek Polacek <polacek@redhat.com>
4712
4713 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4714 operands of fdivp instruction.
4715
47162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4717
4718 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4719 * elf/tst-auditmod3b.c: Likewise.
4720 * elf/tst-auditmod4b.c: Likewise.
4721 * elf/tst-auditmod5b.c: Likewise.
4722 * elf/tst-auditmod6b.c: Likewise.
4723 * elf/tst-auditmod6c.c: Likewise.
4724 * elf/tst-auditmod7b.c: Likewise.
4725 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4726 * sysdeps/x86_64/preconfigure.in: Likewise.
4727 * sysdeps/x86_64/preconfigure: Regenerated.
4728
47292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4730
4731 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4732 __ILP32__.
4733
47342012-04-13 Antoine Balestrat <merkil33@gmail.com>
4735
4736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4737 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4738
47392012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4740
4741 [BZ #13973]
4742 * locale/iso-639.def: Fix gl language name. Spotted by
4743 Yaron Shahrabani.
4744
47452012-04-12 Roland McGrath <roland@hack.frob.com>
4746
4747 [BZ #2074]
4748 * libio/libio.h (__io_write_fn): Update comment.
4749
47502012-04-12 Petr Baudis <pasky@ucw.cz>
4751
4752 [BZ #2074]
4753 * stdio.texi (Hook Functions): The user provided writer function
4754 is not allowed to return -1.
4755
47562012-04-11 David S. Miller <davem@davemloft.net>
4757
4758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4759
47602012-04-11 Mike Frysinger <vapier@gentoo.org>
4761
4762 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4763 Add a leading slash to rtkaio.
4764
47652012-04-11 Jim Meyering <meyering@redhat.com>
4766
4767 [BZ #11959]
4768 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4769 It is not necessarily an error to ignore fwrite's return
4770 value. One can reliably use ferror to test for errors after
4771 the fact.
4772
47732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4774
4775 * bits/types.h (__snseconds_t): New type.
4776 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4777
4778 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4779 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4780 (__SNSECONDS_T_TYPE): Likewise.
4781 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4782 (__SNSECONDS_T_TYPE): Likewise.
4783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4784 (__SNSECONDS_T_TYPE): Likewise.
4785
47862012-04-10 Andreas Jaeger <aj@suse.de>
4787
4788 [BZ #2636]
4789 * manual/time.texi (Processor Time): Return type of times is
4790 elapsed real time since an arbitrary point in the past.
4791 (CPU Time): Move CLK_TCK from here...
4792 (Processor Time): ...to here. Correct description.
4793 * manual/conf.texi (Constants for Sysconf): Correct description of
4794 _SC_CLK_TCK.
4795
47962012-04-10 David S. Miller <davem@davemloft.net>
4797
4798 [BZ #13967]
4799 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4800 where the is a gap between DT_REL(A) and DT_JMPREL.
4801
48022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4803
4804 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4805 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4806 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4807
48082012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4809
4810 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4811 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4812 (dl_main): Handle --inhibit-cache.
4813 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4814 _dl_inhibit_cache.
4815 * elf/dl-load.c (_dl_map_object): Use it.
4816 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4817
48182012-04-09 Joseph Myers <joseph@codesourcery.com>
4819
4820 [BZ #13872]
4821 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4822 (__ieee754_powl): Saturate large exponents rather than testing for
4823 overflow of y*log2(x).
4824 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4825 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4826 exceptions.
4827
4828 [BZ #11521]
4829 * math/s_ctan.c: Include <float.h>.
4830 (__ctan): Avoid internal overflow or cancellation in calculating
4831 denominator.
4832 * math/s_ctanf.c: Likewise.
4833 * math/s_ctanl.c: Likewise.
4834 * math/s_ctanh.c: Likewise.
4835 * math/s_ctanhf.c: Likewise.
4836 * math/s_ctanhl.c: Likewise.
4837 * math/libm-test.inc (ctan_test): Add more tests.
4838 (ctanh_test): Likewise.
4839 * sysdeps/i386/fpu/libm-test-ulps: Update.
4840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4841
48422012-04-09 Andreas Jaeger <aj@suse.de>
4843
4844 [BZ #6894]
4845 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4846 is an optional BSD extension.
4847
4848 [BZ #10254]
4849 * manual/stdio.texi (Opening Streams): Document additional fopen
4850 parameters.
4851
48522012-04-09 Roland McGrath <roland@hack.frob.com>
4853
4854 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4855 %eax without telling the compiler.
4856
48572012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4858
4859 [BZ # 13963]
4860 * manual/install.texi: Use sourceware.org.
4861
48622012-04-09 Joseph Myers <joseph@codesourcery.com>
4863
4864 [BZ #13873]
4865 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4866 (__ieee754_pow): Generate overflow and underflow using huge*huge
4867 and tiny*tiny rather than just returning constant infinity or zero
4868 for large exponents.
4869 * math/libm-test.inc (pow_test): Require overflow exceptions for
4870 applicable cases of large exponents.
4871
4872 [BZ #706]
4873 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4874 (__ieee754_pow): Use iterative multiplication algorithm only for
4875 integer exponents with absolute value below 1024. Check for odd
4876 integer exponents when using algorithm for real exponents.
4877 * math/libm-test.inc (pow_test): Add more tests.
4878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4879
48802012-04-08 Joseph Myers <joseph@codesourcery.com>
4881
4882 [BZ #13705]
4883 * math/libm-test.inc (exp_test): Do not allow overflow exception
4884 on underflow test.
4885
48862012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4887
4888 [BZ #13705]
4889 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4890 instead of __kernel_standard_f.
4891
48922012-04-08 Mike Frysinger <vapier@gentoo.org>
4893
4894 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4895 * sysdeps/x86_64/memset_chk.S: Likewise.
4896
48972012-04-08 Andreas Jaeger <aj@suse.de>
4898
4899 [BZ #10153]
4900 * manual/startup.texi (Environment Access): Describe return value
4901 for putenv and setenv.
4902
4903 [BZ #6895]
4904 * manual/filesys.texi (Directory Entries): Add description for
4905 DT_LNK.
4906
4907 [BZ #6890]
4908 * manual/filesys.texi (Directory Entries): Clarify that it's file
4909 system not operating system in the description of DT_UNKNOWN.
4910
4911 [BZ #6578]
4912 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4913
49142012-04-08 Stephen Compall <s11@member.fsf.org>
4915
4916 [BZ #6649]
4917 * manual/llio.texi (Opening and Closing Files): Add cross
4918 reference to explain mode argument.
4919
49202012-04-07 Mike Frysinger <vapier@gentoo.org>
4921
4922 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4923 * sysdeps/x86_64/memset_chk.S: Likewise.
4924
49252012-04-07 David S. Miller <davem@davemloft.net>
4926
4927 * elf/elf.h (R_SPARC_WDISP10): Define.
4928 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4929 R_SPARC_SIZE32.
4930 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4931 R_SPARC_SIZE64 and R_SPARC_H34.
4932
49332012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4934
4935 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4936 conditions and remove no longer applicable assertion.
4937
49382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4939
4940 * bits/byteswap.h: Include <features.h>.
4941 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4942 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4943
49442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4945
4946 * bits/byteswap.h (__bswap_16): Removed.
4947 Include <bits/byteswap-16.h> to get __bswap_16.
4948 * sysdeps/i386/bits/byteswap.h: Likewise.
4949 * sysdeps/s390/bits/byteswap.h: Likewise.
4950 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4951 * bits/byteswap-16.h: New file.
4952 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4953 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4954 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4955 * string/Makefile (headers): Add bits/byteswap-16.h.
4956
49572012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4958
4959 [BZ #13895]
4960 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4961 extra indirection.
4962 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4963 * nss/tst-nss-static.c: New.
4964
49652012-04-06 Robert Millan <rmh@gnu.org>
4966
4967 [BZ #6486]
4968 * manual/llio.texi (File Position Primitive): lseek
4969 refers to WHENCE when it really means OFFSET.
4970
49712012-04-06 Andreas Jaeger <aj@suse.de>
4972
4973 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4974 strncmp declarations.
4975
4976 * abilist/libc.abilist: Add __poll and __ppoll.
4977
49782012-04-05 David S. Miller <davem@davemloft.net>
4979
4980 * scripts/check-local-headers.sh: Accept a host triplet in the
4981 path matched by the exclude regexp.
4982
4983 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4984 definition.
4985 * sysdeps/powerpc/powerpc32/dl-machine.h
4986 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4987 * sysdeps/s390/s390-32/dl-machine.h
4988 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4989 * sysdeps/sparc/sparc32/dl-machine.h
4990 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4991 * sysdeps/sparc/sparc64/dl-machine.h
4992 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4993
4994 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4995 lazy binding.
4996 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4997 undefined symbol errors.
4998
4999 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5000 DT_NEEDED entries.
5001
50022012-04-05 Michael Matz <matz@suse.de>
5003
5004 [BZ #13592]
5005 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5006
50072012-04-05 Andreas Jaeger <aj@suse.de>
5008
5009 [BZ #13908]
5010 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5011 comment.
5012
50132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5014
5015 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5016 which ROUND is no valid rounding mode.
5017
50182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5019
5020 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5021 read again.
5022 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5023
50242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5025
5026 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5027 an exception using FPU order intentionally.
5028
50292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5030
5031 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5032 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5033 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5034 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5035
50362012-04-05 Simon Josefsson <simon@josefsson.org>
5037
5038 [BZ #12340]
5039 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5040 EINVAL when BUFLEN is too smal.
5041
50422012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5043
5044 [BZ #13553]
5045 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5046 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5047
50482012-04-03 Andreas Jaeger <aj@suse.de>
5049
5050 [BZ #13938]
5051 * manual/setjmp.texi (System V contexts): Fix sentence.
5052
5053 [BZ #13926]
5054 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5055 New macro for this case.
5056 [!__GNUC__] (__bswap_64): New inline function for this case.
5057 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5058 * bits/byteswap.h: Likewise.
5059 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5060 ull, guard with __GLIBC_HAVE_LONG_LONG.
5061
5062 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5063 __GLIBC_HAVE_LONG_LONG.
5064
5065 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5066 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5067
50682012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5069
5070 [BZ #13691]
5071 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5072 inptr and inend, rather than using last_ch.
5073
50742012-04-02 David S. Miller <davem@davemloft.net>
5075
5076 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5077 * stdio-common/printf-parse.h (read_int): Change return type to
5078 'int', return -1 on INT_MAX overflow.
5079 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5080 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5081 overflows INT_MAX. Check for overflow of in-format-string precision
5082 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5083 SIZE_MAX not INT_MAX for integer overflow test.
5084 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5085 skip the construct in the format string but do not record anything.
5086 * stdio-common/bug22.c: Adjust to test both width/prevision
5087 INT_MAX overflow as well as total length INT_MAX overflow. Check
5088 explicitly for proper errno values.
5089
50902012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5091
5092 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5093 CHAR_MAX.
5094 * string/test-strcmp.c [! WIDE]: Likewise.
5095 * time/tst-mktime2.c: Likewise for INT_MAX.
5096 * string/test-string.h: #include <sys/param.h> for MIN.
5097
5098 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5099 * sysdeps/i386/init-first.c (init): Likewise.
5100 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5101 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5102 * sysdeps/sh/init-first.c (init): Likewise.
5103
51042012-04-01 Ulrich Drepper <drepper@gmail.com>
5105
5106 * po/ru.po: Update from translation team.
5107 * po/vi.po: Likewise.
5108
51092012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5110
5111 * resolv/nss_dns/dns-host.c: Merge copyright years.
5112
51132012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5114
5115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5116 Optimize memcpy with prefetch if
5117 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5118 src, dst pointers have unequal 16 byte alignments.
5119
51202012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5121
5122 [BZ #13928]
5123 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5124 from a CNAME entry and return the minimum ttl for the query.
5125 (gaih_getanswer_slice): Likewise.
5126
51272012-03-30 Jeff Law <law@redhat.com>
5128
5129 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5130 due to long keys.
5131 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5132 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5133
5134 * resolv/nss_dns/dns-host.c: Update copyright year.
5135
51362012-03-30 Ulrich Drepper <drepper@gmail.com>
5137
5138 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5139 requests to save a system call. Fix check that all bytes are sent.
5140
5141 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5142 comments for sendmmsg.
5143
51442012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5145
5146 [BZ #13691]
5147 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5148 with only 1 character between 0x0041 and 0x01b0.
5149 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5150 * wcsmbs/tst-mbsnrtowcs.c: New file.
5151
51522012-03-29 David S. Miller <davem@davemloft.net>
5153
5154 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5155 small copies by hand.
5156
51572012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5158
5159 [BZ #13761]
5160 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5161 _nss_compat_initgroups_dyn): Fall back to malloc/free
5162 for large group memberships.
5163
51642012-03-28 David S. Miller <davem@davemloft.net>
5165
5166 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5167 that branches into memcpy.
5168 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5169 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5170 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5171 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5172 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5173 bits.
5174 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5175 implementation too.
5176 * sysdeps/sparc/mempcpy.S: New file.
5177
5178 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5179 the IFUNC routine in the libc case.
5180 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5181
5182 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5183 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5184 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5185 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5186 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5187 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5188 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5189 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5190
5191 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5192 loop to 256 bytes instead of 64 bytes and fix test signedness.
5193
5194 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5195 * sysdeps/sparc/sparc32/Makefile: rather than here...
5196 * sysdeps/sparc/sparc64/Makefile: and here.
5197
51982012-03-28 Ulrich Drepper <drepper@gmail.com>
5199
5200 * malloc/mallocbug.c: Avoid warnings about unused variables.
5201
52022012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5203
5204 [BZ #13760]
5205 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5206 in the right place. Discard and retry query if response is
5207 larger than input buffer size.
5208
52092012-03-28 Joseph Myers <joseph@codesourcery.com>
5210
5211 [BZ #369]
5212 [BZ #2678]
5213 [BZ #3866]
5214 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5215 x for large integer exponent.
5216 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5217 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5218 sign of result as needed afterwards.
5219 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5220 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5221 result for underflowing pow the same as for overflow.
5222 (__kernel_standard_l): Handle powl overflow and underflow here
5223 rather than calling __kernel_standard.
5224 * math/libm-test.inc (pow_test): Add more tests.
5225
5226 [BZ #3868]
5227 [BZ #13879]
5228 [BZ #13910]
5229 [BZ #13911]
5230 [BZ #13912]
5231 [BZ #13913]
5232 [BZ #13915]
5233 [BZ #13916]
5234 [BZ #13917]
5235 [BZ #13918]
5236 [BZ #13919]
5237 [BZ #13920]
5238 [BZ #13921]
5239 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5240 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5241 (__kernel_standard_l): New function.
5242 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5243 __kernel_standard.
5244 * math/w_acosl.c (__acosl): Likewise.
5245 * math/w_asinl.c (__asinl): Likewise.
5246 * math/w_atan2l.c (__atan2l): Likewise.
5247 * math/w_atanhl.c (__atanhl): Likewise.
5248 * math/w_coshl.c (__coshl): Likewise.
5249 * math/w_exp10l.c (__exp10l): Likewise.
5250 * math/w_exp2l.c (__exp2l): Likewise.
5251 * math/w_fmodl.c (__fmodl): Likewise.
5252 * math/w_hypotl.c (__hypotl): Likewise.
5253 * math/w_j0l.c (__j0l, __y0l): Likewise.
5254 * math/w_j1l.c (__j1l, __y1l): Likewise.
5255 * math/w_jnl.c (__jnl, __ynl): Likewise.
5256 * math/w_lgammal.c (__lgammal): Likewise.
5257 * math/w_log10l.c (__log10l): Likewise.
5258 * math/w_log2l.c (__log2l): Likewise.
5259 * math/w_logl.c (__logl): Likewise.
5260 * math/w_powl.c (__powl): Likewise.
5261 * math/w_remainderl.c (__remainderl): Likewise.
5262 * math/w_scalbl.c (sysv_scalbl): Likewise.
5263 * math/w_sinhl.c (__sinhl): Likewise.
5264 * math/w_sqrtl.c (__sqrtl): Likewise.
5265 * math/w_tgammal.c (__tgammal): Likewise.
5266 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5267 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5268 * math/libm-test.inc (acos_test): Add more tests.
5269 (acosh_test): Likewise.
5270 (asin_test): Likewise.
5271 (atanh_test): Likewise.
5272 (exp_test): Likewise.
5273 (exp10_test): Likewise.
5274 (exp2_test): Likewise.
5275 (expm1_test): Likewise.
5276 (lgamma_test): Likewise.
5277 (log_test): Likewise.
5278 (log10_test): Likewise.
5279 (log1p_test): Likewise.
5280 (log2_test): Likewise.
5281 (pow_test): Do not allow some spurious overflow exceptions.
5282 (sqrt_test): Add more tests.
5283 (tgamma_test): Likewise.
5284 (y0_test): Likewise.
5285 (y1_test): Likewise.
5286 (yn_test): Likewise.
5287
52882012-03-27 Anton Blanchard <anton@samba.org>
5289
5290 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5291 MAP_HUGETLB.
5292 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5293 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5294 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5295
52962012-03-27 David S. Miller <davem@davemloft.net>
5297
5298 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5299
5300 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5301 have-as-vis3 check.
5302
53032012-03-27 Andreas Jaeger <aj@suse.de>
5304
5305 * sysdeps/x86_64/elf/configure.in: Moved to ...
5306 * sysdeps/x86_64/configure.in: ... here.
5307 * sysdeps/x86_64/elf/start.S: Moved to ...
5308 * sysdeps/x86_64/start.S: ... here.
5309 * sysdeps/x86_64/elf/configure: Delete.
5310
5311 * sysdeps/x86_64/configure.in: Merge contents from
5312 sysdeps/i386/configure.in (without i686 check).
5313
5314 * sysdeps/i386/elf/Versions: Merge into ...
5315 * sysdeps/i386/Versions: ... this.
5316 * sysdeps/i386/elf/Versions: Delete file.
5317 * sysdeps/i386/elf/start.S: Moved to ...
5318 * sysdeps/i386/start.S: ...here.
5319 * sysdeps/i386/elf/configure.in: Merge into...
5320 * sysdeps/i386/configure.in: ...here.
5321 * sysdeps/i386/elf/configure.in: Delete file.
5322 * sysdeps/i386/elf/configure: Delete file.
5323
5324 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5325 * debug/backtracesyms.c: ... here.
5326 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5327 * debug/backtracesymsfd.c: ... here.
5328 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5329 * sysdeps/generic/ifunc-sel.h: ... here.
5330
5331 * sysdeps/unix/i386/start.c: Delete file.
5332 * sysdeps/unix/sparc/start.c: Delete file.
5333 * sysdeps/unix/start.c: Delete file.
5334
5335 * sysdeps/sh/elf/configure.in: Moved to ...
5336 * sysdeps/sh/configure.in: ... here.
5337 * sysdeps/sh/elf/start.S: Moved to ...
5338 * sysdeps/sh/start.S: ... here.
5339 * sysdeps/sh/elf/configure: Delete file.
5340
5341 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5342 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5343 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5344 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5345 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5346 * sysdeps/powerpc/powerpc64/start.S: here.
5347 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5348 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5349 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5350 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5351 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5352
5353 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5354 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5355 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5356 * sysdeps/powerpc/powerpc32/start.S: ... here.
5357 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5358 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5359 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5360
5361 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5362 * sysdeps/powerpc/ifunc-sel.h: ... here.
5363 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5364 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5365
5366 * sysdeps/sparc/elf/configure.in: Moved to ...
5367 * sysdeps/sparc/configure.in: ... here.
5368 * sysdeps/sparc/elf/configure: Delete file.
5369 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5370 * sysdeps/sparc/sparc32/start.S: ... here.
5371 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5372 * sysdeps/sparc/sparc64/start.S: ... here.
5373 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5374 * sysdeps/sparc/sparc32/Makefile: ... this.
5375 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5376 * sysdeps/sparc/sparc64/Makefile: ... this.
5377
5378 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5379 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5380 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5381 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5382 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5383 * sysdeps/s390/s390-32/setjmp.S: ... here.
5384 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5385 * sysdeps/s390/s390-32/configure.in: ... here.
5386 * sysdeps/s390/s390-32/elf/configure: Delete file.
5387 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5388 * sysdeps/s390/s390-32/start.S: ... here.
5389
5390 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5391 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5392 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5393 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5394 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5395 * sysdeps/s390/s390-64/setjmp.S: ... here.
5396 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5397 * sysdeps/s390/s390-64/configure.in: ... here
5398 * sysdeps/s390/s390-64/elf/configure: Delete file.
5399 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5400 * sysdeps/s390/s390-64/start.S: ... here.
5401 * sysdeps/s390/s390-64/elf/configure: Delete.
5402
5403 * configure.in: Remove support for elf directories in sysdeps.
5404
5405 * configure: Regenerated.
5406 * sysdeps/i386/configure: Regenerated.
5407 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5408 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5409 * sysdeps/s390/s390-32/configure: Regenerated.
5410 * sysdeps/s390/s390-64/configure: Regenerated.
5411 * sysdeps/sh/configure: Regenerated.
5412 * sysdeps/sparc/configure: Regenerated.
5413 * sysdeps/x86_64/configure: Regenerated.
5414
54152012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5416
5417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5418
5419 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5420 denormal result into account.
5421
54222012-03-25 Roland McGrath <roland@hack.frob.com>
5423
5424 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5425 Reported by Allan McRae <allan@archlinux.org>.
5426
54272012-03-23 Jeff Law <law@redhat.com>
5428
5429 * nss/getnssent.c (__nss_getent): Fix typo.
5430
54312012-03-23 David S. Miller <davem@davemloft.net>
5432
5433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5434
54352012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5436
5437 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5438 to pad to uint64_t for each field.
5439 (dl_tls_index): Replace unsigned long with uint64_t.
5440
54412012-03-23 Daniel Jacobowitz <dmj@google.com>
5442 Paul Pluzhnikov <ppluzhnikov@google.com>
5443
5444 [BZ #6528]
5445 * grp/Makefile (otherlibs): Don't set it.
5446 * inet/Makefile (otherlibs): Likewise.
5447 * login/Makefile (otherlibs): Likewise.
5448 * nscd/Makefile (otherlibs): Likewise.
5449 * posix/Makefile (otherlibs): Likewise.
5450 * pwd/Makefile (otherlibs): Likewise.
5451 * rt/Makefile (otherlibs): Likewise.
5452 * sunrpc/Makefile (otherlibs): Likewise.
5453 * nss/Makefile (otherlibs): Likewise.
5454 Add libnss_files to routines and static-only-routines.
5455 ($(objpfx)getent): Remove rule.
5456 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5457 static-only-routines.
5458
54592012-03-22 Joseph Myers <joseph@codesourcery.com>
5460
5461 [BZ #13892]
5462 * math/s_cexp.c: Include <float.h>.
5463 (__cexp): Handle exp result overflowing not necessarily
5464 overflowing both real and imaginary parts of result.
5465 * math/s_cexpf.c: Likewise.
5466 * math/s_cexpl.c: Likewise.
5467 * math/libm-test.inc (cexp_test): Add more tests.
5468 * sysdeps/i386/fpu/libm-test-ulps: Update.
5469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5470
54712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5472
5473 * include/link.h (ELFW): New macro.
5474 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5475 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5476
54772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5478
5479 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5480 with uint64_t.
5481
54822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5483
5484 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5485 declaration.
5486 (struct La_x32_retval): Likewise.
5487
54882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5489
5490 * sysdeps/x86_64/preconfigure.in: New file.
5491 * sysdeps/x86_64/preconfigure: New generated file.
5492
54932012-03-22 Joseph Myers <joseph@codesourcery.com>
5494
5495 [BZ #13824]
5496 * math/e_exp2l.c: Include <float.h>.
5497 (__ieee754_exp2l): Handle overflow and underflow cases
5498 separately. Only pass fractional part of argument to
5499 __ieee754_expl.
5500 * math/libm-test.inc (exp2_test): Add more tests.
5501
5502 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5503 negating x to take absolute value.
5504 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5505 Likewise.
5506 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5507 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5508 Likewise.
5509 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5510 computing low part if x was negated.
5511 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5512
55132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5514
5515 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5516 la_x32_gnu_pltexit.
5517 (pltexit): Cast int_retval to ptrdiff_t.
5518 * elf/tst-auditmod3b.c: Likewise.
5519 * elf/tst-auditmod4b.c: Likewise.
5520 * elf/tst-auditmod5b.c: Likewise.
5521 * elf/tst-auditmod6b.c: Likewise.
5522 * elf/tst-auditmod6c.c: Likewise.
5523 * elf/tst-auditmod7b.c: Likewise.
5524
5525 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5526 and x32_gnu_pltexit.
5527
5528 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5529 __ELF_NATIVE_CLASS.
5530 (La_x32_regs): New macro.
5531 (La_x32_retval): Likewise.
5532 (la_x32_gnu_pltenter): New function prototype.
5533 (la_x32_gnu_pltexit): Likewise.
5534
55352012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5536
5537 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5538 exponent.
5539
5540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5541
5542 * configure.in (libc_cv_cc_nofma): Check for option to disable
5543 generation of FMA instructions.
5544 * configure: Regenerate.
5545 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5546 * sysdeps/ieee754/dbl-64/Makefile: New file.
5547 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5548 Remove brandred-fma4.
5549 (CFLAGS-brandred-fma4.c): Remove.
5550 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5551 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5552 define.
5553 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5554 define.
5555
55562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5557
5558 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5559 LLONG_MAX != LONG_MAX.
5560 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5561 (_fitoa_word): Likewise.
5562 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5563 LLONG_MAX != LONG_MAX.
5564 * stdio-common/_itowa.h: Include <_itoa.h>.
5565 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5566 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5567 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5568 only if not defined.
5569 (_ITOA_WORD_TYPE): Likewise.
5570 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5571 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5572
55732012-03-21 David S. Miller <davem@davemloft.net>
5574
5575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5576
55772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5578
5579 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5580 of x86_64 when setting libc_cv_slibdir, libdir and
5581 libc_cv_localedir.
5582 * sysdeps/unix/sysv/linux/configure: Regenerated.
5583
55842012-03-21 Joseph Myers <joseph@codesourcery.com>
5585
5586 * manual/lang.texi (Old Varargs): Remove section.
5587 (How Variadic): Update menu.
5588 (va_start): Do not mention varargs.h.
5589
55902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5591 Joseph Myers <joseph@codesourcery.com>
5592
5593 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5594 link test.
5595 * configure: Regenerated.
5596
55972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5598
5599 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5600 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5601 conformtest.pl
5602
56032012-03-21 Joseph Myers <joseph@codesourcery.com>
5604
5605 * NOTES: Remove.
5606 * Makefile (files-for-dist): Remove NOTES.
5607 (NOTES): Remove rule.
5608 * README: Don't refer to NOTES.
5609 * manual/creature.texi: Don't include macros.texi.
5610 * manual/intro.texi (creature.texi): Remove comment referring to
5611 NOTES.
5612
5613 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5614 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5615 * configure: Regenerated.
5616 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5617 LIBC_TRY_CC_OPTION.
5618 (libc_cv_as_i686): Likewise.
5619 (libc_cv_cc_avx): Likewise.
5620 (libc_cv_cc_sse2avx): Likewise.
5621 (libc_cv_cc_fma4): Likewise.
5622 (libc_cv_cc_novzeroupper): Likewise.
5623 * sysdeps/i386/configure: Regenerated.
5624
5625 [BZ #13883]
5626 * sysdeps/i386/fpu/s_cexp.S: Remove.
5627 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5628 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5629 * math/libm-test.inc (cexp_test): Add more tests.
5630 * sysdeps/i386/fpu/libm-test-ulps: Update.
5631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5632
56332012-03-21 Allan McRae <allan@archlinux.org>
5634
5635 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5636
56372012-03-21 Joseph Myers <joseph@codesourcery.com>
5638
5639 [BZ #13871]
5640 * math/w_exp2.c: Do not include <float.h>.
5641 (o_threshold, u_threshold): Remove.
5642 (__exp2): Calculate result before checking finiteness and calling
5643 __kernel_standard.
5644 * math/w_exp2f.c: Likewise.
5645 * math/w_exp2l.c: Likewise.
5646 * math/libm-test.inc (exp2_test): Require overflow exception for
5647 1e6 input.
5648
5649 [BZ #3866]
5650 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5651 range of signed 64-bit integers before using fistpll. Remove
5652 checks for whether integers fit in mantissa bits.
5653 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5654 the range of signed 32-bit integers before using fistpl. Remove
5655 checks for whether integers fit in mantissa bits.
5656 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5657 (__ieee754_powl): Test for y outside the range of signed 64-bit
5658 integers before using fistpll. Reduce 64-bit values to 63-bit
5659 ones as needed.
5660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5661 divide-by-zero is raised for zero to large negative powers.
5662 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5663 (__ieee754_powl): Test for y outside the range of signed 64-bit
5664 integers before using fistpll. Reduce 64-bit values to 63-bit
5665 ones as needed.
5666 * math/libm-test.inc (pow_test): Add more tests.
5667
56682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5669
5670 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5671 <stdio-common/_itoa.h>.
5672 * debug/segfault.c: Likewise.
5673 * elf/dl-cache.c: Likewise.
5674 * elf/dl-minimal.c: Likewise.
5675 * elf/dl-misc.c: Likewise.
5676 * elf/dl-sysdep.c: Likewise.
5677 * elf/dl-version.c: Likewise.
5678 * elf/rtld.c: Likewise.
5679 * hurd/hurdsock.c: Likewise.
5680 * hurd/lookup-retry.c: Likewise.
5681 * malloc/malloc.c: Likewise.
5682 * malloc/mtrace.c: Likewise.
5683 * nscd/nscd_getgr_r.c: Likewise.
5684 * nscd/nscd_getpw_r.c: Likewise.
5685 * nscd/nscd_getserv_r.c: Likewise.
5686 * posix/getopt_init.c: Likewise.
5687 * posix/wordexp.c: Likewise.
5688 * stdio-common/_itoa.c: Likewise.
5689 * stdio-common/printf_fphex.c: Likewise.
5690 * stdio-common/vfprintf.c: Likewise.
5691 * string/_strerror.c: Likewise.
5692 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5693 * sysdeps/i386/i686/hp-timing.h: Likewise.
5694 * sysdeps/mach/_strerror.c: Likewise.
5695 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5696 * sysdeps/mach/hurd/sethostid.c: Likewise.
5697 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5698 * sysdeps/mach/xpg-strerror.c: Likewise.
5699 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5700 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5701 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5702 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5703 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5704 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5705 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5706 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5707 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5708 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5709 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5710 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5711 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5712 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5713 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5714 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5715 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5716 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5717 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5718 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5719 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5720
5721 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5722
5723 * stdio-common/_itoa.h: Moved to ...
5724 * sysdeps/generic/_itoa.h: Here.
5725
5726 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5727
5728 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5729 instead of "_itoa.h" and "_itowa.h".
5730 * stdio-common/vfprintf.: Likewise.
5731
57322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5733
5734 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5735 <bits/wordsize.h>.
5736 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5737 (__signbit): Likwise.
5738 (llrintf): Likwise.
5739 (llrint): Likwise.
5740
57412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5742
5743 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5744 __WORDSIZE != 64.
5745
57462012-03-20 Joseph Myers <joseph@codesourcery.com>
5747
5748 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5749 OVERFLOW_EXCEPTION_OK.
5750 * math/libm-test.inc ("Philosophy"): Update comment about
5751 exception testing.
5752 (OVERFLOW_EXCEPTION): Define.
5753 (OVERFLOW_EXCEPTION_OK): Likewise.
5754 (INVALID_EXCEPTION_OK): Renumber.
5755 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5756 (IGNORE_ZERO_INF_SIGN): Likewise.
5757 (test_exceptions): Handle FE_OVERFLOW.
5758 (exp10_test): Expect overflow exceptions.
5759 (exp2_test): Likewise.
5760 (expm1_test): Likewise.
5761 (nextafter_test): Likewise.
5762 (pow_test): Likewise.
5763 (scalbn_test): Likewise.
5764 (scalbln_test): Likewise.
5765
57662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5767
5768 * sysdeps/x86_64/bits/atomic.h
5769 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5770 64bit integer.
5771 (atomic_exchange_acq): Likewise.
5772 (__arch_exchange_and_add_body): Likewise.
5773 (__arch_add_body): Likewise.
5774 (atomic_add_negative): Likewise.
5775 (atomic_add_zero): Likewise.
5776
57772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5778
5779 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5780 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5781
57822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5783
5784 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5785 Check __x86_64__ instead of __WORDSIZE.
5786
57872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5788
5789 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5790
57912012-03-19 David S. Miller <davem@davemloft.net>
5792
5793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5794
5795 * sysdeps/sparc/fpu/fenv_private.h: New file.
5796 * sysdeps/sparc/fpu/math_private.h: Use it.
5797 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5798 Remove.
5799 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5800 (libc_feholdexcept_setroundl): Remove.
5801 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5802 Remove.
5803 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5804 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5805
58062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5807
5808 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5809 int64_t instead of long int.
5810 (INSERT_WORDS64): Likwise.
5811
58122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5813
5814 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5815 _Unwind_GetCFA return to _Unwind_Ptr first.
5816
58172012-03-19 Joseph Myers <joseph@codesourcery.com>
5818
5819 [BZ #13629]
5820 * math/s_clog.c: Include <float.h>.
5821 (__clog): Scale large or subnormal inputs.
5822 * math/s_clogf.c: Likewise.
5823 * math/s_clogl.c: Likewise.
5824 * math/s_clog10.c: Include <float.h>.
5825 (M_LOG10_2): Define.
5826 (__clog10): Scale large or subnormal inputs.
5827 * math/s_clog10f.c: Likewise.
5828 * math/s_clog10l.c: Likewise.
5829 * math/libm-test.inc (clog_test): Add more tests.
5830 (clog10_test): Likewise.
5831 * sysdeps/i386/fpu/libm-test-ulps: Update.
5832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5833
5834 [BZ #11451]
5835 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5836 x and y.
5837 * math/libm-test.inc (atan2_test): Add another test.
5838
5839 * Makerules (common-objdir-compile): Remove.
5840 * sysdeps/unix/Makefile (config-generated): Do not add
5841 $(unix-generated) to variable.
5842 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5843 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5844 Remove rule.
5845 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5846 Likewise.
5847 [generic bits/local_lim.h] (before-compile): Do not append to
5848 variable.
5849 [generic bits/local_lim.h] (common-generated): Likewise.
5850 [generic sys/param.h] (before-compile): Do not append to variable.
5851 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5852 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5853 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5854 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5855 include.
5856 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5857 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5858 [generic sys/param.h] ($(addprefix
5859 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5860 [generic sys/param.h] (common-generated): Do not append to
5861 variable.
5862 [generic sys/param.h] (sysdep_headers): Likewise.
5863 [generic bits/errno.h] (before-compile): Do not append to
5864 variable.
5865 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5866 rule.
5867 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5868 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5869 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5870 [generic bits/errno.h] (common-generated): Do not append to
5871 variable.
5872 [generic bits/ioctls.h] (before-compile): Do not append to
5873 variable.
5874 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5875 rule.
5876 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5877 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5878 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5879 rule.
5880 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5881 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5882 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5883 [generic bits/ioctls.h] (common-generated): Do not append to
5884 variable.
5885 [generic sys/syscall.h] (syscall.h): Remove variable.
5886 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5887 rule.
5888 [generic sys/syscall.h] (before-compile): Do not append to
5889 variable.
5890 [generic sys/syscall.h] (common-generated): Likewise.
5891 * sysdeps/unix/errnos-tmpl.c: Remove file.
5892 * sysdeps/unix/errnos.awk: Likewise.
5893 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5894 * sysdeps/unix/ioctls.awk: Likewise.
5895 * sysdeps/unix/mk-local_lim.c: Likewise.
5896 * sysdeps/unix/snarf-ioctls: Likewise.
5897
58982012-03-19 Richard Henderson <rth@twiddle.net>
5899
5900 * sysdeps/i386/fpu/fenv_private.h: New file.
5901 * sysdeps/i386/fpu/math_private.h: Use it.
5902 (math_opt_barrier, math_force_eval): Remove.
5903 (libc_feholdexcept_setround_53bit): Remove.
5904 (libc_feupdateenv_53bit): Remove.
5905 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5906 (math_opt_barrier, math_force_eval): Remove.
5907 (libc_feholdexcept): Remove.
5908 (libc_feholdexcept_setround): Remove.
5909 (libc_fetestexcept, libc_fesetenv): Remove.
5910 (libc_feupdateenv_test): Remove.
5911 (libc_feupdateenv, libc_feholdsetround): Remove.
5912 (libc_feresetround): Remove.
5913
5914 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5915 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5916
5917 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5918 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5919 (libc_feupdateenv_testl): New.
5920 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5921 (libc_feupdateenv_testf): New.
5922 (libc_feupdateenv): Use libc_feupdateenv_test.
5923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5924 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5925
5926 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5927 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5928 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5929 (libc_feresetround_noex): New.
5930 (libc_feresetround_noexf): New.
5931 (libc_feresetround_noexl): New.
5932 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5933 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5934 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5935 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5936 SET_RESTORE_ROUND.
5937 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5939 (__cos): Likewise.
5940 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5941 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5942 SET_RESTORE_ROUND_NOEX.
5943 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5944 SET_RESTORE_ROUND_NOEXF.
5945 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5946 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5947 (libc_feholdsetroundf): New.
5948 (libc_feresetround, libc_feresetroundf): New.
5949
5950 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5951 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5952 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5953
5954 * sysdeps/generic/math_private.h: Include <fenv.h>.
5955 (default_libc_feholdexcept): New.
5956 (default_libc_feholdexcept_setround): New.
5957 (default_libc_fesetenv, default_libc_feupdateenv): New.
5958 (libc_feholdexcept): Only define if undefined.
5959 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5960 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5961 (libc_feholdexcept_setroundl): Likewise.
5962 (libc_feholdexcept_setround_53bit): Likewise.
5963 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5964 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5965 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5966 (libc_feupdateenv_53bit): Likewise.
5967 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5968 (libc_feholdexcept): Convert from macro to inline function.
5969 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5970 (libc_fesetenv, libc_feupdateenv): Likewise.
5971
5972 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5973 not previously defined.
5974 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5975 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5976 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5977 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5978 * sysdeps/ieee754/flt-32/math_private.h: New file.
5979 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5980 math_private.h below SET_FLOAT_WORD.
5981 (__isnan, __isinf_ns, __finite): Remove.
5982 (__isnanf, __isinf_nsf, __finitef): Remove.
5983
59842012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5985
5986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5987
59882012-03-17 David S. Miller <davem@davemloft.net>
5989
5990 [BZ #6471]
5991 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5992 for 2.16.
5993
59942012-03-16 David S. Miller <davem@davemloft.net>
5995
5996 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5997 warnings.
5998
5999 [BZ #6471]
6000 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6001 properly.
6002 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6003 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6004 sysdep_routines when subdir is sysvipc.
6005 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6006 __getshmlba helper.
6007
6008 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6009
60102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6011
6012 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6013 [__LP64__].
6014
60152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6016
6017 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6018 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6019 (__lround): Renamed to ...
6020 (__llround): This. Replace long int with long long int.
6021 Define lround functions as aliases of llround functions.
6022 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6023
60242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6025
6026 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6027 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6028 adresses to uintptr_t. Replace "long int" and "unsigned long
6029 int" with "greg_t" on va_arg.
6030
60312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6032
6033 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6034 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6035
6036 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6037 Move e_machine check before EI_CLASS check. Handle x32
6038 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6039 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6040 SKIP_EM_IA_64 and include
6041 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6042
6043 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6044 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6045 (add_system_dir): New macro.
6046
6047 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6048 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6049
60502012-03-16 Joseph Myers <joseph@codesourcery.com>
6051
6052 [BZ #2551]
6053 [BZ #2552]
6054 [BZ #2553]
6055 [BZ #2554]
6056 [BZ #2562]
6057 [BZ #2563]
6058 [BZ #2565]
6059 [BZ #2566]
6060 [BZ #2576]
6061 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6062 (y0): Likewise.
6063 * math/w_j0f.c (j0f): Likewise.
6064 (y0f): Likewise.
6065 * math/w_j0l.c (__j0l): Likewise.
6066 (__y0l): Likewise.
6067 * math/w_j1.c (j1): Likewise.
6068 (y1): Likewise.
6069 * math/w_j1f.c (j1f): Likewise.
6070 (y1f): Likewise.
6071 * math/w_j1l.c (__j1l): Likewise.
6072 (__y1l): Likewise.
6073 * math/w_jn.c (jn): Likewise.
6074 (yn): Likewise.
6075 * math/w_jnf.c (jnf): Likewise.
6076 (ynf): Likewise.
6077 * math/w_jnl.c (__jnl): Likewise.
6078 (__ynl): Likewise.
6079 * math/libm-test.inc (j0_test): Add more tests.
6080 (j1_test): Likewise.
6081 (jn_test): Likewise. Add trailing semicolon to existing test.
6082 (y0_test): Likewise.
6083 (y1_test): Likewise.
6084 * sysdeps/i386/fpu/libm-test-ulps: Update.
6085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6086
6087 [BZ #13851]
6088 [BZ #13854]
6089 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6090 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6091 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6092 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6093 (__tanl): Set errno for infinite argument.
6094 * sysdeps/i386/fpu/mptan.c: Remove.
6095 * sysdeps/i386/fpu/s_tan.S: Likewise.
6096 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6097 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6098 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6099 * math/libm-test.inc (tan_test): Add more tests and enable more
6100 tests for double and long double.
6101 * sysdeps/i386/fpu/libm-test-ulps: Update.
6102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6103
61042012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6105
6106 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6107 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6108
61092012-03-16 Roland McGrath <roland@hack.frob.com>
6110
6111 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6112 * configure.in: Use it for both main tree and add-ons.
6113 * configure: Regenerated.
6114
61152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6116
6117 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6118
61192012-03-16 Joseph Myers <joseph@codesourcery.com>
6120
6121 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6122 in comment.
6123
6124 [BZ #13851]
6125 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6126 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6130 infinite argument.
6131 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6133 != 0 for prec == 2.
6134 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6135 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6136 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6137 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6138 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6139 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6140 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6141 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6142 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6143 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6144 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6145 * math/libm-test.inc (cos_test): Add more tests and enable more
6146 tests for long double.
6147 (sin_test): Likewise.
6148 (sincos_test): Likewise.
6149 * sysdeps/i386/fpu/libm-test-ulps: Update.
6150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6151
61522012-03-16 David S. Miller <davem@davemloft.net>
6153
6154 * sysdeps/sparc/fpu/math_private.h: New file.
6155
61562012-03-15 David S. Miller <davem@davemloft.net>
6157
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6159 file.
6160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6162 file.
6163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6169 sysdep routines.
6170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6171
6172 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6173 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6174
6175 * sysdeps/sparc/sparc-ifunc.h: New file.
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6177 sparc-ifunc.h
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6180 Likewise.
6181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6182 Likewise.
6183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6187 Likewise.
6188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6193 Likewise.
6194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6195 Likewise.
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6201 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6203 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6220
62212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6222
6223 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6224 scaling.
6225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6226
62272012-03-15 Andreas Jaeger <aj@suse.de>
6228
6229 [BZ #13852]
6230 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6231 ieee754/flt-32 implementation for sin, cos and sincos.
6232 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6233 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6234 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6235 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6236 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6237 ieee754/flt-32 implementation for tan.
6238
6239 * math/libm-test.inc (cos_test): Enable some large input tests for
6240 float as well
6241 (sin_test): Likewise.
6242 (sincos_test): Likewise.
6243 (tan_test): Add tests for large input.
6244
6245 * sysdeps/i386/fpu/libm-test-ulps: Update.
6246
62472012-03-15 Andreas Jaeger <aj@suse.de>
6248
6249 [BZ #13658]
6250 * math/libm-test.inc (cos_test): Add more test cases.
6251 (sin_test): Likewise.
6252 (sincos_test): Likewise.
6253
62542012-03-15 Andreas Jaeger <aj@suse.de>
6255
6256 [BZ #13837]
6257 * math/libm-test.inc (cos_test): Add a test case for large input
6258 value.
6259 (sin_test): Likewise.
6260 (sincos_test): Likewise.
6261
62622012-03-15 Andreas Jaeger <aj@suse.de>,
6263 Joseph Myers <joseph@codesourcery.com>
6264
6265 [BZ #13658]
6266 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6267 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6268 * sysdeps/i386/fpu/branred.c: Likewise.
6269 * sysdeps/i386/fpu/dosincos.c: Likewise.
6270 * sysdeps/i386/fpu/mpa.c: Likewise.
6271 * sysdeps/i386/fpu/s_cos.S: Likewise.
6272 * sysdeps/i386/fpu/s_sin.S: Likewise.
6273 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6274 * sysdeps/i386/fpu/sincos32.c: Likewise.
6275
6276 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6277 Define.
6278 (libc_feupdateenv_53bit): Define.
6279 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6280 Define.
6281 (libc_feupdateenv_53bit): Define.
6282
6283 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6284 53 bit (without extend i386 double precision).
6285
6286 * math/libm-test.inc (sincos_test): Add tests for large input.
6287 (sin): Likewise.
6288 (cos): Likewise.
6289
6290 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6291
62922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6293
6294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6295
62962012-03-15 David S. Miller <davem@davemloft.net>
6297
6298 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6299 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6300 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6301 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6314 file.
6315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6317 file.
6318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6320 file.
6321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6323 file.
6324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6325 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6326 fmin/fmax sysdep routines.
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6328
63292012-03-14 David S. Miller <davem@davemloft.net>
6330
6331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6336 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6337 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6338 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6352 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6353 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6359 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6360 routines.
6361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6362 file.
6363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6365 file.
6366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6368 file.
6369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6371 file.
6372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6374 file.
6375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6377 file.
6378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6379 file.
6380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6381 file.
6382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6383 file.
6384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6385 New file.
6386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6387 file.
6388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6389 file.
6390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6392 file.
6393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6395 file.
6396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6398 file.
6399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6401 VIS3 routines.
6402
6403 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6404 New file.
6405
6406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6407
6408 * sysdeps/sparc/configure.in: New file.
6409 * sysdeps/sparc/configure: Generate.
6410 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6411 * configure: Regenerate.
6412 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6413 * config.make.in (have-as-vis3): New.
6414 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6415 available use -Av9d instead of -Av9a.
6416 * sysdeps/sparc/sparc64/Makefile: Likewise.
6417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6419 New file.
6420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6421 file.
6422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6423 New file.
6424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6425 file.
6426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6431
6432 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6433 fzeros/fnegs to load 0x80000000 into a float register instead of
6434 using the stack.
6435 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6436
64372012-03-14 Joseph Myers <joseph@codesourcery.com>
6438
6439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6440 bits/syscall.h.
6441 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6442 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6443 ($(inst_includedir)/bits/syscall.h): Remove rule.
6444 ($(objpfx)bits/syscall.d): Include instead of
6445 $(objpfx)syscall-list.d.
6446 (generated): Change syscall-list.h and syscall-list.d to
6447 bits/syscall.h and bits/syscall.d.
6448
64492012-03-14 Roland McGrath <roland@hack.frob.com>
6450
6451 [BZ #13846]
6452 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6453
64542012-03-14 Joseph Myers <joseph@codesourcery.com>
6455
6456 [BZ #13841]
6457 * math/s_csqrt.c: Include <float.h>.
6458 (__csqrt): Scale large or subnormal inputs.
6459 * math/s_csqrtf.c: Likewise.
6460 * math/s_csqrtl.c: Likewise.
6461 * math/libm-test.inc (csqrt_test): Add more tests.
6462 * sysdeps/i386/fpu/libm-test-ulps: Update.
6463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6464
6465 [BZ #13840]
6466 * math/libm-test.inc (hypot_test): Add more tests.
6467
64682012-03-13 David S. Miller <davem@davemloft.net>
6469
6470 [BZ #13840]
6471 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6472 double-precision for the calculation instead of scaling.
6473
64742012-03-13 Joseph Myers <joseph@codesourcery.com>
6475
6476 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6477 manipulate bits before adding and subtracting TWO52[sx].
6478 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6479 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6480 Likewise.
6481 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6482
64832012-03-13 David S. Miller <davem@davemloft.net>
6484
6485 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6486 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6487 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6488 rtld-global-offsets.h
6489 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6490
6491 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6492 large parameters.
6493
6494 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6495
6496 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6497 'err' in the ifdef scope in which it is actually used.
6498
6499 * nss/nss_db/db-init.c: Include string.h
6500
65012012-03-12 David S. Miller <davem@davemloft.net>
6502
6503 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6504 masking out of the most significant byte of random value used.
6505 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6506 Fix coding style in previous change.
6507
6508 * sysdeps/unix/sysv/linux/kernel-features.h
6509 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6510 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6511 expression.
6512 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6513 later.
6514
65152012-03-11 David S. Miller <davem@davemloft.net>
6516
6517 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6518 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6519 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6520 for 'resultvar' otherwise things get truncated on 64-bit.
6521
6522 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6523 Fix masking out of the most significant byte of random value used.
6524
6525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6526
65272012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6528
6529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6530
65312012-03-09 David S. Miller <davem@davemloft.net>
6532
6533 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6534 variables with appropriate CPP guards.
6535 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6536 frame pointer, not the stack pointer. Correct layout comments. Fix test
6537 on resulting framesize and the management of the outregs buffer for pltexit.
6538 Preserve floating point return values across _dl_call_pltexit call.
6539 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6540 framesize and the management of the outregs buffer for pltexit.
6541 Preserve floating point return values across _dl_call_pltexit
6542 call.
6543 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6544 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6545 (print_exit): Fix format string for return register value.
6546
65472012-03-10 Joseph Myers <joseph@codesourcery.com>
6548
6549 * sunrpc/Makefile (others): Add rpcgen.
6550 ($(objpfx)rpcgen): Remove special build rule and dependency on
6551 libc.
6552 * sunrpc/rpcgen.c: New file.
6553
65542012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6555
6556 [BZ #13673]
6557 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6558 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6559 * sysdeps/i386/crti.S: Likewise.
6560 * sysdeps/i386/crtn.S: Likewise.
6561 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6562 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6563 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6564 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6565 * sysdeps/sh/crti.S: Likewise.
6566 * sysdeps/sh/crtn.S: Likewise.
6567 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6568
6569 [BZ #13673]
6570 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6571 with URL.
6572 * locale/programs/locfile-kw.gperf: Likewise.
6573 * locale/programs/charmap-kw.h: Regenerated.
6574 * locale/programs/locfile-kw.h: Likewise.
6575
6576 [BZ #13673]
6577 * intl/plural.y: Replace FSF snail mail address with URL.
6578 * intl/plural.c: Regenerated.
6579
65802012-03-09 Richard Henderson <rth@twiddle.net>
6581
6582 * include/math_private.h: Remove file.
6583 * math/math_private.h: Move file ...
6584 * sysdeps/generic/math_private.h: ... here.
6585
6586 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6587 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6588 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6589
6590 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6591 and <math_private.h>.
6592 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6593 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6594 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6595 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6596 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6597 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6598 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6601 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6603 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6604 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6605 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6611 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6613 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6614 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6616 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6617 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6618 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6619 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6621 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6622 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6623 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6624 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6625 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6626 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6627 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6628 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6629 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6631 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6632 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6633 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6634 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6680 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6681 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6682 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6683 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6684 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6685 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6686 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6687 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6688 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6689 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6690 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6691 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6692 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6693 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6694 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6695 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6696 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6697 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6698 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6699 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6704 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6705 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6706 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6707 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6708 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6709 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6710 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6711 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6712 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6713 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6714 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6715 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6716 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6717 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6718 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6719 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6720 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6721 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6722 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6723 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6724 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6725 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6726 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6727 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6728 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6729 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6730 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6731 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6732 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6733 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6734 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6735 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6736 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6737 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6738 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6739 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6740 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6741 * sysdeps/ieee754/k_standard.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6752 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6857 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6861 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6862 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6864 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6869 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6874 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6890 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6891 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6892 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6902 * sysdeps/ieee754/s_lib_version.c: Likewise.
6903 * sysdeps/ieee754/s_matherr.c: Likewise.
6904 * sysdeps/ieee754/s_signgam.c: Likewise.
6905 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6906 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6907 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6908 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6909 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6910 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6911 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6912 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6913 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6914 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6915 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6916 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6917 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6918 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6919 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6920 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6921 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6922 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6923 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6924 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6925 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6926
69272012-03-09 Joseph Myers <joseph@codesourcery.com>
6928
6929 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6930 * sunrpc/rpc_main.c: Likewise.
6931 * sunrpc/rpc_svcout.c: Likewise.
6932
69332012-03-09 David S. Miller <davem@davemloft.net>
6934
6935 * include/math_private.h: New file.
6936
69372012-03-09 Joseph Myers <joseph@codesourcery.com>
6938
6939 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6940 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6941 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6942 from <bits/socket_type.h>.
6943 (enum __socket_type): Don't define here.
6944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6946 bits/socket_type.h.
6947
6948 [BZ #13566]
6949 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6950 checking __USE_GNU.
6951
6952 * Makerules ($(inst_includedir)/%.h): New rule.
6953 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6954 (install-others): Remove variable setting.
6955 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6956
69572012-03-08 Richard Henderson <rth@twiddle.net>
6958
6959 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6960 from macro to inline function; merge with the
6961 !__LIBC_INTERNAL_MATH_INLINES version.
6962 (__ieee754_sqrtf): Likewise.
6963
6964 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6965 to inline function.
6966 (__rintf, __floor, __floorf): Likewise.
6967
6968 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6969 macro to inline function.
6970 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6971
6972 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6973 not <math/math_private.h>.
6974
69752012-03-08 David S. Miller <davem@davemloft.net>
6976
6977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6978 copyright year.
6979 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6980
69812012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6982
6983 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6984 normalization.
6985 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6986 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6987
69882012-03-08 Ulrich Drepper <drepper@gmail.com>
6989
6990 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6991 be defined individually, they must be defined as a block. Define
6992 S for printing a string instead of hidint the different by using a
6993 macro for adding the 'l'.
6994 * stdio-common/tst-fphex-wide.c: Adjust.
6995
69962012-03-07 Marek Polacek <polacek@redhat.com>
6997
6998 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6999
70002012-03-08 Marek Polacek <polacek@redhat.com>
7001
7002 [BZ #13806]
7003 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7004 * stdio-common/tst-fphex.c: Define a few macros to make the
7005 test reusable. Use them.
7006 * stdio-common/tst-fphex-wide.c: New file.
7007
70082012-03-08 Joseph Myers <joseph@codesourcery.com>
7009
7010 [BZ #6911]
7011 * manual/macros.texi (gnusystems): New macro.
7012 (nongnusystems): Likewise.
7013 (gnulinuxhurdsystems): Likewise.
7014 (gnuhurdsystems): Likewise..
7015 (gnulinuxsystems): Likewise.
7016 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7017 variants of the GNU system, not "GNU system".
7018 * manual/conf.texi: Likewise.
7019 * manual/errno.texi: Likewise. Update example of errno macro
7020 expansion.
7021 * manual/filesys.texi: Likewise.
7022 (getumask): Document as specific to GNU/Hurd.
7023 * manual/install.texi: Likewise. Reword some references to
7024 GNU/Linux.
7025 * manual/intro.texi: Likewise.
7026 * manual/io.texi: Likewise.
7027 (File Name Portability): Detail which constraints are inapplicable
7028 to all GNU systems and which are only inapplicable to GNU/Hurd.
7029 * manual/job.texi: Likewise.
7030 * manual/llio.texi: Likewise.
7031 (O_NOCTTY): Document as present on GNU/Linux.
7032 * manual/maint.texi: Likewise.
7033 * manual/memory.texi: Likewise.
7034 * manual/pattern.texi: Likewise.
7035 * manual/pipe.texi: Likewise.
7036 * manual/process.texi: Likewise.
7037 * manual/resource.texi: Likewise.
7038 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7039 child on GNU/Hurd.
7040 * manual/setjmp.texi: Likewise.
7041 * manual/signal.texi: Likewise.
7042 * manual/startup.texi: Likewise.
7043 * manual/stdio.texi: Likewise.
7044 * manual/terminal.texi: Likewise.
7045 (ONLCR): Document as POSIX.
7046 (OXTABS): Document availability on GNU/Linux as XTABS.
7047 (ONOEOT): Document availability separately from other bits.
7048 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7049 * manual/time.texi: Likewise.
7050 * manual/users.texi: Likewise.
7051 * INSTALL: Regenerated.
7052 * sysdeps/gnu/errlist.c: Regenerated.
7053
7054 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7055 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7056 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7057 puts.
7058 * configure: Regenerated.
7059
70602012-03-07 Joseph Myers <joseph@codesourcery.com>
7061
7062 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7063 default includes instead of AC_HEADER_CHECK.
7064 * sysdeps/i386/configure: Regenerated.
7065
7066 [BZ #10716]
7067 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7068 * math/s_cacoshf.c (__cacoshf): Likewise.
7069 * math/s_cacoshl.c (__cacoshl): Likewise.
7070 * math/s_casinh.c (__casinh): Set signs of result from argument.
7071 * math/s_casinhf.c (__casinhf): Likewise.
7072 * math/s_casinhl.c (__casinhl): Likewise.
7073 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7074 (casinh_test): Add more tests.
7075 * sysdeps/i386/fpu/libm-test-ulps: Update.
7076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7077
70782012-03-07 Ulrich Drepper <drepper@gmail.com>
7079
7080 * po/zh_TW.po: Update from translation team.
7081
7082 * login/Makefile (distribute): Remove variable.
7083 * catgets/Makefile: Likewise.
7084 * mach/Makefile: Likewise.
7085 * malloc/Makefile: Likewise.
7086 * misc/Makefile: Likewise.
7087 * iconv/Makefile: Likewise.
7088 * nscd/Makefile: Likewise.
7089 * hurd/Makefile: Likewise.
7090 * manual/Makefile: Likewise.
7091 * locale/Makefile: Likewise.
7092 * intl/Makefile: Likewise.
7093 * conform/Makefile: Likewise.
7094 * nss/Makefile: Likewise.
7095 * time/Makefile: Likewise.
7096 * soft-fp/Makefile: Likewise.
7097 * dirent/Makefile: Likewise.
7098 * gmon/Makefile: Likewise.
7099 * po/Makefile: Likewise.
7100 * rt/Makefile: Likewise.
7101 * socket/Makefile: Likewise.
7102 * math/Makefile: Likewise.
7103 * signal/Makefile: Likewise.
7104 * debug/Makefile: Likewise.
7105 * elf/Makefile: Likewise.
7106 * timezone/Makefile: Likewise.
7107 * stdlib/Makefile: Likewise.
7108 * iconvdata/Makefile: Likewise.
7109 * sunrpc/Makefile: Likewise.
7110 * io/Makefile: Likewise.
7111 * argp/Makefile: Likewise.
7112 * inet/Makefile: Likewise.
7113 * hesiod/Makefile: Likewise.
7114 * grp/Makefile: Likewise.
7115 * csu/Makefile: Likewise.
7116 * wctype/Makefile: Likewise.
7117 * crypt/Makefile: Likewise.
7118 * libio/Makefile: Likewise.
7119 * string/Makefile: Likewise.
7120 * nis/Makefile: Likewise.
7121 * resolv/Makefile: Likewise.
7122 * stdio-common/Makefile: Likewise.
7123 * wcsmbs/Makefile: Likewise.
7124 * dlfcn/Makefile: Likewise.
7125 * posix/Makefile: Likewise.
7126
7127 [BZ #6959]
7128 * timezone/Makefile: Don't install timezone files, just the programs
7129 and scripts.
7130
71312012-03-06 Ulrich Drepper <drepper@gmail.com>
7132
7133 * nss/databases.def: Add missing gshadow entry.
7134
7135 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7136
71372012-03-06 Marek Polacek <polacek@redhat.com>
7138
7139 [BZ #13726]
7140 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7141 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7142 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7143 * stdio-common/tst-long-dbl-fphex.c: New file.
7144
71452012-03-06 David S. Miller <davem@davemloft.net>
7146
7147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7148 (set_obp_int): New function.
7149 (get_obp_int): New function.
7150 (__get_clockfreq_via_dev_openprom): Likewise.
7151 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7152 Avoid unused variable warnings on 'val' and use builtin_expect.
7153 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7154 __builtin_expect.
7155 (INLINE_CLONE_SYSCALL): Likewise.
7156
71572012-03-05 David S. Miller <davem@davemloft.net>
7158
7159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7160
71612012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7162
7163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7164
7165 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7166 only for |x| >= 40.
7167 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7168
71692012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7170
7171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7172 Replace gettimeofday with __vdso_gettimeofday.
7173
7174 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7175 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7176 __vdso_clock_gettime and __vdso_getcpu.
7177
7178 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7179 time with __vdso_time.
7180
71812012-03-05 Joseph Myers <joseph@codesourcery.com>
7182
7183 * manual/lang.texi (size_t): Note types to which size_t may be
7184 equivalent with the GNU C Library, but do not describe when
7185 differences between them are significant.
7186
71872012-03-05 Andreas Jaeger <aj@suse.de>
7188
7189 * sysdeps/i386/fpu/libm-test-ulps: Update.
7190
71912012-03-05 Joseph Myers <joseph@codesourcery.com>
7192
7193 [BZ #3976]
7194 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7195 (__ieee754_pow): Save and restore rounding mode and use
7196 round-to-nearest for main computations.
7197 * math/libm-test.inc (pow_test_tonearest): New function.
7198 (pow_test_towardzero): Likewise.
7199 (pow_test_downward): Likewise.
7200 (pow_test_upward): Likewise.
7201 (main): Call the new functions.
7202 * sysdeps/i386/fpu/libm-test-ulps: Update.
7203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7204
7205 [BZ #3976]
7206 * math/libm-test.inc (cosh_test_tonearest): New function.
7207 (cosh_test_towardzero): Likewise.
7208 (cosh_test_downward): Likewise.
7209 (cosh_test_upward): Likewise.
7210 (sinh_test_tonearest): Likewise.
7211 (sinh_test_towardzero): Likewise.
7212 (sinh_test_downward): Likewise.
7213 (sinh_test_upward): Likewise.
7214 (main): Call the new functions.
7215 * sysdeps/i386/fpu/libm-test-ulps: Update.
7216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7217
72182012-03-05 Tom de Vries <tom@codesourcery.com>
7219
7220 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7221 default stack guard is set in last bytes.
7222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7223
72242012-03-05 Kees Cook <keescook@chromium.org>
7225
7226 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7227
7228 [BZ #13656]
7229 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7230 possibly allocate from heap instead of stack.
7231 * stdio-common/bug-vfprintf-nargs.c: New file.
7232 * stdio-common/Makefile (tests): Add nargs overflow test.
7233
72342012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7235
7236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7237
72382012-03-03 Marek Polacek <polacek@redhat.com>
7239
7240 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7241 * math/math_private.h: Likewise.
7242 * stdlib/tst-strtod.c: Likewise.
7243 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7244 * sysdeps/x86_64/bits/atomic.h: Likewise.
7245
72462012-03-02 David S. Miller <davem@davemloft.net>
7247
7248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7252 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7253 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7254 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7255 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7256
72572012-03-02 Roland McGrath <roland@hack.frob.com>
7258
7259 [BZ #13792]
7260 * manual/examples/README: New file, says the example source files
7261 can be used under GPL>=2.
7262 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7263 line containing just "*/".
7264 * manual/examples/add.c: Add copyright header (GPL>=2).
7265 * manual/examples/argp-ex1.c: Likewise.
7266 * manual/examples/argp-ex2.c: Likewise.
7267 * manual/examples/argp-ex3.c: Likewise.
7268 * manual/examples/argp-ex4.c: Likewise.
7269 * manual/examples/atexit.c: Likewise.
7270 * manual/examples/db.c: Likewise.
7271 * manual/examples/dir.c: Likewise.
7272 * manual/examples/dir2.c: Likewise.
7273 * manual/examples/execinfo.c: Likewise.
7274 * manual/examples/filecli.c: Likewise.
7275 * manual/examples/filesrv.c: Likewise.
7276 * manual/examples/fmtmsgexpl.c: Likewise.
7277 * manual/examples/genpass.c: Likewise.
7278 * manual/examples/inetcli.c: Likewise.
7279 * manual/examples/inetsrv.c: Likewise.
7280 * manual/examples/isockad.c: Likewise.
7281 * manual/examples/longopt.c: Likewise.
7282 * manual/examples/memopen.c: Likewise.
7283 * manual/examples/memstrm.c: Likewise.
7284 * manual/examples/mkfsock.c: Likewise.
7285 * manual/examples/mkisock.c: Likewise.
7286 * manual/examples/mygetpass.c: Likewise.
7287 * manual/examples/pipe.c: Likewise.
7288 * manual/examples/popen.c: Likewise.
7289 * manual/examples/rprintf.c: Likewise.
7290 * manual/examples/search.c: Likewise.
7291 * manual/examples/select.c: Likewise.
7292 * manual/examples/setjmp.c: Likewise.
7293 * manual/examples/sigh1.c: Likewise.
7294 * manual/examples/sigusr.c: Likewise.
7295 * manual/examples/stpcpy.c: Likewise.
7296 * manual/examples/strdupa.c: Likewise.
7297 * manual/examples/strftim.c: Likewise.
7298 * manual/examples/strncat.c: Likewise.
7299 * manual/examples/subopt.c: Likewise.
7300 * manual/examples/swapcontext.c: Likewise.
7301 * manual/examples/termios.c: Likewise.
7302 * manual/examples/testopt.c: Likewise.
7303 * manual/examples/testpass.c: Likewise.
7304 * manual/examples/timeval_subtract.c: Likewise.
7305
7306 [BZ #13792]
7307 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7308 function to ...
7309 * manual/timeval_subtract.c.texi: ... here, new file.
7310
73112012-03-02 David S. Miller <davem@davemloft.net>
7312
7313 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7314
73152012-03-02 Joseph Myers <joseph@codesourcery.com>
7316
7317 [BZ #3976]
7318 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7319 (__sin): Save and restore rounding mode and use round-to-nearest
7320 for all computations.
7321 (__cos): Save and restore rounding mode and use round-to-nearest
7322 for all computations.
7323 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7324 <fenv.h>.
7325 (tan): Save and restore rounding mode and use round-to-nearest for
7326 all computations.
7327 * math/libm-test.inc (cos_test_tonearest): New function.
7328 (cos_test_towardzero): Likewise.
7329 (cos_test_downward): Likewise.
7330 (cos_test_upward): Likewise.
7331 (sin_test_tonearest): Likewise.
7332 (sin_test_towardzero): Likewise.
7333 (sin_test_downward): Likewise.
7334 (sin_test_upward): Likewise.
7335 (tan_test_tonearest): Likewise.
7336 (tan_test_towardzero): Likewise.
7337 (tan_test_downward): Likewise.
7338 (tan_test_upward): Likewise.
7339 (main): Call the new functions.
7340 * sysdeps/i386/fpu/libm-test-ulps: Update.
7341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7342
7343 [BZ #10135]
7344 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7345 small n, then large n, before computing and testing k+n.
7346 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7347 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7348 Likewise.
7349 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7350 Likewise.
7351 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7352 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7353 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7354 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7355 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7356 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7357 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7358 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7359 * math/libm-test.inc (scalbn_test): Add more tests.
7360 (scalbln_test): Likewise.
7361
7362 * manual/filesys.texi (mode_t): Describe constraints on size and
7363 signedness, not exact equivalence to a particular type.
7364 (ino_t): Likewise.
7365 (ino64_t): Likewise.
7366 (dev_t): Likewise.
7367 (nlink_t): Likewise.
7368 (blkcnt_t): Likewise.
7369 (blkcnt64_t): Likewise.
7370 * manual/llio.texi (off_t): Likewise.
7371
7372 [BZ #3976]
7373 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7374 (__ieee754_exp): Save and restore rounding mode and use
7375 round-to-nearest for all computations.
7376 * math/libm-test.inc (exp_test_tonearest): New function.
7377 (exp_test_towardzero): Likewise.
7378 (exp_test_downward): Likewise.
7379 (exp_test_upward): Likewise.
7380 (main): Call the new functions.
7381 * sysdeps/i386/fpu/libm-test-ulps: Update.
7382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7383
73842012-03-01 Chris Demetriou <cgd@google.com>
7385
7386 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7387 have predictable order.
7388
73892012-03-01 David S. Miller <davem@davemloft.net>
7390
7391 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7392
7393 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7394 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7395 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7396 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7397
7398 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7399 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7400 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7402 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7403 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7404 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7405 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7406 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7407
7408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7409
7410 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7411 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7412 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7413
7414 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7415 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7416 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7417 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7418 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7420 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7421 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7422 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7423 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7424 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7425 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7426 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7427 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7428 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7429 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7430 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7431 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7432 * sysdeps/sparc/elf/configure: Regenerated.
7433
74342012-03-01 Joseph Myers <joseph@codesourcery.com>
7435
7436 * configure.in (AS, LD): Require binutils 2.20 or later.
7437 * configure: Regenerated.
7438 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7439 as required minimum version.
7440 * INSTALL: Regenerated.
7441
7442 [BZ #2541]
7443 [BZ #4108]
7444 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7445 before squaring exponent.
7446 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7447 bottom long double and 27 bits of top long double before squaring
7448 exponent.
7449 * math/libm-test.inc (erfc_test): Add more tests.
7450 * sysdeps/i386/fpu/libm-test-ulps: Update.
7451 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7453
74542012-03-01 Kai Tietz <ktietz@redhat.com>
7455
7456 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7457 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7458 containing bit-fields.
7459 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7460 * soft-fp/single.h (_FP_UNION_S): Likewise.
7461 * soft-fp/double.h (_FP_UNION_D): Likewise.
7462
74632012-02-29 Joseph Myers <joseph@codesourcery.com>
7464
7465 [BZ #13786]
7466 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7467 not include ../strcmp.S.
7468 [USE_AS_STRNCASECMP_L]: Likewise.
7469 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7470 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7471 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7472 (__strncasecmp_l_ia32): Define as alias to
7473 __strncasecmp_l_nonascii.
7474
7475 [BZ #5794]
7476 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7477 * sysdeps/i386/fpu/libm-test-ulps: Update.
7478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7479
7480 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7482
74832012-02-29 Jeff Law <law@redhat.com>
7484
7485 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7486 out of bounds read.
7487
74882012-02-29 Marek Polacek <polacek@redhat.com>
7489
7490 [BZ #13706]
7491 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7492 * elf/Makefile: Add rules to run tst-unused-dep.out.
7493
74942012-02-28 David S. Miller <davem@davemloft.net>
7495
7496 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7497 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7498 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7499 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7500 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7501 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7502
75032012-02-29 Joseph Myers <joseph@codesourcery.com>
7504
7505 * math/libm-test.inc (llround_test): Move one test from
7506 lround_test. Use TEST_f_L in moved test.
7507 (lround_test): Move misplaced test to llround_test. Add testcase
7508 from bug 2561.
7509
75102012-02-28 Ulrich Drepper <drepper@gmail.com>
7511
7512 * sysdeps/x86_64/fpu/e_expf.S: New file.
7513 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7514
75152012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7516
7517 [BZ #13637]
7518 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7519 of remain_len that may cause incomplete multi-byte character and
7520 false match.
7521 * posix/bug-regex33.c: New file.
7522 * posix/Makefile (tests): Add bug-regex33.
7523
75242012-02-28 Joseph Myers <joseph@codesourcery.com>
7525
7526 * manual/macros.texi: New file.
7527 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7528 * manual/libc.texinfo: Include macros.texi.
7529 * manual/creatute.texi: Likewise.
7530 * manual/install.texi: Likewise.
7531 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7532 @glibcadj{} in references to the GNU C Library.
7533 * manual/charset.texi: Likewise.
7534 * manual/conf.texi: Likewise.
7535 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7536 when not using those macros.
7537 * manual/creature.texi: Likewise.
7538 * manual/crypt.texi: Likewise.
7539 * manual/errno.texi: Likewise.
7540 * manual/filesys.texi: Likewise.
7541 * manual/header.texi: Likewise.
7542 * manual/install.texi: Likewise.
7543 * manual/intro.texi: Likewise.
7544 * manual/io.texi: Likewise.
7545 * manual/job.texi: Likewise.
7546 * manual/lang.texi: Likewise.
7547 * manual/libc.texiinfo: Likewise.
7548 * manual/llio.texi: Likewise.
7549 * manual/locale.texi: Likewise.
7550 * manual/maint.texi: Likewise.
7551 * manual/math.texi: Likewise.
7552 * manual/memory.texi: Likewise.
7553 * manual/message.texi: Likewise.
7554 * manual/nss.texi: Likewise.
7555 * manual/pattern.texi: Likewise.
7556 * manual/process.texi: Likewise.
7557 * manual/resource.texi: Likewise.
7558 * manual/search.texi: Likewise.
7559 * manual/setjmp.texi: Likewise.
7560 * manual/signal.texi: Likewise.
7561 * manual/socket.texi: Likewise.
7562 * manual/startup.texi: Likewise.
7563 * manual/stdio.texi: Likewise.
7564 * manual/string.texi: Likewise.
7565 * manual/sysinfo.texi: Likewise.
7566 * manual/syslog.texi: Likewise.
7567 * manual/terminal.texi: Likewise.
7568 * manual/time.texi: Likewise.
7569 * manual/users.texi: Likewise.
7570 * INSTALL: Regenerated.
7571 * NOTES: Regenerated.
7572 * sysdeps/gnu/errlist.c: Regenerated.
7573
75742012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7575
7576 * include/dirent.h: Include <dirstream.h> before
7577 <dirent/dirent.h>.
7578
75792012-02-28 David S. Miller <davem@davemloft.net>
7580
7581 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7582 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7583 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7584 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7585
75862012-02-27 David S. Miller <davem@davemloft.net>
7587
7588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7590 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7591 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7592
7593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7594 frame pointer instead of stack pointer relative arg slot.
7595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7596 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7597 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7598
75992012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7600
7601 [BZ #3992]
7602 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7603
76042012-02-27 David S. Miller <davem@davemloft.net>
7605
7606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7610 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7611 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7612 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7613 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7614
76152012-02-27 Joseph Myers <joseph@codesourcery.com>
7616
7617 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7618 later. Allow versions 5-9.
7619 * configure: Regenerated.
7620 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7621 required minimum version and 4.6 as recommended version. Do not
7622 mention bugs in GCC 2.7 and 2.8.
7623 * INSTALL: Regenerated.
7624
76252012-02-27 David S. Miller <davem@davemloft.net>
7626
7627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7631 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7632 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7633 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7634 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7635
7636 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7637 manipulate bits before adding and subtracting TWO112[sx].
7638 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7639
76402012-02-27 Roland McGrath <roland@hack.frob.com>
7641
7642 [BZ #13775]
7643 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7644 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7645 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7646 being in POSIX, because they are in 1003.1-2008.
7647
7648 * rt/tst-aio.c: Include <fcntl.h>.
7649 * rt/tst-aio7.c: Likewise.
7650 * rt/tst-aio64.c: Likewise.
7651
7652 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7653
76542012-02-27 Joseph Myers <joseph@codesourcery.com>
7655
7656 * manual/install.texi (--with-headers): Describe headers as
7657 interface headers, not private headers.
7658 (Specific advice for GNU/Linux systems): Describe use of headers
7659 from "make headers_install", not private headers from older
7660 kernels.
7661 * INSTALL: Regenerated.
7662 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7663 Change to 2.6.19.
7664 * sysdeps/unix/sysv/linux/configure: Regenerated.
7665
7666 * manual/llio.texi (fclean): Remove documentation.
7667
7668 * manual/Makefile (libc-texi-generated): New variable. Include
7669 version.texi.
7670 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7671 $(libc-texi-generated), not duplicated list of files.
7672 (version.texi, stamp-version): New rules.
7673 (realclean): Remove $(libc-texi-generated), not individual files
7674 from that list. Do not remove dir-add.texinfo.
7675 * manual/libc.texinfo: Comment out uses of edition numbers and
7676 references to printed manual. Remove last-updated dates.
7677 (EDITION): Comment out.
7678 (ISBN): Likewise.
7679 (VERSION, UPDATED): Remove.
7680 (version.texi): Include.
7681
76822012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7683
7684 * sysdeps/posix/spawni.c: Include <signal.h>.
7685 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7686 * sysdeps/pthread/aio_fsync.c: Likewise.
7687
76882012-02-26 Ulrich Drepper <drepper@gmail.com>
7689
7690 * conform/Makefile (tests): Run only when not cross-compiling and
7691 when fast-check is not defined.
7692
7693 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7694 * conform/data/limits.h-data: Fixes for POSIX2008.
7695 * conform/run-conformtest.sh: Run all tests.
7696 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7697 headers.
7698 * include/bits/dlfcn.h: Likewise.
7699 * include/langinfo.h: Likewise.
7700 * include/monetary.h: Likewise.
7701 * include/sys/poll.h: Likewise.
7702
7703 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7704 for __USE_GNU.
7705 * posix/spawn.h: Define __need_sigset_t.
7706 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7707 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7708 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7709 to get sigevent_t only.
7710 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7711 only for __USE_GNU.
7712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7713 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7714 process_vm_writev only for __USE_GNU.
7715 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7716
7717 * conform/Makefile: For now ignore errors from run-conformtest.
7718 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7719 POSIX to avoid namespace pollution. Don't prepend headers.
7720 * conform/data/aio.h-data: Fixes for POSIX testing.
7721 * conform/data/fcntl.h-data: Likewise.
7722 * conform/data/glob.h-data: Likewise.
7723 * conform/data/grp.h-data: Likewise.
7724 * conform/data/pthread.h-data: Likewise.
7725 * conform/data/pwd.h-data: Likewise.
7726 * conform/data/signal.h-data: Likewise.
7727 * conform/data/spawn.h-data: Likewise.
7728 * conform/data/stdio.h-data: Likewise.
7729 * conform/data/stdlib.h-data: Likewise.
7730 * conform/data/stropts.h-data: Likewise.
7731 * conform/data/sys/mman.h-data: Likewise.
7732 * conform/data/sys/stat.h-data: Likewise.
7733 * conform/data/sys/types.h-data: Likewise.
7734 * conform/data/sys/wait.h-data: Likewise.
7735 * conform/data/time.h-data: Likewise.
7736 * conform/data/unistd.h-data: Likewise.
7737 * conform/data/utime.h-data: Likewise.
7738
7739 * io/sys/stat.h: fchmod was always in POSIX.
7740 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7741 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7742 * rt/aio.h: Define __need_timespec before including <time.h>.
7743 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7744 struct. Add forward declaration of pthread_attr_t and use it in
7745 sigevent.
7746 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7747 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7748 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7749 always remove CLK_TCK definition.
7750
77512012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7752
7753 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7754
77552012-02-25 Ulrich Drepper <drepper@gmail.com>
7756
7757 * conform/run-conformtest.sh: New file.
7758 * conform/Makefile: Run run-conformtest for tests.
7759 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7760 support.
7761
7762 * conform/data/uchar.h-data: New file.
7763 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7764 * conform/data/arpa/inet.h-data: Likewise.
7765 * conform/data/assert.h-data: Likewise.
7766 * conform/data/complex.h-data: Likewise.
7767 * conform/data/cpio.h-data: Likewise.
7768 * conform/data/ctype.h-data: Likewise.
7769 * conform/data/dirent.h-data: Likewise.
7770 * conform/data/dlfcn.h-data: Likewise.
7771 * conform/data/errno.h-data: Likewise.
7772 * conform/data/fcntl.h-data: Likewise.
7773 * conform/data/float.h-data: Likewise.
7774 * conform/data/fmtmsg.h-data: Likewise.
7775 * conform/data/fnmatch.h-data: Likewise.
7776 * conform/data/ftw.h-data: Likewise.
7777 * conform/data/glob.h-data: Likewise.
7778 * conform/data/grp.h-data: Likewise.
7779 * conform/data/iconv.h-data: Likewise.
7780 * conform/data/inttypes.h-data: Likewise.
7781 * conform/data/langinfo.h-data: Likewise.
7782 * conform/data/libgen.h-data: Likewise.
7783 * conform/data/limits.h-data: Likewise.
7784 * conform/data/locale.h-data: Likewise.
7785 * conform/data/math.h-data: Likewise.
7786 * conform/data/monetary.h-data: Likewise.
7787 * conform/data/mqueue.h-data: Likewise.
7788 * conform/data/ndbm.h-data: Likewise.
7789 * conform/data/net/if.h-data: Likewise.
7790 * conform/data/netdb.h-data: Likewise.
7791 * conform/data/netinet/in.h-data: Likewise.
7792 * conform/data/nl_types.h-data: Likewise.
7793 * conform/data/poll.h-data: Likewise.
7794 * conform/data/pthread.h-data: Likewise.
7795 * conform/data/pwd.h-data: Likewise.
7796 * conform/data/regex.h-data: Likewise.
7797 * conform/data/sched.h-data: Likewise.
7798 * conform/data/search.h-data: Likewise.
7799 * conform/data/semaphore.h-data: Likewise.
7800 * conform/data/setjmp.h-data: Likewise.
7801 * conform/data/signal.h-data: Likewise.
7802 * conform/data/spawn.h-data: Likewise.
7803 * conform/data/stdarg.h-data: Likewise.
7804 * conform/data/stdio.h-data: Likewise.
7805 * conform/data/stdlib.h-data: Likewise.
7806 * conform/data/string.h-data: Likewise.
7807 * conform/data/strings.h-data: Likewise.
7808 * conform/data/stropts.h-data: Likewise.
7809 * conform/data/sys/ipc.h-data: Likewise.
7810 * conform/data/sys/mman.h-data: Likewise.
7811 * conform/data/sys/msg.h-data: Likewise.
7812 * conform/data/sys/resource.h-data: Likewise.
7813 * conform/data/sys/select.h-data: Likewise.
7814 * conform/data/sys/sem.h-data: Likewise.
7815 * conform/data/sys/shm.h-data: Likewise.
7816 * conform/data/sys/socket.h-data: Likewise.
7817 * conform/data/sys/stat.h-data: Likewise.
7818 * conform/data/sys/statvfs.h-data: Likewise.
7819 * conform/data/sys/time.h-data: Likewise.
7820 * conform/data/sys/timeb.h-data: Likewise.
7821 * conform/data/sys/times.h-data: Likewise.
7822 * conform/data/sys/types.h-data: Likewise.
7823 * conform/data/sys/uio.h-data: Likewise.
7824 * conform/data/sys/un.h-data: Likewise.
7825 * conform/data/sys/utsname.h-data: Likewise.
7826 * conform/data/sys/wait.h-data: Likewise.
7827 * conform/data/syslog.h-data: Likewise.
7828 * conform/data/tar.h-data: Likewise.
7829 * conform/data/termios.h-data: Likewise.
7830 * conform/data/utime.h-data: Likewise.
7831 * conform/data/utmpx.h-data: Likewise.
7832 * conform/data/varargs.h-data: Likewise.
7833 * conform/data/wchar.h-data: Likewise.
7834 * conform/data/wctype.h-data: Likewise.
7835 * conform/data/wordexp.h-data: Likewise.
7836
7837 * include/stropts.h: New file.
7838 * include/uchar.h: New file.
7839 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7840 * include/assert.h: Likewise.
7841 * include/ctype.h: Likewise.
7842 * include/dirent.h: Likewise.
7843 * include/dlfcn.h: Likewise.
7844 * include/fcntl.h: Likewise.
7845 * include/fnmatch.h: Likewise.
7846 * include/glob.h: Likewise.
7847 * include/grp.h: Likewise.
7848 * include/libio.h: Likewise.
7849 * include/locale.h: Likewise.
7850 * include/math.h: Likewise.
7851 * include/net/if.h: Likewise.
7852 * include/netdb.h: Likewise.
7853 * include/netinet/in.h: Likewise.
7854 * include/pthread.h: Likewise.
7855 * include/pwd.h: Likewise.
7856 * include/regex.h: Likewise.
7857 * include/sched.h: Likewise.
7858 * include/search.h: Likewise.
7859 * include/setjmp.h: Likewise.
7860 * include/signal.h: Likewise.
7861 * include/stdio.h: Likewise.
7862 * include/stdlib.h: Likewise.
7863 * include/string.h: Likewise.
7864 * include/sys/cdefs.h: Likewise.
7865 * include/sys/mman.h: Likewise.
7866 * include/sys/msg.h: Likewise.
7867 * include/sys/resource.h: Likewise.
7868 * include/sys/select.h: Likewise.
7869 * include/sys/socket.h: Likewise.
7870 * include/sys/stat.h: Likewise.
7871 * include/sys/statvfs.h: Likewise.
7872 * include/sys/time.h: Likewise.
7873 * include/sys/times.h: Likewise.
7874 * include/sys/uio.h: Likewise.
7875 * include/sys/utsname.h: Likewise.
7876 * include/sys/wait.h: Likewise.
7877 * include/termios.h: Likewise.
7878 * include/time.h: Likewise.
7879 * include/ulimit.h: Likewise.
7880 * include/unistd.h: Likewise.
7881 * include/utime.h: Likewise.
7882 * include/wchar.h: Likewise.
7883 * include/wctype.h: Likewise.
7884 * include/wordexp.h: Likewise.
7885
7886 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7887
7888 * time/time.h: TIME_UTC must be a macro.
7889 Make timespec_get available for ISO C11 only as well.
7890
78912012-02-24 Ulrich Drepper <drepper@gmail.com>
7892
7893 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7894 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7895
78962012-02-24 Joseph Myers <joseph@codesourcery.com>
7897
7898 * configure.in: Use -o not -a in test for unsupported multi-arch.
7899
79002012-02-24 Joseph Myers <joseph@codesourcery.com>
7901
7902 * manual/texinfo.tex: Update to version 2012-01-19.16.
7903
79042012-02-24 Joseph Myers <joseph@codesourcery.com>
7905
7906 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7907
79082012-02-24 Roland McGrath <roland@hack.frob.com>
7909
7910 [BZ #13738]
7911 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7912 * manual/fdl-1.3.texi: New file.
7913 * manual/fdl-1.1.texi: File removed.
7914
7915 [BZ #13738]
7916 * manual/libc.texinfo (FDL_VERSION): New @set.
7917 Use it for mention of FDL in cover text.
7918 (Documentation License): Use it in @include file name.
7919
79202012-02-22 Joseph Myers <joseph@codesourcery.com>
7921 Roland McGrath <roland@hack.frob.com>
7922
7923 [BZ #5461]
7924 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7925 not LONG_LONG_MAX and LONG_LONG_MIN.
7926 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7927 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7928 name.
7929 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7930
79312012-02-22 Joseph Myers <joseph@codesourcery.com>
7932
7933 [BZ #2547]
7934 [BZ #11365]
7935 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7936 manipulate bits before adding and subtracting TWO23[sx].
7937 * math/libm-test.inc (nearbyint_test): Add more tests.
7938
79392012-02-22 Joseph Myers <joseph@codesourcery.com>
7940
7941 [BZ #2548]
7942 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7943 bits before adding and subtracting TWO23[sx].
7944 * math/libm-test.inc (rint_test): Add more tests.
7945 (rint_test_tonearest): Likewise.
7946 (rint_test_towardzero): Likewise.
7947 (rint_test_downward): Likewise.
7948 (rint_test_upward: Likewise.
7949
79502012-02-22 Joseph Myers <joseph@codesourcery.com>
7951
7952 [BZ #10110]
7953 * include/stdc-predef.h: New file. Extracted from features.h.
7954 * include/features.h: Include stdc-predef.h.
7955 * Makefile (headers): Add stdc-predef.h.
7956 * CONFORMANCE (Compiler limitations): Update.
7957
79582012-02-22 Joseph Myers <joseph@codesourcery.com>
7959
7960 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7961
79622012-02-21 David S. Miller <davem@davemloft.net>
7963
7964 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7965 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7966
79672012-02-20 David S. Miller <davem@davemloft.net>
7968
7969 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7970 using a normal save/restore sequence, rather than allocating a
7971 dummy stack frame just to store a frame pointer and restore.
7972 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7973
79742012-02-21 Joseph Myers <joseph@codesourcery.com>
7975
7976 * manual/install.texi: Fix stray word in line-wrapped comment.
7977
79782012-02-20 David S. Miller <davem@davemloft.net>
7979
7980 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7981 both binutils and gcc support GOTDATA.
7982
7983 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7984 "rd %pc" in the PIC register setup sequences.
7985
7986 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7987 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7988 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7989 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7990 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7992 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7993 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7995 (SYSCALL_ERROR_HANDLER): Likewise.
7996 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7997 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7999 (SYSCALL_ERROR_HANDLER): Likewise.
8000
8001 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8002 (HAVE_GCC_GOTDATA): New.
8003 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8004 relocation support in both binutils and gcc.
8005 * sysdeps/sparc/elf/configure: Regenerate.
8006
8007 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8008 * sysdeps/sparc/sparc32/elf/configure: Delete.
8009 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8010 * sysdeps/sparc/sparc64/elf/configure: Delete.
8011 * sysdeps/sparc/elf/configure.in: New file.
8012 * sysdeps/sparc/elf/configure: Generate.
8013
8014 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8015 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8016 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8017 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8018 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8019
80202012-02-21 Joseph Myers <joseph@codesourcery.com>
8021
8022 * manual/install.texi: Do not mention specific glibc version
8023 numbers.
8024 * manual/libc.texinfo (VERSION, UPDATED): Update.
8025 (@copying): Use @copyright{} and range of years.
8026
80272012-02-21 Joseph Myers <joseph@codesourcery.com>
8028
8029 [BZ #13695]
8030 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8031 [crti.S not in sysdirs] (generated): Do not append.
8032 [crti.S not in sysdirs] (omit-deps): Likewise.
8033 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8034 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8035 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8036 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8037 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8038 Likewise.
8039 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8040 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8041 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8042 * csu/defs.awk: Remove file.
8043 * sysdeps/generic/initfini.c: Likewise.
8044 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8045 variable.
8046 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8047 Likewise.
8048
80492012-02-20 Joseph Myers <joseph@codesourcery.com>
8050
8051 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8052 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8053 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8054 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8056 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8057 <bits/epoll.h>.
8058 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8059 (__EPOLL_PACKED): Define to empty if not defined by
8060 <bits/epoll.h>.
8061 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8063 bits/epoll.h.
8064
80652012-02-20 Joseph Myers <joseph@codesourcery.com>
8066
8067 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8068 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8069 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8070 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8071 <bits/timerfd.h>.
8072 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8074 bits/timerfd.h.
8075
80762012-02-20 Joseph Myers <joseph@codesourcery.com>
8077
8078 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8079 in C locale.
8080 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8081 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8082 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8084
80852012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8086
8087 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8088 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8089
80902012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8091
8092 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8093 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8094 defined.
8095 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8096 Likewise.
8097 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8098 entry for 2.16.
8099
81002012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8101
8102 * math/w_acos.c: Use non-signaling floating-point comparisons.
8103 * math/w_acosf.c: Likewise.
8104 * math/w_acosh.c: Likewise.
8105 * math/w_acoshf.c: Likewise.
8106 * math/w_acoshl.c: Likewise.
8107 * math/w_acosl.c: Likewise.
8108 * math/w_asin.c: Likewise.
8109 * math/w_asinf.c: Likewise.
8110 * math/w_asinl.c: Likewise.
8111 * math/w_atanh.c: Likewise.
8112 * math/w_atanhf.c: Likewise.
8113 * math/w_atanhl.c: Likewise.
8114 * math/w_exp2.c: Likewise.
8115 * math/w_exp2f.c: Likewise.
8116 * math/w_exp2l.c: Likewise.
8117 * math/w_j0.c: Likewise.
8118 * math/w_j0f.c: Likewise.
8119 * math/w_j0l.c: Likewise.
8120 * math/w_j1.c: Likewise.
8121 * math/w_j1f.c: Likewise.
8122 * math/w_j1l.c: Likewise.
8123 * math/w_jn.c: Likewise.
8124 * math/w_jnf.c: Likewise.
8125 * math/w_log.c: Likewise.
8126 * math/w_log10.c: Likewise.
8127 * math/w_log10f.c: Likewise.
8128 * math/w_log10l.c: Likewise.
8129 * math/w_log2.c: Likewise.
8130 * math/w_log2f.c: Likewise.
8131 * math/w_log2l.c: Likewise.
8132 * math/w_logf.c: Likewise.
8133 * math/w_logl.c: Likewise.
8134 * math/w_sqrt.c: Likewise.
8135 * math/w_sqrtf.c: Likewise.
8136 * math/w_sqrtl.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8139 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8140 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8141 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8142
81432012-02-19 Joseph Myers <joseph@codesourcery.com>
8144
8145 [BZ #9739]
8146 * manual/string.texi (strnlen): Use correct parameter name in
8147 equivalent expression.
8148
81492012-02-19 Joseph Myers <joseph@codesourcery.com>
8150
8151 [BZ #11174]
8152 * manual/users.texi (seteuid): Consistently use neweuid for
8153 argument name.
8154
81552012-02-19 Joseph Myers <joseph@codesourcery.com>
8156
8157 [BZ #13704]
8158 * manual/nss.texi (Services in the NSS configuration): Correct
8159 list of services in example configuration file.
8160
81612012-02-19 Nick Bowler <nbowler@draconx.ca>
8162
8163 [BZ #11322]
8164 * manual/arith.texi: Remove statements about negative zero
8165 behaving identically to zero.
8166
81672012-02-18 Joseph Myers <joseph@codesourcery.com>
8168
8169 [BZ #5993]
8170 * manual/install.texi: Do not document upgrading from libc5.
8171
81722012-02-18 Joseph Myers <joseph@codesourcery.com>
8173
8174 [BZ #4596]
8175 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8176
81772012-02-18 David S. Miller <davem@davemloft.net>
8178
8179 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8180 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8181 %o7 across the call.
8182 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8183 instead.
8184 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8185 SETUP_PIC_REG_LEAF.
8186 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8187 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8188 * sysdeps/sparc/crtn.S: Likewise.
8189
81902012-02-17 Ulrich Drepper <drepper@gmail.com>
8191
8192 * aout/Makefile: Remove.
8193
81942012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8195
8196 [BZ #13058]
8197 * manual/examples/argp-ex1.c (main): Format definition in GNU
8198 style.
8199 * manual/examples/argp-ex2.c (main): Likewise.
8200 * manual/examples/argp-ex3.c (main): Likewise.
8201 * manual/examples/argp-ex4.c (main): Likewise.
8202 * manual/examples/longopt.c (main): Use new-style prototype
8203 definition.
8204 * manual/examples/strncat.c (main): Specify return type and use
8205 (void) for arguments.
8206 * manual/examples/subopt.c (main): Use char **argv argument.
8207
82082012-02-17 Joseph Myers <joseph@codesourcery.com>
8209
8210 [BZ #5077]
8211 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8212 rounding modes.
8213
82142012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8215
8216 [BZ #6907]
8217 * manual/string.texi (strchr): Change when strchrnul is
8218 recommended.
8219
82202012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8221
8222 [BZ #174]
8223 * manual/locale.texi (setlocale): Document LOCPATH.
8224
82252012-02-17 Joseph Myers <joseph@codesourcery.com>
8226
8227 [BZ #10210]
8228 * manual/process.texi (execle): Move @dots{} before last argument.
8229
82302012-02-17 Paul Bolle <pebolle@tiscali.nl>
8231
8232 [BZ #12047]
8233 * manual/charset.texi (Generic Charset Conversion): Fix typo
8234 (LC_TYPE -> LC_CTYPE).
8235
82362012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8237
8238 [BZ #5805]
8239 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8240 (scalbnf): Likewise.
8241 (scalbnl): Likewise.
8242 (scalbln): Likewise.
8243 (scalblnf): Likewise.
8244 (scalblnl): Likewise.
8245 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8246 (vwarnx): Likewise.
8247 (verr): Likewise.
8248 (verrx): Likewise.
8249 * manual/filesys.texi (telldir): Use braces around return type.
8250 * manual/llio.texi (mmap): Add space after comma.
8251 (mmap64): Likewise.
8252 * manual/math.texi (jn): Use @var{} on parameter names.
8253 (jnf): Likewise.
8254 (jnl): Likewise.
8255 (yn): Likewise.
8256 (ynf): Likewise.
8257 (ynl): Likewise.
8258 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8259 line.
8260 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8261 "...".
8262 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8263 (sched_get_priority_max): Likewise.
8264 * manual/signal.texi (sigvec): Add space after comma.
8265 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8266 names.
8267 (if_indextoname): Likewise.
8268 (if_freenameindex): Likewise.
8269 (sendto): Use ',' instead of '.' in prototype.
8270 * manual/startup.texi (syscall): Use @dots{} instead of literal
8271 "...".
8272 * manual/stdio.texi (__fpending): Separate initial words of
8273 paragraph from @deftypefun line.
8274 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8275 "...".
8276 (vsyslog): Use @var{} on parameter names.
8277 * manual/terminal.texi (stty): Use @var{} on parameter names.
8278 * manual/users.texi (getutmp): Use @var{} on parameter names.
8279 (getutmpx): Likewise.
8280
82812012-02-17 Joseph Myers <joseph@codesourcery.com>
8282
8283 [BZ #6884]
8284 * manual/stdio.texi (fopen): Fix typos in description of
8285 ",ccs=STRING".
8286
82872012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8288
8289 [BZ #4026]
8290 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8291 get clock_id definition.
8292
82932012-02-17 Thomas Schwinge <thomas@schwinge.name>
8294
8295 [BZ #4822]
8296 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8297 (madvise): Cast every argument to void on its own.
8298
82992012-02-17 Joseph Myers <joseph@codesourcery.com>
8300
8301 [BZ #9902]
8302 * manual/startup.texi (Exit Status): Fix typo.
8303
83042012-02-17 Joseph Myers <joseph@codesourcery.com>
8305
8306 [BZ #10140]
8307 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8308 * manual/examples/argp-ex2.c: Likewise.
8309 * manual/examples/argp-ex3.c: Likewise.
8310
83112012-02-16 Richard Henderson <rth@redhat.com>
8312
8313 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8314 * sysdeps/s390/s390-32/initfini.c: Remove.
8315 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8316 * sysdeps/s390/s390-64/initfini.c: Remove.
8317
83182012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8319
8320 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8321 compiler output for sysdeps/generic/initfini.c.
8322 * sysdeps/sh/elf/initfini.c: Remove file.
8323
83242012-02-16 David S. Miller <davem@davemloft.net>
8325
8326 [BZ #11494]
8327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8328
8329 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8330 * sysdeps/sparc/crti.S: New file.
8331 * sysdeps/sparc/crtn.S: New file.
8332 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8333 * sysdeps/sparc/sparc64/Makefile: Likewise.
8334
83352012-02-15 Mike Frysinger <vapier@gentoo.org>
8336
8337 [BZ #3335]
8338 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8339
83402012-02-15 Roland McGrath <roland@hack.frob.com>
8341
8342 [BZ #4822]
8343 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8344
8345 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8346 (write, read, close): Likewise.
8347 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8348
83492012-02-15 Joseph Myers <joseph@codesourcery.com>
8350
8351 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8352 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8353 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8354 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8355 <bits/signalfd.h>.
8356 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8358 bits/signalfd.h.
8359
83602012-02-14 Marek Polacek <polacek@redhat.com>
8361
8362 * sysdeps/x86_64/crti.S: New file.
8363 * sysdeps/x86_64/crtn.S: New file.
8364 * sysdeps/x86_64/elf/initfini.c: Remove file.
8365
83662012-02-13 Joseph Myers <joseph@codesourcery.com>
8367
8368 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8369 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8370 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8371 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8372 <bits/inotify.h>.
8373 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8375 bits/inotify.h.
8376
83772012-02-13 Joseph Myers <joseph@codesourcery.com>
8378
8379 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8380 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8381 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8382 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8383 <bits/eventfd.h>.
8384 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8386 bits/eventfd.h.
8387
83882012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8389
8390 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8391 __feraiseexcept instead of feraiseexcept.
8392
8393 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8394 nanosleep invocations.
8395 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8396 strings, and add error checking for a nanosleep invocations.
8397
83982012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8399
8400 Replace FSF snail mail address with URLs, as per GNU coding standards.
8401 Most of the snail mail addresses were wrong anyway, and omitting
8402 them makes the source code easier to maintain. Almost all of the
8403 changes are to license notices and to locale LC_IDENTIFICATION
8404 addresses, except for this one:
8405 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8406 not its snail mail address.
8407
84082012-02-09 Richard Henderson <rth@twiddle.net>
8409
8410 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8411 of kernel-features.h.
8412
8413 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8414
84152012-02-08 Marek Polacek <polacek@redhat.com>
8416
8417 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8418 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8419 * sysdeps/gnu/_G_config.h: Likewise.
8420 * sysdeps/generic/_G_config.h: Likewise.
8421
84222012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8423
8424 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8425 tests.
8426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8427
8428 * sysdeps/powerpc/powerpc32/crti.S: New file.
8429 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8430 * sysdeps/powerpc/powerpc64/crti.S: New file.
8431 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8432
8433 * Makeconfig (have-initfini): Don't set.
8434 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8435 * configure.in (nopic_initfini): Don't substitute.
8436 * config.h.in (HAVE_INITFINI): Don't #undef.
8437 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8438 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8439
84402012-02-08 Joseph Myers <joseph@codesourcery.com>
8441
8442 Support crti.S and crtn.S provided directly by architectures.
8443 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8444 [crti.S in sysdirs] (omit-deps): Likewise.
8445 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8446 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8447 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8448 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8449 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8450 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8451 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8452 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8453 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8454 compiler output for sysdeps/generic/initfini.c.
8455 * sysdeps/i386/elf/Makefile: Remove file.
8456 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8457
84582012-02-07 Marek Polacek <polacek@redhat.com>
8459
8460 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8461 * sysdeps/gnu/_G_config.h: Likewise.
8462 * sysdeps/mach/hurd/_G_config.h: Likewise.
8463
84642012-02-07 Marek Polacek <polacek@redhat.com>
8465
8466 * math/Makefile (tests): Add tst-CMPLX2.
8467 * math/tst-CMPLX2.c: New file.
8468
84692012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8470
8471 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8472
8473 * math/libm-test.inc (jn_test): Add missing L suffix.
8474
84752012-02-06 Marek Polacek <polacek@redhat.com>
8476
8477 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8478 * sysdeps/i386/fpu/e_powf.S: Likewise.
8479 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8480 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8481 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8482 * sysdeps/i386/fpu/e_pow.S: Likewise.
8483 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8484 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8485 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8486 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8487 * sysdeps/i386/fpu/e_log2.S: Likewise.
8488 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8489 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8490 * sysdeps/i386/fpu/e_powl.S: Likewise.
8491 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8492 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8493 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8494 * sysdeps/i386/fpu/e_logl.S: Likewise.
8495 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8496 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8497 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8498 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8499 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8500 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8501 * sysdeps/i386/fpu/e_log.S: Likewise.
8502 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8503 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8504 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8505 * sysdeps/i386/fpu/e_logf.S: Likewise.
8506 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8507 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8508 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8509 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8510 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8511 * sysdeps/i386/fpu/e_log10.S: Likewise.
8512 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8513 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8514 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8515 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8516 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8517 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8518 * sysdeps/i386/asm-syntax.h: Likewise.
8519 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8520 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8521 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8522 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8523 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8524 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8525 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8526 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8527 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8528 * sysdeps/powerpc/sysdep.h: Likewise.
8529 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8530 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8531
85322012-02-06 Joseph Myers <joseph@codesourcery.com>
8533
8534 [BZ #411]
8535 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8536
85372012-02-06 Joseph Myers <joseph@codesourcery.com>
8538
8539 * sysdeps/i386/sysdep.h: Include <features.h>.
8540 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8541 version.
8542
85432012-02-05 Joseph Myers <joseph@codesourcery.com>
8544
8545 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8546 Define.
8547 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8548 LOAD_PIC_REG_STR.
8549
85502012-02-03 Joseph Myers <joseph@codesourcery.com>
8551
8552 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8553 (SETUP_PIC_REG): Use GET_PC_THUNK.
8554 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8555 macro.
8556
85572012-02-03 Joseph Myers <joseph@codesourcery.com>
8558
8559 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8560 for non-PIC compilation.
8561 (SETUP_PIC_REG): Add .p2align directive.
8562 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8563 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8564 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8565 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8566 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8567 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8568 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8569 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8570 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8571 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8572 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8573 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8574 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8575 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8576 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8577 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8578 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8579 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8580 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8581 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8582 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8583 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8584 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8585 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8586 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8588 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8589 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8590 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8591 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8592 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8593 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8594 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8595 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8596 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8597 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8598 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8599 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8600 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8601 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8602 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8603
86042012-02-03 Joseph Myers <joseph@codesourcery.com>
8605
8606 * math/tst-CMPLX.c: Include <stdio.h>.
8607
86082012-01-31 Joseph Myers <joseph@codesourcery.com>
8609
8610 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8611 float.
8612 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8613 * sysdeps/sparc/bits/mathdef.h: Likewise.
8614
86152012-01-31 Marek Polacek <polacek@redhat.com>
8616
8617 * libio/libio.h: Don't define _PARAMS.
8618 * locale/programs/config.h: Don't define PARAMS.
8619 * stdlib/strtol_l.c: Likewise.
8620 (__strtol_l): Remove PARAMS from the prototype.
8621
86222012-01-31 Ulrich Drepper <drepper@gmail.com>
8623
8624 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8625 names. Just use the correct names. Remove unnecessary wrapper
8626 functions.
8627 * malloc/arena.c: Likewise.
8628 * malloc/hooks.c: Likewise.
8629
8630 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8631 ARENA_TEST says not to. Simplify test for creation of a new arena.
8632 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8633
86342012-01-30 Ulrich Drepper <drepper@gmail.com>
8635
8636 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8637 into tail calls.
8638 (update_get_addr): New function.
8639 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8640 GET_ADDR_MODULE parameter.
8641
86422012-01-30 Joseph Myers <joseph@codesourcery.com>
8643
8644 * crypt/cert.c: Remove __STDC__ conditionals.
8645 * crypt/crypt-entry.c: Likewise.
8646 * crypt/crypt_util.c: Likewise.
8647 * libio/filedoalloc.c: Likewise.
8648 * libio/fileops.c: Likewise.
8649 * libio/genops.c: Likewise.
8650 * libio/iofclose.c: Likewise.
8651 * libio/iofdopen.c: Likewise.
8652 * libio/iofopen.c: Likewise.
8653 * libio/iofopen64.c: Likewise.
8654 * libio/iogetdelim.c: Likewise.
8655 * libio/iopopen.c: Likewise.
8656 * libio/obprintf.c: Likewise.
8657 * libio/oldfileops.c: Likewise.
8658 * libio/oldiofclose.c: Likewise.
8659 * libio/oldiofdopen.c: Likewise.
8660 * libio/oldiofopen.c: Likewise.
8661 * libio/oldiopopen.c: Likewise.
8662 * libio/wfiledoalloc.c: Likewise.
8663 * libio/wgenops.c: Likewise.
8664 * locale/programs/xmalloc.c: Likewise.
8665 * misc/syslog.c: Likewise.
8666 * stdio-common/xbug.c: Likewise.
8667 * string/memchr.c: Likewise.
8668 * string/memcmp.c: Likewise.
8669 * string/memrchr.c: Likewise.
8670 * string/rawmemchr.c: Likewise.
8671 * sysdeps/posix/getcwd.c: Likewise.
8672 * time/strftime_l.c: Likewise.
8673
86742012-01-30 Joseph Myers <joseph@codesourcery.com>
8675
8676 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8677 * config.make.in (config-cflags-sse2avx): Define.
8678 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8679 Fix typo.
8680
86812012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8682
8683 * scripts/config.guess: Update from upstream config git repository.
8684 * scripts/config.sub: Likewise.
8685
86862012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8687
8688 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8689 (EM_NUM): Update.
8690 (R_TILEPRO_*, R_TILEGX_*): New macros.
8691
8692 * scripts/firstversions.awk: Fix bug in version range handling.
8693
8694 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8695
8696 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8697
8698 * include/sys/epoll.h: New file.
8699 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8700 libc_hidden_def.
8701
87022012-01-28 Ulrich Drepper <drepper@gmail.com>
8703
8704 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8705 Avoid unnecessary __WORDSIZE == 64 test.
8706 (fmaxf): Use VEX format if possible.
8707 (fmax): Likewise.
8708 (fminf): Likewise.
8709 (fmin): Likewise.
8710
8711 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8712 * math/math_private.h: Remove libc_fegetround* and
8713 libc_fesetround*.
8714 * sysdeps/i386/configure.in: Check for -msse2avx.
8715 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8716 also if SSE2AVX is defined.
8717 Remove libc_fegetround* and libc_fesetround*.
8718 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8719 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8720 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8721 of HAS_YMM_USABLE.
8722 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8723 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8724 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8726 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8727
8728 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8729
87302012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8731
8732 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8733 size is not set.
8734 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8735
87362012-01-27 Ulrich Drepper <drepper@gmail.com>
8737
8738 [BZ #13618]
8739 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8740 relocation.
8741 * Makeconfig (libm): Define.
8742 * elf/Makefile: Add rules to build and run tst-relsort1.
8743 * elf/tst-relsort1.c: New file.
8744 * elf/tst-relsort1mod1.c: New file.
8745 * elf/tst-relsort1mod2.c: New file.
8746
87472012-01-27 Joseph Myers <joseph@codesourcery.com>
8748
8749 * math/s_ldexp.c: Remove __STDC__ conditionals.
8750 * math/s_ldexpf.c: Likewise.
8751 * math/s_ldexpl.c: Likewise.
8752 * math/s_nextafter.c: Likewise.
8753 * math/s_nexttowardf.c: Likewise.
8754 * math/s_significand.c: Likewise.
8755 * math/s_significandf.c: Likewise.
8756 * math/s_significandl.c: Likewise.
8757 * math/w_jnl.c: Likewise.
8758 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8759 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8760 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8761 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8762 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8775 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8777 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8778 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8779 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8780 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8781 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8782 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8783 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8784 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8785 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8786 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8787 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8788 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8789 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8790 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8791 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8792 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8793 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8794 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8795 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8796 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8797 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8798 * sysdeps/ieee754/k_standard.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8803 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8860 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8865 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8873 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8874 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8878 * sysdeps/ieee754/s_matherr.c: Likewise.
8879 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8880 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8882 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8883
88842012-01-26 Joseph Myers <joseph@codesourcery.com>
8885
8886 * crypt/md5.h: Remove __STDC__ conditionals.
8887 * libio/libioP.h: Likewise.
8888 * locale/programs/config.h: Likewise.
8889 * sysdeps/generic/sysdep.h: Likewise.
8890 * sysdeps/i386/asm-syntax.h: Likewise.
8891 * sysdeps/s390/asm-syntax.h: Likewise.
8892 * sysdeps/unix/sysdep.h: Likewise.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8895
88962012-01-26 Joseph Myers <joseph@codesourcery.com>
8897
8898 * libio/libio.h: Remove __STDC__ conditionals.
8899 * malloc/obstack.h: Likewise.
8900 * math/complex.h: Likewise.
8901 * math/math.h: Likewise.
8902 * sysdeps/generic/_G_config.h: Likewise.
8903 * sysdeps/gnu/_G_config.h: Likewise.
8904 * sysdeps/mach/hurd/_G_config.h: Likewise.
8905 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8906 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8907 * sysdeps/sparc/bits/mathdef.h: Likewise.
8908
89092012-01-26 Ulrich Drepper <drepper@gmail.com>
8910
8911 [BZ #13583]
8912 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8913 Clean up HAS_* macros.
8914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8915 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8916 possible.
8917 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8918 HAS_AVX.
8919 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8920 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8921 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8922 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8923 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8924
89252012-01-25 Joseph Myers <joseph@codesourcery.com>
8926
8927 * elf/tst-unique3.cc (gets): Remove declaration.
8928 * elf/tst-unique3lib.cc (gets): Likewise.
8929 * elf/tst-unique3lib2.cc (gets): Likewise.
8930 * elf/tst-unique4.cc (gets): Likewise.
8931
89322012-01-24 Ulrich Drepper <drepper@gmail.com>
8933
8934 * include/stdio.h: Add C++ protection. Add gets declarations and
8935 definitions.
8936 * debug/tst-chk1.c: Don't declare gets here.
8937 * stdio-common/tst-gets.c: Likewise.
8938
89392012-01-24 Joseph Myers <joseph@codesourcery.com>
8940
8941 * posix/glob: Remove directory.
8942
89432012-01-24 Joseph Myers <joseph@codesourcery.com>
8944
8945 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8946
89472012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8948
8949 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8950 of the non-standard EPFNOSUPPORT.
8951
89522011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8953
8954 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8955 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8956 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8957
89582012-01-21 Ulrich Drepper <drepper@gmail.com>
8959
8960 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8961
89622012-01-20 Ulrich Drepper <drepper@gmail.com>
8963
8964 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8965 transient errors.
8966 * nscd/grpcache.c (cache_addgr): Likewise.
8967 * nscd/hstcache.c (cache_addhst): Likewise.
8968 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8969 * nscd/pwdcache.c (cache_addpw): Likewise.
8970 * nscd/servicescache.c (cache_addserv): Likewise.
8971
89722012-01-16 Ulrich Drepper <drepper@gmail.com>
8973
8974 * malloc/malloc.c: Various cleanups.
8975 * malloc/hooks.c: Likewise.
8976
8977 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8978 * stdlib/bug-fmtmsg1.c: New file.
8979
8980 * stdlib/fmtmsg.c (init): Add missing unlock.
8981 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8982
89832012-01-12 Marek Polacek <polacek@redhat.com>
8984
8985 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8986 and _GNU_SOURCE.
8987
89882012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8989
8990 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8991 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8992 macro to ensure uniqueness of label name.
8993 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8994 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8995
89962012-01-11 Ulrich Drepper <drepper@gmail.com>
8997
8998 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8999
9000 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9001 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9002 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9004
90052012-01-10 Ulrich Drepper <drepper@gmail.com>
9006
9007 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9008
9009 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9010 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9011 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9012
9013 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9014
9015 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9016 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9017 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9019
9020 * math/bits/math-finite.h: Add ldexp support.
9021
90222012-01-10 Marek Polacek <polacek@redhat.com>
9023
9024 * locale/programs/localedef.h (show_archive_content): Add noreturn
9025 attribute.
9026
90272012-01-09 Ulrich Drepper <drepper@gmail.com>
9028
9029 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9030
90312012-01-08 Ulrich Drepper <drepper@gmail.com>
9032
9033 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9034
9035 * io/Makefile (headers): Add bits/poll2.h.
9036
90372011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9038
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9040 typo #include statement.
9041
90422012-01-08 Ulrich Drepper <drepper@gmail.com>
9043
9044 * include/sys/cdefs.h: Define __attribute_alloc_size.
9045 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9046 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9047 * elf/pldd.c: Likewise.
9048 * iconv/iconv_charmap.c: Likewise.
9049 * iconv/iconvconfig.c: Likewise.
9050 * iconv/strtab.c: Likewise.
9051 * locale/programs/locale.c: Likewise.
9052 * locale/programs/localedef.h: Likewise.
9053 * locale/programs/simple-hash.c: Likewise.
9054 * nscd/nscd.h: Likewise.
9055 * nss/makedb.c: Likewise.
9056 * sysdeps/generic/ldconfig.h: Likewise.
9057 * locale/programs/localedef.c: Remove xmalloc prototype.
9058 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9059
90602012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9061
9062 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9063 appropriate.
9064
90652012-01-08 Ulrich Drepper <drepper@gmail.com>
9066
9067 * math/Makefile (tests): Add tst-CMPLX.
9068 * math/tst-CMPLX.c: New file.
9069
9070 * math/complex.h (CMPLXL): Fix typo.
9071
9072 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9073 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9074 GLIBC_2.16.
9075 * debug/tst-chk1.c: Add poll and ppoll tests.
9076 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9077 * include/sys/poll.h: Add hidden proto for ppoll.
9078 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9079 * sysdeps/mach/hurd/ppoll.c: Likewise.
9080 * io/ppoll.c: Likewise.
9081 * debug/poll_chk.c: New file.
9082 * debug/ppoll_chk.c: New file.
9083 * include/bits/poll2.h: New file.
9084 * io/bits/poll2.h: New file.
9085
9086 [BZ #1350]
9087 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9088
9089 * configure.in: static is always set to yes. Remove.
9090 * config.make.in: Don't set build-static.
9091 * Makeconfig: Remove use of build-static.
9092 * dlfcn/Makefile: Likewise.
9093 * elf/Makefile: Likewise.
9094 * math/Makefile: Likewise.
9095 * misc/Makefile: Likewise.
9096 * nptl/Makefile: Likewise.
9097 * sysdeps/mach/hurd/Makefile: Likewise.
9098
9099 * configure.in: PWD_P is not used anymore.
9100 * config.make.in: Remove PWD_P entry.
9101
9102 * configure.in: Remove last remnants of RANLIB.
9103 No need to check for signed size_t anymore.
9104 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9105 and IA-64.
9106 Remove __builtin_expect test because we require at least gcc 3.4.
9107 * aclocal.m4: Likewise.
9108
9109 * wcsmbs/mbrtoc16.c: Implement using towc function.
9110 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9111 * wcsmbs/wcsmbsload.c: Likewise.
9112 * iconv/gconv_simple.c: Likewise.
9113 * iconv/gconv_int.h: Likewise.
9114 * iconv/gconv_builtin.h: Likewise.
9115 * iconv/iconv_prog.c: Remove CHAR16 handling.
9116
9117 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9118
9119 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9120
9121 * configure.in: Remove --with-elf and --enable-bounded options.
9122 Dont set base_machine for ia64. More non-ELF conditions removed.
9123 Remove testing and setting of leading underscore information.
9124 * config.make.in (build-bounded): Set to no.
9125 * config.h.in: Remove NO_UNDERSCORES entry.
9126 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9127 them.
9128 * csu/start.c: Remove !NO_UNDERSCORE code.
9129 * locale/localeinfo.h: Likewise.
9130 * sysdeps/generic/machine-gmon.h: Likewise.
9131 * sysdeps/generic/sysdep.h: Likewise.
9132 * sysdeps/i386/sysdep.h: Likewise.
9133 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9134 * sysdeps/mach/sysdep.h: Likewise.
9135 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9136 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9137 * sysdeps/sh/sysdep.h: Likewise.
9138 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9139 * sysdeps/unix/i386/sysdep.S: Likewise.
9140 * sysdeps/unix/sparc/start.c: Likewise.
9141 * sysdeps/unix/sparc/sysdep.S: Likewise.
9142 * sysdeps/unix/sparc/sysdep.h: Likewise.
9143 * sysdeps/unix/start.c: Likewise.
9144 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9145 * sysdeps/x86_64/sysdep.h: Likewise.
9146
91472012-01-07 Ulrich Drepper <drepper@gmail.com>
9148
9149 [BZ #13553]
9150 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9151 for non-gcc.
9152 * argp/argp-fmtstream.h: Use const instead __const.
9153 * argp/argp.h: Likewise.
9154 * assert/assert.h: Likewise.
9155 * bits/fenv.h: Likewise.
9156 * bits/sched.h: Likewise.
9157 * bits/sigset.h: Likewise.
9158 * bits/sigthread.h: Likewise.
9159 * catgets/nl_types.h: Likewise.
9160 * conform/data/pthread.h-data: Likewise.
9161 * crypt/crypt-private.h: Likewise.
9162 * crypt/crypt.h: Likewise.
9163 * crypt/crypt_util.c: Likewise.
9164 * ctype/ctype.h: Likewise.
9165 * debug/execinfo.h: Likewise.
9166 * debug/mbsnrtowcs_chk.c: Likewise.
9167 * debug/mbsrtowcs_chk.c: Likewise.
9168 * debug/wcsnrtombs_chk.c: Likewise.
9169 * debug/wcsrtombs_chk.c: Likewise.
9170 * debug/wcstombs_chk.c: Likewise.
9171 * dirent/dirent.h: Likewise.
9172 * dlfcn/dlfcn.h: Likewise.
9173 * elf/neededtest4.c: Likewise.
9174 * grp/grp.h: Likewise.
9175 * gshadow/gshadow.h: Likewise.
9176 * iconv/gconv.h: Likewise.
9177 * iconv/gconv_int.h: Likewise.
9178 * iconv/gconv_simple.c: Likewise.
9179 * iconv/iconv.h: Likewise.
9180 * iconv/loop.c: Likewise.
9181 * iconv/skeleton.c: Likewise.
9182 * include/aio.h: Likewise.
9183 * include/aliases.h: Likewise.
9184 * include/argz.h: Likewise.
9185 * include/arpa/inet.h: Likewise.
9186 * include/assert.h: Likewise.
9187 * include/dirent.h: Likewise.
9188 * include/dlfcn.h: Likewise.
9189 * include/execinfo.h: Likewise.
9190 * include/fcntl.h: Likewise.
9191 * include/fenv.h: Likewise.
9192 * include/glob.h: Likewise.
9193 * include/grp.h: Likewise.
9194 * include/libintl.h: Likewise.
9195 * include/mntent.h: Likewise.
9196 * include/netdb.h: Likewise.
9197 * include/pwd.h: Likewise.
9198 * include/rpc/netdb.h: Likewise.
9199 * include/sched.h: Likewise.
9200 * include/search.h: Likewise.
9201 * include/shadow.h: Likewise.
9202 * include/signal.h: Likewise.
9203 * include/stdio.h: Likewise.
9204 * include/stdlib.h: Likewise.
9205 * include/string.h: Likewise.
9206 * include/sys/socket.h: Likewise.
9207 * include/sys/stat.h: Likewise.
9208 * include/sys/statfs.h: Likewise.
9209 * include/sys/statvfs.h: Likewise.
9210 * include/sys/syslog.h: Likewise.
9211 * include/sys/time.h: Likewise.
9212 * include/sys/uio.h: Likewise.
9213 * include/time.h: Likewise.
9214 * include/unistd.h: Likewise.
9215 * include/utmp.h: Likewise.
9216 * include/wchar.h: Likewise.
9217 * include/wctype.h: Likewise.
9218 * inet/aliases.h: Likewise.
9219 * inet/arpa/inet.h: Likewise.
9220 * inet/netinet/ether.h: Likewise.
9221 * inet/netinet/in.h: Likewise.
9222 * intl/libintl.h: Likewise.
9223 * io/bits/fcntl2.h: Likewise.
9224 * io/fcntl.h: Likewise.
9225 * io/ftw.h: Likewise.
9226 * io/sys/poll.h: Likewise.
9227 * io/sys/stat.h: Likewise.
9228 * io/sys/statfs.h: Likewise.
9229 * io/sys/statvfs.h: Likewise.
9230 * io/utime.h: Likewise.
9231 * libio/bits/stdio.h: Likewise.
9232 * libio/bits/stdio2.h: Likewise.
9233 * libio/libio.h: Likewise.
9234 * libio/libioP.h: Likewise.
9235 * libio/stdio.h: Likewise.
9236 * locale/lc-ctype.c: Likewise.
9237 * locale/locale.h: Likewise.
9238 * login/utmp.h: Likewise.
9239 * malloc/arena.c: Likewise.
9240 * malloc/malloc.c: Likewise.
9241 * malloc/malloc.h: Likewise.
9242 * malloc/mcheck.c: Likewise.
9243 * malloc/mtrace.c: Likewise.
9244 * math/bits/mathcalls.h: Likewise.
9245 * math/fenv.h: Likewise.
9246 * math/math_private.h: Likewise.
9247 * misc/bits/error.h: Likewise.
9248 * misc/bits/syslog.h: Likewise.
9249 * misc/err.h: Likewise.
9250 * misc/error.h: Likewise.
9251 * misc/fstab.h: Likewise.
9252 * misc/mntent.h: Likewise.
9253 * misc/regexp.h: Likewise.
9254 * misc/search.h: Likewise.
9255 * misc/sgtty.h: Likewise.
9256 * misc/sys/mman.h: Likewise.
9257 * misc/sys/syslog.h: Likewise.
9258 * misc/sys/uio.h: Likewise.
9259 * misc/sys/xattr.h: Likewise.
9260 * misc/ttyent.h: Likewise.
9261 * nis/rpcsvc/ypclnt.h: Likewise.
9262 * nss/nss.h: Likewise.
9263 * posix/bits/unistd.h: Likewise.
9264 * posix/fnmatch.h: Likewise.
9265 * posix/glob.h: Likewise.
9266 * posix/sched.h: Likewise.
9267 * posix/spawn.h: Likewise.
9268 * posix/sys/wait.h: Likewise.
9269 * posix/unistd.h: Likewise.
9270 * posix/wordexp.h: Likewise.
9271 * pwd/pwd.h: Likewise.
9272 * resolv/netdb.h: Likewise.
9273 * resource/sys/resource.h: Likewise.
9274 * rt/aio.h: Likewise.
9275 * rt/bits/mqueue2.h: Likewise.
9276 * rt/mqueue.h: Likewise.
9277 * shadow/shadow.h: Likewise.
9278 * signal/signal.h: Likewise.
9279 * socket/send.c: Likewise.
9280 * socket/sendto.c: Likewise.
9281 * socket/sys/socket.h: Likewise.
9282 * stdio-common/printf.h: Likewise.
9283 * stdlib/bits/stdlib.h: Likewise.
9284 * stdlib/fmtmsg.h: Likewise.
9285 * stdlib/monetary.h: Likewise.
9286 * stdlib/stdlib.h: Likewise.
9287 * stdlib/ucontext.h: Likewise.
9288 * streams/stropts.h: Likewise.
9289 * string/argz.h: Likewise.
9290 * string/bits/string2.h: Likewise.
9291 * string/string.h: Likewise.
9292 * string/strings.h: Likewise.
9293 * sunrpc/rpc/auth.h: Likewise.
9294 * sunrpc/rpc/auth_des.h: Likewise.
9295 * sunrpc/rpc/clnt.h: Likewise.
9296 * sunrpc/rpc/netdb.h: Likewise.
9297 * sunrpc/rpc/pmap_clnt.h: Likewise.
9298 * sunrpc/rpc/xdr.h: Likewise.
9299 * sysdeps/generic/inttypes.h: Likewise.
9300 * sysdeps/generic/net/if.h: Likewise.
9301 * sysdeps/generic/sys/swap.h: Likewise.
9302 * sysdeps/gnu/net/if.h: Likewise.
9303 * sysdeps/gnu/utmpx.h: Likewise.
9304 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9305 * sysdeps/i386/i486/bits/string.h: Likewise.
9306 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9307 * sysdeps/s390/bits/string.h: Likewise.
9308 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9309 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9310 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9311 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9312 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9313 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9314 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9315 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9316 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9317 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9318 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9319 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9320 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9321 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9322 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9323 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9324 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9326 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9327 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9328 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9329 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9330 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9331 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9332 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9333 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9334 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9335 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9336 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9337 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9338 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9339 * sysvipc/sys/ipc.h: Likewise.
9340 * sysvipc/sys/msg.h: Likewise.
9341 * sysvipc/sys/sem.h: Likewise.
9342 * sysvipc/sys/shm.h: Likewise.
9343 * termios/termios.h: Likewise.
9344 * time/sys/time.h: Likewise.
9345 * time/time.h: Likewise.
9346 * wcsmbs/bits/wchar2.h: Likewise.
9347 * wcsmbs/uchar.h: Likewise.
9348 * wcsmbs/wchar.h: Likewise.
9349 * wctype/wctype.h: Likewise.
9350
9351 [BZ #13551]
9352 * Makeconfig: Remove all but ELF support including AIX support.
9353 * Makerules: Likewise.
9354 * config.h.in: Likewise.
9355 * config.make.in: Likewise.
9356 * configure: Likewise.
9357 * configure.in: Likewise.
9358 * csu/Makefile: Likewise.
9359 * csu/version.c: Likewise.
9360 * debug/Makefile: Likewise.
9361 * dlfcn/Makefile: Likewise.
9362 * elf/Makefile: Likewise.
9363 * extra-lib.mk: Likewise.
9364 * iconv/Makefile: Likewise.
9365 * include/libc-symbols.h: Likewise.
9366 * include/shlib-compat.h: Likewise.
9367 * resolv/Makefile: Likewise.
9368 * resolv/res_libc.c: Likewise.
9369 * rt/Makefile: Likewise.
9370 * sysdeps/i386/asm-syntax.h: Likewise.
9371 * sysdeps/i386/sysdep.h: Likewise.
9372 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9373 * sysdeps/mach/sysdep.h: Likewise.
9374 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9375 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9376 * sysdeps/s390/asm-syntax.h: Likewise.
9377 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9378 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9379 * sysdeps/sh/sysdep.h: Likewise.
9380 * sysdeps/unix/sparc/sysdep.h: Likewise.
9381 * sysdeps/wordsize-32/divdi3.c: Likewise.
9382 * sysdeps/x86_64/sysdep.h: Likewise.
9383
9384 * argp/Versions: Remove _argp_unlock_xxx.
9385
9386 [BZ #13559]
9387 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9388 * abilist/libBrokenLocale.abilist: Likewise.
9389 * abilist/libanl.abilist: Likewise.
9390 * abilist/libc.abilist: Likewise.
9391 * abilist/libcrypt.abilist: Likewise.
9392 * abilist/libdl.abilist: Likewise.
9393 * abilist/libm.abilist: Likewise.
9394 * abilist/libnsl.abilist: Likewise.
9395 * abilist/libpthread.abilist: Likewise.
9396 * abilist/libresolv.abilist: Likewise.
9397 * abilist/librt.abilist: Likewise.
9398 * abilist/libthread_db.abilist: Likewise.
9399 * abilist/libutil.abilist: Likewise.
9400 * abilist/libnss_db.abilist: New file.
9401
9402 * scripts/abilist.awk: Add support for indirect functions.
9403
9404 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9405
9406 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9407
9408 * shlib-versions: Remove entries for ports architectures.
9409
9410 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9411 files in ports.
9412 * elf/stackguard-macros.h: Remove support for IA-64.
9413 * elf/tst-auditmod1.c: Likewise.
9414 * sysdeps/generic/ldsodefs.h: Likewise.
9415
9416 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9417 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9418 configure files.
9419
9420 [BZ #13552]
9421 * configure.in: Remove --enable-omitfp support.
9422 * FAQ.in: Adjust.
9423 * config.make.in: Likewise.
9424 * Makeconfig: Likewise.
9425 * manual/install.texi: Likewise.
9426
9427 In case anyone cares, the IA-64 architecture could move to ports.
9428 * sysdeps/ia64/*: Removed.
9429 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9430 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9431
9432 [BZ #13555]
9433 * configure.in: Remove entries for unsupported architectures.
9434
9435 [BZ #13533]
9436 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9437 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9438 routines.
9439 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9440 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9441 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9442 fall back to using wcrtomb.
9443 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9444 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9445 renaming.
9446 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9447 * wcsmbs/tst-c16c32-1.c: New file.
9448
9449 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9450 local variable.
9451
9452 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9453
9454 * elf/tst-unique3.cc: Add explicit declaration of gets.
9455 * elf/tst-unique3lib.cc: Likewise.
9456 * elf/tst-unique3lib2.cc: Likewise.
9457 * elf/tst-unique4.cc: Likewise.
9458
9459 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9460
94612012-01-06 Joseph Myers <joseph@codesourcery.com>
9462
9463 [BZ #13566]
9464 * assert/assert.h (static_assert): Don't define for C++.
9465 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9466 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9467
94682012-01-03 Ulrich Drepper <drepper@gmail.com>
9469
9470 * iconv/loop.c (single loop): Fix assertion in storing of
9471 remaining bytes.
9472
9473 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9474
94752012-01-01 Ulrich Drepper <drepper@gmail.com>
9476
9477 * posix/getconf.c: Update copyright year.
9478 * nss/getent.c: Likewise.
9479 * nss/makedb.c: Likewise.
9480 * iconv/iconvconfig.c: Likewise.
9481 * iconv/iconv_prog.c: Likewise.
9482 * elf/ldconfig.c: Likewise.
9483 * elf/pldd.c: Likewise.
9484 * elf/sotruss.ksh: Likewise.
9485 * catgets/gencat.c: Likewise.
9486 * csu/version.c: Likewise.
9487 * elf/ldd.bash.in: Likewise.
9488 * elf/sprof.c (print_version): Likewise.
9489 * locale/programs/locale.c: Likewise.
9490 * locale/programs/localedef.c: Likewise.
9491 * login/programs/pt_chown.c: Likewise.
9492 * nscd/nscd.c (print_version): Likewise.
9493 * debug/xtrace.sh: Likewise.
9494 * malloc/memusage.sh: Likewise.
9495 * malloc/mtrace.pl: Likewise.
9496 * debug/catchsegv.sh: Likewise.
9497
94982011-12-30 Jakub Jelinek <jakub@redhat.com>
9499
9500 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9501 pure attribute.
9502
95032011-12-24 Ulrich Drepper <drepper@gmail.com>
9504
9505 [BZ #13533]
9506 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9507 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9508 transformations.
9509 * iconv/gconv_int.h: Likewise.
9510 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9511 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9512 from libc for GLIBC_2.16.
9513 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9514 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9515 * wcsmbs/uchar.h: Really define mbstate_t.
9516 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9517 * wcsmbs/c16rtomb.c: New file.
9518 * wcsmbs/mbrtoc16.c: New file.
9519 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9520 for C/POSIX locale.
9521 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9522 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9523
9524 * wcsmbs/wchar.h: Add missing __restrict.
9525
95262011-12-23 Ulrich Drepper <drepper@gmail.com>
9527
9528 [BZ #13532]
9529 * time/Makefile (routines): Add timespec_get.
9530 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9531 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9532 timespec for ISO C11.
9533 * time/timespec_get.c: New file.
9534 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9535 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9536
9537 [BZ #13531]
9538 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9539 * stdlib/stdlib.h: Declare aligned_alloc.
9540 * Versions.def: Add GLIBC_2.16 for libc.
9541 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9542
9543 [BZ 13527]
9544 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9545 ISO C11.
9546
9547 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9548 code.
9549
9550 [BZ #13528]
9551 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9552
9553 [BZ #13529]
9554 * assert/assert.h (static_assert): Define.
9555
9556 * version.h: Update for 2.16 development version.
9557
9558 [BZ #13526]
9559 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9560 _ISOC11_SOURCE.
9561
9562 * version.h (RELEASE): Bump for 2.15 release.
9563 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9564
9565 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9566 Patch by Marek Polacek <mpolacek@redhat.com>.
9567
9568 * bits/byteswap.h: Protect long long constants with __extension__.
9569 * sysdeps/i386/bits/byteswap.h: Likewise.
9570 * sysdeps/ia64/bits/byteswap.h: Likewise.
9571 * sysdeps/s390/bits/byteswap.h: Likewise.
9572 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9573
95742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9575
9576 [BZ #13540]
9577 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9578 destination buffer.
9579 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9580
95812011-12-23 Marek Polacek <polacek@redhat.com>
9582
9583 * elf/dl-addr.c (determine_info): Add inline keyword.
9584 * elf/tst-auditmod4b.c (check_avx): Likewise.
9585 * elf/tst-auditmod6b.c (check_avx): Likewise.
9586 * elf/tst-auditmod6c.c (check_avx): Likewise.
9587 * elf/tst-auditmod7b.c (check_avx): Likewise.
9588
95892011-12-23 Ulrich Drepper <drepper@gmail.com>
9590
9591 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9592 !__SSE_MATH__.
9593
95942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9595
9596 [BZ #13540]
9597 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9598 processing for last bytes.
9599
96002011-08-06 Bruno Haible <bruno@clisp.org>
9601
9602 [BZ #13061]
9603 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9604 U+0385, not to U+1FEE.
9605
9606 [BZ #13062]
9607 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9608 entry for U+00A5 U+0301.
9609
96102011-12-22 Ulrich Drepper <drepper@gmail.com>
9611
9612 [BZ #13166]
9613 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9614 buffer for the output is too small.
9615
9616 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9617 optimization.
9618
9619 [BZ #13185]
9620 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9621 SSE flags if possible.
9622
96232011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9624
9625 [BZ #13540]
9626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9627 processing for last bytes.
9628
96292011-12-22 Joseph Myers <joseph@codesourcery.com>
9630
9631 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9632 (syscall-list-default-options, syscall-list-default-condition)
9633 (syscall-list-includes): Define.
9634 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9635 list of ABIs and options and #if conditions for each ABI. Do not
9636 handle common syscalls between ABIs specially.
9637 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9638 Remove.
9639 (syscall-list-variants, syscall-list-32bit-options)
9640 (syscall-list-32bit-condition, syscall-list-64bit-options)
9641 (syscall-list-64bit-condition): Define.
9642 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9643 (syscall-list-variants, syscall-list-32bit-options)
9644 (syscall-list-32bit-condition, syscall-list-64bit-options)
9645 (syscall-list-64bit-condition): Define.
9646 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9647 Remove.
9648 (syscall-list-variants, syscall-list-32bit-options)
9649 (syscall-list-32bit-condition, syscall-list-64bit-options)
9650 (syscall-list-64bit-condition): Define.
9651 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9652 Remove.
9653 (syscall-list-variants, syscall-list-32bit-options)
9654 (syscall-list-32bit-condition, syscall-list-64bit-options)
9655 (syscall-list-64bit-condition): Define.
9656
96572011-12-22 Ulrich Drepper <drepper@gmail.com>
9658
9659 * locale/iso-639.def: Add brx entry.
9660
9661 [BZ #13328]
9662 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9663 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9664
9665 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9666 __feraiseexcept_renamed.
9667
96682011-12-21 Ulrich Drepper <drepper@gmail.com>
9669
9670 [BZ #13538]
9671 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9672 EPOLLET with unsigned values.
9673 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9674 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9675
9676 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9677 to large cancellation.
9678 * math/s_cacoshf.c: Likewise.
9679 * math/s_cacoshl.c: Likewise.
9680
96812011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9682
9683 [BZ #13305]
9684 [BZ #12786]
9685 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9686 * math/s_cacoshf.c: Likewise.
9687 * math/s_cacoshl.c: Likewise.
9688
96892011-12-21 Ulrich Drepper <drepper@gmail.com>
9690
9691 [BZ #13439]
9692 * iconv/gconv.h: Define __GCONV_SWAP.
9693 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9694 * iconvdata/utf-16.c: Likewise.
9695 * iconvdata/utf-32.c: Likewise.
9696
96972011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9698
9699 [BZ #13524]
9700 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9701 numerator after shifting it by one limb.
9702
97032011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9704
9705 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9706 under [__USE_EXTERN_INLINES].
9707
97082011-12-17 Ulrich Drepper <drepper@gmail.com>
9709
9710 [BZ #13446]
9711 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9712
97132011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9714
9715 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9716 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9717 optimized code.
9718 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9719 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9720 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9721 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9722 for strncasecmp/strncasecmp_l compilation.
9723 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9724 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9725
97262011-12-08 Marek Polacek <mpolacek@redhat.com>
9727
9728 [BZ #13484]
9729 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9730 of __asm__.
9731
97322011-12-17 Ulrich Drepper <drepper@gmail.com>
9733
9734 [BZ #13506]
9735 * time/tzfile.c (__tzfile_read): Check values from file header.
9736
97372011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9738
9739 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9740 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9741 * powerpc/powerpc32/dl-start.S: Likewise.
9742 * powerpc/powerpc32/elf/start.S: Likewise.
9743 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9744 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9745 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9746 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9747 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9748 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9749 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9750 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9751 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9752 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9753 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9754 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9755 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9756 * powerpc/powerpc32/memset.S: Likewise.
9757 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9758 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9759 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9760 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9761 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9762 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9763 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9764 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9765 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9766 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9767 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9768 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9769 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9770
97712011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9772
9773 * math/libm-test.inc: Added more nearbyint tests.
9774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9775 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9777 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9778
97792011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9780
9781 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9782 FD_CLOEXEC.
9783
97842011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9785
9786 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9787 Add wcscpy-ssse3 wcscpy-c.
9788 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9789 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9790 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9791 * sysdeps/x86_64/wcschr.S: New file.
9792 * sysdeps/x86_64/wcsrchr.S: New file.
9793 * string/test-strcmp.c: Remove checking of wcscmp function for
9794 wrong alignments.
9795 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9796 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9797 wcsrchr-sse2 wcsrchr-c.
9798 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9799 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9800 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9801 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9802 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9803 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9804 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9805 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9806 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9807 * wcsmbc/wcschr.c (WCSCHR): New macro.
9808
98092011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9810
9811 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9812 * wcsmbs/test-wcsrchr.c: New file.
9813 * string/test-strrchr.c: Add wcsrchr support.
9814 (WIDE): New macro.
9815 * wcsmbs/test-wcscpy.c: New file.
9816 * string/test-strcpy.c: Add wcscpy support.
9817 (WIDE): New macro.
9818
98192011-12-10 Ulrich Drepper <drepper@gmail.com>
9820
9821 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9822 the inner loop.
9823
98242011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9825
9826 [BZ #13472]
9827 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9828
98292011-12-04 Ulrich Drepper <drepper@gmail.com>
9830
9831 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9832 Minor optimizations.
9833
9834 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9835 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9836 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9837
98382011-12-03 Ulrich Drepper <drepper@gmail.com>
9839
9840 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9841 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9842 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9843 for gcc to avoid warnings.
9844 * inet/Makefile (tests): Add tst-checks.
9845 * inet/tst-checks.c: New file.
9846
9847 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9848 warning.
9849
9850 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9851 __wmemcmp_sse2.
9852
9853 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9854 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9855
9856 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9857
98582011-12-02 Ulrich Drepper <drepper@gmail.com>
9859
9860 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9861 problem.
9862
9863 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9864
98652011-11-29 Joseph Myers <joseph@codesourcery.com>
9866
9867 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9868 conditional on GCC version.
9869 (__arch_compare_and_exchange_val_8_acq)
9870 (__arch_compare_and_exchange_val_16_acq)
9871 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9872 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9873 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9874
98752011-12-02 Joseph Myers <joseph@codesourcery.com>
9876
9877 * sysdeps/sh/backtrace.c: New file.
9878
98792011-12-02 Andreas Schwab <schwab@redhat.com>
9880
9881 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9882 parenthesis.
9883
98842011-12-01 Andreas Schwab <schwab@redhat.com>
9885
9886 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9887 falling back to utime.
9888
98892011-11-30 Andreas Schwab <schwab@redhat.com>
9890
9891 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9892 expectations for float.
9893
98942011-11-29 Andreas Schwab <schwab@redhat.com>
9895
9896 * locale/weight.h (findidx): Add parameter len.
9897 * locale/weightwc.h (findidx): Likewise.
9898 * posix/fnmatch_loop.c (FCT): Adjust caller.
9899 * posix/regcomp.c (build_equiv_class): Likewise.
9900 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9901 * posix/regexec.c (check_node_accept_bytes): Likewise.
9902 * string/strcoll_l.c (STRCOLL): Likewise.
9903 * string/strxfrm_l.c (STRXFRM): Likewise.
9904
99052011-11-17 Ulrich Drepper <drepper@gmail.com>
9906
9907 * Makefile.in: Remove CVSOPT handling.
9908 * configure.in: Remove use of AC_REVISION.
9909 * iconvdata/Makefile (distribute): No need to filter out CVS.
9910 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9911 handling.
9912
99132011-11-16 Andreas Schwab <schwab@redhat.com>
9914
9915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9916 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9917 [USE_AS_STRNCASECMP_L]: Likewise.
9918 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9919 NO_TLS_DIRECT_SEG_REFS.
9920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9921 Fix argument offsets for non-PIC.
9922 [USE_AS_STRNCASECMP_L]: Likewise.
9923 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9924 NO_TLS_DIRECT_SEG_REFS.
9925
99262011-11-15 Ulrich Drepper <drepper@gmail.com>
9927
9928 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9929 O_CLOEXEC.
9930 * locale/loadlocale.c (_nl_load_locale): Likewise.
9931
99322011-11-15 Andreas Schwab <schwab@redhat.com>
9933
9934 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9935 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9936 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9937 (SYSCALL_GETTIME): Set errno on error.
9938
9939 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9940 count references to noai6ai_cached.
9941
99422011-11-15 Ulrich Drepper <drepper@gmail.com>
9943
9944 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9945
9946 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9947 FD_CLOEXEC for /proc/self/maps.
9948
9949 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9950 FD_CLOEXEC for /proc/meminfo.
9951
9952 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9953 gai.conf.
9954
9955 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9956 FD_CLOEXEC for given file.
9957
9958 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9959
9960 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9961 FD_CLOEXEC for /etc/hosts.
9962 (_gethtent): Likewise.
9963
9964 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9965
9966 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9967 cancellation and set FD_CLOEXEC for /etc/netgroup.
9968
9969 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9970 reading /etc/publickey.
9971
9972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9973 allow cancellation when reading /etc/group.
9974
9975 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9976 cancellation.
9977 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9978
9979 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9980 when using data file.
9981
9982 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9983
9984 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9985 (write_nis_obj): Use "c" and "e" in fopen.
9986
9987 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9988
9989 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9990
9991 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9992
9993 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9994
9995 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9996 locale.alias.
9997
9998 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9999
10000 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10001
10002 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10003
10004 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10005 file parsing and set FD_CLOEXEC.
10006
100072011-11-14 Ulrich Drepper <drepper@gmail.com>
10008
10009 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10010
100112011-11-14 Andreas Schwab <schwab@redhat.com>
10012
10013 * malloc/arena.c (arena_get2): Don't call reused_arena when
10014 _int_new_arena failed.
10015
100162011-11-14 Ulrich Drepper <drepper@gmail.com>
10017
10018 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10019 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10020 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10021 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10022 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10023 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10024 to compile strcasecmp and strncasecmp.
10025 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10026 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10027
10028 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10029
100302011-11-13 Ulrich Drepper <drepper@gmail.com>
10031
10032 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10033 locale-defines.sym to gen-as-const-headers.
10034 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10035 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10037 to compile strcasecmp and strncasecmp.
10038 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10039 strcasecmp_l and strncasecmp_l.
10040 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10041 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10042 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10043 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10044 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10045 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10046 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10047 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10048 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10049 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10050 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10051
100522011-11-12 Ulrich Drepper <drepper@gmail.com>
10053
10054 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10055 result of SYSDEP_GETTIME_CPU to retval.
10056 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10057 parameter list to macro. Remove trailing semicolon. Adjust users.
10058
10059 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10060 variable.
10061
10062 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10063 mantissa words.
10064 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10065
10066 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10067 from unused variable.
10068
10069 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10070 DWARF definitions.
10071 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10072 for assembling.
10073
10074 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10075 over namespaces.
10076
10077 * sunrpc/rpc_prot.c (rejected): Fix case value.
10078
10079 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10080 unsigned long long int to avoid warnings in shift.
10081
10082 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10083 of use of trans.
10084 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10085 variable tmp.
10086
10087 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10088 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10089 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10090
10091 * nis/nis_table.c (nis_list): Use variable of correct type for
10092 result of __follow_path call.
10093
100942011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10095
10096 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10097 of math functions ceil, trunc, floor, round, and sqrt, when
10098 avaliable on the platform.
10099 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10100 name clash.
10101 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10102 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10103 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10104
101052011-10-30 Marek Polacek <mpolacek@redhat.com>
10106
10107 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10108 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10109
101102011-11-11 Roland McGrath <roland@hack.frob.com>
10111
10112 * include/unistd.h: Fix __readlink return type.
10113 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10114
101152011-11-11 Ulrich Drepper <drepper@gmail.com>
10116
10117 * stdlib/ucontext.h: Undo last change for makecontext.
10118
101192011-11-11 Andreas Schwab <schwab@redhat.com>
10120
10121 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10122
10123 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10124 * setjmp/setjmp.h: Mark functions as non-leaf.
10125 * setjmp/bits/setjmp2.h: Likewise.
10126 * stdlib/ucontext.h: Likewise.
10127
101282011-11-10 Andreas Schwab <schwab@redhat.com>
10129
10130 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10131 (reused_arena): Don't check arena limit.
10132 (arena_get2): Atomically check arena limit.
10133
101342011-11-08 Ulrich Drepper <drepper@gmail.com>
10135
10136 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10137 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10138
10139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10140 instructions.
10141
101422011-11-07 Andreas Schwab <schwab@redhat.com>
10143
10144 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10145 handler when locking.
10146
10147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10148 Fix size of allocated buffer.
10149
101502011-11-04 Andreas Schwab <schwab@redhat.com>
10151
10152 [BZ #10103]
10153 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10154 declarations for long double functions.
10155 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10156
10157 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10158
101592011-11-03 Andreas Schwab <schwab@redhat.com>
10160
10161 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10162 installed.
10163
10164 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10165 is disabled.
10166
101672011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10168
10169 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10170
101712011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10172
10173 * include/alloca.h (stackinfo_alloca_round): Define.
10174 (extend_alloca): Use it.
10175 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10176 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10177 here.
10178
10179 * scripts/check-local-headers.sh: Ignore libaudit.h.
10180
10181 * nscd/Makefile (extra-objs): Make recursively expanded.
10182
101832011-11-01 Ulrich Drepper <drepper@gmail.com>
10184
10185 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10187
10188 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10189 * posix/tst-rfc3484-2.c: Likewise.
10190 * posix/tst-rfc3484-3.c: Likewise.
10191
10192 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10193 process_vm_writev.
10194 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10195 process_vm_writev.
10196 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10197 process_vm_writev from libc using GLIBC_2.15 version.
10198
10199 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10200
102012011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10202
10203 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10204 stack usage.
10205
102062011-10-31 Ulrich Drepper <drepper@gmail.com>
10207
10208 [BZ #13367]
10209 * nss/getent.c (initgroups_keys): Show error message in case no group
10210 names are given.
10211
10212 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10213 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10214 __bump_nl_timestamp.
10215 * nscd/connections (nscd_init): When host database is served open
10216 netlink socket and request notification about configuration changes.
10217 (main_loop_poll): Track netlink file descriptor and bump timestamp
10218 in case data becomes available.
10219 (main_loop_epoll): Likewise.
10220 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10221 (database_pers_head): Add extra_data fileds.
10222 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10223 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10224 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10225 Adjust caller.
10226 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10227 in6ai data, call __free_in6ai.
10228 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10229 Add -DHAVE_NETLINK.
10230 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10231 interface information. Reuse previous data if netlink timestamp
10232 is not changed.
10233 (__bump_nl_timestamp): New function.
10234 (__free_in6ai): New function.
10235
102362011-10-30 Ulrich Drepper <drepper@gmail.com>
10237
10238 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10239 close_not_cancel_no_status here.
10240 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10241
102422011-10-29 Ulrich Drepper <drepper@gmail.com>
10243
10244 [BZ #13276]
10245 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10246 return value.
10247
10248 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10249 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10250 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10251
102522011-07-03 Andreas Jaeger <aj@suse.de>
10253
10254 [BZ #10709]
10255 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10256 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10257 * math/libm-test.inc (sin_test): Add test case.
10258
102592011-10-29 Ulrich Drepper <drepper@gmail.com>
10260
10261 [BZ #13337]
10262 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10263 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10264
10265 * elf/chroot_canon.c (chroot_canon): Cleanups.
10266
10267 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10268
10269 [BZ #13335]
10270 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10271 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10272
10273 * string/test-strchr.c: Make usable for strchrnul testing.
10274 * string/test-strchrnul.c: New file.
10275 * string/Makefile (strop-tests): Add strchrnul.
10276
10277 * po/it.po: Update from translation team.
10278 * po/es.po: Likewise.
10279
102802011-10-28 Ulrich Drepper <drepper@gmail.com>
10281
10282 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10283 the three constants needed as parameters. Drop the others.
10284 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10285 __m128i_strloadu_tolower.
10286 Create and initialize variable zero and use it in all the places
10287 where _mm_setzero_si128 was used.
10288
10289 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10290 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10291 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10292 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10293 anymore.
10294 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10295 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10296 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10297 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10298 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10299 __mpranred, __mptan.
10300 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10301 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10302 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10303 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10304 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10305 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10306 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10307 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10308 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10309
103102011-10-28 Andreas Schwab <schwab@redhat.com>
10311
10312 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10313 redefine if SHARED.
10314 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10315
10316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10317 wide char related routines to wcsmbs subdir.
10318
103192011-10-27 Andreas Schwab <schwab@redhat.com>
10320
10321 [BZ #13344]
10322 * misc/sys/cdefs.h (__THROWNL): Define.
10323 * posix/unistd.h: Use __THREADNL instead of __THREAD
10324 for memory synchronization functions.
10325
103262011-10-26 Roland McGrath <roland@hack.frob.com>
10327
10328 [BZ #13349]
10329 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10330 doesn't exist.
10331 * manual/stdio.texi (Obstack Streams): Node removed.
10332
103332011-10-26 Andreas Schwab <schwab@redhat.com>
10334
10335 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10336 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10337 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10338
10339 * math/math_private.h (math_force_eval): Allow non-addressable
10340 arguments.
10341 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10342
103432011-10-25 Ulrich Drepper <drepper@gmail.com>
10344
10345 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10346 file is not needed.
10347
10348 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10349 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10350 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10351 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10352 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10353 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10354 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10355 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10356 Add AVX variants.
10357 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10358 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10359 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10360 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10361 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10362 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10363 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10364 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10365 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10366 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10367 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10368 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10369 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10370 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10371 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10372 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10373 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10374 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10375 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10376
10377 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10378 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10379
10380 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10381 place. Use VEX encoding when compiling for AVX.
10382
103832011-10-25 Andreas Schwab <schwab@redhat.com>
10384
10385 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10386 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10387
10388 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10389
103902011-10-25 Ulrich Drepper <drepper@gmail.com>
10391
10392 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10393 useless if() expression.
10394 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10402 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10403 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10404 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10405 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10406 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10407 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10408 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10409 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10410 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10412 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10413
10414 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10415
104162011-10-25 Andreas Schwab <schwab@redhat.com>
10417
10418 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10419 condition.
10420 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10421
104222011-10-25 Ulrich Drepper <drepper@gmail.com>
10423
10424 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10425 .text section. Avoid duplicate constants.
10426 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10434 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10435 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10436 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10437 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10438 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10439 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10440 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10441 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10442 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10443 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10444 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10445 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10446 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10447 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10448 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10449 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10450 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10451 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10452 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10453 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10454 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10455 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10456 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10457 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10458 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10459 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10460 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10461 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10462 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10463 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10464 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10465 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10466 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10467 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10468 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10469 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10470 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10471
104722011-10-24 Ulrich Drepper <drepper@gmail.com>
10473
10474 * sysdeps/x86_64/dla.h: Move to ...
10475 * sysdeps/x86_64/fpu/dla.h: ...here.
10476 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10477 situations. Use __builtin_fma only for gcc 4.6 and up.
10478
10479 * config.make.in: Add have-mfma4 entry.
10480 * configure.in: Substitute libc_cv_cc_fma4.
10481 * math/Makefile (dbl-only-routines): Add sincostab.
10482 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10483 Use __sincostab not sincos.
10484 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10485 name is a macro.
10486 * sysdeps/ieee754/dbl-64/e_exp.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/e_atan2.c: Likewise. Define singArctan2
10490 using __copysign.
10491 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10492 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10493 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10494 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10495 and __inv.
10496 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10497 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10498 __copysign.
10499 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10500 define aliases when function name is a macro.
10501 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10502 sysdeps/ieee754/dbl-64/sincos.tbl.
10503 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10504 fma4-enabled routines.
10505 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10506 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10507 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10508 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10509 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10510 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10511 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10512 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10513 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10514 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10515 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10516 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10517 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10518 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10519 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10520 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10521 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10522 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10523 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10524 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10525 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10526 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10527 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10528 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10529 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10530 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10531 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10532 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10533 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10534 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10535
10536 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10537 rename.
10538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10546
105472011-10-24 Andreas Schwab <schwab@redhat.com>
10548
10549 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10550
105512011-10-23 Ulrich Drepper <drepper@gmail.com>
10552
10553 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10554
10555 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10556 prediction.
10557 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10558
10559 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10560 Remove unused variable magic_bits.
10561 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10562
10563 * string/strnlen.c: Define and use STRNLEN macro.
10564 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10565 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10566 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10567 * wcsmbs/wcslen.c: Define and use WCSLEN.
10568 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10569 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10570 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10571 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10572 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10573 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10574 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10575
105762011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10577
10578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10579 strnlen-sse2-no-bsf.
10580 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10581 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10582 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10583 Add strnlen support.
10584 (USE_AS_STRNLEN): New macro.
10585 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10586 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10587 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10588 * sysdeps/x86_64/wcslen.S: New file.
10589
105902011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10591
10592 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10593 XMM-moves are used for copying on small sizes.
10594
105952011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10596
10597 * wcsmbs/Makefile (strop-tests): Add wcschr.
10598 * wcsmbs/test-wcschr.c: New file.
10599 * string/test-strchr.c: Update.
10600 Add wcschr support.
10601 (WIDE): New macro.
10602
106032011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10604
10605 * wcsmbs/Makefile (strop-tests): Add wcslen.
10606 * wcsmbs/test-wcslen.c: New file.
10607 * string/test-strlen.c: Update.
10608 Add wcslen support.
10609 (WIDE): New macro.
10610
106112011-10-23 Ulrich Drepper <drepper@gmail.com>
10612
10613 * po/it.po: Update from translation team.
10614
106152011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10616
10617 * sysdeps/x86_64/wcscmp.S: Update.
10618 Fix wrong comparison semantics.
10619 wcscmp shall use signed comparison not unsigned.
10620 Don't use substraction to avoid overflow bug.
10621 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10622 * wcsmbc/wcscmp.c: Likewise.
10623 * string/test-strcmp.c: Likewise.
10624 Add new tests to check cases with negative values.
10625
106262011-10-23 Ulrich Drepper <drepper@gmail.com>
10627
10628 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10629 * sysdeps/x86_64/dla.h: ...here. New file.
10630 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10635 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10639
106402011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10641
10642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10643 __ynl_finite aliases.
10644
106452011-10-22 Ulrich Drepper <drepper@gmail.com>
10646
10647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10648
10649 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10650 define DLA_FMA.
10651 [DLA_FMA] (EMULV): Use DLA_FMA.
10652 [DLA_FMA] (MUL12): Use EMULV.
10653 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10654 that are not needed.
10655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10662
106632011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10664
10665 * math/s_nan.c: Undef __nan.
10666 * math/s_nanf.c: Undef __nanf.
10667 * math/s_nanl.c: Undef __nanl.
10668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10669 "math_private.h".
10670
106712011-10-22 Ulrich Drepper <drepper@gmail.com>
10672
10673 * math/s_catan.c: Add branch predictions.
10674 * math/s_catanf.c: Likewise.
10675 * math/s_catanh.c: Likewise.
10676 * math/s_catanhf.c: Likewise.
10677 * math/s_catanhl.c: Likewise.
10678 * math/s_catanl.c: Likewise.
10679 * math/s_cexp.c: Likewise.
10680 * math/s_cexpf.c: Likewise.
10681 * math/s_cexpl.c: Likewise.
10682 * math/s_clog.c: Likewise.
10683 * math/s_clog10.c: Likewise.
10684 * math/s_clog10f.c: Likewise.
10685 * math/s_clog10l.c: Likewise.
10686 * math/s_clogf.c: Likewise.
10687 * math/s_clogl.c: Likewise.
10688 * math/s_csqrt.c: Likewise.
10689 * math/s_csqrtf.c: Likewise.
10690 * math/s_csqrtl.c: Likewise.
10691 * math/s_ctanf.c: Likewise.
10692 * math/s_ctanh.c: Likewise.
10693 * math/s_ctanhf.c: Likewise.
10694 * math/s_ctanhl.c: Likewise.
10695 * math/s_ctanl.c: Likewise.
10696
10697 * math/math_private.h: Define __nan, __nanf, __nanl.
10698 * math/s_cacosh.c: Include <math_private.h>.
10699 * math/s_cacoshl.c: Likewise.
10700 * math/s_casinh.c: Likewise.
10701 * math/s_casinhf.c: Likewise.
10702 * math/s_casinhl.c: Likewise.
10703 * math/s_ccos.c: Rely entire on ccosh.
10704 * math/s_ccosf.c: Rely entire on ccoshf.
10705 * math/s_ccosl.c: Rely entirely on ccoshl.
10706 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10707 Remove tests for FE_INVALID.
10708 * math/s_ccoshf.c: Likewise.
10709 * math/s_ccoshl.c: Likewise.
10710 * math/s_csin.c: Likewise.
10711 * math/s_csinf.c: Likewise.
10712 * math/s_csinh.c Likewise.
10713 * math/s_csinhf.c: Likewise.
10714 * math/s_csinhl.c: Likewise.
10715 * math/s_csinl.c: Likewise.
10716 * math/s_ctan.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10718 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10719 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10720
107212011-10-21 Ulrich Drepper <drepper@gmail.com>
10722
10723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10724 compilation problems.
10725
10726 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10727 __builtin_expect.
10728
107292011-10-20 Ulrich Drepper <drepper@gmail.com>
10730
10731 * sysdeps/i386/configure.in: Test for -mfma4 option.
10732 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10733 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10734 COMMON_CPUID_INDEX_80000001.
10735 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10736 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10737 use it if FMA3 is not supported.
10738 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10739
10740 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10741 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10742
107432011-10-20 Andreas Schwab <schwab@redhat.com>
10744
10745 [BZ #12892]
10746 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10747 it would create a cycle with a link time dependency.
10748
107492011-10-19 Ulrich Drepper <drepper@gmail.com>
10750
10751 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10752 instruction.
10753 * string/Makefile (strop-tests): Add rawmemchr.
10754 * string/test-rawmemchr.c: New file.
10755
10756 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10757 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10758 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10759 when compiling str{,n}casecmp and when AVX is available. Hook up
10760 new optimized code in initializers.
10761
107622011-10-19 Andreas Schwab <schwab@redhat.com>
10763
10764 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10765 __feraiseexcept instead of feraiseexcept.
10766
107672011-10-18 Ulrich Drepper <drepper@gmail.com>
10768
10769 * math/math_private.h: Define defaults for libc_fetestexcept and
10770 libc_feupdateenv.
10771 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10772 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10773 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10774 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10775 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10776 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10777 libc_fetestexcept and libc_feupdateenv.
10778
10779 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10780 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10781 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10782 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10783 libc_feholdexcept_setround.
10784
10785 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10786 Add s_nearbyint-c and s_nearbyintf-c.
10787 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10788 nearbyintf inlines.
10789 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10790 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10791 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10792 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10793
10794 * math/math_private.h: Define defaults for libc_fegetround,
10795 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10796 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10797 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10798 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10799 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10800 standard functions.
10801 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10802 Remove comments and hacks for old compiler versions.
10803 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10804 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10805 libc_feholdexceptl.
10806
108072011-10-18 Andreas Schwab <schwab@redhat.com>
10808
10809 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10810 (__feraiseexcept_renamed): Add __NTH.
10811 (feraiseexcept): Add __NTH. Rename local variables to fix
10812 namespace violations.
10813
108142011-10-17 Ulrich Drepper <drepper@gmail.com>
10815
10816 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10817
10818 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10819
10820 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10821 recently added interfaces.
10822 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10823
10824 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10825 about macro parameter expansion.
10826
10827 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10828 __NO_MATH_INLINES is defined. Cleanups.
10829
10830 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10831 and __floorf is target has SSE4.1.
10832 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10833 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10834 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10835 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10836
10837 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10838 name.
10839 (floorf): Likewise.
10840
10841 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10842
108432011-10-17 Andreas Schwab <schwab@redhat.com>
10844
10845 * misc/sys/cdefs.h: Fix last change.
10846
10847 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10848 database lookup.
10849
108502011-10-16 Ulrich Drepper <drepper@gmail.com>
10851
10852 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10853
10854 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10855 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10856 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10857 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10858 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10859 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10860 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10861 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10862 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10863 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10864 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10865 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10866 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10867 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10868 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10869 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10870 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10871 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10872 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10873 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10874 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10875 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10876
10877 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10878 ceil, ceilf, floor, floorf.
10879
10880 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10881 Perform IRELATIVE relocations last.
10882
10883 * elf/do-rel.h: Add another parameter nrelative, replacing the
10884 local variable with the same name. Change name of the function
10885 to end in Rel or Rela (uppercase).
10886 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10887 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10888 elf_dynamic_do_##reloc function.
10889
108902011-10-15 Ulrich Drepper <drepper@gmail.com>
10891
10892 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10893 is sufficient, at least on modern CPUs.
10894
10895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10896
10897 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10898 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10899
10900 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10901 __expl_finite.
10902 * math/bits/math-finite.h: Add entries for exp.
10903 * math/e_expl.c: Add __*_finite alias.
10904 * sysdeps/i386/fpu/e_exp.S: Likewise.
10905 * sysdeps/i386/fpu/e_expf.S: Likewise.
10906 * sysdeps/i386/fpu/e_expl.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10908 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10910 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10912 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10913 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10914
10915 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10916 is sufficient, at least on modern CPUs.
10917
10918 * ctype/ctype-info.c (__ctype_init): Define.
10919 * include/ctype.h (__ctype_init): Declare.
10920 (__ctype_b_loc): The variable is always initialized.
10921 (__ctype_toupper_loc): Likewise.
10922 (__ctype_tolower_loc): Likewise.
10923 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10924 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10925
109262011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10927
10928 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10929
10930 * configure.in: Also look in $cxxmachine/include for C++ system
10931 headers.
10932
109332011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10934
10935 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10936 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10937 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10938 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10939 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10940 (USE_AS_WMEMCMP): New macro.
10941 Fixing indents.
10942 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10943 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10944 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10945 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10947 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10948 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10949 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10950 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10951 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10952 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10953 (USE_AS_WMEMCMP): New macro.
10954 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10955 * sysdeps/string/test-memcmp.c: Update.
10956 Fix simple_wmemcmp.
10957 Add new tests.
10958 * wcsmbs/wmemcmp.c: Update.
10959 (WMEMCMP): New macro.
10960 Fix overflow bug.
10961
109622011-10-12 Andreas Jaeger <aj@suse.de>
10963
10964 [BZ #13268]
10965 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10966
109672011-10-15 Ulrich Drepper <drepper@gmail.com>
10968
10969 * libio/iofwide.c (do_length): Avoid warning.
10970
10971 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10972
109732011-10-14 Ulrich Drepper <drepper@gmail.com>
10974
10975 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10976
10977 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10978 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10979 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10980 * sysdeps/i386/i686/fpu/e_log.S: New file.
10981 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10982 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10983
10984 * ctype/ctype.h: Add support for inlined isXXX functions when
10985 compiling C++ code.
10986
109872011-10-14 Andreas Schwab <schwab@redhat.com>
10988
10989 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10990
10991 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10992
109932011-10-13 Roland McGrath <roland@hack.frob.com>
10994
10995 [BZ #13291]
10996 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10997
109982011-10-13 Andreas Schwab <schwab@redhat.com>
10999
11000 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11001 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11002 feraiseexcept.
11003
11004 * sysdeps/x86_64/memrchr.S: Check for zero size.
11005
11006 * string/stratcliff.c: Add memrchr tests.
11007
110082011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11009
11010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11011 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11012 rawmemchr-sse2 rawmemchr-sse2-bsf.
11013 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11014 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11015 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11016 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11017 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11018 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11019 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11020 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11021 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11022 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11023 * string/memrchr.c (MEMRCHR): New macro.
11024
110252011-10-12 Ulrich Drepper <drepper@gmail.com>
11026
11027 Add integration with gcc's -ffinite-math-only and optimize wrapper
11028 functions in libm.
11029 * Versions.def: Define GLIBC_2.15 version for libm.
11030 * math/Makefile (headers): Add bits/math-finite.h.
11031 * math/bits/math-finite.h: New file.
11032 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11033 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11034 * math/e_acoshl.c: Add __*_finite alias.
11035 * math/e_acosl.c: Likewise.
11036 * math/e_asinl.c: Likewise.
11037 * math/e_atan2l.c: Likewise.
11038 * math/e_atanhl.c: Likewise.
11039 * math/e_coshl.c: Likewise.
11040 * math/e_exp10.c: Likewise.
11041 * math/e_exp10f.c: Likewise.
11042 * math/e_exp10l.c: Likewise.
11043 * math/e_exp2l.c: Likewise.
11044 * math/e_fmodl.c: Likewise.
11045 * math/e_gammal_r.c: Likewise.
11046 * math/e_hypotl.c: Likewise.
11047 * math/e_j0l.c: Likewise.
11048 * math/e_j1l.c: Likewise.
11049 * math/e_jnl.c: Likewise.
11050 * math/e_lgammal_r.c: Likewise.
11051 * math/e_log10l.c: Likewise.
11052 * math/e_log2l.c: Likewise.
11053 * math/e_logl.c: Likewise.
11054 * math/e_powl.c: Likewise.
11055 * math/e_sinhl.c: Likewise.
11056 * math/e_sqrtl.c: Likewise.
11057 * math/e_scalb.c: Completely rewritten and optimized.
11058 * math/e_scalbf.c: Likewise.
11059 * math/e_scalbl.c: Likewise.
11060 * math/w_acos.c: Likewise.
11061 * math/w_acosf.c: Likewise.
11062 * math/w_acosl.c: Likewise.
11063 * math/w_acosh.c: Likewise.
11064 * math/w_acoshf.c: Likewise.
11065 * math/w_acoshl.c: Likewise.
11066 * math/w_asin.c: Likewise.
11067 * math/w_asinf.c: Likewise.
11068 * math/w_asinl.c: Likewise.
11069 * math/w_atan2.c: Likewise.
11070 * math/w_atan2f.c: Likewise.
11071 * math/w_atan2l.c: Likewise.
11072 * math/w_atanh.c: Likewise.
11073 * math/w_atanhf.c: Likewise.
11074 * math/w_atanhl.c: Likewise.
11075 * math/w_exp10.c: Likewise.
11076 * math/w_exp10f.c: Likewise.
11077 * math/w_exp10l.c: Likewise.
11078 * math/w_fmod.c: Likewise.
11079 * math/w_fmodf.c: Likewise.
11080 * math/w_fmodl.c: Likewise.
11081 * math/w_j0.c: Likewise.
11082 * math/w_j0f.c: Likewise.
11083 * math/w_j0l.c: Likewise.
11084 * math/w_j1.c: Likewise.
11085 * math/w_j1f.c: Likewise.
11086 * math/w_j1l.c: Likewise.
11087 * math/w_jn.c: Likewise.
11088 * math/w_jnf.c: Likewise.
11089 * math/w_log.c: Likewise.
11090 * math/w_logf.c: Likewise.
11091 * math/w_logl.c: Likewise.
11092 * math/w_log10.c: Likewise.
11093 * math/w_log10f.c: Likewise.
11094 * math/w_log10l.c: Likewise.
11095 * math/w_log2.c: Likewise.
11096 * math/w_log2f.c: Likewise.
11097 * math/w_log2l.c: Likewise.
11098 * math/w_pow.c: Likewise.
11099 * math/w_powf.c: Likewise.
11100 * math/w_powl.c: Likewise.
11101 * math/w_remainder.c: Likewise.
11102 * math/w_remainderf.c: Likewise.
11103 * math/w_remainderl.c: Likewise.
11104 * math/w_scalb.c: Likewise.
11105 * math/w_scalbf.c: Likewise.
11106 * math/w_scalbl.c: Likewise.
11107 * math/w_sqrt.c: Likewise.
11108 * math/w_sqrtf.c: Likewise.
11109 * math/w_sqrtl.c: Likewise.
11110 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11111 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11112 used.
11113 * math/math_private.h: Declare __kernel_standard_f.
11114 * math/w_cosh.c: Remove cruft and optimize a bit.
11115 * math/w_coshf.c: Likewise.
11116 * math/w_coshl.c: Likewise.
11117 * math/w_exp2.c: Likewise.
11118 * math/w_exp2f.c: Likewise.
11119 * math/w_exp2l.c: Likewise.
11120 * math/w_hypot.c: Likewise.
11121 * math/w_hypotf.c: Likewise.
11122 * math/w_hypotl.c: Likewise.
11123 * math/w_lgamma.c: Likewise.
11124 * math/w_lgamma_r.c: Likewise.
11125 * math/w_lgammaf.c: Likewise.
11126 * math/w_lgammaf_r.c: Likewise.
11127 * math/w_lgammal.c: Likewise.
11128 * math/w_lgammal_r.c: Likewise.
11129 * math/w_sinh.c: Likewise.
11130 * math/w_sinhf.c: Likewise.
11131 * math/w_sinhl.c: Likewise.
11132 * math/w_tgamma.c: Likewise.
11133 * math/w_tgammaf.c: Likewise.
11134 * math/w_tgammal.c: Likewise.
11135 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11136 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11137 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11138 Minor optimizations. Pretty printing. Remove cruft.
11139 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11140 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11141 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11142 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11143 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11144 * sysdeps/i386/fpu/e_asin.S: Likewise.
11145 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11146 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11147 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11148 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11149 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11150 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11151 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11152 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11153 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11154 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11155 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11156 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11157 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11158 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11159 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11160 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11161 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11162 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11163 * sysdeps/i386/fpu/e_log.S: Likewise.
11164 * sysdeps/i386/fpu/e_log10.S: Likewise.
11165 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11166 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11167 * sysdeps/i386/fpu/e_log2.S: Likewise.
11168 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11169 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11170 * sysdeps/i386/fpu/e_logf.S: Likewise.
11171 * sysdeps/i386/fpu/e_logl.S: Likewise.
11172 * sysdeps/i386/fpu/e_pow.S: Likewise.
11173 * sysdeps/i386/fpu/e_powf.S: Likewise.
11174 * sysdeps/i386/fpu/e_powl.S: Likewise.
11175 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11176 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11177 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11178 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11179 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11180 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11181 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11182 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11183 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11187 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11188 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11189 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11190 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11191 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11192 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11193 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11194 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11204 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11205 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11206 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11207 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11208 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11209 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11210 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11211 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11212 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11213 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11214 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11215 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11216 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11217 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11218 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11219 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11220 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11221 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11222 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11223 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11224 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11225 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11264 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11267 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11269 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11270 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11272 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11275 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11276 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11277 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11278 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11279 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11280 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11281 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11282 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11283 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11284 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11285 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11286 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11287 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11288 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11289 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11290 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11291 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11292 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11293 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11294 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11295 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11296 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11297 (__isnanf): Likewise.
11298 (__isinf_ns): Likewise.
11299 (__isinf_nsf): Likewise.
11300 (__finite): Likewise.
11301 (__finitef): Likewise.
11302 (__ieee754_sqrt): Define as macro.
11303 (__ieee754_sqrtf): Define as macro.
11304 (__ieee754_sqrtl): Define as macro.
11305 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11306 inlined copy.
11307 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11308 __FINITE_MATH_ONLY__ consistent.
11309 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11310
113112011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11312
11313 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11314 of rawmemchr.
11315
11316 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11317
113182011-10-09 Ulrich Drepper <drepper@gmail.com>
11319
11320 * po/ja.po: Update from translation team.
11321
113222011-10-08 Roland McGrath <roland@hack.frob.com>
11323
11324 * locale/programs/locarchive.c (prepare_address_space): New function.
11325 (create_archive, enlarge_archive, open_archive): Use it.
11326
11327 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11328 inside [SHARED], where it is used.
11329
11330 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11331
11332 * nss/getent.c (netgroup_keys): Remove unused variable.
11333 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11334
113352011-10-08 Ulrich Drepper <drepper@gmail.com>
11336
11337 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11338 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11339 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11340 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11341 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11342 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11343 * math/Makefile (libm-calls): Add s_isinf_ns.
11344 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11345 * math/multc3.c: Likewise.
11346 * math/s_casin.c: Likewise.
11347 * math/s_casinf.c: Likewise.
11348 * math/s_casinl.c: Likewise.
11349 * math/s_ccos.c: Likewise.
11350 * math/s_ccosf.c: Likewise.
11351 * math/s_ccosl.c: Likewise.
11352 * math/s_ctan.c: Likewise.
11353 * math/s_ctanf.c: Likewise.
11354 * math/s_ctanh.c: Likewise.
11355 * math/s_ctanhf.c: Likewise.
11356 * math/s_ctanhl.c: Likewise.
11357 * math/s_ctanl.c: Likewise.
11358 * math/w_fmod.c: Likewise.
11359 * math/w_fmodf.c: Likewise.
11360 * math/w_fmodl.c: Likewise.
11361 * math/w_remainder.c: Likewise.
11362 * math/w_remainderf.c: Likewise.
11363 * math/w_remainderl.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11365 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11366 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11367 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11368 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11369 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11370 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11371 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11372
11373 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11374 of the number.
11375 * stdio-common/printf_fphex.c: Likewise.
11376 * stdio-common/printf_size.c: Likewise.
11377
11378 * math/e_exp10.c: Include math_private.h using <...> not "...".
11379 * math/e_exp10f.c: Likewise.
11380 * math/e_exp10l.c: Likewise.
11381 * math/e_exp2l.c: Likewise.
11382 * math/e_j0l.c: Likewise.
11383 * math/e_j1l.c: Likewise.
11384 * math/e_jnl.c: Likewise.
11385 * math/e_lgammal_r.c: Likewise.
11386 * math/e_rem_pio2l.c: Likewise.
11387 * math/e_scalb.c: Likewise.
11388 * math/e_scalbf.c: Likewise.
11389 * math/e_scalbl.c: Likewise.
11390 * math/k_cosl.c: Likewise.
11391 * math/k_sinl.c: Likewise.
11392 * math/k_tanl.c: Likewise.
11393 * math/s_cacoshf.c: Likewise.
11394 * math/s_catan.c: Likewise.
11395 * math/s_catanf.c: Likewise.
11396 * math/s_catanh.c: Likewise.
11397 * math/s_catanhf.c: Likewise.
11398 * math/s_catanhl.c: Likewise.
11399 * math/s_catanl.c: Likewise.
11400 * math/s_ccosh.c: Likewise.
11401 * math/s_ccoshf.c: Likewise.
11402 * math/s_ccoshl.c: Likewise.
11403 * math/s_cexp.c: Likewise.
11404 * math/s_cexpf.c: Likewise.
11405 * math/s_cexpl.c: Likewise.
11406 * math/s_clog.c: Likewise.
11407 * math/s_clog10.c: Likewise.
11408 * math/s_clog10f.c: Likewise.
11409 * math/s_clog10l.c: Likewise.
11410 * math/s_clogf.c: Likewise.
11411 * math/s_clogl.c: Likewise.
11412 * math/s_csin.c: Likewise.
11413 * math/s_csinf.c: Likewise.
11414 * math/s_csinh.c: Likewise.
11415 * math/s_csinhf.c: Likewise.
11416 * math/s_csinhl.c: Likewise.
11417 * math/s_csinl.c: Likewise.
11418 * math/s_csqrt.c: Likewise.
11419 * math/s_csqrtf.c: Likewise.
11420 * math/s_csqrtl.c: Likewise.
11421 * math/s_ctan.c: Likewise.
11422 * math/s_ctanf.c: Likewise.
11423 * math/s_ctanh.c: Likewise.
11424 * math/s_ctanhf.c: Likewise.
11425 * math/s_ctanhl.c: Likewise.
11426 * math/s_ctanl.c: Likewise.
11427 * math/s_ldexp.c: Likewise.
11428 * math/s_ldexpf.c: Likewise.
11429 * math/s_ldexpl.c: Likewise.
11430 * math/s_significand.c: Likewise.
11431 * math/s_significandf.c: Likewise.
11432 * math/s_significandl.c: Likewise.
11433 * math/w_acos.c: Likewise.
11434 * math/w_acosf.c: Likewise.
11435 * math/w_acosh.c: Likewise.
11436 * math/w_acoshf.c: Likewise.
11437 * math/w_acoshl.c: Likewise.
11438 * math/w_acosl.c: Likewise.
11439 * math/w_asin.c: Likewise.
11440 * math/w_asinf.c: Likewise.
11441 * math/w_asinl.c: Likewise.
11442 * math/w_atan2.c: Likewise.
11443 * math/w_atan2f.c: Likewise.
11444 * math/w_atan2l.c: Likewise.
11445 * math/w_atanh.c: Likewise.
11446 * math/w_atanhf.c: Likewise.
11447 * math/w_atanhl.c: Likewise.
11448 * math/w_cosh.c: Likewise.
11449 * math/w_coshf.c: Likewise.
11450 * math/w_coshl.c: Likewise.
11451 * math/w_dremf.c: Likewise.
11452 * math/w_exp10.c: Likewise.
11453 * math/w_exp10f.c: Likewise.
11454 * math/w_exp10l.c: Likewise.
11455 * math/w_exp2.c: Likewise.
11456 * math/w_exp2f.c: Likewise.
11457 * math/w_fmod.c: Likewise.
11458 * math/w_fmodf.c: Likewise.
11459 * math/w_fmodl.c: Likewise.
11460 * math/w_hypot.c: Likewise.
11461 * math/w_hypotf.c: Likewise.
11462 * math/w_hypotl.c: Likewise.
11463 * math/w_j0.c: Likewise.
11464 * math/w_j0f.c: Likewise.
11465 * math/w_j0l.c: Likewise.
11466 * math/w_j1.c: Likewise.
11467 * math/w_j1f.c: Likewise.
11468 * math/w_j1l.c: Likewise.
11469 * math/w_jn.c: Likewise.
11470 * math/w_jnf.c: Likewise.
11471 * math/w_jnl.c: Likewise.
11472 * math/w_lgamma.c: Likewise.
11473 * math/w_lgamma_r.c: Likewise.
11474 * math/w_lgammaf.c: Likewise.
11475 * math/w_lgammaf_r.c: Likewise.
11476 * math/w_lgammal.c: Likewise.
11477 * math/w_lgammal_r.c: Likewise.
11478 * math/w_log.c: Likewise.
11479 * math/w_log10.c: Likewise.
11480 * math/w_log10f.c: Likewise.
11481 * math/w_log10l.c: Likewise.
11482 * math/w_log2.c: Likewise.
11483 * math/w_log2f.c: Likewise.
11484 * math/w_log2l.c: Likewise.
11485 * math/w_logf.c: Likewise.
11486 * math/w_logl.c: Likewise.
11487 * math/w_pow.c: Likewise.
11488 * math/w_powf.c: Likewise.
11489 * math/w_powl.c: Likewise.
11490 * math/w_remainder.c: Likewise.
11491 * math/w_remainderf.c: Likewise.
11492 * math/w_remainderl.c: Likewise.
11493 * math/w_scalb.c: Likewise.
11494 * math/w_scalbf.c: Likewise.
11495 * math/w_scalbl.c: Likewise.
11496 * math/w_sinh.c: Likewise.
11497 * math/w_sinhf.c: Likewise.
11498 * math/w_sinhl.c: Likewise.
11499 * math/w_sqrt.c: Likewise.
11500 * math/w_sqrtf.c: Likewise.
11501 * math/w_sqrtl.c: Likewise.
11502 * math/w_tgamma.c: Likewise.
11503 * math/w_tgammaf.c: Likewise.
11504 * math/w_tgammal.c: Likewise.
11505
11506 * po/ja.po: Update from translation team.
11507
115082011-09-29 Andreas Jaeger <aj@suse.de>
11509
11510 [BZ #13179]
11511 * sunrpc/netname.c (netname2host): Fix logic.
11512
11513 [BZ #6779]
11514 [BZ #6783]
11515 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11516 correctly.
11517 * math/w_remainder.c (__remainder): Likewise.
11518 * math/w_remainderf.c (__remainderf): Likewise.
11519 * math/libm-test.inc (remainder_test): Add test cases.
11520
115212011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11522
11523 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11524 sdiv_qrnnd.
11525
115262011-10-07 Ulrich Drepper <drepper@gmail.com>
11527
11528 * string/test-memcmp.c: Avoid unncessary #defines.
11529 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11530
115312011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11532
11533 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11534 Use new sse2 version for core i3 - i7 as it's faster
11535 than sse42 version.
11536 (bit_Prefer_PMINUB_for_stringop): New.
11537 * sysdeps/x86_64/rawmemchr.S: Update.
11538 Replace with faster SSE2 version.
11539 * sysdeps/x86_64/memrchr.S: New file.
11540 * sysdeps/x86_64/memchr.S: Update.
11541 Replace with faster SSE2 version.
11542
115432011-09-12 Marek Polacek <mpolacek@redhat.com>
11544
11545 * elf/dl-load.c (lose): Add cast to avoid warning.
11546
115472011-10-07 Ulrich Drepper <drepper@gmail.com>
11548
11549 * po/ca.po: Update from translation team.
11550
11551 * inet/getnetgrent_r.c: Hook up nscd.
11552 * nscd/Makefile (routines): Add nscd_netgroup.
11553 (nscd-modules): Add netgroupcache.
11554 (CFLAGS-netgroupcache.c): Define.
11555 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11556 (cache_search): Add const to second parameter.
11557 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11558 INNETGR.
11559 (dbs): Add netgrdb entry.
11560 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11561 (verify_persistent_db): Handle netgrdb.
11562 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11563 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11564 GETFDNETGR.
11565 (netgroup_response_header): Define.
11566 (innetgroup_response_header): Define.
11567 (datahead): Add netgroup_response_header and innetgroup_response_header
11568 elements.
11569 * nscd/nscd.conf: Add entries for netgroup cache.
11570 * nscd/nscd.h (dbtype): Add netgrdb.
11571 (_PATH_NSCD_NETGROUP_DB): Define.
11572 (netgroup_iov_disabled): Declare.
11573 (xmalloc, xcalloc, xrealloc): Move declarations here.
11574 (cache_search): Adjust prototype.
11575 Add netgroup-related prototypes.
11576 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11577 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11578 (__nscd_innetgr): Declare.
11579 * nscd/selinux.c (perms): Use access_vector_t as element type and
11580 add netgroup-related initializers.
11581 * nscd/netgroupcache.c: New file.
11582 * nscd/nscd_netgroup.c: New file.
11583 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11584 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11585 For four parameters use innetgr.
11586 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11587 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11588 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11589 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11590
11591 * nscd/connections.c (register_traced_file): Don't register file
11592 for disabled databases.
11593
115942011-10-06 Ulrich Drepper <drepper@gmail.com>
11595
11596 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11597
11598 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11599 from tree and freeing node.
11600
116012011-09-25 Jiri Olsa <jolsa@redhat.com>
11602
11603 * nss/nsswitch.c (__nss_database_lookup): Handle
11604 nss_parse_service_list out of memory case.
11605
116062011-09-15 Jiri Olsa <jolsa@redhat.com>
11607
11608 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11609 out of memory case.
11610
116112011-10-04 Andreas Schwab <schwab@redhat.com>
11612
11613 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11614 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11615 pass it down.
11616 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11617 elf_machine_rela, elf_machine_lazy_rel.
11618 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11619 (ELF_DYNAMIC_DO_REL): Likewise.
11620 (ELF_DYNAMIC_DO_RELA): Likewise.
11621 (ELF_DYNAMIC_RELOCATE): Likewise.
11622 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11623 to ELF_DYNAMIC_DO_REL.
11624 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11625 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11626 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11627 elf_machine_rela.
11628 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11629 skip_ifunc, don't call ifunc function if non-zero.
11630 (elf_machine_rela): Likewise.
11631 (elf_machine_lazy_rel): Likewise.
11632 (elf_machine_lazy_rela): Likewise.
11633 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11634 (elf_machine_lazy_rel): Likewise.
11635 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11636 Likewise.
11637 (elf_machine_lazy_rel): Likewise.
11638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11639 Likewise.
11640 (elf_machine_lazy_rel): Likewise.
11641 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11642 (elf_machine_lazy_rel): Likewise.
11643 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11644 (elf_machine_lazy_rel): Likewise.
11645 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11646 (elf_machine_lazy_rel): Likewise.
11647 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11648 (elf_machine_lazy_rel): Likewise.
11649 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11650 (elf_machine_lazy_rel): Likewise.
11651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11652 (elf_machine_lazy_rel): Likewise.
11653
116542011-09-28 Ulrich Drepper <drepper@gmail.com>
11655
11656 * nss/nss_files/files-init.c (_nss_files_init): Use static
11657 initialization for all the *_traced_file variables.
11658
116592011-09-28 Andreas Schwab <schwab@redhat.com>
11660
11661 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11662
116632011-09-27 Roland McGrath <roland@hack.frob.com>
11664
11665 [BZ #13226]
11666 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11667
116682011-09-27 Andreas Schwab <schwab@redhat.com>
11669
11670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11671 Reread the line before reparsing it.
11672
116732011-09-26 Andreas Schwab <schwab@redhat.com>
11674
11675 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11676
116772011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11678 Maxim Kuvyrkov <maxim@codesourcery.com>
11679 Joseph Myers <joseph@codesourcery.com>
11680
11681 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11682 if needed for __stack_chk_guard.
11683
116842011-09-19 Roland McGrath <roland@hack.frob.com>
11685
11686 * sysdeps/posix/spawni.c (script_execute): Always define it.
11687 It will be optimized away if unused.
11688 (maybe_script_execute): New function.
11689 (__spawni): Call it.
11690
11691 * Makerules: Don't include tls.make.
11692 (config-tls): Always set to thread.
11693 * tls.make.c: File removed.
11694
116952011-09-19 Mike Frysinger <vapier@gentoo.org>
11696
11697 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11698 * config.make.in (CPPFLAGS-config): New substituted variable.
11699
117002011-09-15 Ulrich Drepper <drepper@gmail.com>
11701
11702 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11703
11704 [BZ #13192]
11705 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11706 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11707
117082011-09-15 Roland McGrath <roland@hack.frob.com>
11709
11710 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11711 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11713 (CALL_FAIL): Likewise.
11714 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11715 (CALL_FAIL): Macro removed.
11716 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11717
117182011-09-15 Ulrich Drepper <drepper@gmail.com>
11719
11720 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11721 for __FINITE_MATH_ONLY__ == 1.
11722
117232011-09-15 Andreas Schwab <schwab@redhat.com>
11724
11725 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11726 __ieee754_sqrt instead of sqrt.
11727 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11728 __ieee754_sqrtf instead of sqrtf.
11729 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11730 __floorf instead of floorf.
11731 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11732 __floorf, __truncf instead of floorf, truncf.
11733
117342011-09-14 Ulrich Drepper <drepper@gmail.com>
11735
11736 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11737
11738 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11739 __extern_always_inline.
11740 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11741 32-bit.
11742
117432011-09-14 Andreas Schwab <schwab@redhat.com>
11744
11745 * elf/rtld.c (dl_main): Also relocate in dependency order when
11746 doing symbol dependency testing.
11747
117482011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11749
11750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11751 Always define `refsym'.
11752
117532011-09-13 Andreas Schwab <schwab@redhat.com>
11754
11755 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11756 (__FD_ELT): Renamed from __FDELT.
11757 * misc/bits/select2.h (__FD_ELT): Likewise.
11758 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11759 __FD_MASK instead of __FDELT, __FDMASK.
11760 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11761 Likewise.
11762 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11763 Likewise.
11764
11765 * elf/Makefile (gen-ldd): Fix pattern.
11766
11767 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11768 (init_tls): Likewise.
11769
117702011-09-12 Ulrich Drepper <drepper@gmail.com>
11771
11772 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11773
117742011-09-12 Andreas Schwab <schwab@redhat.com>
11775
11776 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11777 `struct cmsghdr *' instead of `void *'.
11778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11779 Likewise.
11780
117812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11782
11783 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11784 if non-absolute.
11785 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11786 ldd_rewrite_script.
11787
117882011-09-11 Ulrich Drepper <drepper@gmail.com>
11789
11790 * configure.in: Remove --with-tls option.
11791 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11792 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11793 out in case it is missing.
11794 * sysdeps/ia64/elf/configure.in: Likewise.
11795 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11796 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11797 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11798 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11799 * sysdeps/sh/elf/configure.in: Likewise.
11800 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11801 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11802 * sysdeps/x86_64/elf/configure.in: Likewise.
11803 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11804 * sysdeps/mach/hurd/tls.h: Likewise.
11805
11806 [BZ #13067]
11807 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11808
11809 [BZ #13090]
11810 * configure.in: Fix use of AC_INIT.
11811
11812 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11813
118142011-09-10 Ulrich Drepper <drepper@gmail.com>
11815
11816 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11817 __set_errno.
11818 * malloc/hooks.c: Likewise.
11819
11820 [BZ #11929]
11821 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11822 variables statically.
11823 (narenas): Initialize.
11824 (list_lock): Initialize.
11825 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11826 initializtion of main_arena and list_lock. Small cleanups.
11827 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11828 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11829 Add initializers to main_arena and mp_.
11830 (malloc_state): Remove pagesize member. Change all users to use
11831 GLRO(dl_pagesize).
11832
11833 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11834 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11835 is always initialized.
11836
11837 * malloc/malloc.c: Removed unused configurations and dead code.
11838 * malloc/arena.c: Likewise.
11839 * malloc/hooks.c: Likewise.
11840 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11841
11842 * include/tls.h: Removed. USE___THREAD must always be defined.
11843 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11844 * elf/dl-libc.c: Likewise.
11845 * elf/dl-tsd.c: Likewise.
11846 * include/errno.h: Likewise.
11847 * include/netdb.h: Likewise.
11848 * include/resolv.h: Likewise.
11849 * inet/herrno-loc.c: Likewise.
11850 * inet/herrno.c: Likewise.
11851 * malloc/arena.c: Likewise.
11852 * malloc/hooks.c: Likewise.
11853 * malloc/malloc.c: Likewise.
11854 * resolv/res-state.c: Likewise.
11855 * resolv/res_libc.c: Likewise.
11856 * sysdeps/i386/dl-machine.h: Likewise.
11857 * sysdeps/ia64/dl-machine.h: Likewise.
11858 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11859 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11860 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11861 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11862 * sysdeps/sh/dl-machine.h: Likewise.
11863 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11864 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11865 * sysdeps/unix/i386/sysdep.S: Likewise.
11866 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11867 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11868 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11872 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11873 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11876 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11877 * sysdeps/x86_64/dl-machine.h: Likewise.
11878 * tls.make.c: Likewise.
11879
11880 * configure.in: Remove --with-__thread option. Make tests for
11881 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11882 tls_model attribute fail if no support is available. Remove
11883 USE_IN_LIBIO.
11884 * Makeconfig: Adjust for dropped configure option. All features are
11885 now mandatory.
11886 * Makerules: Likewise.
11887 * Versions.def: Likewise.
11888 * argp/argp-fmtstream.c: Likewise.
11889 * argp/argp-fmtstream.h: Likewise.
11890 * argp/argp-help.c: Likewise.
11891 * assert/assert.c: Likewise.
11892 * config.h.in: Likewise.
11893 * config.make.in: Likewise.
11894 * configure: Likewise.
11895 * configure.in: Likewise.
11896 * csu/Versions: Likewise.
11897 * csu/init.c: Likewise.
11898 * elf/tst-audit2.c: Likewise.
11899 * elf/tst-tls10.c: Likewise.
11900 * elf/tst-tls10.h: Likewise.
11901 * elf/tst-tls11.c: Likewise.
11902 * elf/tst-tls12.c: Likewise.
11903 * elf/tst-tls14.c: Likewise.
11904 * elf/tst-tlsmod11.c: Likewise.
11905 * elf/tst-tlsmod12.c: Likewise.
11906 * elf/tst-tlsmod13.c: Likewise.
11907 * elf/tst-tlsmod13a.c: Likewise.
11908 * elf/tst-tlsmod14a.c: Likewise.
11909 * elf/tst-tlsmod15b.c: Likewise.
11910 * elf/tst-tlsmod16a.c: Likewise.
11911 * elf/tst-tlsmod16b.c: Likewise.
11912 * elf/tst-tlsmod7.c: Likewise.
11913 * elf/tst-tlsmod8.c: Likewise.
11914 * elf/tst-tlsmod9.c: Likewise.
11915 * gmon/gmon.c: Likewise.
11916 * grp/fgetgrent_r.c: Likewise.
11917 * grp/putgrent.c: Likewise.
11918 * hurd/fopenport.c: Likewise.
11919 * include/libc-symbols.h: Likewise.
11920 * include/tls.h: Likewise.
11921 * intl/gettextP.h: Likewise.
11922 * intl/loadinfo.h: Likewise.
11923 * locale/global-locale.c: Likewise.
11924 * locale/localeinfo.h: Likewise.
11925 * mach/devstream.c: Likewise.
11926 * malloc/arena.c: Likewise.
11927 * malloc/set-freeres.c: Likewise.
11928 * misc/err.c: Likewise.
11929 * misc/getttyent.c: Likewise.
11930 * misc/mntent_r.c: Likewise.
11931 * posix/getopt.c: Likewise.
11932 * posix/wordexp.c: Likewise.
11933 * pwd/fgetpwent_r.c: Likewise.
11934 * resolv/Versions: Likewise.
11935 * resolv/res_hconf.c: Likewise.
11936 * shadow/fgetspent_r.c: Likewise.
11937 * shadow/putspent.c: Likewise.
11938 * stdio-common/printf_fphex.c: Likewise.
11939 * stdio-common/tmpfile.c: Likewise.
11940 * stdlib/abort.c: Likewise.
11941 * stdlib/fmtmsg.c: Likewise.
11942 * sunrpc/auth_unix.c: Likewise.
11943 * sunrpc/clnt_perr.c: Likewise.
11944 * sunrpc/clnt_tcp.c: Likewise.
11945 * sunrpc/clnt_udp.c: Likewise.
11946 * sunrpc/clnt_unix.c: Likewise.
11947 * sunrpc/openchild.c: Likewise.
11948 * sunrpc/svc_simple.c: Likewise.
11949 * sunrpc/svc_tcp.c: Likewise.
11950 * sunrpc/svc_udp.c: Likewise.
11951 * sunrpc/svc_unix.c: Likewise.
11952 * sunrpc/xdr.c: Likewise.
11953 * sunrpc/xdr_array.c: Likewise.
11954 * sunrpc/xdr_rec.c: Likewise.
11955 * sunrpc/xdr_ref.c: Likewise.
11956 * sunrpc/xdr_stdio.c: Likewise.
11957
119582011-09-09 Ulrich Drepper <drepper@gmail.com>
11959
11960 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11961
119622011-07-03 Andreas Jaeger <aj@suse.de>
11963
11964 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11965 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11966 regenerate with gen-libm-tests.pl.
11967
119682010-05-12 Petr Baudis <pasky@suse.cz>
11969
11970 [BZ #11589]
11971 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11972 around j0() zero points by switching to j1().
11973 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11974 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11977
119782011-09-09 Ulrich Drepper <drepper@gmail.com>
11979
11980 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11981 instead of 0.
11982 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11983 instead of 0. .
11984 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11985 Patch in part by Pavel Roskin <proski@gnu.org>.
11986
11987 [BZ #13138]
11988 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11989 realloc.
11990 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11991 Free memory block if necessary.
11992
11993 [BZ #12847]
11994 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11995 be NULL. Don't lock in this case.
11996
119972011-09-09 Roland McGrath <roland@hack.frob.com>
11998
11999 * elf/elf.h (ELFOSABI_GNU): New macro.
12000 (ELFOSABI_LINUX): Define to that.
12001
120022011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12003
12004 * string/strncat.c (strncat): Undef the symbol in case it has been
12005 defined in bits/string.h.
12006
120072011-09-09 Ulrich Drepper <drepper@gmail.com>
12008
12009 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12010
12011 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12012 link map.
12013
120142011-08-17 Andreas Jaeger <aj@suse.de>
12015
12016 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12017
120182011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12019 Ian Lance Taylor <iant@google.com>
12020
12021 * math/libm-test.inc (lround_test): New testcase.
12022 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12023
120242011-09-08 Ulrich Drepper <drepper@gmail.com>
12025
12026 * Makefile: Remove support for automatic cvs check-ins.
12027 * Makerules: Likewise.
12028 * config.make.in: Likewise.
12029 * configure.in: Likewise.
12030 * intl/Makefile: Likewise.
12031 * locale/Makefile: Likewise.
12032 * po/Makefile: Likewise.
12033 * posix/Makefile: Likewise.
12034 * sysdeps/gnu/Makefile: Likewise.
12035 * sysdeps/mach/hurd/Makefile: Likewise.
12036 * sysdeps/sparc/sparc32/Makefile: Likewise.
12037
12038 [BZ #13118]
12039 * posix/Makefile (bug-regex32-ENV): Define.
12040 Patch by John Stanley <jpsinthemix@verizon.net>.
12041
12042 * misc/Makefile (headers): Add bits/select2.h.
12043 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12044 * misc/bits/select2.h: New file.
12045 * include/bits/select2.h: New file.
12046 * debug/Makefile (routines): Add fdelt_chk.
12047 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12048 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12049 FD_ISSET.
12050 * debug/fdelt_chk.c: New file.
12051
12052 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12053 * wcsmbs/test-wmemcmp.c: Likewise.
12054 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12055 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12056
120572011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12058
12059 * string/Makefile (strop-tests): Add memcmp.
12060 * string/test-wmemcmp.c: New file.
12061 * string/test-memcmp.c: Add wmemcmp support.
12062
120632011-09-08 Roland McGrath <roland@hack.frob.com>
12064
12065 [BZ #13153]
12066 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12067 2011-07-19 change.
12068
12069 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12070 garbage value in a __mach_port_mod_refs call in the cases of the
12071 task-self and thread-self ports.
12072
120732011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12074
12075 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12076
120772011-09-08 Andreas Schwab <schwab@redhat.com>
12078
12079 * elf/dl-load.c (lose): Check for non-null L.
12080
120812011-09-07 Ulrich Drepper <drepper@gmail.com>
12082
12083 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12084
12085 * elf/dl-libc.c (dlerror_run): Pass back error code from
12086 dl_catch_error.
12087
12088 [BZ #13123]
12089 * elf/dl-load.c (lose): Free l_origin if it is valid.
12090
12091 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12092 names.
12093 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12094 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12095 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12096 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12097 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12098 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12099
121002011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12101
12102 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12103 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12104 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12105 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12106 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12107 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12108 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12109 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12110 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12111 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12112
121132011-08-15 Alan Modra <amodra@gmail.com>
12114
12115 [BZ #13092]
12116 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12117 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12118 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12119 ppc_mcount to static-only-routines.
12120 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12121 __mcount_internal.
12122 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12123 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12124
121252011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12126
12127 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12128 for finite and infinity parameters.
12129
121302011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12131
12132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12133 and add nop instructions for throughput optimization.
12134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12135
121362011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12137
12138 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12139 aligned copy for power7 with vector-scalar instructions.
12140 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12141
121422011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12143
12144 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12145 AVX check.
12146
121472011-09-07 Andreas Schwab <schwab@redhat.com>
12148
12149 [BZ #13144]
12150 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12151 last change.
12152
121532011-09-07 Ulrich Drepper <drepper@gmail.com>
12154
12155 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12156 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12157 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12158 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12159 clock_gettime.
12160
121612011-09-06 Ulrich Drepper <drepper@gmail.com>
12162
12163 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12164 Forgot to demangle the pointer.
12165
12166 * sysdeps/i386/sysdep.h: Define atom_text_section.
12167 * sysdeps/x86_64/sysdep.h: Likewise.
12168 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12169 section with atom_text_section.
12170 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12171 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12172 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12174 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12175
12176 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12177 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12178 already be defined. Change to take two parameters and don't assign
12179 result to variable. Adjust all users.
12180 Define INTERNAL_GETTIME if not already defined.
12181 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12182 call.
12183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12184 HAVE_CLOCK_GETTIME_VSYSCALL.
12185 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12186
12187 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12188 gettimeofday vsyscall, just use time.
12189
121902011-09-06 Andreas Schwab <schwab@redhat.com>
12191
12192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12193 <errno.h>.
12194
121952011-09-06 Ulrich Drepper <drepper@gmail.com>
12196
12197 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12198 syscall on x86-64.
12199 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12200 syscall.
12201 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12202 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12203 syscall if possible.
12204
122052011-09-05 Ulrich Drepper <drepper@gmail.com>
12206
12207 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12208 e_ident. Don't pass to find_mapsXX.
12209 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12210
122112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12212
12213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12214 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12215 * sysdeps/x86_64/multiarch/strchr.S: Update.
12216 Check bit_slow_BSF bit.
12217 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12218 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12219 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12220
122212011-09-05 Ulrich Drepper <drepper@gmail.com>
12222
12223 [BZ #13134]
12224 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12225 before glibc 2.15.
12226 (tryshell): Define.
12227 (__spawni): Change last parameter to be flag. Test
12228 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12229 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12230 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12231 * posix/spawni.c: Likewise.
12232 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12233 * posix/spawnp.c: Likewise. Change normal version to use
12234 SPAWN_XFLAGS_USE_PATH.
12235 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12236 SPAWN_XFLAGS_TRY_SHELL.
12237
12238 [BZ #13150]
12239 * posix/glob.h: Remove gcc 1.x support.
12240
12241 [BZ #13068]
12242 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12243
122442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12245
12246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12247 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12248 strrchr-sse2-bsf
12249 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12250 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12251 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12252 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12253 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12254 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12255
122562011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12257
12258 * sysdeps/x86_64/wcscmp.S: New file.
12259
12260 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12261 wcscmp-c wcscmp-sse2
12262 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12263 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12264 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12265 * wcsmbs/wcscmp.c: Allow renaming.
12266
122672011-09-05 David S. Miller <davem@davemloft.net>
12268
12269 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12270 stack slot, rather than the struct return pointer slot.
12271 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12272 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12274 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12275
122762011-09-05 Ulrich Drepper <drepper@gmail.com>
12277
12278 * po/ja.po: Update from translation team.
12279
12280 [BZ #13144]
12281 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12282 kernel in 64-bit binaries.
12283
122842011-09-01 David S. Miller <davem@davemloft.net>
12285
12286 * elf/elf.h (HWCAP_SPARC_*): Move to..
12287 * sysdeps/sparc/sysdep.h: this new file and add new values.
12288 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12289 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12290 _DL_HWCAP_COUNT to 24.
12291 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12292 entries.
12293 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12294 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12295 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12297 instead of magic constants.
12298 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12299
123002011-08-31 David S. Miller <davem@davemloft.net>
12301
12302 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12303 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12304 Reimplement to do errno handling inline.
12305 (SYSCALL_ERROR_HANDLER): New macro.
12306 (__SYSCALL_STRING): Do not do errno handling in asm.
12307 (__CLONE_SYSCALL_STRING): Delete.
12308 (__INTERNAL_SYSCALL_STRING): Delete.
12309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12310 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12311 (PSEUDO): Reimplement to do errno handling inline.
12312 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12313 (SYSCALL_ERROR_HANDLER): New macro.
12314 (__SYSCALL_STRING): Do not do errno handling in asm.
12315 (__CLONE_SYSCALL_STRING): Delete.
12316 (__INTERNAL_SYSCALL_STRING): Delete.
12317 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12318 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12319 i386.
12320 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12321 (inline_syscall*): Add 'err' argument.
12322 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12323 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12324 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12325 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12326
12327 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12328 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12329
123302011-08-30 Andreas Schwab <schwab@redhat.com>
12331
12332 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12333
123342011-08-29 Jiri Olsa <jolsa@redhat.com>
12335
12336 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12337 directive.
12338
123392011-08-24 David S. Miller <davem@davemloft.net>
12340
12341 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12342
123432011-08-24 Andreas Schwab <schwab@redhat.com>
12344
12345 * elf/Makefile: Add rules to build and run unload8 test.
12346 * elf/unload8.c: New file.
12347 * elf/unload8mod1.c: New file.
12348 * elf/unload8mod1x.c: New file.
12349 * elf/unload8mod2.c: New file.
12350 * elf/unload8mod3.c: New file.
12351
12352 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12353 it wasn't used.
12354
123552011-08-23 David S. Miller <davem@davemloft.net>
12356
12357 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12358 subtract stack bias.
12359 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12360 %sp not %fp in calculations.
12361 (_JMPBUF_UNWINDS_ADJ): Likewise.
12362
12363 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12364 (aio_suspend): Call it to force an exception region around the
12365 AIO_MISC_WAIT() invocation.
12366
123672011-08-23 Andreas Schwab <schwab@redhat.com>
12368
12369 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12370 backslash.
12371
123722011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12373
12374 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12375 protection macro.
12376 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12377 and <dl-machine.h>.
12378 (Elf64_FuncDesc): Remove.
12379
123802011-08-22 David S. Miller <davem@davemloft.net>
12381
12382 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12383 sigaltstack check, add missing cfi directives.
12384 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12385 missing cfi directives, and sigaltstack handling.
12386
123872011-08-16 Andreas Schwab <schwab@redhat.com>
12388
12389 [BZ #11724]
12390 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12391 object is seen twice.
12392 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12393
12394 * elf/Makefile (distribute): Add tst-initorder2.c.
12395 (tests): Add tst-initorder2.
12396 (modules-names): Add tst-initorder2a tst-initorder2b
12397 tst-initorder2c tst-initorder2d. Add rules to build them.
12398 ($(objpfx)tst-initorder2.out): New rule.
12399 * elf/tst-initorder2.c: New file.
12400 * elf/tst-initorder2.exp: New file.
12401
124022011-08-22 Andreas Schwab <schwab@redhat.com>
12403
12404 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12405
12406 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12407 dependencies back to end of function.
12408
12409 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12410 $(elfobjdir)/ld.so.
12411
124122011-08-21 Ulrich Drepper <drepper@gmail.com>
12413
12414 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12415 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12416 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12417 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12418 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12419 of __vdso_gettimeofday.
12420 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12421 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12422 attribute_hidden.
12423 (_libc_vdso_platform_setup): Remove initialization of
12424 __vdso_gettimeofday and __vdso_time.
12425
124262011-08-20 Ulrich Drepper <drepper@gmail.com>
12427
12428 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12429 and fgetc_unlocked.
12430 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12431 getc_unlocked.
12432
12433 * elf/dl-open.c (add_to_global): Report additions to the global scope
12434 for LD_DEBUG=scopes.
12435 (dl_open_worker): Also print scope of newly loaded dependencies.
12436 (_dl_show_scope): Indicate if there is no scope.
12437
12438 [BZ #13114]
12439 * stdio-common/Makefile (tests): Add bug24.
12440 * stdio-common/bug24.c: New file.
12441
124422011-08-19 Andreas Jaeger <aj@suse.de>
12443
12444 [BZ #13114]
12445 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12446 non-existant file when using close-on-exec mode.
12447
124482011-08-20 Ulrich Drepper <drepper@gmail.com>
12449
12450 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12451 the very first instruction.
12452
12453 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12454 the CFI state in the end.
12455 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12456 inclusion of dl-trampoline.h.
12457 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12458
124592011-08-19 Andreas Schwab <schwab@redhat.com>
12460
12461 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12462 expectations for long double.
12463
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12465 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12466
124672011-08-14 David S. Miller <davem@davemloft.net>
12468
12469 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12470 artificual limit depends upon the system page size.
12471
124722011-08-17 Ulrich Drepper <drepper@gmail.com>
12473
12474 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12475 * resolv/Makefile: Define CFLAGS-libresolv.
12476
124772011-08-17 Andreas Schwab <schwab@redhat.com>
12478
12479 * nss/makedb.c (compute_tables): Make variables used in nested
12480 function static.
12481
124822011-08-17 Ulrich Drepper <drepper@gmail.com>
12483
12484 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12485 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12486 if buffer was too small.
12487
12488 * elf/pldd.c (main): Attach to all threads in the process.
12489 Rewrite /proc handling to use *at functions.
12490
124912011-08-16 Ulrich Drepper <drepper@gmail.com>
12492
12493 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12494 specifies first scope to show.
12495 (dl_open_worker): Update callers. Move printing scope of new
12496 object to before the relocation.
12497 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12498 * sysdeps/generic/ldsodefs.h: Update declaration.
12499
12500 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12501 string for the scope number.
12502
125032011-08-14 Ulrich Drepper <drepper@gmail.com>
12504
12505 * nscd/servicescache.c (cache_addserv): Make sure written is always
12506 initialized.
12507
125082011-08-14 Roland McGrath <roland@hack.frob.com>
12509
12510 * sysdeps/i386/i486/bits/atomic.h
12511 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12512 statement expression, so as to suppress "set but not used" warning.
12513 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12514
12515 * string/strncat.c (STRNCAT): Use prototype definition.
12516
12517 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12518 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12519 -Iprograms here.
12520 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12521 (localedef-modules): Add localedef.
12522 (locale-modules): Add locale.
12523
12524 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12525 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12526 to avoid a warning.
12527
125282011-08-14 David S. Miller <davem@davemloft.net>
12529
12530 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12531 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12532
125332011-08-13 Ulrich Drepper <drepper@gmail.com>
12534
12535 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12536 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12537 * elf/rtld.c (dl_main): Set l_name of vDSO.
12538 Call _dl_show_scope when DL_DEBUG_SCOPES.
12539 (process_dl_debug): Recognize scopes flag and also set it for all.
12540 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12541 Declare _dl_show_scope.
12542
12543 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12544 (do_dlopen): Pass caller_dlopen to dl_open.
12545 (__libc_dlopen_mode): Initialize caller_dlopen.
12546
12547 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12548 of libc. Make tolower call locale-independent. Optimize a bit by
12549 using isdigit instead of isalnum.
12550 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12551
125522011-08-12 Ulrich Drepper <drepper@gmail.com>
12553
12554 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12555 was a dependency or dynamically loaded.
12556
125572011-08-11 Ulrich Drepper <drepper@gmail.com>
12558
12559 * intl/l10nflist.c: Allow architecture-specific pop function.
12560 * sysdeps/x86_64/l10nflist.c: New file.
12561
12562 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12563 classification.
12564
125652011-08-10 Andreas Schwab <schwab@redhat.com>
12566
12567 * include/dirent.h: Add libc_hidden_proto for scandirat and
12568 scandirat64. Don't declare __scandirat64.
12569 * dirent/scandirat.c: Add libc_hidden_def.
12570 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12571 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12572
125732011-08-10 David S. Miller <davem@davemloft.net>
12574
12575 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12576 enum.
12577 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12578 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12579 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12580
125812011-08-09 Ulrich Drepper <drepper@gmail.com>
12582
12583 * Versions.def [libc]: Add GLIBC_2.15.
12584 * dirent/Makefile (routines): Add scandirat and scandirat64.
12585 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12586 GLIBC_2.15.
12587 * dirent/dirent.h: Declare scandirat and scandirat64.
12588 * dirent/scandirat.c: New file.
12589 * dirent/scandirat64.c: New file.
12590 * sysdeps/wordsize-64/scandirat.c: New file.
12591 * sysdeps/wordsize-64/scandirat64.c: New file.
12592 * dirent/opendir.c: Define opendirat.
12593 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12594 using scandirat.
12595 * dirent/scandir64.c: Adjust for scandir.c change.
12596 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12597 __scandirat64, and __scandir_cancel_handler.
12598 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12599 additional parameter and use openat instead of open (outside of ld.so).
12600 Add new __opendir as wrapper around __opendirat.
12601 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12602 here without requiring old scandirat implementation.
12603
126042011-08-08 Ulrich Drepper <drepper@gmail.com>
12605
12606 * dirent/scandir.c (cancel_handler): Renamed to
12607 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12608 defined. Adjust users.
12609 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12610 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12611
126122011-08-04 Ulrich Drepper <drepper@gmail.com>
12613
12614 * string/test-string.h (IMPL): Use __STRING to expand name and then
12615 stringify it.
12616
12617 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12618 of cleanups.
12619
126202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12621
12622 * string/Makefile: Update.
12623 (strop-tests): Append strncat.
12624 * string/test-wcscmp.c: New file.
12625 New comprehensive test for wcscmp.
12626 * string/test-strcmp.c: Update.
12627 (WIDE): New define.
12628
126292011-07-22 Andreas Schwab <schwab@redhat.com>
12630
12631 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12632 line.
12633
126342011-07-26 Andreas Schwab <schwab@redhat.com>
12635
12636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12637 encoding to ACE if AI_IDN.
12638
126392011-08-01 Jakub Jelinek <jakub@redhat.com>
12640
12641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12642 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12643
126442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12645
12646 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12647 Fix overflow bug in strncat.
12648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12649
12650 * string/test-strncat.c: Update.
12651 Add new tests for checking overflow bugs.
12652
126532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12654
12655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12656 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12657 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12658 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12659 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12660 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12661 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12662 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12663 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12664
12665 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12666 (USE_AS_STRCAT): Define.
12667 Add strcat and strncat support.
12668 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12669
126702011-07-25 Andreas Schwab <schwab@redhat.com>
12671
12672 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12673 __n bigger than INT_MAX+1.
12674 (__strncmp_g): Likewise.
12675
126762011-07-23 Ulrich Drepper <drepper@gmail.com>
12677
12678 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12679 * libio/stido.h: Likewise.
12680
12681 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12682 (AF_NFC): Define.
12683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12684 (AF_NFC): Define.
12685
12686 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12687 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12688 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12689 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12690 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12691
12692 [BZ #13021]
12693 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12694 installed.
12695
12696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12697 typo.
12698 (_dl_x86_64_save_sse): Likewise.
12699
127002011-07-22 Ulrich Drepper <drepper@gmail.com>
12701
12702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12703 OSXSAVE.
12704 (_dl_x86_64_save_sse): Likewise.
12705
12706 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12707
12708 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12709
127102011-07-21 Andreas Schwab <schwab@redhat.com>
12711
12712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12713 change.
12714 (_dl_x86_64_save_sse): Use correct AVX check.
12715
127162011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12717
12718 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12719 bug in strncpy/strncat.
12720 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12721
127222011-07-21 Ulrich Drepper <drepper@gmail.com>
12723
12724 * string/tester.c (test_strcat): Add tests for different alignments
12725 of source and destination.
12726 (test_strncat): Likewise.
12727
127282011-07-20 Ulrich Drepper <drepper@gmail.com>
12729
12730 [BZ #12852]
12731 * posix/glob.c (glob): Check passed in values before using them in
12732 expressions to avoid some overflows.
12733 (glob_in_dir): Likewise.
12734
12735 [BZ #13007]
12736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12737 check for AVX enablement so that we don't crash with old kernels and
12738 new hardware.
12739 * elf/tst-audit4.c: Add same checks here.
12740 * elf/tst-audit6.c: Likewise.
12741
12742 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12743
127442011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12745
12746 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12747
127482011-07-20 Ulrich Drepper <drepper@gmail.com>
12749
12750 * po/cs.po: Update from translation team.
12751 * po/bg.po: Likewise.
12752
127532011-07-12 Marek Polacek <mpolacek@redhat.com>
12754
12755 * misc/sys/cdefs.h: Add support for const attribute.
12756 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12757 to gnu_dev_{major,minor,makedev} functions.
12758
127592011-07-20 Marek Polacek <mpolacek@redhat.com>
12760
12761 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12762
127632011-07-20 Andreas Schwab <schwab@redhat.com>
12764
12765 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12766 strlen results.
12767
127682011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12769
12770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12771 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12772 register in order to avoid conflicts with the soft frame pointer
12773 being held in r11 when necessary.
12774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12775 (INTERNAL_VSYSCALL_NCS): Likewise.
12776
127772011-07-14 Marek Polacek <mpolacek@redhat.com>
12778
12779 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12780 * elf/dl-fini.c (_dl_fini): Adjust caller.
12781 * elf/dl-close.c (_dl_close_worker): Likewise.
12782 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12783
127842011-07-15 Marek Polacek <mpolacek@redhat.com>
12785
12786 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12787 "aux_cache->nlibs < 0".
12788
12789 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12790 in the reload-count case.
12791
127922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12793
12794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12795 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12796 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12797 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12798 * sysdeps/x86_64/multiarch/strcat.S: New file.
12799 * sysdeps/x86_64/multiarch/strncat.S: New file.
12800 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12801 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12802 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12803 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12804 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12805 (USE_AS_STRCAT): Define.
12806 Add strcat and strncat support.
12807 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12808 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12809 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12810 * string/strncat.c: Update.
12811 (USE_AS_STRNCAT): Define.
12812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12813 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12814 and i7.
12815 * sysdeps/x86_64/multiarch/init-arch.h
12816 (bit_Prefer_PMINUB_for_stringop): New.
12817 (index_Prefer_PMINUB_for_stringop): Likewise.
12818 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12819 bit_Prefer_PMINUB_for_stringop.
12820
128212011-07-19 Ulrich Drepper <drepper@gmail.com>
12822
12823 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12824 buffer64.
12825 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12826 of casting of buffer.
12827 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12828 buffer32 and buffer64.
12829 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12830 writes instead of casting of buffer.
12831 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12832 buffer32.
12833 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12834 casting of buffer.
12835
128362011-07-19 Andreas Schwab <schwab@redhat.com>
12837
12838 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12839
128402011-07-19 Ulrich Drepper <drepper@gmail.com>
12841
12842 * nscd/nscd.c (termination_handler): Don't do anything for a database
12843 if it has not yet been initialized.
12844
128452011-07-18 Ulrich Drepper <drepper@gmail.com>
12846
12847 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12848
128492011-07-15 Marek Polacek <mpolacek@redhat.com>
12850
12851 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12852
128532011-07-18 Ulrich Drepper <drepper@gmail.com>
12854
12855 * po/nl.po: Update from translation team.
12856 * po/sv.po: Likewise.
12857
128582011-07-16 Roland McGrath <roland@hack.frob.com>
12859
12860 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12861 now disallowed by GCC.
12862
12863 * configure.in (use-default-link): Default to yes if a test -shared
12864 link meets our qualifications.
12865 * configure: Regenerated.
12866
12867 * config.make.in (output-format): New variable.
12868 * configure.in: Check for ld --print-output-format support.
12869 * configure: Regenerated.
12870 * Makerules ($(common-objpfx)format.lds)
12871 [$(output-format) != unknown]: Just use $(output-format),
12872 instead of the linker-script munging.
12873
128742011-07-14 Roland McGrath <roland@hack.frob.com>
12875
12876 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12877 of $(common-objpfx)shlib.lds.
12878 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12879
12880 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12881 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12882
12883 * configure.in (-z relro check): Adjust test code to add a large
12884 writable data section after it.
12885 * configure: Regenerated.
12886
128872011-07-11 Roland McGrath <roland@hack.frob.com>
12888
12889 * configure.in (-z relro check): Fix test code to make the variable
12890 truly const.
12891 * configure: Regenerated.
12892
128932011-07-11 Ulrich Drepper <drepper@gmail.com>
12894
12895 * nscd/nscd.h (struct traced_file): Define.
12896 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12897 elements. Add traced_files.
12898 (inotify_fd): Declare.
12899 (register_traced_file): Declare.
12900 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12901 (inotify_fd): Export.
12902 (resolv_conf_descr): Remove.
12903 (nscd_init): Move inotify descriptor creation to main.
12904 Don't register files for notification here.
12905 (register_traced_file): New function.
12906 (invalidate_cache): Don't use reset_res to determine whether to call
12907 res_init, go through the list of registered files.
12908 (main_loop_poll): The inotify descriptors are now stored in the
12909 structures for the traced files.
12910 (main_loop_epoll): Likewise
12911 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12912 to __nss_disable_nscd.
12913 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12914 for a database anymore. Check the records for all the registered
12915 files instead.
12916 * nss/Makefile (libnss_files-routines): Add files-init.
12917 (libnss_db-routines): Add db-init.
12918 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12919 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12920 * nss/nss_db/db-init.c: New file.
12921 * nss/nss_files/files-init.c: New file.
12922 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12923 __nss_lookup_function.
12924 (__nss_lookup_function): Call nss_load_library.
12925 (nss_load_all_libraries): New function.
12926 (__nss_disable_nscd): Take parameter with callback function for files
12927 to register. Set is_nscd. Load all the DSOs for the NSS modules
12928 used for the cached services.
12929 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12930 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12931 options for features to all the files in nscd.
12932
12933 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12934
129352011-07-10 Roland McGrath <roland@hack.frob.com>
12936
12937 * csu/elf-init.c (__libc_csu_init): Comment typo.
12938
129392011-07-09 Ulrich Drepper <drepper@gmail.com>
12940
12941 * po/pl.po: Update from translation team.
12942 * po/ja.po: Likewise.
12943 * po/ru.po: Likewise.
12944 * po/ko.po: Likewise.
12945 * po/fr.po: Likewise.
12946
129472011-07-09 Roland McGrath <roland@hack.frob.com>
12948
12949 * configure.in (.ctors/.dtors header and trailer check):
12950 Use an empirical test on a built program.
12951 * configure: Regenerated.
12952
12953 * configure.in (-z relro check): Use an empirical test on a built DSO.
12954 Detect, but do not require, on ia64.
12955 * configure: Regenerated.
12956
12957 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12958 Update tests that use readelf to use $READELF instead.
12959 * configure: Regenerated.
12960
129612011-07-08 Ulrich Drepper <drepper@gmail.com>
12962
12963 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12964 if the result is not used.
12965
129662011-07-05 Andreas Jaeger <aj@suse.de>
12967
12968 [BZ#9696]
12969 * stdlib/tst-strtod.c: Add testcase.
12970
129712011-07-07 Ulrich Drepper <drepper@gmail.com>
12972
12973 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12974 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12975 The latter has a higher limit. Take additional parameter to pass to
12976 the new function.
12977 (__pathconf): Pass file to __statfs_link_max.
12978 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12979 __statfs_link_max.
12980 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12981 __statfs_link_max.
12982
12983 [BZ #12868]
12984 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12985 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12986 Handle Lustre.
12987 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12988 (__statfs_filesize_max): Likewise.
12989 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12990
129912011-07-05 Andreas Jaeger <aj@suse.de>
12992
12993 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12994
129952011-07-06 Marek Polacek <mpolacek@redhat.com>
12996
12997 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12998 `status' variable.
12999 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13000 Likewise.
13001
130022011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13003
13004 * Makefile (strop-tests): Add strncat.
13005 * string/test-strncat.c: New file.
13006
130072011-06-30 Marek Polacek <mpolacek@redhat.com>
13008
13009 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13010
130112011-06-21 Andreas Jaeger <aj@suse.de>
13012
13013 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13014 Copy rule from iconvdata/Makefile.
13015
130162011-07-06 Ulrich Drepper <drepper@gmail.com>
13017
13018 [BZ #12922]
13019 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13020 but no long options are defined, just return 'W'.
13021
130222011-06-22 Marek Polacek <mpolacek@redhat.com>
13023
13024 [BZ #9696]
13025 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13026
130272011-07-06 Ulrich Drepper <drepper@gmail.com>
13028
13029 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13030 netgroups to read.
13031 (innetgr): Likewise.
13032
130332011-07-05 Roland McGrath <roland@hack.frob.com>
13034
13035 * config.make.in (install_root): Default to $(DESTDIR).
13036
130372011-07-05 Ulrich Drepper <drepper@gmail.com>
13038
13039 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13040
130412011-07-02 Roland McGrath <roland@hack.frob.com>
13042
13043 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13044
13045 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13046 containing directory rather than embedding absolute directory names.
13047
13048 * scripts/check-local-headers.sh: Rewritten using awk.
13049 Match by word, not by line. Print error messages for matches.
13050 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13051
13052 * Makerules [shlib-lds-flags empty]:
13053 ($(common-objpfx)libc_pic.opts): New target.
13054 ($(common-objpfx)libc_pic.os.clean): New target.
13055 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13056
13057 * config.make.in (OBJCOPY): New variable.
13058 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13059 * configure: Regenerated.
13060
13061 * config.make.in (use-default-link): New variable.
13062 * configure.in (use_default_link): Grok --with-default-link to set it.
13063 * configure: Regenerated.
13064 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13065 (shlib-lds, shlib-lds-flags): Define to empty.
13066
13067 * Makerules (shlib-lds): New variable.
13068 (shlib-lds-flags): New variable.
13069 (build-shlib, build-moduile, build-module-asneeded): Use it.
13070 ($(common-objpfx)libc.so): Use $(shlib-lds).
13071 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13072 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13073
13074 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13075 DT_FLAGS/DT_FLAGS_1 with zero flags.
13076
13077 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13078 linker script munging.
13079
130802011-07-02 Ulrich Drepper <drepper@gmail.com>
13081
13082 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13083 as 128-bit value.
13084 * crypt/sha512.c (sha512_process_block): Perform total addition using
13085 128-bit if possible.
13086 (__sha512_finish_ctx): Likewise.
13087 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13088 as 64-bit value.
13089 * crypt/sha256.c (SWAP64): Define.
13090 (sha256_process_block): Perform total addition using 64-bit if
13091 possible.
13092 (__sha256_finish_ctx): Likewise.
13093
130942011-07-01 Ulrich Drepper <drepper@gmail.com>
13095
13096 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13097 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13098 * nscd/hstcache.c (cache_addhst): Likewise.
13099 * nscd/grpcache.c (cache_addgr): Likewise.
13100 * nscd/aicache.c (addhstaiX): Likewise
13101 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13102
131032011-07-01 Thorsten Kukuk <kukuk@suse.de>
13104
13105 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13106 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13107 * nscd/hstcache.c (cache_addhst): Likewise.
13108 * nscd/grpcache.c (cache_addgr): Likewise.
13109 * nscd/aicache.c (addhstaiX): Likewise
13110
131112011-07-01 Andreas Schwab <schwab@redhat.com>
13112
13113 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13114 domain only when needed.
13115
131162011-06-30 Andreas Schwab <schwab@redhat.com>
13117
13118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13119 is always restored.
13120
131212011-06-29 Ulrich Drepper <drepper@gmail.com>
13122
13123 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13124 are re-adding the entry.
13125 * nscd/servicescache.c (cache_addserv): Likewise.
13126
131272011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13128
13129 * sysdeps/generic/dl-irel.h: fix protection against multiple
13130 inclusions.
13131 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13132
131332011-06-28 Ulrich Drepper <drepper@gmail.com>
13134
13135 [BZ #12935]
13136 * malloc/memusage.sh: Fix quoting in message.
13137 * debug/xtrace.sh: Likewise.
13138
13139 * configure.in: Remove support for --experimental-malloc option, make
13140 it the default.
13141 * config.make.in: Likewise.
13142 * malloc/Makefile: Likewise.
13143
131442011-06-27 Andreas Schwab <schwab@redhat.com>
13145
13146 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13147 two-byte characters.
13148
131492011-06-27 Roland McGrath <roland@hack.frob.com>
13150
13151 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13152 AC_CACHE_CHECK invocation.
13153 * configure: Regenerated.
13154
13155 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13156
131572011-06-27 Ulrich Drepper <drepper@gmail.com>
13158
13159 [BZ #12350]
13160 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13161 bit from old_res_options.
13162
13163 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13164
13165 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13166 value type for setfct.
13167
131682011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13169
13170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13171 __gettimeofday instead of gettimeofday.
13172
131732011-06-26 Ulrich Drepper <drepper@gmail.com>
13174
13175 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13176
131772011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13178
13179 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13180
13181 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13182 info.
13183
131842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13185
13186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13187 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13188 strcpy-sse2-unaligned strncpy-sse2-unaligned
13189 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13190 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13191 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13192 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13193 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13194 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13195 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13196 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13197 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13198 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13199 (STRCPY): Support SSE2 and SSSE3 versions.
13200
132012011-06-24 Ulrich Drepper <drepper@gmail.com>
13202
13203 [BZ #12874]
13204 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13205 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13206 kernels which artificially limit size of requests.
13207
132082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13209
13210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13211 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13212 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13213 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13214 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13215 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13216 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13217 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13218 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13219 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13220 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13221 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13222 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13223 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13224 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13226 Enable unaligned load optimization for Intel Core i3, i5 and i7
13227 processors.
13228 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13229 Define.
13230 (index_Fast_Unaligned_Load): Define.
13231 (HAS_FAST_UNALIGNED_LOAD): Define.
13232
132332011-06-23 Marek Polacek <mpolacek@redhat.com>
13234
13235 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13236
132372011-06-22 Ulrich Drepper <drepper@gmail.com>
13238
13239 [BZ #12907]
13240 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13241 until it is clear that the information is realy needed.
13242 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13243
132442011-06-22 Andreas Schwab <schwab@redhat.com>
13245
13246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13247
132482011-06-22 Ulrich Drepper <drepper@gmail.com>
13249
13250 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13251 /sys/devices/system/cpu/online if it is usable.
13252
13253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13254 reading the information from the /proc filesystem to once a second.
13255
132562011-06-21 Andreas Jaeger <aj@suse.de>
13257
13258 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13259 NULL after inclusion of kernel headers.
13260
132612011-06-21 Ulrich Drepper <drepper@gmail.com>
13262
13263 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13264 calls to internal_setent.
13265
13266 [BZ #12885]
13267 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13268 addresses using gethostbyname4_r ignore IPv4 addresses.
13269
13270 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13271 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13272
13273 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13274
132752011-06-20 David S. Miller <davem@davemloft.net>
13276
13277 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13278 inclusions.
13279 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13280
13281 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13282 (elf_irel): Use it.
13283 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13284 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13285 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13286 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13287 * sysdeps/x86_64/dl-irel.h: Likewise.
13288
13289 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13290 * elf/dl-sym.c: Likewise.
13291
132922011-06-15 Ulrich Drepper <drepper@gmail.com>
13293
13294 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13295 need to dereference resplen2.
13296
132972011-06-14 Andreas Schwab <schwab@redhat.com>
13298
13299 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13300
133012011-06-15 Ulrich Drepper <drepper@gmail.com>
13302
13303 * Makeconfig: Define vardbdir and inst_vardbdir.
13304 * nss/Makefile: Add rules to install db-Makefile.
13305
13306 * nss/nss_db/db-XXX.c: Cleanup.
13307
13308 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13309 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13310 GLIBC_PRIVATE.
13311 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13312 * nss/makedb.c: Implement -g option to specify that value strings
13313 are generated and should not be added to table iterated over for
13314 get*ent calls.
13315 * nss/nss_db/db-initgroups.c: New file.
13316
13317 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13318 interface.
13319
13320 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13321 (internal_getgrouplist): Adjust to name change.
13322 Update use_initgroups_entry if this is not the first call.
13323 * nss/databases.def: Add initgroups entry.
13324
13325 * nss/makedb.c (compute_tables): Check result of multiple hash table
13326 sizes to minimize maximum chain length.
13327
133282011-06-14 Ulrich Drepper <drepper@gmail.com>
13329
13330 * Versions.def: Add entry for libnss_db.
13331 * shlib-versions: Likewise.
13332 * nss/Makefile: Add rules to build libnss_db.
13333 * nss/Versions: Add libnss_db information. Organize libnss_files
13334 entries better.
13335 * nss/db-Makefile: Add gshadow support. Change rules for the new
13336 makedb progra. Some minor improvements to generate smaller files.
13337 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13338 here from...
13339 * nss/makedb.c: ...here.
13340 Improve database format to be smaller and require less memory at
13341 runtime.
13342 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13343 db anymore.
13344 * nss/nss_db/db-netgrp.c: Likewise.
13345 * nss/nss_db/db-open.c: Likewise.
13346 * nss/nss_files/flies-XXX.x: Adjust comments.
13347 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13348 * nss/nss_files/files-grp.c: Likewise.
13349 * nss/nss_files/files-hosts.c: Likewise.
13350 * nss/nss_files/files-network.c: Likewise.
13351 * nss/nss_files/files-proto.c: Likewise.
13352 * nss/nss_files/files-pwd.c: Likewise.
13353 * nss/nss_files/files-rpc.c: Likewise.
13354 * nss/nss_files/files-service.c: Likewise.
13355 * nss/nss_files/files-sgrp.c: Likewise.
13356 * nss/nss_files/files-spwd.c: Likewise.
13357 * nss/nss_db/db-alias.c: Removed.
13358 * nss/nss_db/dummy-db.h: Removed.
13359
133602011-06-02 Ulrich Drepper <drepper@gmail.com>
13361
13362 * nss/makedb.c: Rewritten to not use database library.
13363 * nss/Makefile: Update to build new makedb program.
13364
133652011-06-14 Andreas Jaeger <aj@suse.de>
13366
13367 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13368 memset declaration.
13369
133702011-06-10 Andreas Schwab <schwab@redhat.com>
13371
13372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13373 tmpbuf.
13374
133752011-06-10 Roland McGrath <roland@hack.frob.com>
13376
13377 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13378 * elf/Makefile ($(objpfx)ld.so): Likewise.
13379
13380 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13381 Don't list ld.so twice in dependencies.
13382
13383 * posix/bug-regex31.c: Include <stdlib.h>.
13384
13385 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13386
13387 * nis/nss_compat/compat-spwd.c
13388 (getspent_next_nss_netgr): Remove unused variable.
13389 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13390
13391 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13392 nonmembers" output to use the right array.
13393
13394 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13395
13396 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13397
13398 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13399 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13400 * catgets/gencat.c (read_input_file): Likewise.
13401 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13402
13403 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13404 variable definition inside #if's controlling its use.
13405
13406 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13407
13408 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13409
13410 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13411
13412 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13413 unreachable code.
13414
13415 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13416
13417 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13418 * configure: Regenerated.
13419
13420 * Makerules: Revert last change.
13421 * elf/Makefile: Likewise.
13422
134232011-06-09 Roland McGrath <roland@hack.frob.com>
13424
13425 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13426 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13427 (reloc-link): Likewise.
13428
134292011-06-09 Ulrich Drepper <drepper@gmail.com>
13430
13431 * elf/Makefile: Add rules to build pldd.
13432 * elf/pldd.c: New file.
13433 * elf/pldd-xx.c: New file.
13434
134352011-06-07 Ulrich Drepper <drepper@gmail.com>
13436
13437 * version.h: Update for 2.15 development version.
13438
134392011-06-07 David S. Miller <davem@davemloft.net>
13440
13441 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13442 ifuncs.
13443 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13444 elf_machine_lazy_rel): Likewise.
13445 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13446 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13447 elf_machine_lazy_rel): Likewise.
13448 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13449 dl_hwcap via passed in argument.
13450 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13451 Likewise.
13452
134532011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13454
13455 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13456
134572011-06-06 Roland McGrath <roland@hack.frob.com>
13458
13459 [BZ #12849]
13460 * manual/fdl-1.1.texi: New file, verbatim from:
13461 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13462 * manual/lgpl-2.1.texi: New file, verbatim from:
13463 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13464 * manual/Makefile (licenses): New variable, list those new file names.
13465 (texis): Use it.
13466 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13467
13468 * manual/fdl.texi: File removed.
13469 * manual/lesser.texi: File removed.
13470 * manual/libc.texinfo (Copying, Documentation License):
13471 Use new @include file names, put @appendix directive before @include.
13472
134732011-06-04 Jakub Jelinek <jakub@redhat.com>
13474
13475 [BZ #12841]
13476 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13477 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13478 (mq_open): Add __NTH.
13479
134802011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13481
13482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13483 Assume Intel Core i3/i5/i7 processor if AVX is available.
13484
134852011-05-31 Ulrich Drepper <drepper@gmail.com>
13486
13487 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13488 typo.
13489
134902011-05-31 Andreas Schwab <schwab@redhat.com>
13491
13492 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13493 memory. Use alloca_account. Fix memory leak when retrying.
13494
134952011-05-31 Ulrich Drepper <drepper@gmail.com>
13496
13497 * version.h (RELEASE): Bump for 2.14 release.
13498 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13499
13500 * config.make.in (RANLIB): Remove entry.
13501
135022011-05-30 Ulrich Drepper <drepper@gmail.com>
13503
13504 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13505 (libc.pot): Work around missing support for .ksh extension in xgettext.
13506
13507 [BZ #12684]
13508 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13509 if both request failed.
13510 (send_dg): In case of server errors clear resplen or *resplen2.
13511
13512 [BZ #12454]
13513 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13514 when there are multiple maps.
13515 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13516 (_dl_fini): Remove test here.
13517
13518 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13519
135202011-05-29 Ulrich Drepper <drepper@gmail.com>
13521
13522 [BZ #12350]
13523 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13524 bit from old_res_options.
13525 (gaih_inet): Likewise.
13526
13527 [BZ #11099]
13528 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13529 as signed.
13530
13531 * resolv/res_init.c (res_setoptions): Make the code more compact.
13532
13533 [BZ #11558]
13534 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13535 set RES_USEVC.
13536
13537 [BZ #11634]
13538 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13539
13540 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13541
13542 [BZ #11781]
13543 * malloc/malloc.h: Declare malloc hook variables as volatile.
13544
13545 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13546 in last patch.
13547
13548 [BZ #11799]
13549 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13550 raise in the comment.
13551 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13552 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13553 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13554
135552011-05-28 Ulrich Drepper <drepper@gmail.com>
13556
13557 [BZ #12811]
13558 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13559 grow the buffers more if it already has to be sufficient.
13560 (build_wcs_upper_buffer): Likewise.
13561 * posix/regexec.c (check_matching): Likewise.
13562 (clean_state_log_if_needed): Likewise.
13563 (extend_buffers): Don't enlarge buffers beyond size of the input
13564 buffer.
13565 Patches mostly by Emil Wojak <emil@wojak.eu>.
13566 * posix/bug-regex32.c: New file.
13567 * posix/Makefile (tests): Add bug-regex32.
13568
13569 * locale/findlocale.c (_nl_find_locale): Return right away if
13570 _nl_explode_name failed.
13571 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13572
13573 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13574
13575 * debug/xtrace.sh: Unify messages.
13576 * malloc/memusage.sh: Likewise.
13577
13578 [BZ #12813]
13579 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13580 time symbol from vDSO. Substitute with vsyscall if not available.
13581 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13582 __vdso_time.
13583
13584 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13585 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13586 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13587 Add sendmmsg and internal_sendmmsg.
13588 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13589 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13590 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13591
13592 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13593 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13594 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13595
135962011-05-27 Ulrich Drepper <drepper@gmail.com>
13597
13598 [BZ #12813]
13599 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13600 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13601 available.
13602 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13603 __vdso_getcpu.
13604
13605 [BZ #12814]
13606 * iconvdata/Makefile (tests): Add bug-iconv9.
13607 * iconvdata/bug-iconv9.c: New file.
13608
136092011-05-27 Andreas Schwab <schwab@redhat.com>
13610
13611 [BZ #12814]
13612 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13613
136142011-05-25 Jakub Jelinek <jakub@redhat.com>
13615
13616 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13617 (struct user_regs_struct): Change intcs field back to cs.
13618
136192011-05-25 Ulrich Drepper <drepper@gmail.com>
13620
13621 * po/ja.po: Update from translation team.
13622
136232011-05-23 Ulrich Drepper <drepper@gmail.com>
13624
13625 [BZ #12795]
13626 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13627 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13628
136292011-05-20 Andreas Schwab <schwab@redhat.com>
13630
13631 * stdlib/longlong.h: Update from GCC.
13632
136332011-05-23 Andreas Schwab <schwab@redhat.com>
13634
13635 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13636 parameter name.
13637 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13638 Add parameter name.
13639 (__sysconf): Pass it down.
13640
136412011-05-22 Ulrich Drepper <drepper@gmail.com>
13642
13643 [BZ #12671]
13644 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13645 some situations.
13646 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13647 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13648 add in in __libc_use_alloca calls. Adjust callers.
13649 (glob): Use malloc in some situations.
13650
13651 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13652 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13653 pltexit.
13654
136552011-05-21 Ulrich Drepper <drepper@gmail.com>
13656
13657 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13658 and CLOCK_BOOTTIME_ALARM.
13659
13660 [BZ #12782]
13661 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13662 is returned.
13663
13664 * string/_strerror.c (__strerror_r): Print negative errors as signed
13665 numbers.
13666
13667 [BZ #12777]
13668 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13669 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13670 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13671
13672 * configure.in: Fix typo in redirection and correct removal of test
13673 files in two cases.
13674
13675 [BZ #12788]
13676 * locale/setlocale.c (new_composite_name): Fix test to check for
13677 identical name of all categories.
13678
13679 [BZ #12792]
13680 * libio/filedoalloc.c (local_isatty): New function.
13681 (_IO_file_doallocate): Use local_isatty.
13682 * stdio-common/perror.c (perror): In case a new stream is used
13683 forward the stream error.
13684 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13685 error flag.
13686
136872011-05-20 Ulrich Drepper <drepper@gmail.com>
13688
13689 [BZ #11869]
13690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13691 alloca.
13692 * include/alloca.h (extend_alloca_account): Define.
13693
13694 [BZ #11857]
13695 * posix/regex.h: Fix comments with documentation of user-accessible
13696 fields after compilation and describe correct free'ing of pattern
13697 after re_compile_pattern.
13698 Patch by Reuben Thomas <rrt@sc3d.org>.
13699
137002011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13701
13702 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13703 and -mno-altivec to prevent the compiler from using Altivec and/or
13704 VSX instructions when the corresponding registers are not available.
13705
137062011-05-19 Andreas Schwab <schwab@redhat.com>
13707
13708 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13709
137102011-05-19 Ulrich Drepper <drepper@gmail.com>
13711
13712 * libio/freopen.c (freopen): Use __dup2, not dup2.
13713 * libio/freopen64.c (freopen64): Likewise.
13714
137152011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13716
13717 [BZ #12775]
13718 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13719 * math/Makefile (tests): Add test-powl.
13720 (CFLAGS-test-powl.c): Define.
13721 * math/test-powl.c: New file.
13722
137232011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13724
13725 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13726
137272011-05-17 Ulrich Drepper <drepper@gmail.com>
13728
13729 [BZ #11837]
13730 * iconvdata/gb18030.c: Update to GB18020-2005.
13731
137322011-05-16 Ulrich Drepper <drepper@gmail.com>
13733
13734 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13735 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13736 Patch by Aharon Robbins <arnold@skeeve.com>.
13737
13738 [BZ #11892]
13739 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13740 on the stack.
13741
13742 [BZ #11895]
13743 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13744 through underflows.
13745
13746 [BZ #12766]
13747 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13748 point to strings before performing equality test for error_one_per_line
13749 mode.
13750
13751 [BZ #11697]
13752 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13753
13754 [BZ #11820]
13755 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13756 (struct user_fpregs_struct): Avoid __uint*_t types.
13757
13758 [BZ #6420]
13759 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13760 symbol info. Use it instead of calling _dl_addr locally.
13761 (lock_and_info): New function.
13762 (tr_freehook): Call lock_and_info and pass symbol info as additional
13763 parameter to tr_where.
13764 (tr_mallochook): Likewise.
13765 (tr_reallochook): Likewise.
13766 (tr_memalignhook): Likewise.
13767
13768 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13769 used and couldn't be at all thread-safe.
13770
137712011-05-15 Ulrich Drepper <drepper@gmail.com>
13772
13773 * libio/freopen.c (freopen): Don't close old file descriptor
13774 before the new one is opened. Instead dup the new file descriptor
13775 to the old one after the new stream is created.
13776 * libio/freopen64.c (freopen64): Likewise.
13777 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13778 * libio/fileops.c (_IO_new_file_close_it): Handle new
13779 _IO_FLAGS2_NOCLOSE flag.
13780 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13781 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13782 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13783 _IO_FLAGS2_NOCLOSE flag.
13784 * include/unistd.h: Add hidden_proto for dup3.
13785 Define __have_dup3.
13786 * io/dup3.c: Define hidden symbol.
13787 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13788
13789 [BZ #7101]
13790 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13791 when an incomplete long option is used.
13792 * posix/tst-getopt_long1.c: New file.
13793 * posix/Makefile (tests): Add tst-getopt_long1.
13794
13795 [BZ #10138]
13796 * scripts/config.guess: Update from autoconf-2.68.
13797 * scripts/config.sub: Likewise.
13798
13799 [BZ #10157]
13800 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13801 tests into ...
13802 (has_cpuclock): ...this. New function.
13803 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13804 macro here based on has_cpuclock code.
13805
13806 [BZ #10149]
13807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13808 First byte (not low byte) is now always NUL.
13809 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13810
13811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13812 Use non-cancelable interfaces.
13813
13814 [BZ #9809]
13815 * locale/iso-639.def: Add entry for Sorani.
13816
13817 [BZ #11901]
13818 * include/stdlib.h: Move include protection to the right place.
13819 Define abort_msg_s. Declare __abort_msg with it.
13820 * stdlib/abort.c (__abort_msg): Adjust type.
13821 * assert/assert.c (__assert_fail_base): New function. Majority
13822 of code from __assert_fail. Allocate memory for __abort_msg with
13823 mmap.
13824 (__assert_fail): Now call __assert_fail_base.
13825 * assert/assert-perr.c: Remove bulk of implementation. Use
13826 __assert_fail_base.
13827 * include/assert.hL Declare __assert_fail_base.
13828 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13829 mmap.
13830 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13831
138322011-05-14 Ulrich Drepper <drepper@gmail.com>
13833
13834 [BZ #11952]
13835 [BZ #12453]
13836 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13837 until all modules are registered in the DTV.
13838 * elf/Makefile: Add rules to build and run tst-tls19.
13839 * elf/tst-tls19.c: New file.
13840 * elf/tst-tls19mod1.c: New file.
13841 * elf/tst-tls19mod2.c: New file.
13842 * elf/tst-tls19mod3.c: New file.
13843 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13844
13845 [BZ #12083]
13846 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13847 correctly.
13848
13849 [BZ #12601]
13850 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13851 two-byte sequence errors.
13852 * iconvdata/Makefile (tests): Add bug-iconv8.
13853 * iconvdata/bug-iconv8.c: New file.
13854
13855 [BZ #12626]
13856 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13857 buf2 definition.
13858
13859 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13860
13861 [BZ #12432]
13862 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13863 (dummy_getcfa): New function.
13864 (init): Get _Unwind_GetCFA address, use dummy if not found.
13865 (backtrace_helper): In recursion check, also check whether CFA changes.
13866 (__backtrace): Completely initialize arg.
13867
13868 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13869 storing incomplete byte sequence in state object. Avoid testing for
13870 guaranteed too small input if we know there is enough data available.
13871
138722011-05-11 Andreas Schwab <schwab@redhat.com>
13873
13874 * Makeconfig (+link-pie): Indent.
13875 * Rules (binaries-pie): Define if $(have-fpie) and
13876 $(build-shared).
13877 (binaries-shared): Also filter out $(binaries-pie).
13878 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13879 * nscd/Makefile (others-pie): Add nscd.
13880 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13881 ($(objpfx)nscd): Remove command override.
13882 * login/Makefile (others-pie): Add pt_chown.
13883 ($(objpfx)pt_chown): Remove command override.
13884 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13885 remove command overrides.
13886
138872011-05-13 Ulrich Drepper <drepper@gmail.com>
13888
13889 * libio/tst_putwc.c: Fix error messages.
13890
13891 [BZ #12724]
13892 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13893 currently writing and seek to current position when not.
13894 * libio/Makefile (tests): Add bug-fclose1.
13895 * libio/bug-fclose1.c: New file.
13896
138972011-05-12 Ulrich Drepper <drepper@gmail.com>
13898
13899 [BZ #12511]
13900 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13901 don't set DF_1_NODELETE here.
13902 (do_lookup_x): When entering new entry test for copy relocation
13903 and if necessary set DF_1_NODELETE flag.
13904 * elf/tst-unique4.cc: New file.
13905 * elf/tst-unique4.h: New file.
13906 * elf/tst-unique4lib.cc: New file.
13907 * elf/Makefile: Add rules to build and run tst-unique4.
13908 Patch by Piotr Bury <pbury@goahead.com>.
13909
139102011-05-11 Ulrich Drepper <drepper@gmail.com>
13911
13912 [BZ #12052]
13913 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13914
13915 [BZ #12625]
13916 * misc/mntent_r.c (addmntent): Flush the stream after the output
13917
13918 [BZ #12393]
13919 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13920 (is_trusted_path_normalize): Skip initial colon. Append slash
13921 to empty buffer. Duplicate is_trusted_path code but allow
13922 constructed patch to be prefix.
13923 (is_dst): Allow $ORIGIN followed by /.
13924 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13925 Correct testing of result of is_trusted_path_normalize
13926 (decompose_rpath): Fix warning.
13927
139282011-05-10 Ulrich Drepper <drepper@gmail.com>
13929
13930 [BZ #11257]
13931 * grp/initgroups.c (internal_getgrouplist): When we found the service
13932 list through the initgroups entry in nsswitch.conf do not always
13933 continue on a successful lookup. Don't always use the
13934 __nss_group_database value if it is set.
13935 * nss/nsswitch.conf (initgroups): Change action for successful db
13936 lookup to continue for compatibility.
13937
139382011-05-09 Ulrich Drepper <drepper@gmail.com>
13939
13940 [BZ #11532]
13941 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13942 and CP774 modules.
13943 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13944 and CP774 modules.
13945 * iconvdata/tst-tables.sh: Likewise.
13946 * iconvdata/cp770.c: New file.
13947 * iconvdata/cp771.c: New file.
13948 * iconvdata/cp772.c: New file.
13949 * iconvdata/cp773.c: New file.
13950 * iconvdata/cp774.c: New file.
13951 * iconvdata/testdata/CP770: New file.
13952 * iconvdata/testdata/CP770..UTF8: New file.
13953 * iconvdata/testdata/CP771: New file.
13954 * iconvdata/testdata/CP771..UTF8: New file.
13955 * iconvdata/testdata/CP772: New file.
13956 * iconvdata/testdata/CP772..UTF8: New file.
13957 * iconvdata/testdata/CP773: New file.
13958 * iconvdata/testdata/CP773..UTF8: New file.
13959 * iconvdata/testdata/CP774: New file.
13960 * iconvdata/testdata/CP774..UTF8: New file.
13961
13962 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13963 END CHARMAP line.
13964 * iconvdata/gen-8bit-gap.sh: Likewise.
13965 * iconvdata/gen-8bit.sh: Likewise.
13966
13967 * locale/iso-639.def: Add ary entry.
13968
13969 [BZ #11258]
13970 * locale/C-translit.h.in: Add U20A1 transliteration.
13971
13972 [BZ #12178]
13973 * locale/iso-639.def: Add wae entry.
13974 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13975
13976 [BZ #12545]
13977 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13978 for n.
13979
13980 [BZ #12711]
13981 * locale/C-translit.h.in: Add entry for U20B9.
13982 Patch by pravin.d.s@gmail.com.
13983
139842011-05-08 Ulrich Drepper <drepper@gmail.com>
13985
13986 [BZ #12713]
13987 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13988 ENAMETOOLONG use generic getcwd.
13989 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13990 in rtld. Use *stat64.
13991 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13992 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13993 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13994 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13995 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13996 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13997 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13998 __fstatat64 macros.
13999 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14000 * dirent/rewinddir.c: Add libc_hidden_def.
14001 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14002 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14003
14004 * include/dirent.h (__alloc_dir): Add flags parameter.
14005 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14006 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14007 __alloc_dir.
14008 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14009 from fdopendir if O_CLOEXEC is already set.
14010
140112011-03-15 Alan Modra <amodra@gmail.com>
14012
14013 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14014 l_tls_firstbyte_offset non-zero. Save padding offset in
14015 l_tls_firstbyte_offset for later use.
14016 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14017 freeing static tls block.
14018
140192011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14020
14021 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14022 where #ifdef was intended. The intent is to prevent ARG_MAX from
14023 being defined by the kernel headers.
14024
140252011-05-07 Ulrich Drepper <drepper@gmail.com>
14026
14027 [BZ #12734]
14028 * resolv/resolv.h: Define RES_NOTLDQUERY.
14029 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14030 no-tld-query and set RES_NOTLDQUERY.
14031 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14032 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14033 modern BIND to search name as TLD unless forbidden.
14034
140352011-05-07 Petr Baudis <pasky@suse.cz>
14036 Ulrich Drepper <drepper@gmail.com>
14037
14038 [BZ #12393]
14039 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14040 (is_trusted_path): ...to here.
14041 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14042 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14043 using is_trusted_path_normalize() in setuid scripts.
14044
140452011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14046
14047 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14048 __BEGIN/__END_DECLS.
14049
140502011-05-06 Ulrich Drepper <drepper@gmail.com>
14051
14052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14053 NSS_STATUS_NOTFOUND if no record was found.
14054
140552011-05-05 Andreas Schwab <schwab@redhat.com>
14056
14057 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14058 (headers-not-in-tirpc): Remove rpc/netdb.h
14059 * resolv/netdb.h: Revert last change.
14060
140612011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14062
14063 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14064 circular dependency between libgcc.a and libc.a.
14065
140662011-05-05 Andreas Schwab <schwab@redhat.com>
14067
14068 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14069 * nis/Makefile: Don't install rpcsvc/*.
14070 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14071 instead of <rpc/types.h>.
14072 (MAXHOSTNAMELEN): Define.
14073
140742011-05-03 Andreas Schwab <schwab@redhat.com>
14075
14076 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14077
140782011-04-28 Maciej Babinski <mbabinski@google.com>
14079
14080 [BZ #12714]
14081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14082 gethostbyname4_r when IPv6 results are possible.
14083
140842011-05-02 Ulrich Drepper <drepper@gmail.com>
14085
14086 [BZ #12723]
14087 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14088 _PC_PIPE_BUF handling.
14089
140902011-04-30 Bruno Haible <bruno@clisp.org>
14091
14092 [BZ #12717]
14093 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14094 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14095 to 'int'.
14096 * inet/getnameinfo.c (getnameinfo): Likewise.
14097
140982011-04-29 Ulrich Drepper <drepper@gmail.com>
14099
14100 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14101 to groups setting in database lookup.
14102 * nss/nsswitch.conf: Add initgroups entry.
14103
141042011-04-22 Ulrich Drepper <drepper@gmail.com>
14105
14106 [BZ #12685]
14107 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14108 mode string.
14109 Patch by Eric Blake <eblake@redhat.com>.
14110
141112011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14112
14113 * sunrpc/Makefile (need-export-routines): Add svc_run.
14114 (routines): Remove svc_run.
14115 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14116 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14117 * sunrpc/svc_run.c (svc_run): Likewise.
14118 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14119
141202011-04-21 Ulrich Drepper <drepper@gmail.com>
14121
14122 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14123 problem in reallocation in last patch.
14124
141252011-04-20 Ulrich Drepper <drepper@gmail.com>
14126
14127 * sunrpc/Makefile: Move inclusion of Rules.
14128
141292011-04-19 Ulrich Drepper <drepper@gmail.com>
14130
14131 * nss/nss_files/files-initgroups.c: New file.
14132 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14133 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14134 _nss_files_initgroups_dyn.
14135
141362011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14137
14138 * elf/elf.h (R_ARM_IRELATIVE): Define.
14139
141402011-04-19 Ulrich Drepper <drepper@gmail.com>
14141
14142 * po/ru.po: Update from translation team.
14143
141442011-04-17 Ulrich Drepper <drepper@gmail.com>
14145
14146 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14147 dependencies.
14148
141492011-02-06 Mike Frysinger <vapier@gentoo.org>
14150
14151 [BZ #12653]
14152 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14153 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14155 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14156 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14157
141582011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14159
14160 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14161 differing bytes.
14162 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14163 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14165
141662011-04-17 Ulrich Drepper <drepper@gmail.com>
14167
14168 [BZ #12420]
14169 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14170 storing it.
14171 * stdlib/bug-getcontext.c: New file.
14172 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14173
141742011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14175
14176 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14177 instructions into .machine "z9-109".
14178 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14179 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14180
141812011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14182
14183 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14184 between environment variables and auxiliary vector.
14185
141862011-04-16 Ulrich Drepper <drepper@gmail.com>
14187
14188 * Makefile: Add rules to build linkobj/libc.so.
14189 * include/libc-symbols.h: Define libc_hidden_nolink.
14190 * include/rpc/auth.h: Mark functions which are to be hidden.
14191 * include/rpc/auth_des.h: Likewise.
14192 * include/rpc/auth_unix.h: Likewise.
14193 * include/rpc/clnt.h: Likewise.
14194 * include/rpc/des_crypt.h: Likewise.
14195 * include/rpc/key_prot.h: Likewise.
14196 * include/rpc/pmap_clnt.h: Likewise.
14197 * include/rpc/pmap_prot.h: Likewise.
14198 * include/rpc/pmap_rmt.h: Likewise.
14199 * include/rpc/rpc_msg.h: Likewise.
14200 * include/rpc/svc.h: Likewise.
14201 * include/rpc/svc_auth.h: Likewise.
14202 * include/rpc/xdr.h: Likewise.
14203 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14204 * nss/Makefile: Likewise.
14205 * sunrpc/Makefile: Don't install headers. Build library with normal
14206 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14207 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14208 for the compat linking library. Remove use of INTDEF/INTUSE.
14209 * sunrpc/auth_none.c: Likewise.
14210 * sunrpc/auth_unix.c: Likewise.
14211 * sunrpc/authdes_prot.c: Likewise.
14212 * sunrpc/authuxprot.c: Likewise.
14213 * sunrpc/clnt_gen.c: Likewise.
14214 * sunrpc/clnt_perr.c: Likewise.
14215 * sunrpc/clnt_raw.c: Likewise.
14216 * sunrpc/clnt_simp.c: Likewise.
14217 * sunrpc/clnt_tcp.c: Likewise.
14218 * sunrpc/clnt_udp.c: Likewise.
14219 * sunrpc/clnt_unix.c: Likewise.
14220 * sunrpc/des_crypt.c: Likewise.
14221 * sunrpc/des_soft.c: Likewise.
14222 * sunrpc/get_myaddr.c: Likewise.
14223 * sunrpc/key_call.c: Likewise.
14224 * sunrpc/key_prot.c: Likewise.
14225 * sunrpc/netname.c: Likewise.
14226 * sunrpc/pm_getmaps.c: Likewise.
14227 * sunrpc/pm_getport.c: Likewise.
14228 * sunrpc/pmap_clnt.c: Likewise.
14229 * sunrpc/pmap_prot.c: Likewise.
14230 * sunrpc/pmap_prot2.c: Likewise.
14231 * sunrpc/pmap_rmt.c: Likewise.
14232 * sunrpc/publickey.c: Likewise.
14233 * sunrpc/rpc_cmsg.c: Likewise.
14234 * sunrpc/rpc_common.c: Likewise.
14235 * sunrpc/rpc_dtable.c: Likewise.
14236 * sunrpc/rpc_prot.c: Likewise.
14237 * sunrpc/rpc_thread.c: Likewise.
14238 * sunrpc/rtime.c: Likewise.
14239 * sunrpc/svc.c: Likewise.
14240 * sunrpc/svc_auth.c: Likewise.
14241 * sunrpc/svc_authux.c: Likewise.
14242 * sunrpc/svc_raw.c: Likewise.
14243 * sunrpc/svc_run.c: Likewise.
14244 * sunrpc/svc_simple.c: Likewise.
14245 * sunrpc/svc_tcp.c: Likewise.
14246 * sunrpc/svc_udp.c: Likewise.
14247 * sunrpc/svc_unix.c: Likewise.
14248 * sunrpc/svcauth_des.c: Likewise.
14249 * sunrpc/xcrypt.c: Likewise.
14250 * sunrpc/xdr.c: Likewise.
14251 * sunrpc/xdr_array.c: Likewise.
14252 * sunrpc/xdr_float.c: Likewise.
14253 * sunrpc/xdr_intXX_t.c: Likewise.
14254 * sunrpc/xdr_mem.c: Likewise.
14255 * sunrpc/xdr_rec.c: Likewise.
14256 * sunrpc/xdr_ref.c: Likewise.
14257 * sunrpc/xdr_sizeof.c: Likewise.
14258 * sunrpc/xdr_stdio.c: Likewise.
14259
142602011-04-10 Ulrich Drepper <drepper@gmail.com>
14261
14262 [BZ #12650]
14263 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14264 * sysdeps/ia64/dl-tls.h: Likewise.
14265 * sysdeps/powerpc/dl-tls.h: Likewise.
14266 * sysdeps/s390/dl-tls.h: Likewise.
14267 * sysdeps/sh/dl-tls.h: Likewise.
14268 * sysdeps/sparc/dl-tls.h: Likewise.
14269 * sysdeps/x86_64/dl-tls.h: Likewise.
14270 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14271
142722011-03-14 Andreas Schwab <schwab@redhat.com>
14273
14274 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14275 rpath element also skip the following colon.
14276 (expand_dynamic_string_token): Add is_path parameter and pass
14277 down to DL_DST_REQUIRED and _dl_dst_substitute.
14278 (decompose_rpath): Call expand_dynamic_string_token with
14279 non-zero is_path. Ignore empty rpaths.
14280 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14281 with zero is_path.
14282
142832011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14284
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14286 Make cancelable.
14287
142882011-04-09 Ulrich Drepper <drepper@gmail.com>
14289
14290 [BZ #12655]
14291 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14292 Patch by Filipe David Manana <fdmanana@apache.org>.
14293
142942011-04-07 Andreas Schwab <schwab@redhat.com>
14295
14296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14297 Maintain aligned stack.
14298 (CHECK_RSP): Remove unused macro.
14299
143002011-04-03 Ulrich Drepper <drepper@gmail.com>
14301
14302 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14304
143052011-04-02 Ulrich Drepper <drepper@gmail.com>
14306
14307 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14308
14309 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14310
143112011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14312
14313 [BZ #12518]
14314 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14315 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14316 * sysdeps/x86_64/memmove.c: New file.
14317 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14318 (memcpy): Renamed to ...
14319 (__new_memcpy): This.
14320 (memcpy): Provide GLIBC_2_14 memcpy.
14321 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14322 (memcpy): Provide GLIBC_2_2_5 memcpy.
14323
143242011-04-01 Ulrich Drepper <drepper@gmail.com>
14325
14326 [BZ #12631]
14327 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14328
143292011-03-30 Andreas Schwab <schwab@redhat.com>
14330
14331 * misc/syncfs.c: New file.
14332 * misc/Makefile (routines): Add syncfs.
14333 * posix/unistd.h: Declare syncfs.
14334 * sysdeps/unix/syscalls.list: Add syncfs.
14335
143362011-04-01 Andreas Schwab <schwab@redhat.com>
14337
14338 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14339 open_by_handle_at.
14340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14341 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14343 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14345 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14347
143482011-04-01 Ulrich Drepper <drepper@gmail.com>
14349
14350 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14351 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14352 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14354 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14356 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14357
14358 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14359 sync_file_range.c with -fexceptions.
14360 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14361 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14362 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14363 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14364 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14365 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14367 sync_file_range as cancellation point
14368 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14369 now a wrapper around __call_sync_file_range with cancellation handling.
14370 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14371 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14372 function name to __call_sync_file_range.
14373 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14374 Add call_sync_file_range.
14375
143762011-04-01 Andreas Schwab <schwab@redhat.com>
14377
14378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14379 bits/timex.h.
14380
143812011-04-01 Ulrich Drepper <drepper@gmail.com>
14382
14383 * iconv/iconv.h: Fix typo in comment.
14384 * io/fcntl.h: Likewise.
14385 * libio/stdio.h: Likewise.
14386 * posix/spawn.h: Likewise.
14387 * posix/unistd.h: Likewise.
14388 * stdlib/stdlib.h: Likewise.
14389 * time/time.h: Likewise.
14390 * wcsmbs/wchar.h: Likewise.
14391
14392 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14393 open_by_handle): Add.
14394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14395 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14396 Augment a few comments.
14397 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14399 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14402 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14403 open_by_handle.
14404
14405 * io/fcntl.h (AT_EMPTY_PATH): Define.
14406
144072011-03-30 Ulrich Drepper <drepper@gmail.com>
14408
14409 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14410 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14411 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14412 to...
14413 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14414 * Versions.def: Add GLIBC_2.14.
14415 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14416 Export.
14417
144182011-03-22 Ulrich Drepper <drepper@gmail.com>
14419
14420 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14421 round counter.
14422 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14423
144242011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14425
14426 [BZ #12597]
14427 * string/test-strncmp.c (do_page_test): New function.
14428 (check2): Likewise.
14429 (test_main): Call check2.
14430 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14431
144322011-03-20 Ulrich Drepper <drepper@gmail.com>
14433
14434 [BZ #12587]
14435 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14436 Handle cache information in CPU leaf 4.
14437 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14438
144392011-03-18 Ulrich Drepper <drepper@gmail.com>
14440
14441 [BZ #12583]
14442 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14443 character representation.
14444 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14445
144462011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14447
14448 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14449 END(__isnan) to END(__isnanf) to match function entry point/label
14450 EALIGN(__isnanf,...).
14451
144522011-03-10 Jakub Jelinek <jakub@redhat.com>
14453
14454 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14455
144562011-03-10 Ulrich Drepper <drepper@gmail.com>
14457
14458 [BZ #12510]
14459 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14460 copy from the symbol referenced in the relocation to initialize the
14461 used variable.
14462 Patch by Piotr Bury <pbury@goahead.com>.
14463 * elf/Makefile: Add rules to build and tst-unique3.
14464 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14465 * elf/tst-unique3.cc: New file.
14466 * elf/tst-unique3.h: New file.
14467 * elf/tst-unique3lib.cc: New file.
14468 * elf/tst-unique3lib2.cc: New file.
14469
14470 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14471
144722011-03-10 Mike Frysinger <vapier@gentoo.org>
14473
14474 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14475 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14476 to _start.
14477
144782011-03-06 Ulrich Drepper <drepper@gmail.com>
14479
14480 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14481 to-be-loaded object along a path to loader is ld.so.
14482
144832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14484 Ulrich Drepper <drepper@gmail.com>
14485
14486 * sysdeps/x86_64/memset.S: After aligning destination, code
14487 branches to different locations depending on the value of
14488 misalignment, when multiarch is enabled. Fix this.
14489
144902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14491
14492 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14493 Set _x86_64_preferred_memory_instruction for AMD processsors.
14494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14495 Set bit_Prefer_SSE_for_memop for AMD processors.
14496
144972011-03-04 Ulrich Drepper <drepper@gmail.com>
14498
14499 * libio/fmemopen.c (fmemopen): Optimize a bit.
14500
145012011-03-03 Andreas Schwab <schwab@redhat.com>
14502
14503 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14504
145052011-03-03 Roland McGrath <roland@redhat.com>
14506
14507 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14508
145092011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14510
14511 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14512 __bzero_ultra1 instead of __memset_ultra1.
14513
145142011-02-23 Andreas Schwab <schwab@redhat.com>
14515 Ulrich Drepper <drepper@gmail.com>
14516
14517 [BZ #12509]
14518 * include/link.h (struct link_map): Add l_orig_initfini.
14519 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14520 returning unsuccessfully.
14521 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14522 close of a file loaded at startup, restore the original l_initfini
14523 list.
14524 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14525 list, store the pointer.
14526 * elf/Makefile ($(objpfx)noload-mem): New rule.
14527 (noload-ENV): Define.
14528 (tests): Add $(objpfx)noload-mem.
14529 * elf/noload.c: Include <memcheck.h>.
14530 (main): Call mtrace. Close all opened handles.
14531
145322011-02-17 Andreas Schwab <schwab@redhat.com>
14533
14534 [BZ #12454]
14535 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14536 dependencies are missing.
14537
145382011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14539
14540 Fix __if_freereq crash: Unlike the generic version which uses free,
14541 Hurd needs munmap.
14542 * sysdeps/mach/hurd/ifreq.h: New file.
14543
145442011-01-27 Petr Baudis <pasky@suse.cz>
14545 Ulrich Drepper <drepper@gmail.com>
14546
14547 [BZ 12445]#
14548 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14549 to extend_alloca().
14550 * stdio-common/bug23.c: New file.
14551 * stdio-common/Makefile (tests): Add bug23.
14552
145532010-09-28 Andreas Schwab <schwab@redhat.com>
14554 Ulrich Drepper <drepper@gmail.com>
14555
14556 [BZ #12489]
14557 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14558 before performing relro protection. At old place add assertion
14559 to make sure nothing changed.
14560
145612011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14562 Glauber de Oliveira Costa <glommer@gmail.com>
14563
14564 * elf/elf.h: Add new ARM TLS relocs.
14565
145662011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14567
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14569 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14570 cast from r3.
14571 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14572 'tests' variable.
14573 * sysdeps/wordsize-64/tst-writev.c: New file.
14574
145752011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14576
14577 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14578 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14579 insns in _dl_start to prevent a TOC reference before relocs are
14580 resolved.
14581
145822011-02-15 Ulrich Drepper <drepper@gmail.com>
14583
14584 [BZ #12469]
14585 * Makeconfig: Remove RANLIB definition.
14586 * Makerules: Don't use RANLIB.
14587 * aclocal.m4: Remove ranlib test.
14588 * configure.in: No need to check for ranlib.
14589 * elf/rtld-Rules: Don't use RANLIB.
14590
145912011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14592
14593 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14594 protection macro.
14595 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14596 inclusion protection macro.
14597
14598 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14599 SIGRTMIN and SIGRTMAX and print information in that case only when
14600 SIGRTMIN is defined.
14601
146022011-02-11 Jakub Jelinek <jakub@redhat.com>
14603
14604 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14605 arginfo fn returning -1.
14606
14607 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14608 and thousands string is zero terminated.
14609
146102011-02-03 Andreas Schwab <schwab@redhat.com>
14611
14612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14613 sysdeps/unix/sysv/linux/bits/socket.h.
14614
146152011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14616
14617 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14618 (__CPU_COUNT): Remove old macros.
14619 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14620 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14621 (__CPU_ALLOC, __CPU_FREE): Add macros.
14622 (__sched_cpualloc, __sched_cpufree): Add declarations.
14623
146242011-02-05 Ulrich Drepper <drepper@gmail.com>
14625
14626 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14627 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14628 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14629 (readdhstai): Return value of addhstaiX call.
14630 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14631 (addgrbyX): Return value returned by cache_addgr.
14632 (readdgrbyname): Return value returned by addgrbyX.
14633 (readdgrbygid): Likewise.
14634 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14635 (addpwbyX): Return value returned by cache_addpw.
14636 (readdpwbyname): Return value returned by addhstbyX.
14637 (readdpwbyuid): Likewise.
14638 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14639 (addservbyX): Return value returned by cache_addserv.
14640 (readdservbyname): Return value returned by addservbyX:
14641 (readdservbyport): Likewise.
14642 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14643 (addhstbyX): Return value returned by cache_addhst.
14644 (readdhstbyname): Return value returned by addhstbyX.
14645 (readdhstbyaddr): Likewise.
14646 (readdhstbynamev6): Likewise.
14647 (readdhstbyaddrv6): Likewise.
14648 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14649 (readdinitgroups): Return value returned by addinitgroupsX.
14650 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14651 (prune_cache): Keep track of timeout value of re-added entries.
14652 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14653 * nscd/nscd.h: Adjust prototypes of readd* functions.
14654
146552011-02-04 Roland McGrath <roland@redhat.com>
14656
14657 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14658 (nis_stats): Likewise.
14659 * nis/nis_modify.c (nis_modify): Likewise.
14660 * nis/nis_remove.c (nis_remove): Likewise.
14661 * nis/nis_add.c (nis_add): Likewise.
14662
14663 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14664
14665 * posix/fnmatch_loop.c: Add some consts.
14666
14667 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14668
146692011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14670
14671 [BZ #12460]
14672 * config.make.in (config-cflags-novzeroupper): Define.
14673 * configure.in: Substitute libc_cv_cc_novzeroupper.
14674 * elf/Makefile (AVX-CFLAGS): Define.
14675 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14676 (CFLAGS-tst-auditmod4a.c): Likewise.
14677 (CFLAGS-tst-auditmod4b.c): Likewise.
14678 (CFLAGS-tst-auditmod6b.c): Likewise.
14679 (CFLAGS-tst-auditmod6c.c): Likewise.
14680 (CFLAGS-tst-auditmod7b.c): Likewise.
14681 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14682
146832011-02-02 Ulrich Drepper <drepper@gmail.com>
14684
14685 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14686 function to the callback.
14687 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14688
146892011-02-02 Andreas Schwab <schwab@redhat.com>
14690
14691 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14692 of errno.
14693
146942011-01-19 Ulrich Drepper <drepper@gmail.com>
14695
14696 [BZ #11724]
14697 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14698 of constructors.
14699 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14700 of destructors.
14701 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14702
14703 [BZ #11724]
14704 * elf/Makefile: Add rules to build and run new test.
14705 * elf/tst-initorder.c: New file.
14706 * elf/tst-initorder.exp: New file.
14707 * elf/tst-initordera1.c: New file.
14708 * elf/tst-initordera2.c: New file.
14709 * elf/tst-initordera3.c: New file.
14710 * elf/tst-initordera4.c: New file.
14711 * elf/tst-initorderb1.c: New file.
14712 * elf/tst-initorderb2.c: New file.
14713 * elf/tst-order-a1.c: New file.
14714 * elf/tst-order-a2.c: New file.
14715 * elf/tst-order-a3.c: New file.
14716 * elf/tst-order-a4.c: New file.
14717 * elf/tst-order-b1.c: New file.
14718 * elf/tst-order-b2.c: New file.
14719 * elf/tst-order-main.c: New file.
14720 New test case by George Gensure <werkt0@gmail.com>.
14721
147222010-10-01 Andreas Schwab <schwab@redhat.com>
14723
14724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14725 decoding ACE if AI_CANONIDN.
14726
147272011-01-18 Ulrich Drepper <drepper@gmail.com>
14728
14729 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14730
147312011-01-17 Ulrich Drepper <drepper@gmail.com>
14732
14733 * version.h (RELEASE): Bump for 2.13 release.
14734 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14735
14736 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14737
14738 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14739 MADV_NOHUGEPAGE.
14740 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14741 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14742 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14743 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14744 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14745 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14746
14747 * posix/getconf.c: Update copyright year.
14748 * catgets/gencat.c: Likewise.
14749 * csu/version.c: Likewise.
14750 * debug/catchsegv.sh: Likewise.
14751 * debug/xtrace.sh: Likewise.
14752 * elf/ldconfig.c: Likewise.
14753 * elf/ldd.bash.in: Likewise.
14754 * elf/sprof.c (print_version): Likewise.
14755 * iconv/iconv_prog.c: Likewise.
14756 * iconv/iconvconfig.c: Likewise.
14757 * locale/programs/locale.c: Likewise.
14758 * locale/programs/localedef.c: Likewise.
14759 * malloc/memusage.sh: Likewise.
14760 * malloc/mtrace.pl: Likewise.
14761 * nscd/nscd.c (print_version): Likewise.
14762 * nss/getent.c: Likewise.
14763
14764 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14765 PF_CAIF, and PF_ALG.
14766 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14767
147682011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14769
14770 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14771 (modules-names): Use them.
14772 (ifunc-test-modules, ifunc-pie-tests): Define.
14773 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14774 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14775 (test-extras): Likewise.
14776 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14777 $(compile-command.c).
14778 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14779 (all-built-dso): Define.
14780 (check-textrel.out, check-execstack.out): Depend on it.
14781
14782 * configure.in: Don't override --enable-multi-arch.
14783
147842011-01-15 Ulrich Drepper <drepper@gmail.com>
14785
14786 [BZ #6812]
14787 * nscd/hstcache.c (tryagain): Define.
14788 (cache_addhst): Return tryagain not notfound for temporary errors.
14789 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14790 failed.
14791
147922011-01-14 Ulrich Drepper <drepper@gmail.com>
14793
14794 [BZ #10563]
14795 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14796 to make the syscall.
14797 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14798
14799 [BZ #12378]
14800 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14801 and fall back to matching as normal character if the string ends before
14802 the matching ']' is found. This is what POSIX requires.
14803 * posix/testfnm.c: Adjust test result.
14804 * posix/globtest.sh: Adjust test result. Add new test.
14805 * posix/tst-fnmatch.input: Likewise.
14806 * posix/tst-fnmatch2.c: Add new test.
14807
148082010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14809
14810 * elf/Makefile (check-execstack): Revert last change. Depend on
14811 check-execstack.h.
14812 (check-execstack.h): New target.
14813 (generated): Add check-execstack.h.
14814 * elf/check-execstack.c: Include "check-execstack.h".
14815 (main): Revert last change.
14816 (handle_file): Return zero if GNU_STACK is absent and
14817 DEFAULT_STACK_PERMS doesn't include PF_X.
14818
148192011-01-13 Ulrich Drepper <drepper@gmail.com>
14820
14821 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14822 in child fails because the descriptor is already closed.
14823 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14824 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14825 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14826
14827 [BZ #12397]
14828 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14829 syscall.
14830
14831 [BZ #10484]
14832 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14833 temporary buffer used to handle multi lookups locally.
14834 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14835
148362011-01-12 Ulrich Drepper <drepper@gmail.com>
14837
14838 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14839 loader is ld.so.
14840
148412011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14842
14843 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14844 alignment for SSE2.
14845
148462011-01-12 Ulrich Drepper <drepper@gmail.com>
14847
14848 [BZ #12394]
14849 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14850 characters. When rounding increased number of integer digits recompute
14851 number of groups.
14852 * stdio-common/tst-grouping.c: New file.
14853 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14854
148552011-01-09 Ulrich Drepper <drepper@gmail.com>
14856
14857 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14858 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14859
14860 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14861 void.
14862 * bits/select.h: Likewise.
14863
148642011-01-08 Ulrich Drepper <drepper@gmail.com>
14865
14866 * po/ja.po: Update from translation team.
14867
148682011-01-04 David S. Miller <davem@sunset.davemloft.net>
14869
14870 [BZ #11155]
14871 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14872 implementation just like for lxstat, fxstatat, et al.
14873
148742010-12-27 Jim Meyering <meyering@redhat.com>
14875
14876 [BZ #12348]
14877 * posix/regexec.c (build_trtable): Return failure indication upon
14878 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14879
148802010-12-25 Ulrich Drepper <drepper@gmail.com>
14881
14882 [BZ #12201]
14883 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14884 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14885 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14886 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14887
14888 [BZ #12207]
14889 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14890
14891 [BZ #12204]
14892 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14893 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14894
148952010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14896
14897 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14898 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14899 script has SORT_BY_INIT_PRIORITY.
14900 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14901 NO_CTORS_DTORS_SECTIONS is defined.
14902 * elf/soinit.c: Likewise.
14903 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14904 NO_CTORS_DTORS_SECTIONS is defined.
14905 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14906 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14907 * sysdeps/sh/init-first.c: Likewise.
14908 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14909
149102010-12-24 Ulrich Drepper <drepper@gmail.com>
14911
14912 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14913 always use the slow path.
14914
149152010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14916
14917 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14918 similar rule which adds the sysdep directories to the header search in
14919 order to pick up the correct platform stackinfo.h.
14920 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14921 perform test if it is, otherwise return successfully without testing.
14922 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14923 DEFAULT_STACK_PERMS define in stackinfo.h.
14924 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14925 defined in stackinfo.h.
14926 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14927 DEFAULT_STACK_PERMS defined in stackinfo.h.
14928 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14929 * sysdeps/ia64/stackinfo.h: Likewise.
14930 * sysdeps/s390/stackinfo.h: Likewise.
14931 * sysdeps/sh/stackinfo.h: Likewise.
14932 * sysdeps/sparc/stackinfo.h: Likewise.
14933 * sysdeps/x86_64/stackinfo.h: Likewise.
14934 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14935 PF_X for powerpc64. Retain PF_X for powerpc32.
14936
149372010-12-19 Ulrich Drepper <drepper@gmail.com>
14938
14939 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14940 accurately.
14941 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14942 GETDENTS_64BIT_ALIGNED.
14943
149442010-12-14 Ulrich Drepper <dreper@gmail.com>
14945
14946 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14947
149482010-12-10 Andreas Schwab <schwab@redhat.com>
14949
14950 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14951 _GNU_SOURCE.
14952
14953 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14954 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14955 Remove __restrict.
14956 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14957 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14958
149592010-12-09 Ulrich Drepper <drepper@gmail.com>
14960
14961 [BZ #11655]
14962 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14963 are initialized.
14964
149652010-12-09 Jakub Jelinek <jakub@redhat.com>
14966
14967 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14968
149692010-12-03 Ulrich Drepper <drepper@gmail.com>
14970
14971 * po/it.po: Update from translation team.
14972
149732010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14974
14975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14976 unused codes.
14977
149782010-11-30 Ulrich Drepper <drepper@gmail.com>
14979
14980 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14981
149822010-11-24 Andreas Schwab <schwab@redhat.com>
14983
14984 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14985 specially.
14986 (gaih_getanswer_slice): Likewise.
14987
149882010-10-20 Jakub Jelinek <jakub@redhat.com>
14989
14990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14991
149922010-05-31 Petr Baudis <pasky@suse.cz>
14993
14994 [BZ #11149]
14995 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14996 silently even in the chroot mode.
14997
149982010-11-22 Ulrich Drepper <drepper@gmail.com>
14999
15000 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15001 last patch a bit. Pretty printing
15002
150032010-05-31 Petr Baudis <pasky@suse.cz>
15004
15005 [BZ #10085]
15006 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15007 initialization of skip_initgroups_dyn.
15008
150092010-11-19 Ulrich Drepper <drepper@gmail.com>
15010
15011 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15012 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15013
150142010-11-16 Ulrich Drepper <drepper@gmail.com>
15015
15016 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15017
150182010-11-11 Andreas Schwab <schwab@redhat.com>
15019
15020 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15021 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15022 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15023 ($(objpfx)tst-fnmatch-mem): New rule.
15024 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15025 * posix/tst-fnmatch.c (main): Call mtrace.
15026
150272010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15028
15029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15030 Support Intel processor model 6 and model 0x2c.
15031
150322010-11-10 Luis Machado <luisgpm@br.ibm.com>
15033
15034 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15035 signed comparison.
15036
150372010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15038
15039 [BZ #12205]
15040 * string/test-strncasecmp.c (check_result): New function.
15041 (do_one_test): Use it.
15042 (check1): New function.
15043 (test_main): Use it.
15044 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15045 Support strcasecmp and strncasecmp.
15046
150472010-11-08 Ulrich Drepper <drepper@gmail.com>
15048
15049 [BZ #12194]
15050 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15051 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15052
150532010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15054
15055 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15056 IFUNC support.
15057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15058 memset-x86-64.
15059 * sysdeps/x86_64/multiarch/bzero.S: New file.
15060 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15061 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15062 * sysdeps/x86_64/multiarch/memset.S: New file.
15063 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15065 Set bit_Prefer_SSE_for_memop for Intel processors.
15066 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15067 Define.
15068 (index_Prefer_SSE_for_memop): Define.
15069 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15070
150712010-11-04 Luis Machado <luisgpm@br.ibm.com>
15072
15073 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15074 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15075
150762010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15077
15078 [BZ #12191]
15079 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15080 (__x86_64_raw_data_cache_size_half): Likewise.
15081 (__x86_64_raw_shared_cache_size): Likewise.
15082 (__x86_64_raw_shared_cache_size_half): Likewise.
15083
15084 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15085 (__x86_64_raw_data_cache_size_half): Likewise.
15086 (__x86_64_raw_shared_cache_size): Likewise.
15087 (__x86_64_raw_shared_cache_size_half): Likewise.
15088 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15089 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15090 and __x86_64_raw_shared_cache_size_half. Round
15091 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15092 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15093 to multiple of 256 bytes.
15094
150952010-11-03 Ulrich Drepper <drepper@gmail.com>
15096
15097 [BZ #12167]
15098 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15099 of inacessible symlinks. Verify result of symlink before returning it.
15100 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15101 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15102
151032010-10-28 Erich Ritz <erichritz@gmail.com>
15104
15105 * math/math.h (isinf): Fix typo in comment.
15106
151072010-11-01 Ulrich Drepper <drepper@gmail.com>
15108
15109 * po/da.po: Update from translation team.
15110
151112010-10-26 Ulrich Drepper <drepper@gmail.com>
15112
15113 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15114 is added to the list.
15115
151162010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15117 Ulrich Drepper <drepper@gmail.com>
15118
15119 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15120 the global list here. Move code to...
15121 (_dl_add_to_namespace_list): ...here. New function.
15122 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15123 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15124 * elf/dl-load.c (lose): Don't remove the element from the list.
15125 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15126 (_dl_map_object): Likewise.
15127
151282010-10-25 Ulrich Drepper <drepper@gmail.com>
15129
15130 [BZ #12159]
15131 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15132 into all bytes of SSE register.
15133 Patch by Richard Li <richardpku@gmail.com>.
15134
151352010-10-24 Ulrich Drepper <drepper@gmail.com>
15136
15137 [BZ #12140]
15138 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15139 perturbing.
15140
151412010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15142
15143 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15144 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15145 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15146 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15148 submachine.
15149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15150
151512010-10-22 Andreas Schwab <schwab@redhat.com>
15152
15153 * include/dlfcn.h (__RTLD_SECURE): Define.
15154 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15155 mode & __RTLD_SECURE instead.
15156 (open_path): Rename preloaded parameter to secure.
15157 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15158 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15159 * elf/dl-deps.c (openaux): Likewise.
15160 * elf/rtld.c (struct map_args): Remove is_preloaded.
15161 (map_doit): Don't use it.
15162 (dl_main): Likewise.
15163 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15164 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15165
151662010-09-09 Andreas Schwab <schwab@redhat.com>
15167
15168 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15169 (sysd-rules-targets): Remove duplicates.
15170 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15171 rtld-%.$o dependency.
15172
151732010-10-18 Andreas Schwab <schwab@redhat.com>
15174
15175 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15176 _dl_map_object do it.
15177
151782010-10-19 Ulrich Drepper <drepper@gmail.com>
15179
15180 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15181 fast fma builtins, define the macros in the C99 standard.
15182 (FP_FAST_FMAF): Likewise.
15183 (FP_FAST_FMAL): Likewise.
15184 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15185
15186 * bits/mathdef.h: Update copyright year.
15187 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15188
151892010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15190
15191 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15192 builtins, define the macros in the C99 standard.
15193 (FP_FAST_FMAF): Likewise.
15194 (FP_FAST_FMAL): Likewise.
15195 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15196 multiply/add.
15197 (FP_FAST_FMAF): Likewise.
15198
151992010-10-15 Jakub Jelinek <jakub@redhat.com>
15200
15201 [BZ #3268]
15202 * math/libm-test.inc (fma_test): Some new testcases.
15203 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15204 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15205 y and infinite z. Do multiplication by C already in long double.
15206 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15208 y and infinite z. Do bitwise or of inexact bit into u.d.
15209 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15210 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15211 * sysdeps/i386/fpu/s_fma.S: Removed.
15212 * sysdeps/i386/fpu/s_fmal.S: Removed.
15213
152142010-10-16 Jakub Jelinek <jakub@redhat.com>
15215
15216 [BZ #3268]
15217 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15219 computation is not scheduled after fetestexcept. Fix value
15220 of minimum denormal long double.
15221
152222010-10-14 Jakub Jelinek <jakub@redhat.com>
15223
15224 [BZ #3268]
15225 * math/libm-test.inc (fma_test): Add some more tests.
15226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15227 correctly.
15228
152292010-10-15 Andreas Schwab <schwab@redhat.com>
15230
15231 * scripts/data/localplt-s390-linux-gnu.data: New file.
15232 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15233
152342010-10-13 Jakub Jelinek <jakub@redhat.com>
15235
15236 [BZ #3268]
15237 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15238 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15239 instead of dbl-64.
15240 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15241 inlines.
15242 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15244 if one of x and y is very large and the other is subnormal.
15245 * sysdeps/s390/fpu/s_fmaf.c: New file.
15246 * sysdeps/s390/fpu/s_fma.c: New file.
15247 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15248 * sysdeps/powerpc/fpu/s_fma.S: New file.
15249 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15250 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15251 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15252
152532010-10-12 Jakub Jelinek <jakub@redhat.com>
15254
15255 [BZ #3268]
15256 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15257 fma tests.
15258 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15259 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15260 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15261 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15262 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15263 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15264 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15265
152662010-10-12 Ulrich Drepper <drepper@redhat.com>
15267
15268 [BZ #12078]
15269 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15270 * posix/bug-regex31.input: Add test case.
15271
152722010-10-11 Ulrich Drepper <drepper@gmail.com>
15273
15274 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15275 * posix/bug-regex31.input: New file.
15276
15277 [BZ #12078]
15278 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15279 (parse_sub_exp): Fix last change, use postorder.
15280
15281 * posix/bug-regex31.c: New file.
15282 * posix/Makefile: Add rules to build and run bug-regex31.
15283
15284 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15285
15286 [BZ #12078]
15287 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15288
15289 [BZ #12108]
15290 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15291 to have entries in sys_siglist.
15292
15293 [BZ #12093]
15294 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15295 be NULL.
15296
152972010-10-07 Jakub Jelinek <jakub@redhat.com>
15298
15299 [BZ #3268]
15300 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15301 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15302 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15303 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15304 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15305 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15306 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15307 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15308 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15309 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15310 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15311 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15312 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15313 * math/ftestexcept.c (fetestexcept): Likewise.
15314 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15315 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15316 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15317 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15318 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15319 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15320 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15321
153222010-10-11 Ulrich Drepper <drepper@gmail.com>
15323
15324 [BZ #12107]
15325 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15326 newline.
15327
153282010-10-06 Ulrich Drepper <drepper@gmail.com>
15329
15330 * string/bug-strstr1.c: New file.
15331 * string/Makefile: Add rules to build and run bug-strstr1.
15332
153332010-10-05 Eric Blake <eblake@redhat.com>
15334
15335 [BZ #12092]
15336 * string/str-two-way.h (two_way_long_needle): Always clear memory
15337 when skipping input due to the shift table.
15338
153392010-10-03 Ulrich Drepper <drepper@gmail.com>
15340
15341 [BZ #12005]
15342 * malloc/mcheck.c: Handle large requests.
15343
15344 [BZ #12077]
15345 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15346 for strncmp and strncasecmp.
15347 * string/stratcliff.c: Add tests for strcmp and strncmp.
15348 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15349
153502010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15351
15352 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15353 __set_fpscr.
15354
153552010-09-30 Andreas Jaeger <aj@suse.de>
15356
15357 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15358 (CGROUP_SUPER_MAGIC): Define.
15359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15360 Handle btrfs and cgroup file systems.
15361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15362 Likewise.
15363
153642010-09-27 Luis Machado <luisgpm@br.ibm.com>
15365
15366 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15367 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15368
153692010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15370
15371 [BZ #12067]
15372 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15373 trying to locate the ELF header.
15374
153752010-09-27 Andreas Schwab <schwab@redhat.com>
15376
15377 [BZ #11611]
15378 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15379 Mask out sign-bit copies when constructing f_fsid.
15380
153812010-09-24 Petr Baudis <pasky@suse.cz>
15382
15383 * debug/stack_chk_fail_local.c: Add missing licence exception.
15384 * debug/warning-nop.c: Likewise.
15385
153862010-09-15 Joseph Myers <joseph@codesourcery.com>
15387
15388 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15389 implementing getdents64 using getdents syscall, set d_type if
15390 __ASSUME_GETDENTS32_D_TYPE.
15391
153922010-09-16 Andreas Schwab <schwab@redhat.com>
15393
15394 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15395 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15396
153972010-09-21 Ulrich Drepper <drepper@redhat.com>
15398
15399 [BZ #12037]
15400 * posix/unistd.h: Undo change of feature selection for ftruncate from
15401 2010-01-11.
15402
154032010-09-20 Ulrich Drepper <drepper@redhat.com>
15404
15405 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15406 detection.
15407
154082010-09-20 Andreas Schwab <schwab@redhat.com>
15409
15410 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15411 fanotify_mark.
15412 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15413
154142010-09-14 Andreas Schwab <schwab@redhat.com>
15415
15416 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15417 variables after CHECK_SP call.
15418 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15419
154202010-09-13 Andreas Schwab <schwab@redhat.com>
15421 Ulrich Drepper <drepper@redhat.com>
15422
15423 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15424 re-relocationg ld.so.
15425 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15426 _dl_init_paths call.
15427 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15428 here anymore.
15429
154302010-09-14 Ulrich Drepper <drepper@redhat.com>
15431
15432 * resolv/res_init.c (__res_vinit): Count the default server we added.
15433
154342010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15435 Ulrich Drepper <drepper@redhat.com>
15436
15437 [BZ #11968]
15438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15439 (____longjmp_chk): Use %ebx for saving value across system call.
15440 Add unwind info.
15441
154422010-09-06 Andreas Schwab <schwab@redhat.com>
15443
15444 * manual/Makefile: Don't mix pattern rules with normal rules.
15445
154462010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15447
15448 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15449 operation.
15450 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15451 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15452 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15453 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15455 Likewise.
15456
154572010-09-04 Ulrich Drepper <drepper@redhat.com>
15458
15459 [BZ #11979]
15460 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15461 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15462
154632010-09-02 Ulrich Drepper <drepper@redhat.com>
15464
15465 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15466 * sysdeps/x86_64/addmul_1.S: Likewise.
15467 * sysdeps/x86_64/lshift.S: Likewise.
15468 * sysdeps/x86_64/mul_1.S: Likewise.
15469 * sysdeps/x86_64/rshift.S: Likewise.
15470 * sysdeps/x86_64/sub_n.S: Likewise.
15471 * sysdeps/x86_64/submul_1.S: Likewise.
15472
154732010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15474
15475 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15476 Define __sched_param instead of SCHED_* and sched_param when
15477 <bits/sched.h> is included with __need_schedparam defined.
15478 * bits/sched.h [__need_schedparam]
15479 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15480 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15481 (__defined_schedparam): Define to 1.
15482 (__sched_param): New structure, identical to sched_param.
15483 (__need_schedparam): Undefine.
15484
154852010-08-31 Mike Frysinger <vapier@gentoo.org>
15486
15487 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15488 (epoll_create1): Declare.
15489
15490 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15491
154922010-08-31 Andreas Schwab <schwab@redhat.com>
15493
15494 [BZ #7066]
15495 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15496 shifting retval into place.
15497
154982010-09-01 Ulrich Drepper <drepper@redhat.com>
15499
15500 * nis/rpcsvc/nis.h: Update copyright notice.
15501 * nis/rpcsvc/nis.x: Likewise.
15502 * nis/rpcsvc/nis_callback.h: Likewise.
15503 * nis/rpcsvc/nis_callback.x: Likewise.
15504 * nis/rpcsvc/nis_object.x: Likewise.
15505 * nis/rpcsvc/nis_tags.h: Likewise.
15506 * nis/rpcsvc/yp.h: Likewise.
15507 * nis/rpcsvc/yp.x: Likewise.
15508 * nis/rpcsvc/ypupd.h: Likewise.
15509 * nis/yp_xdr.c: Likewise.
15510 * nis/ypupdate_xdr.c: Likewise.
15511
15512 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15513 mainly the body of pmap_getport. Add parameters to specify timeouts.
15514 (pmap_getport): Use __libc_rpc_getport.
15515 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15516 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15517 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15518
155192010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15520
15521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15522 fanotify_mark.
15523
155242010-08-27 Roland McGrath <roland@redhat.com>
15525
15526 * sysdeps/i386/i686/multiarch/Makefile
15527 (CFLAGS-varshift.c): New variable.
15528
155292010-08-27 Ulrich Drepper <drepper@redhat.com>
15530
15531 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15532 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15533
15534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15535
15536 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15537
155382010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15539
15540 * sysdeps/x86_64/strlen.S: Unroll the loop.
15541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15542 strlen-sse2 strlen-sse2-bsf.
15543 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15544 __strlen_no_bsf if bit_Slow_BSF is set.
15545 (__strlen_sse42): Removed.
15546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15547 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15548
155492010-08-25 Roland McGrath <roland@redhat.com>
15550
15551 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15552 * sysdeps/x86_64/multiarch/varshift.c: New file.
15553 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15554 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15555 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15556 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15557
155582010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15559
15560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15561 strlen-sse2 strlen-sse2-bsf.
15562 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15563 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15564 (__strlen_sse2): Removed.
15565 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15566 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15568 bit_Slow_BSF for Atom.
15569 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15570 (index_Slow_BSF): Define.
15571 (HAS_SLOW_BSF): Define.
15572
155732010-08-25 Ulrich Drepper <drepper@redhat.com>
15574
15575 [BZ #10851]
15576 * resolv/res_init.c (__res_vinit): When no server address at all
15577 is given default to loopback.
15578
155792010-08-24 Roland McGrath <roland@redhat.com>
15580
15581 * configure.in: Remove config-name.h generation.
15582 * configure: Regenerated.
15583 * config-name.in: File removed.
15584 * scripts/config-uname.sh: New file.
15585 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15586 ($(objdir)config-name.h): New target.
15587
15588 * sunrpc/rpc_parse.h: Avoid nested comment.
15589
155902010-08-24 Richard Henderson <rth@redhat.com>
15591 Ulrich Drepper <drepper@redhat.com>
15592 H.J. Lu <hongjiu.lu@intel.com>
15593
15594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15596 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15597 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15598 _mm_alignr_epi8 with _mm_loadu_si128.
15599 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15600 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15601 (__m128i_shift_right): Removed.
15602 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15603 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15604 * sysdeps/x86_64/multiarch/varshift.h: New file.
15605 * sysdeps/x86_64/multiarch/varshift.S: New file.
15606
156072010-08-21 Mike Frysinger <vapier@gentoo.org>
15608
15609 * configure.in: Move assembler checks to before sysdep dir checking.
15610
156112010-08-20 Petr Baudis <pasky@suse.cz>
15612
15613 * LICENSES: Sync the sunrpc license.
15614
156152010-08-19 Ulrich Drepper <drepper@redhat.com>
15616
15617 * sunrpc/auth_des.c: Update copyright notice once again.
15618 * sunrpc/auth_none.c: Likewise.
15619 * sunrpc/auth_unix.c: Likewise.
15620 * sunrpc/authdes_prot.c: Likewise.
15621 * sunrpc/authuxprot.c: Likewise.
15622 * sunrpc/bindrsvprt.c: Likewise.
15623 * sunrpc/clnt_gen.c: Likewise.
15624 * sunrpc/clnt_perr.c: Likewise.
15625 * sunrpc/clnt_raw.c: Likewise.
15626 * sunrpc/clnt_simp.c: Likewise.
15627 * sunrpc/clnt_tcp.c: Likewise.
15628 * sunrpc/clnt_udp.c: Likewise.
15629 * sunrpc/clnt_unix.c: Likewise.
15630 * sunrpc/des_crypt.c: Likewise.
15631 * sunrpc/des_soft.c: Likewise.
15632 * sunrpc/get_myaddr.c: Likewise.
15633 * sunrpc/getrpcport.c: Likewise.
15634 * sunrpc/key_call.c: Likewise.
15635 * sunrpc/key_prot.c: Likewise.
15636 * sunrpc/openchild.c: Likewise.
15637 * sunrpc/pm_getmaps.c: Likewise.
15638 * sunrpc/pm_getport.c: Likewise.
15639 * sunrpc/pmap_clnt.c: Likewise.
15640 * sunrpc/pmap_prot.c: Likewise.
15641 * sunrpc/pmap_prot2.c: Likewise.
15642 * sunrpc/pmap_rmt.c: Likewise.
15643 * sunrpc/rpc/auth.h: Likewise.
15644 * sunrpc/rpc/auth_unix.h: Likewise.
15645 * sunrpc/rpc/clnt.h: Likewise.
15646 * sunrpc/rpc/des_crypt.h: Likewise.
15647 * sunrpc/rpc/key_prot.h: Likewise.
15648 * sunrpc/rpc/netdb.h: Likewise.
15649 * sunrpc/rpc/pmap_clnt.h: Likewise.
15650 * sunrpc/rpc/pmap_prot.h: Likewise.
15651 * sunrpc/rpc/pmap_rmt.h: Likewise.
15652 * sunrpc/rpc/rpc.h: Likewise.
15653 * sunrpc/rpc/rpc_des.h: Likewise.
15654 * sunrpc/rpc/rpc_msg.h: Likewise.
15655 * sunrpc/rpc/svc.h: Likewise.
15656 * sunrpc/rpc/svc_auth.h: Likewise.
15657 * sunrpc/rpc/types.h: Likewise.
15658 * sunrpc/rpc/xdr.h: Likewise.
15659 * sunrpc/rpc_clntout.c: Likewise.
15660 * sunrpc/rpc_cmsg.c: Likewise.
15661 * sunrpc/rpc_common.c: Likewise.
15662 * sunrpc/rpc_cout.c: Likewise.
15663 * sunrpc/rpc_dtable.c: Likewise.
15664 * sunrpc/rpc_hout.c: Likewise.
15665 * sunrpc/rpc_main.c: Likewise.
15666 * sunrpc/rpc_parse.c: Likewise.
15667 * sunrpc/rpc_parse.h: Likewise.
15668 * sunrpc/rpc_prot.c: Likewise.
15669 * sunrpc/rpc_sample.c: Likewise.
15670 * sunrpc/rpc_scan.c: Likewise.
15671 * sunrpc/rpc_scan.h: Likewise.
15672 * sunrpc/rpc_svcout.c: Likewise.
15673 * sunrpc/rpc_tblout.c: Likewise.
15674 * sunrpc/rpc_util.c: Likewise.
15675 * sunrpc/rpc_util.h: Likewise.
15676 * sunrpc/rpcinfo.c: Likewise.
15677 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15678 * sunrpc/rpcsvc/key_prot.x: Likewise.
15679 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15680 * sunrpc/rpcsvc/mount.x: Likewise.
15681 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15682 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15683 * sunrpc/rpcsvc/rex.x: Likewise.
15684 * sunrpc/rpcsvc/rstat.x: Likewise.
15685 * sunrpc/rpcsvc/rusers.x: Likewise.
15686 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15687 * sunrpc/rpcsvc/spray.x: Likewise.
15688 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15689 * sunrpc/rtime.c: Likewise.
15690 * sunrpc/svc.c: Likewise.
15691 * sunrpc/svc_auth.c: Likewise.
15692 * sunrpc/svc_authux.c: Likewise.
15693 * sunrpc/svc_raw.c: Likewise.
15694 * sunrpc/svc_run.c: Likewise.
15695 * sunrpc/svc_simple.c: Likewise.
15696 * sunrpc/svc_tcp.c: Likewise.
15697 * sunrpc/svc_udp.c: Likewise.
15698 * sunrpc/svc_unix.c: Likewise.
15699 * sunrpc/svcauth_des.c: Likewise.
15700 * sunrpc/xcrypt.c: Likewise.
15701 * sunrpc/xdr.c: Likewise.
15702 * sunrpc/xdr_array.c: Likewise.
15703 * sunrpc/xdr_float.c: Likewise.
15704 * sunrpc/xdr_mem.c: Likewise.
15705 * sunrpc/xdr_rec.c: Likewise.
15706 * sunrpc/xdr_ref.c: Likewise.
15707 * sunrpc/xdr_sizeof.c: Likewise.
15708 * sunrpc/xdr_stdio.c: Likewise.
15709
15710 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15711 handling.
15712
157132010-08-19 Andreas Schwab <schwab@redhat.com>
15714
15715 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15716
157172010-08-19 Luis Machado <luisgpm@br.ibm.com>
15718
15719 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15720 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15721 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15722 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15723 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15724 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15725 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15726 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15727 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15728 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15729 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15730 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15731 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15732 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15733
157342010-07-26 Anton Blanchard <anton@samba.org>
15735
15736 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15737 * malloc/arena.c (heap_trim): Likewise.
15738
157392010-08-16 Ulrich Drepper <drepper@redhat.com>
15740
15741 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15742 here. Not...
15743 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15744 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15745
157462010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15747
15748 * sysdeps/i386/elf/Makefile: New file.
15749
157502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15751
15752 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15753 from fanotify_init.
15754 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15755 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15756
157572010-08-15 Ulrich Drepper <drepper@redhat.com>
15758
15759 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15760 of strncasecmp_l.
15761 * sysdeps/multiarch/strcmp.S: Likewise.
15762
157632010-08-14 Ulrich Drepper <drepper@redhat.com>
15764
15765 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15766 strncase_l-nonascii.
15767 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15768 Add strncase_l-ssse3.
15769 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15770 * sysdeps/x86_64/strcmp.S: Likewise.
15771 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15772 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15773 * sysdeps/x86_64/strncase.S: New file.
15774 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15775 * sysdeps/x86_64/strncase_l.S: New file.
15776 * string/Makefile (strop-tests): Add strncasecmp.
15777 * string/test-strncasecmp.c: New file.
15778
15779 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15780 warning.
15781
15782 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15783 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15784
157852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15786
15787 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15788
157892010-08-12 Ulrich Drepper <drepper@redhat.com>
15790
15791 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15792 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15793 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15794
157952010-05-01 Alan Modra <amodra@gmail.com>
15796
15797 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15798 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15799 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15800 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15801 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15802 tidying. Don't tail-call __sigjmp_save for static lib.
15803 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15804 save location.
15805 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15806 (CALL_MCOUNT): Add eh info, and nop after bl.
15807 (TAIL_CALL_SYSCALL_ERROR): New macro.
15808 (PSEUDO_RET): Use it.
15809 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15810 Correct save location of integer regs and cr.
15811 (_dl_profile_resolve): Correct cr save location. Delete nops
15812 after bl when SHARED. Reduce cfi size a little by better
15813 placement of cfi directives.
15814 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15815 make a stack frame. Instead use parm save area as a temp.
15816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15817 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15819 Don't make a stack frame for parent, use parm save area.
15820 Increase child stack frame to 112 bytes. Don't save unused reg,
15821 and adjust reg usage. Set up cfi on error recovery and
15822 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15824 (__makecontext): Add dummy nop after jump to exit.
15825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15826 Use correct parm save area and cr save, reduce stack frame.
15827 Correct cfi for possible PSEUDO_RET frame setup.
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15829 Branch to local label emitted by PSEUDO_RET rather than
15830 __syscall_error.
15831
158322010-08-12 Andreas Schwab <schwab@redhat.com>
15833
15834 [BZ #11904]
15835 * locale/programs/locale.c (print_assignment): New function.
15836 (show_locale_vars): Use it.
15837
158382010-08-11 Ulrich Drepper <drepper@redhat.com>
15839
15840 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15841 field.
15842 (struct statfs64): Likewise.
15843 (_STATFS_F_FLAGS): Define.
15844 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15845 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15846 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15847 (ST_VALID): Define locally.
15848 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15849 __statvfs_getflags, use the provided value.
15850 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15851 __ASSUME_STATFS_F_FLAGS.
15852
15853 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15854
15855 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15856 Add sys/fanotify.h.
15857 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15858 fanotify_mask for GLIBC_2.13.
15859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15860 fanotify_init and fanotify_mark.
15861 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15862 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15863
15864 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15865 Add prlimit.
15866 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15867 prlimit64 for GLIBC_2.13.
15868 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15869 prlimit64.
15870 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15871 syscall.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15873 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15874 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15875 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15876 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15877 add prlimit alias.
15878 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15879
15880 [BZ #11903]
15881 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15882 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15883
15884 * nss/Makefile: Add rules to build and run tst-nss-test1.
15885 * shlib-versions: Add entry for libnss_test1.
15886 * nss/nss_test1.c: New file.
15887 * nss/tst-nss-test1.c: New file.
15888
15889 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15890 (__nss_configure_lookup): Set appropriate entry in
15891 __nss_configure_lookup to true.
15892 * nss/nsswitch.h: Define enum with indeces of databases in
15893 databases and __nss_database_custom arrays. Declare
15894 __nss_database_custom.
15895 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15896 to avoid using nscd when custom rules are installed.
15897 * nss/getXXbyYY_r.c: Likewise.
15898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15899
15900 * nss/nss_files/files-parse.c: Whitespace fixes.
15901
159022010-08-09 Ulrich Drepper <drepper@redhat.com>
15903
15904 [BZ #11883]
15905 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15906 * posix/fnmatch_loop.c: Likewise.
15907
159082010-07-17 Andi Kleen <ak@linux.intel.com>
15909
15910 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15911 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15912 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15913 * Versions.def [GLIBC_2.13]: Add.
15914
159152010-08-06 Ulrich Drepper <drepper@redhat.com>
15916
15917 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15918 Also fail if tpwd after pwuid call is NULL.
15919
159202010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15921
15922 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15923 when converting to ms.
15924
159252010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15926
15927 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15928 EOPNOTSUPP errors with ENOTTY.
15929 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15930 EOPNOTSUPP errors with ENOTTY.
15931
159322010-07-31 Ulrich Drepper <drepper@redhat.com>
15933
15934 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15935 Add strcasecmp_l-ssse3.
15936 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15937 strcasecmp.
15938 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15939 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15940 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15941
159422010-07-30 Ulrich Drepper <drepper@redhat.com>
15943
15944 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15945
15946 * string/Makefile (strop-tests): Add strcasecmp.
15947 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15948 strcasecmp_l-nonascii.
15949 (gen-as-const-headers): Add locale-defines.sym.
15950 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15951 * sysdeps/x86_64/strcasecmp.S: New file.
15952 * sysdeps/x86_64/strcasecmp_l.S: New file.
15953 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15954 * sysdeps/x86_64/locale-defines.sym: New file.
15955 * string/test-strcasecmp.c: New file.
15956
15957 * string/test-strcasestr.c: Test both ends of the range of characters.
15958 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15959
159602010-07-29 Roland McGrath <roland@redhat.com>
15961
15962 [BZ #11856]
15963 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15964
159652010-07-27 Ulrich Drepper <drepper@redhat.com>
15966
15967 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15968 for ld.so.
15969
159702010-07-27 Andreas Schwab <schwab@redhat.com>
15971
15972 * manual/memory.texi (Malloc Tunable Parameters): Document
15973 M_PERTURB.
15974
159752010-07-26 Roland McGrath <roland@redhat.com>
15976
15977 [BZ #11840]
15978 * configure.in (-fgnu89-inline check): Set and substitute
15979 gnu89_inline, not libc_cv_gnu89_inline.
15980 * configure: Regenerated.
15981 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15982
159832010-07-26 Ulrich Drepper <drepper@redhat.com>
15984
15985 * string/test-strnlen.c: New file.
15986 * string/Makefile (strop-tests): Add strnlen.
15987 * string/tester.c (test_strnlen): Add a few more test cases.
15988 * string/tst-strlen.c: Better error reporting.
15989
15990 * sysdeps/x86_64/strnlen.S: New file.
15991
159922010-07-24 Ulrich Drepper <drepper@redhat.com>
15993
15994 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15995 lower-latency instructions.
15996
159972010-07-23 Ulrich Drepper <drepper@redhat.com>
15998
15999 * string/test-strcasestr.c: New file.
16000 * string/test-strstr.c: New file.
16001 * string/Makefile (strop-tests): Add strstr and strcasestr.
16002 * string/str-two-way.h: Don't undefine MAX.
16003 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16004
160052010-07-21 Andreas Schwab <schwab@redhat.com>
16006
16007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16008 strcasestr-nonascii.
16009 (CFLAGS-strcasestr-nonascii.c): Define.
16010 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16011 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16012 Remove unused attribute.
16013
160142010-07-20 Roland McGrath <roland@redhat.com>
16015
16016 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16017 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16018 ld.so.cache was broken. With it, there is no way to disable dsocaps
16019 like LD_HWCAP_MASK can disable hwcaps.
16020
160212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16022
16023 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16024
160252010-07-16 Ulrich Drepper <drepper@redhat.com>
16026
16027 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16028 call in strcasestr.
16029 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16030 __strcasestr_sse42_nonascii.
16031 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16032 strcasestr-nonascii.c.
16033 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16034
160352010-06-15 Luis Machado <luisgpm@br.ibm.com>
16036
16037 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16038 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16039 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16040 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16041
160422010-07-09 Ulrich Drepper <drepper@redhat.com>
16043
16044 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16045 fcntl.
16046
160472010-07-06 Andreas Schwab <schwab@redhat.com>
16048
16049 [BZ #11577]
16050 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16051 dl_signal_cerror.
16052
160532010-07-06 Ulrich Drepper <drepper@redhat.com>
16054
16055 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16056 _PC_PIPE_BUF using F_GETPIPE_SZ.
16057
160582010-07-05 Roland McGrath <roland@redhat.com>
16059
16060 * manual/arith.texi (Rounding Functions): Fix rint description
16061 implicit in round description.
16062
160632010-07-02 Ulrich Drepper <drepper@redhat.com>
16064
16065 * elf/Makefile: Fix linking for a few tests to make recent linker
16066 happy.
16067
160682010-06-30 Andreas Schwab <schwab@redhat.com>
16069
16070 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16071 $(common-objpfx)libc_nonshared.a.
16072
160732010-06-21 Luis Machado <luisgpm@br.ibm.com>
16074
16075 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16076 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16077 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16078 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16079 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16080 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16081 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16082 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16097 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16098 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16099 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16100 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16101 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16102 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16103 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16104 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16105 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16106 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16107 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16108 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16123
161242010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16125
16126 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16127 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16128 * string/memmove.c (memmove): Renamed to ...
16129 (MEMMOVE): ...this. Default to memmove.
16130 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16131 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16132 (END_CHK): Define.
16133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16134 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16135 mempcpy-ssse3-back memmove-ssse3-back.
16136 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16137 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16139 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16140 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16141 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16142 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16143 * sysdeps/x86_64/multiarch/memmove.c: New file.
16144 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16145 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16146 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16147 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16148 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16149 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16150 Define.
16151 (index_Fast_Copy_Backward): Define.
16152 (HAS_ARCH_FEATURE): Define.
16153 (HAS_FAST_REP_STRING): Define.
16154 (HAS_FAST_COPY_BACKWARD): Define.
16155
161562010-06-21 Andreas Schwab <schwab@redhat.com>
16157
16158 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16159 Restore proper fallback handling.
16160
161612010-06-19 Ulrich Drepper <drepper@redhat.com>
16162
16163 [BZ #11701]
16164 * posix/group_member.c (__group_member): Correct checking loop.
16165
16166 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16167 OOM in getpwuid_r correctly. Return error number when the caller
16168 should return, otherwise -1.
16169 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16170 call returning > 0 value.
16171 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16172
161732010-06-07 Andreas Schwab <schwab@redhat.com>
16174
16175 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16176 libc_nonshared.a from targets in modules-names.
16177
161782010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16179
16180 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16181 requires it.
16182
161832010-06-10 Luis Machado <luisgpm@br.ibm.com>
16184
16185 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16186 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16187 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16188 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16189
161902010-06-02 Andreas Schwab <schwab@redhat.com>
16191
16192 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16193
161942010-06-14 Ulrich Drepper <drepper@redhat.com>
16195
16196 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16197 and F_GETPIPE_SZ.
16198 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16203 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16204
162052010-06-14 Roland McGrath <roland@redhat.com>
16206
16207 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16208
162092010-06-07 Jakub Jelinek <jakub@redhat.com>
16210
16211 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16212 __REDIRECT followed by __THROW.
16213 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16214 * posix/getopt.h (getopt): Likewise.
16215
162162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16217
16218 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16219 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16220 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16221 in AT_FLAGS.
16222 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16223 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16224
162252010-05-28 Luis Machado <luisgpm@br.ibm.com>
16226
16227 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16228
162292010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16230
16231 [BZ #11640]
16232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16233 Properly check family and model.
16234
162352010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16236
16237 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16238
162392010-05-24 Luis Machado <luisgpm@br.ibm.com>
16240
16241 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16242
162432010-05-21 Ulrich Drepper <drepper@redhat.com>
16244
16245 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16246 symbol reference.
16247
162482010-05-19 Andreas Schwab <schwab@redhat.com>
16249
16250 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16251 symbol reference.
16252
162532010-05-21 Andreas Schwab <schwab@redhat.com>
16254
16255 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16256 and internal_recvmmsg.
16257 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16258 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16259 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16260 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16261
16262 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16263 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16264 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16265
162662010-05-20 Andreas Schwab <schwab@redhat.com>
16267
16268 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16269
162702010-05-17 Luis Machado <luisgpm@br.ibm.com>
16271
16272 POWER7 optimizations.
16273 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16274 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16275
162762010-05-19 Ulrich Drepper <drepper@redhat.com>
16277
16278 * version.h: Update for 2.13 development version.
16279
162802010-05-12 Andrew Stubbs <ams@codesourcery.com>
16281
16282 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16283 exceptions. Return 0.
16284
162852010-05-07 Roland McGrath <roland@redhat.com>
16286
16287 * elf/ldconfig.c (main): Add a const.
16288
162892010-05-06 Ulrich Drepper <drepper@redhat.com>
16290
16291 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16292 (args_options): Add no-idn option.
16293 (ahosts_keys_int): Add idn_flags to ai_flags.
16294 (parse_option): Handle 'i' option to clear idn_flags.
16295
16296 * malloc/malloc.c (_int_free): Possible race in the most recently
16297 added check. Only act on the data if no current modification
16298 happened.
16299
16300See ChangeLog.17 for earlier changes.