]> sourceware.org Git - glibc.git/blob - ChangeLog
tst-getcpu: decode errno when sched_getcpu fails
[glibc.git] / ChangeLog
1 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2
3 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4 cpu2 is -1 and errno is not ENOSYS.
5
6 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7
8 [BZ #14117]
9 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10 * sysdeps/x86/bits/string.h: This.
11 * sysdeps/x86_64/bits/string.h: Removed.
12
13 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14 if not compiling for x86-64, but compiling for >= i486.
15
16 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18
19 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20 New macro from Linux kernel 3.4.0.
21 (FP_XSTATE_MAGIC2): Likewise.
22 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24 (struct _fpx_sw_bytes): New struct.
25 (struct _xsave_hdr): Likewise.
26 (struct _ymmh_state): Likewise.
27 (struct _xstate): Likewise.
28
29 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35
36 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42
43 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44
45 [BZ #13743]
46 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48 (sysdep_headers): Include sys/platform/ppc.h.
49 * sysdeps/powerpc/test-gettimebase.c: Test for
50 __ppc_get_timebase() to catch future ISA opcode/insn changes.
51 * manual/Makefile (appendices): Include platform.texi.
52 * manual/contrib.texi (Contributors): Update @node pointers.
53 * manual/maint.texi (Maintenance): Likewise.
54 (Platform): New node.
55 * manual/platform.texi: New file. Document the new features.
56
57 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
58 Jakub Jelinek <jakub@redhat.com>
59
60 [BZ #14188]
61 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62 where __builtin_expect is unavailable.
63
64 2012-06-03 David S. Miller <davem@davemloft.net>
65
66 * stdlib/longlong.h: Updated from GCC.
67
68 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
69
70 [BZ #14042]
71 * sysdeps/powerpc/powerpc32/mcount.c: New file.
72 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
73 __mcount_internal.
74 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75 (GLIBC_2.16): Likewise.
76
77 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
78
79 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80
81 2012-06-01 Joseph Myers <joseph@codesourcery.com>
82
83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
84 (default-abi): New variable.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
86 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
87 variable.
88 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
89 Likewise.
90 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
91 Likewise.
92 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
93 Likewise.
94
95 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
96 definition. Document in comment.
97
98 2012-06-01 David S. Miller <davem@davemloft.net>
99
100 * stdlib/longlong.h: Updated from GCC.
101
102 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
103
104 [BZ #14117]
105 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
106 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
107 sys/debugreg.h sys/io.h here.
108 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
109 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
110 sys/io.h.
111 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
112 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
113 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
114 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
115 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
116 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
117
118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
119 Define only if __x86_64__ is defined.
120
121 2012-06-01 Joseph Myers <joseph@codesourcery.com>
122
123 [BZ #14048]
124 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
125 Use int64_t for variable i.
126 * math/libm-test.inc (fmod_test): Add more tests.
127
128 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
129 z computation is not scheduled after fetestexcept.
130 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
131 Use math_force_eval instead of asm to ensure calculation scheduled
132 before exception test.
133 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
134 Ensure a1 + u.d computation is not scheduled after fetestexcept.
135
136 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
137
138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
139 computation is not scheduled after fetestexcept.
140
141 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
142
143 [BZ #14117]
144 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
145 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
146
147 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
148
149 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
150 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
151
152 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
153
154 [BZ #14117]
155 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
156 <bits/wordsize.h>.
157 (__WCHAR_MIN): Support __WORDSIZE == 64.
158 (__WCHAR_MAX): Likewise.
159
160 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
161 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
162
163 [BZ #14183]
164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
165 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
166
167 [BZ #14117]
168 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
169 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
170
171 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
172 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
173
174 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
175 Defined to 1 if __x86_64__ isn't defined.
176 (_STAT_VER_LINUX_OLD): New.
177 (st_atime): Remove duplicate.
178 (st_mtime): Likewise.
179 (st_ctime): Likewise.
180
181 2012-05-31 David S. Miller <davem@davemloft.net>
182
183 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
184 entries.
185
186 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
187
188 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
189 gen-libm-test.pl.
190
191 [BZ #14132]
192 * elf/dl-reloc.c: Include <_itoa.h>.
193 (_dl_reloc_bad_type): Remove use of INTUSE.
194 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
195 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
196 * stdio-common/psiginfo.c (psiginfo): Likewise.
197 * stdio-common/psignal.c (psignal): Likewise.
198 * string/strsignal.c (strsignal): Likewise.
199 * include/signal.h (_sys_siglist): Declare hidden proto.
200 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
201 INTVARDEF with libc_hidden_data_def.
202 * stdio-common/itoa-udigits.c: Likewise.
203 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
204 (_itoa_lower_digits_internal): Remove declaration.
205 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
206 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
207 (_sys_sigabbrev_internal): Remove aliases.
208 (_sys_siglist): Define hidden alias.
209
210 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
211
212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
213 bits/sysctl.h.
214
215 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
216
217 [BZ #14117]
218 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
219 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
220
221 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
222 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
223 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
224 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
225 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
226 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
227
228 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
229 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
230 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
231
232 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
233 with __addr.
234 (insw): Likewise.
235 (insl): Likewise.
236 (outsb): Likewise.
237 (outsw): Likewise.
238 (outsl): Likewise.
239
240 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
241 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
242 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
243
244 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
245 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
246 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
247 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
248 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
249 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
250
251 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
252 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
253
254 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
255 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
256
257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
259 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
260
261 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
262 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
263 to ...
264 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
265
266 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
267 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
268 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
269
270 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
271 for x86-64.
272 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
273
274 2012-05-31 Joseph Myers <joseph@codesourcery.com>
275
276 * math/math.h (M_El): Use two more decimal places.
277 (M_LOG2El): Likewise.
278 (M_LOG10El): Likewise.
279 (M_LN2l): Likewise.
280 (M_LN10l): Likewise.
281 (M_PIl): Likewise.
282 (M_PI_2l): Likewise.
283 (M_PI_4l): Likewise.
284 (M_1_PIl): Likewise.
285 (M_2_PIl): Likewise.
286 (M_2_SQRTPIl): Likewise.
287 (M_SQRT2l): Likewise.
288 (M_SQRT1_2l): Likewise.
289
290 2012-05-31 David S. Miller <davem@davemloft.net>
291
292 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
293 values between float registers.
294 * sysdeps/sparc/sparc64/memset.S: Likewise.
295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
296
297 2012-05-31 Mike Frysinger <vapier@gentoo.org>
298
299 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
300 -D_FORTIFY_SOURCE=1.
301 (CPPFLAGS-tst-longjmp_chk.c): Define.
302 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
303 (CPPFLAGS-tst-longjmp_chk2.c): Define.
304 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
305 CFLAGS-tst-wchar-h.c.
306
307 2012-05-31 Marek Polacek <polacek@redhat.com>
308
309 [BZ #14132]
310 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
311 __endmntent_internal): Remove declaration.
312 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
313 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
314 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
315
316 2012-05-30 David S. Miller <davem@davemloft.net>
317
318 * sysdeps/sparc/sparc32/soft-fp/q_util.c
319 (___Q_simulate_exceptions): Use real FP ops rather than writing
320 into the %fsr.
321 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
322 Likewise.
323
324 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
325
326 [BZ #14117]
327 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
328 * sysdeps/x86/bits/xtitypes.h: This.
329
330 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
331 * sysdeps/x86/bits/wordsize.h: This.
332
333 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
334 * sysdeps/x86/bits/huge_vall.h: This.
335
336 * sysdeps/i386/bits/select.h: Removed.
337 * sysdeps/x86_64/bits/select.h: Renamed to ...
338 * sysdeps/x86/bits/select.h: This.
339
340 * sysdeps/i386/bits/setjmp.h: Removed.
341 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
342 * sysdeps/x86/bits/setjmp.h: This.
343
344 * sysdeps/i386/bits/mathdef.h: Removed.
345 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
346 * sysdeps/x86/bits/mathdef.h: This.
347
348 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
349
350 [BZ #14132]
351 * include/sys/socket.h (__connect_internal)
352 (__libc_sa_len_internal): Remove declaration.
353 (__connect, __libc_sa_len): Declare hidden_proto.
354 (SA_LEN): Remove use of INTUSE.
355 * socket/connect.c: Add libc_hidden_def.
356 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
357 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
358 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
359 alias.
360 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
361 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
362 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
363 of adding _internal alias.
364
365 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
366
367 [BZ #14117]
368 * sysdeps/i386/bits/link.h: Removed.
369 * sysdeps/i386/bits/linkmap.h: Likewise.
370 * sysdeps/x86_64/bits/link.h: Renamed to ...
371 * sysdeps/x86/bits/link.h: This.
372 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
373 * sysdeps/x86/bits/linkmap.h: This.
374
375 * sysdeps/i386/bits/endian.h: Removed.
376 * sysdeps/x86_64/bits/endian.h: Renamed to ...
377 * sysdeps/x86/bits/endian.h: This.
378
379 * sysdeps/i386/bits/byteswap.h: Removed.
380 * sysdeps/i386/bits/byteswap-16.h: Likewise.
381 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
382 * sysdeps/x86/bits/byteswap.h: This.
383 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
384 * sysdeps/x86/bits/byteswap-16.h: This.
385 * sysdeps/i386/Implies: Add x86.
386 * sysdeps/x86_64/Implies: Likewise.
387
388 2012-05-30 David S. Miller <davem@davemloft.net>
389
390 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
391 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
392 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
393 (FP_TRAPPING_EXCEPTIONS): Define.
394 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
395 (FP_TRAPPING_EXCEPTIONS): Define.
396 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
397 subnormals only when inexact has been signalled or underflow
398 exceptions are enabled.
399 (_FP_PACK_CANONICAL): Likewise.
400
401 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
402
403 [BZ #14183]
404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
405 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
406
407 2012-05-30 Richard Henderson <rth@twiddle.net>
408
409 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
410 with #ifndef NOT_IN_libc.
411
412 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
413 marked to avoid plt entry.
414
415 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
416
417 [BZ #14112]
418 * Makeconfig (default-abi): New macro.
419 (abi-includes): Likewise.
420 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
421 $(abi-$(default-abi)-lib-soname) for soname if defined.
422 ($(common-objpfx)gnu/lib-names.stmp): Generate from
423 abi-variants.
424 * Makefile (installed-stubs): Likewise.
425 * include/stubs-biarch.h: Removed.
426 * scripts/lib-names.awk: Only handle one library at a time.
427 * scripts/soversions.awk: Remove WORDSIZE support.
428 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
429 entries.
430 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
431 Removed.
432 (syscall-list-default-condition): Likewise.
433 (syscall-list-default-condition): Likewise.
434 (syscall-list-includes): Likewise.
435 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
436 syscall-list-* with abi-*. Handle undefined abi-variants.
437 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
438 * sysdeps/unix/sysv/linux/i386/Implies: New file.
439 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
440 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
441 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
442 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
443 Removed.
444 (syscall-list-32-options): Likewise.
445 (syscall-list-32-condition): Likewise.
446 (syscall-list-64-options): Likewise.
447 (syscall-list-64-condition): Likewise.
448 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
449 macro.
450 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
451 Renamed to ...
452 (abi-*): This.
453 (abi-64-ld-soname): New macro.
454 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
455 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
456 Renamed to ...
457 (abi-*): This.
458 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
459 * sysdeps/x86_64/x32/shlib-versions: Likewise.
460
461 2012-05-30 Joseph Myers <joseph@codesourcery.com>
462
463 * sysdeps/unix/sysv/linux/kernel-features.h
464 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
465 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
466 include <kernel-features.h>.
467 [!__NR_ftruncate64]: Remove conditional code.
468 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
469 [__NR_ftruncate64]: Make code unconditional.
470 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
471 * sysdeps/unix/sysv/linux/truncate64.c: Do not
472 include <kernel-features.h>.
473 [!__NR_ftruncate64]: Remove conditional code.
474 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
475 [__NR_ftruncate64]: Make code unconditional.
476 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
478 include <kernel-features.h>.
479 [!__NR_ftruncate64]: Remove conditional code.
480 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
481 [__NR_ftruncate64]: Make code unconditional.
482 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
484 include <kernel-features.h>.
485 [!__NR_ftruncate64]: Remove conditional code.
486 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
487 [__NR_ftruncate64]: Make code unconditional.
488 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
489
490 * configure.in (libc_cv_fpie): Weaken to a compile test using
491 LIBC_TRY_CC_OPTION.
492 * configure: Regenerated.
493
494 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
495
496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
500 Refreshed.
501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
507 Refreshed.
508
509 2012-05-27 David S. Miller <davem@davemloft.net>
510
511 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
512 (___Q_zero): New.
513 (__Q_simulate_exceptions): Return void. Change to simulate
514 exceptions by writing into the %fsr.
515 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
516 (__Qp_handle_exceptions): Likewise.
517 (numbers): Delete.
518 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
519 __Qp_handle_exceptions.
520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
521 __Qp_handle_exceptions.
522 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
523 as unused and give dummy FP_RND_NEAREST initializer.
524 (FP_INHIBIT_RESULTS): Define.
525 (___Q_simulate_exceptions): Update declaration.
526 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
527 formatting.
528 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
529 as unused and give dummy FP_RND_NEAREST initializer.
530 (__Qp_handle_exceptions): Update declaration.
531 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
532 formatting.
533
534 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
535
536 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
537 the temporary FPU control word.
538 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
539 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
540 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
541 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
542 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
543 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
544 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
545 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
546 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
547 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
548 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
549
550 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
551
552 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
553 fields.
554
555 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
556
557 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
558 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
559 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
560 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
561 Likewise.
562 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
563 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
564 Likewise.
565
566 2012-05-27 Ulrich Drepper <drepper@gmail.com>
567
568 * po/h.po: Update from translation team.
569
570 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
571
572 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
573
574 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
575 handling of denormals.
576 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
577 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
578 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
579 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
580 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
581 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
583 Likewise.
584
585 2012-05-26 Marek Polacek <polacek@redhat.com>
586
587 [BZ #14152]
588 * math/libm-test.inc (fma_test): Don't always expect underflow
589 exception.
590
591 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
592
593 [BZ #12416]
594 * elf/tst-execstack.c: Include stackinfo.h.
595 (do_test): Adjust test case to ensure that pthread_getattr_np
596 behaviour remains the same after marking stack executable.
597
598 2012-05-25 Joseph Myers <joseph@codesourcery.com>
599
600 * sysdeps/unix/sysv/linux/kernel-features.h
601 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
602 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
603 kernel-features.h.
604 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
605 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
606 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
607 kernel-features.h.
608 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
609 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
610
611 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
612
613 * configure.in: Define the default includes to being none.
614 * configure: Regenerated.
615
616 2012-05-25 Roland McGrath <roland@hack.frob.com>
617
618 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
619 * sysdeps/x86_64/setjmp.S: Likewise.
620 * sysdeps/i386/bsd-setjmp.S: Likewise.
621 * sysdeps/i386/bsd-_setjmp.S: Likewise.
622 * sysdeps/i386/setjmp.S: Likewise.
623 * sysdeps/i386/__longjmp.S: Likewise.
624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
625 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
626
627 * include/stap-probe.h: New file.
628 * configure.in: Handle --enable-systemtap.
629 * configure: Regenerated.
630 * config.h.in (USE_STAP_PROBE): New #undef.
631 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
632 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
633 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
634
635 2012-05-25 Joseph Myers <joseph@codesourcery.com>
636
637 [BZ #13717]
638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
639 to 2.4.0 where earlier.
640 * sysdeps/unix/sysv/linux/configure: Regenerated.
641 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
642 <kernel-features.h>.
643 [__ASSUME_32BITUIDS]: Make code unconditional.
644 [!__ASSUME_32BITUIDS]: Remove conditional code.
645 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
646 <kernel-features.h>.
647 [__ASSUME_32BITUIDS]: Make code unconditional.
648 [!__ASSUME_32BITUIDS]: Remove conditional code.
649 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
650 [__ASSUME_32BITUIDS]: Make code unconditional.
651 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
652 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
653 <kernel-features.h>.
654 [__ASSUME_32BITUIDS]: Make code unconditional.
655 [!__ASSUME_32BITUIDS]: Remove conditional code.
656 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
657 <kernel-features.h>.
658 [__ASSUME_32BITUIDS]: Make code unconditional.
659 [!__ASSUME_32BITUIDS]: Remove conditional code.
660 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
661 <kernel-features.h>.
662 [__ASSUME_32BITUIDS]: Make code unconditional.
663 [!__ASSUME_32BITUIDS]: Remove conditional code.
664 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
665 <kernel-features.h>.
666 [__ASSUME_32BITUIDS]: Make code unconditional.
667 [!__ASSUME_32BITUIDS]: Remove conditional code.
668 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
669 <kernel-features.h>.
670 [__ASSUME_32BITUIDS]: Make code unconditional.
671 [!__ASSUME_32BITUIDS]: Remove conditional code.
672 * sysdeps/unix/sysv/linux/i386/getresuid.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/i386/getuid.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/i386/lchown.c: Do not include
681 <kernel-features.h>.
682 [__ASSUME_32BITUIDS]: Make code unconditional.
683 [!__ASSUME_32BITUIDS]: Remove conditional code.
684 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
685 <kernel-features.h>.
686 [__ASSUME_32BITUIDS]: Make code unconditional.
687 [!__ASSUME_32BITUIDS]: Remove conditional code.
688 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
689 <kernel-features.h>.
690 [__ASSUME_32BITUIDS]: Make code unconditional.
691 [!__ASSUME_32BITUIDS]: Remove conditional code.
692 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
693 <kernel-features.h>.
694 [__NR_setresgid] (__setresgid): Do not declare.
695 [__ASSUME_32BITUIDS]: Make code unconditional.
696 [!__ASSUME_32BITUIDS]: Remove conditional code.
697 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
698 <kernel-features.h>.
699 [__NR_setresuid] (__setresuid): Do not declare.
700 [__ASSUME_32BITUIDS]: Make code unconditional.
701 [!__ASSUME_32BITUIDS]: Remove conditional code.
702 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
703 <kernel-features.h>.
704 [__ASSUME_32BITUIDS]: Make code unconditional.
705 [!__ASSUME_32BITUIDS]: Remove conditional code.
706 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
707 <kernel-features.h>.
708 [__ASSUME_32BITUIDS]: Make code unconditional.
709 [!__ASSUME_32BITUIDS]: Remove conditional code.
710 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
711 <kernel-features.h>.
712 [__ASSUME_32BITUIDS]: Make code unconditional.
713 [!__ASSUME_32BITUIDS]: Remove conditional code.
714 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
715 <kernel-features.h>.
716 [__ASSUME_32BITUIDS]: Make code unconditional.
717 [!__ASSUME_32BITUIDS]: Remove conditional code.
718 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
719 <kernel-features.h>.
720 [__ASSUME_32BITUIDS]: Make code unconditional.
721 [!__ASSUME_32BITUIDS]: Remove conditional code.
722 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
723 <kernel-features.h>.
724 [__ASSUME_32BITUIDS]: Make code unconditional.
725 [!__ASSUME_32BITUIDS]: Remove conditional code.
726 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
727 <kernel-features.h>.
728 [__ASSUME_32BITUIDS]: Make code unconditional.
729 [!__ASSUME_32BITUIDS]: Remove conditional code.
730 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
731 <kernel-features.h>.
732 [__ASSUME_32BITUIDS]: Make code unconditional.
733 [!__ASSUME_32BITUIDS]: Remove conditional code.
734 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
735 <kernel-features.h>.
736 [__ASSUME_32BITUIDS]: Make code unconditional.
737 [!__ASSUME_32BITUIDS]: Remove conditional code.
738 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
739 <kernel-features.h>.
740 [__ASSUME_32BITUIDS]: Make code unconditional.
741 [!__ASSUME_32BITUIDS]: Remove conditional code.
742 * sysdeps/unix/sysv/linux/kernel-features.h
743 (__ASSUME_SETRESUID_SYSCALL): Remove.
744 (__ASSUME_SETRESGID_SYSCALL): Likewise.
745 (__ASSUME_32BITUIDS): Likewise.
746 (__ASSUME_LDT_WORKS): Likewise.
747 (__ASSUME_O_DIRECTORY): Likewise.
748 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
749 architecture but not kernel version.
750 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
751 (__ASSUME_MMAP2_SYSCALL): Likewise.
752 (__ASSUME_STAT64_SYSCALL): Likewise.
753 (__ASSUME_IPC64): Likewise.
754 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
755 <kernel-features.h>.
756 [__ASSUME_32BITUIDS]: Make code unconditional.
757 [!__ASSUME_32BITUIDS]: Remove conditional code.
758 * sysdeps/unix/sysv/linux/opendir.c: Do not include
759 <kernel-features.h>.
760 [__ASSUME_O_DIRECTORY]: Make code unconditional.
761 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
762 132096]: Remove conditional code.
763 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
764 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
765 <kernel-features.h>.
766 [__ASSUME_32BITUIDS]: Make code unconditional.
767 [!__ASSUME_32BITUIDS]: Remove conditional code.
768 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
769 <kernel-features.h>.
770 [__ASSUME_32BITUIDS]: Make code unconditional.
771 [!__ASSUME_32BITUIDS]: Remove conditional code.
772 * sysdeps/unix/sysv/linux/setegid.c: Do not include
773 <kernel-features.h>.
774 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
775 unconditional.
776 (__setresgid): Do not declare.
777 [__ASSUME_32BITUIDS]: Make code unconditional.
778 [!__ASSUME_32BITUIDS]: Remove conditional code.
779 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
780 <kernel-features.h>.
781 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
782 unconditional.
783 (__setresuid): Do not declare.
784 [__ASSUME_32BITUIDS]: Make code unconditional.
785 [!__ASSUME_32BITUIDS]: Remove conditional code.
786 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
787 <kernel-features.h>.
788 [__ASSUME_32BITUIDS]: Make code unconditional.
789 [!__ASSUME_32BITUIDS]: Remove conditional code.
790 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
791 <kernel-features.h>.
792 [__ASSUME_32BITUIDS]: Make code unconditional.
793 [!__ASSUME_32BITUIDS]: Remove conditional code.
794
795 2012-05-25 Richard Henderson <rth@twiddle.net>
796
797 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
798 dl_hwcap to ifunc resolver.
799 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
800 elf_ifunc_invoke.
801 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
802 dl_hwcap to ifunc resolver.
803 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
804
805 2012-05-24 Joseph Myers <joseph@codesourcery.com>
806
807 [BZ #14153]
808 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
809 for |x| <= 2**-26, not 2**-57.
810 * math/libm-test.inc (acos_test): Do not allow spurious underflow
811 exception.
812
813 2012-05-24 Jeff Law <law@redhat.com>
814
815 * stdio-common/Makefile (tests): Add bug25.
816 * stdio-common/bug25.c: New test.
817
818 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
819
820 [BZ #13576]
821 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
822 multiple of MALLOC_ALIGNMENT in size.
823 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
824
825 2012-05-24 Joseph Myers <joseph@codesourcery.com>
826
827 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
828 Require >= 256.
829 (FILENAME_MAX): Use macro-int-constant.
830 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
831 (_IOFBF): Use macro-int-constant.
832 (_IOLBF): Likewise.
833 (_IONBF): Likewise.
834 (SEEK_CUR): Likewise.
835 (SEEK_END): Likewise.
836 (SEEK_SET): Likewise.
837 (TMP_MAX): Likewise.
838 (EOF): Use macro-int-constant. Require < 0.
839 (NULL): Use macro-constant. Require == 0.
840 (stdin): Require type to be FILE *.
841 (stdout): Likewise.
842 (stderr): Likewise.
843 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
844 macro-int-constant.
845 (EXIT_SUCCESS): Likewise.
846 (NULL): Use macro-constant. Require == 0.
847 (RAND_MAX): Use macro-int-constant.
848 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
849 [C99-based standards] (strtof): Require function.
850 [C99-based standards] (strtold): Likewise.
851 [C99-based standards] (strtoll): Likewise.
852 [C99-based standards] (strtoull): Likewise.
853 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
854 [ISO || ISO99 || ISO11] (limits.h): Likewise.
855 [ISO || ISO99 || ISO11] (math.h): Likewise.
856 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
857 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
859
860 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
861
862 [BZ #14132]
863 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
864 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
865 * intl/dgettext.c (DCGETTEXT): Likewise.
866 * intl/gettext.c (DCGETTEXT): Likewise.
867 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
868 * posix/regex_internal.h (gettext): Likewise.
869 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
870 Remove declaration.
871 * include/argz.h (__argz_count_internal)
872 (__argz_stringify_internal): Remove declaration.
873 (__argz_count, __argz_stringify): Declare hidden proto.
874 * intl/dcgettext.c: Remove use of INTDEF.
875 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
876 * string/argz-stringify.c: Likewise.
877 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
878 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
879 Declare hidden proto.
880 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
881 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
882 Declare hidden proto.
883 * include/stdio.h (__asprintf_internal): Don't declare.
884 (__asprintf): Don't define as macro. Declare hidden proto.
885 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
886 (__fsetlocking): Declare hidden proto.
887 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
888 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
889 hidden proto.
890 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
891 (_IO_setlinebuf): Remove use of INTUSE.
892 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
893 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
894 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
895 Remove declaration.
896 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
897 (_IO_do_flush): Remove use of INTUSE.
898 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
899 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
900 (_IO_adjust_column, _IO_least_wmarker)
901 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
902 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
903 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
904 (_IO_default_doallocate, _IO_wdefault_doallocate)
905 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
906 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
907 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
908 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
909 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
910 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
911 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
912 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
913 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
914 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
915 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
916 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
917 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
918 proto.
919 (_IO_flush_all_internal, _IO_adjust_column_internal)
920 (_IO_default_uflow_internal, _IO_default_finish_internal)
921 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
922 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
923 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
924 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
925 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
926 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
927 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
928 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
929 (_IO_file_close_internal, _IO_file_close_it_internal)
930 (_IO_file_underflow_internal, _IO_file_overflow_internal)
931 (_IO_file_init_internal, _IO_file_attach_internal)
932 (_IO_file_fopen_internal, _IO_file_read_internal)
933 (_IO_file_sync_internal, _IO_file_seek_internal)
934 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
935 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
936 (_IO_str_underflow_internal, _IO_str_overflow_internal)
937 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
938 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
939 (_IO_list_all_internal, _IO_link_in_internal)
940 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
941 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
942 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
943 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
944 (_IO_do_write_internal, _IO_padn_internal)
945 (_IO_getline_info_internal, _IO_getline_internal)
946 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
947 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
948 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
949 (_IO_vfscanf_internal, _IO_vfprintf_internal)
950 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
951 (_IO_init_internal, _IO_un_link_internal): Don't declare.
952 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
953 with libc_hidden_ver, remove use of INTUSE.
954 * libio/genops.c: Likewise.
955 * libio/freopen.c: Likewise.
956 * libio/freopen64.c: Likewise.
957 * libio/iofclose.c: Likewise.
958 * libio/iofdopen.c: Likewise.
959 * libio/iofflush.c: Likewise.
960 * libio/iofflush_u.c: Likewise.
961 * libio/iofgets.c: Likewise.
962 * libio/iofgets_u.c: Likewise.
963 * libio/iofopen.c: Likewise.
964 * libio/iofopncook.c: Likewise.
965 * libio/iofread.c: Likewise.
966 * libio/iofread_u.c: Likewise.
967 * libio/ioftell.c: Likewise.
968 * libio/iofwrite.c: Likewise.
969 * libio/iogetline.c: Likewise.
970 * libio/iogets.c: Likewise.
971 * libio/iogetwline.c: Likewise.
972 * libio/iopadn.c: Likewise.
973 * libio/iopopen.c: Likewise.
974 * libio/ioseekoff.c: Likewise.
975 * libio/ioseekpos.c: Likewise.
976 * libio/iosetbuffer.c: Likewise.
977 * libio/iosetvbuf.c: Likewise.
978 * libio/ioungetc.c: Likewise.
979 * libio/ioungetwc.c: Likewise.
980 * libio/iovdprintf.c: Likewise.
981 * libio/iovsprintf.c: Likewise.
982 * libio/iovsscanf.c: Likewise.
983 * libio/memstream.c: Likewise.
984 * libio/obprintf.c: Likewise.
985 * libio/oldfileops.c: Likewise.
986 * libio/oldiofclose.c: Likewise.
987 * libio/oldiofdopen.c: Likewise.
988 * libio/oldiofopen.c: Likewise.
989 * libio/oldiopopen.c: Likewise.
990 * libio/oldstdfiles.c: Likewise.
991 * libio/putc.c: Likewise.
992 * libio/setbuf.c: Likewise.
993 * libio/setlinebuf.c: Likewise.
994 * libio/stdfiles.c: Likewise.
995 * libio/strops.c: Likewise.
996 * libio/vasprintf.c: Likewise.
997 * libio/vscanf.c: Likewise.
998 * libio/vsnprintf.c: Likewise.
999 * libio/vswprintf.c: Likewise.
1000 * libio/wfiledoalloc.c: Likewise.
1001 * libio/wfileops.c: Likewise.
1002 * libio/wgenops.c: Likewise.
1003 * libio/wmemstream.c: Likewise.
1004 * libio/wstrops.c: Likewise.
1005 * libio/__fpurge.c: Likewise.
1006 * libio/__fsetlocking.c: Likewise.
1007 * assert/assert.c: Likewise.
1008 * debug/fgets_chk.c: Likewise.
1009 * debug/fgets_u_chk.c: Likewise.
1010 * debug/fread_chk.c: Likewise.
1011 * debug/fread_u_chk.c: Likewise.
1012 * debug/gets_chk.c: Likewise.
1013 * debug/obprintf_chk.c: Likewise.
1014 * debug/vasprintf_chk.c: Likewise.
1015 * debug/vdprintf_chk.c: Likewise.
1016 * debug/vsnprintf_chk.c: Likewise.
1017 * debug/vsprintf_chk.c: Likewise.
1018 * malloc/mtrace.c: Likewise.
1019 * misc/error.c: Likewise.
1020 * misc/syslog.c: Likewise.
1021 * stdio-common/asprintf.c: Likewise.
1022 * stdio-common/fxprintf.c: Likewise.
1023 * stdio-common/getw.c: Likewise.
1024 * stdio-common/isoc99_fscanf.c: Likewise.
1025 * stdio-common/isoc99_scanf.c: Likewise.
1026 * stdio-common/isoc99_vfscanf.c: Likewise.
1027 * stdio-common/isoc99_vscanf.c: Likewise.
1028 * stdio-common/isoc99_vsscanf.c: Likewise.
1029 * stdio-common/printf-prs.c: Likewise.
1030 * stdio-common/printf_fp.c: Likewise.
1031 * stdio-common/printf_fphex.c: Likewise.
1032 * stdio-common/printf_size.c: Likewise.
1033 * stdio-common/putw.c: Likewise.
1034 * stdio-common/scanf.c: Likewise.
1035 * stdio-common/sprintf.c: Likewise.
1036 * stdio-common/tmpfile.c: Likewise.
1037 * stdio-common/vfprintf.c: Likewise.
1038 * stdio-common/vfscanf.c: Likewise.
1039 * stdlib/strfmon_l.c: Likewise.
1040 * sunrpc/openchild.c: Likewise.
1041 * sunrpc/xdr_stdio.c: Likewise.
1042 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1043 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1044
1045 2012-05-24 Roland McGrath <roland@hack.frob.com>
1046
1047 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1048
1049 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1050 in the third column, to generate for the shared library an IFUNC
1051 that uses _dl_vdso_vsym.
1052 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1053 * Makeconfig (object-suffixes-noshared): New variable.
1054
1055 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1056 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1057 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1058 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1059
1060 [BZ #14132]
1061 * include/sys/time.h (__gettimeofday): Remove macro.
1062 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1063 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1064 Remove INTDEF.
1065 (__gettimeofday): Add libc_hidden_def.
1066 (gettimeofday): Add libc_hidden_weak.
1067 * sysdeps/mach/gettimeofday.c: Likewise.
1068 * sysdeps/posix/gettimeofday.c: Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1070 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1071 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1072 (__gettimeofday_internal): Remove strong_alias.
1073 (__gettimeofday): Add libc_hidden_def.
1074 (gettimeofday): Add libc_hidden_weak.
1075 * sysdeps/unix/syscalls.list (gettimeofday):
1076 Remove __gettimeofday_internal alias.
1077
1078 2012-05-24 Daniel Jacobowitz <drow@false.org>
1079 H.J. Lu <hongjiu.lu@intel.com>
1080
1081 [BZ #12495]
1082 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1083 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1084 (largebin_index_32_big): New.
1085 (largebin_index): Use it for 16-byte alignment.
1086 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1087 correction with front_misalign.
1088
1089 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1090
1091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1093 Likewise.
1094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1095 Likewise.
1096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1097 Likewise.
1098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1099 Likewise.
1100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1101 Likewise.
1102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1103 Likewise.
1104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1105 Likewise.
1106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1107 Likewise.
1108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1109 Likewise.
1110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1111 Likewise.
1112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1113 Likewise.
1114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1115 Likewise.
1116
1117 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1118 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1119
1120 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1121
1122 [BZ #10846]
1123 [BZ #14036]
1124 * math/libm-test.inc (exp_test): Add test from bug 14036.
1125 (pow_test): Add test from bug 10846.
1126
1127 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1128 and other flags.
1129 (special_function): Do not include flags in test name.
1130 (parse_args): Likewise.
1131 * sysdeps/i386/fpu/libm-test-ulps: Update.
1132 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1133 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1134 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1136
1137 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1138 exceptions.
1139 * math/libm-test.inc ("Philosophy"): Update comment about
1140 exception testing.
1141 (UNDERFLOW_EXCEPTION): New macro.
1142 (UNDERFLOW_EXCEPTION_OK): Likewise.
1143 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1144 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1145 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1146 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1147 (INVALID_EXCEPTION_OK): Update value.
1148 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1149 (OVERFLOW_EXCEPTION_OK): Likewise.
1150 (IGNORE_ZERO_INF_SIGN): Likewise.
1151 (test_exceptions): Handle underflow exceptions.
1152 (acos_test): Update for underflow exception expectations.
1153 (cexp_test): Likewise.
1154 (clog_test): Likewise.
1155 (clog10_test): Likewise.
1156 (csqrt_test): Likewise.
1157 (ctan_test): Likewise.
1158 (ctanh_test): Likewise.
1159 (exp_test): Likewise.
1160 (exp10_test): Likewise.
1161 (exp2_test): Likewise.
1162 (expm1_test): Likewise.
1163 (fma_test): Likewise.
1164 (j0_test): Likewise.
1165 (jn_test): Likewise.
1166 (nexttoward_test): Likewise.
1167 (pow_test): Likewise.
1168 (scalbn_test): Likewise.
1169 (scalbln_test): Likewise.
1170 (tan_test): Likewise.
1171 (y1_test): Likewise.
1172 * sysdeps/i386/fpu/libm-test-ulps: Update.
1173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1174
1175 2012-05-23 David S. Miller <davem@davemloft.net>
1176
1177 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1178 (__libc_sigaction): Remove unused local variables.
1179
1180 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1181
1182 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1183
1184 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1185
1186 mktime: avoid signed integer overflow
1187 * time/mktime.c (__mktime_internal): Do not mishandle the case
1188 where diff == INT_MIN.
1189
1190 mktime: simplify computation of average
1191 * time/mktime.c (ranged_convert): Use new time_t_avg function
1192 instead of rolling our own (probably-slower) code.
1193
1194 mktime: do not assume signed right shift propagates sign bit
1195 * time/mktime.c (isdst_differ): New static function.
1196 (__mktime_internal): No need to normalize tm_isdst now.
1197 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1198 tm_isdst values.
1199
1200 mktime: merge another wrapv change from gnulib
1201 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1202 from some compilers.
1203
1204 mktime: remove incorrect attempt at unusual arithmetics
1205 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1206 The code didn't really work on such machines anyway.
1207 (TYPE_MINIMUM): Assume two's complement.
1208 (twos_complement_arithmetic): Verify that long_int and time_t
1209 are two's complement (or unsigned, in the latter case).
1210
1211 mktime: check signed shifts on long_int and time_t, too
1212 * time/mktime.c (SHR): Check that shifts work as desired
1213 on the types long_int and time_t too, as SHR is used on
1214 such types.
1215
1216 mktime: do not assume 'long' is wide enough
1217 * time/mktime.c (verify): Move decl up.
1218 (long_int): New type.
1219 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1220 to remove assumption in the code that 'long' is wide enough to
1221 store year values. This assumption is not true on x32 and on
1222 some non-glibc platforms.
1223
1224 mktime: merge wrapv change from gnulib
1225 * time/mktime.c (WRAPV): New macro.
1226 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1227 (guess_time_tm, __mktime_internal): Do not assume that signed
1228 integer overflow wraps around; modern compilers generate code
1229 where this assumption is no longer valid.
1230
1231 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1232
1233 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1234 Replace "jmp L(pseudo_end)" with "ret".
1235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1236 Likewise.
1237
1238 2012-05-23 Andreas Jaeger <aj@suse.de>
1239
1240 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1241 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1242
1243 2012-05-23 Andreas Jaeger <aj@suse.de>
1244 Maximilian Attems <max@stro.at>
1245
1246 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1247 New macros.
1248
1249 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1250
1251 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1252 code so that pseudo_end is just ret and the stack pointer is
1253 correct also for static library in error case.
1254
1255 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1256
1257 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1258 move to syscalls.list.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1263
1264 * manual/install.texi (Running make install): Do not mention Linux
1265 kernel version for which pt_chown is not needed.
1266 (Linux): Do not mention problems with nscd with 2.0 kernels.
1267 * INSTALL: Regenerated.
1268
1269 2012-05-23 Andreas Jaeger <aj@suse.de>
1270
1271 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1272 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1273 macro.
1274 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1275 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1276 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1277 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1278 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1279 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1280 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1281 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1282 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1283 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1284 * sysdeps/unix/sysv/linux/bits/in.h
1285 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1286
1287 2012-05-22 Roland McGrath <roland@hack.frob.com>
1288
1289 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1290 (PREPARE_VERSION): Just use assert instead, it will be elided
1291 under [NDEBUG] anyway.
1292
1293 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 * sysdeps/unix/sysv/linux/Makefile: Include
1296 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1297 (sysdep_routines): Remove sysctl.
1298 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1299 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1300 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1301 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1302 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1303
1304 2012-05-22 Andreas Jaeger <aj@suse.de>
1305
1306 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1307 that pseudo_end is just ret and the stack pointer is correct also
1308 for static library in error case.
1309
1310 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1311
1312 [BZ #14122]
1313 * nss/nsswitch.c (defconfig_entries): New variable.
1314 (__nss_database_lookup): Don't leak defconfig entries.
1315 (nss_parse_service_list): Don't leak on error paths.
1316 (free_database_entries): New function.
1317 (free_defconfig): New function.
1318 (free_mem): Move common code to free_database_entries.
1319
1320 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1321
1322 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1323 Add arch_prctl.
1324 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1325
1326 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1327 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1329 New macro.
1330 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1331 (INTERNAL_SYSCALL_TYPES): Likewise.
1332 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1333 (LOAD_REGS_TYPES_[1-6]): Likewise.
1334 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1335 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1336
1337 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1338
1339 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1340 copysignl for GLIBC_2_0.
1341 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1342 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1344 logbl for GLIBC_2_0.
1345 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1346 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1347
1348 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1349
1350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1351 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1352
1353 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1354 Use "neg %eax".
1355
1356 * time/mktime.c: Update copyright years.
1357
1358 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1359
1360 mktime: merge comment-quoting-style change from gnulib
1361 * time/mktime.c: Quote 'like this' in comments.
1362 The GNU coding standards suggest that we no longer quote `like this',
1363 as "`" and "'" are typically rendered asymmetrically nowadays.
1364 The typical gnulib style is to quote 'like this' when quoting
1365 code, and "like this" when quoting English.
1366
1367 * time/mktime.c (compile-command): Add "-I.".
1368
1369 mktime: merge mktime-internal.h change from gnulib
1370 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1371
1372 mktime: merge time_r change from gnulib
1373 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1374
1375 mktime: merge DEBUG change from gnulib
1376 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1377 case system <time.h> has a #define.
1378
1379 mktime: merge <sys/types.h> change from gnulib
1380 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1381 since <time.t> is now guaranteed to define time_t.
1382
1383 mktime: merge HAVE_CONFIG_H change from gnulib
1384 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1385
1386 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1387
1388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1389 Use "neg %eax".
1390
1391 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1392 __rlim_t cast.
1393 (struct rusage): Use anonymous union to pad each field to
1394 __syscall_slong_t.
1395
1396 2012-05-21 David S. Miller <davem@davemloft.net>
1397
1398 * Makefules (o-iterator): Remove .s cases.
1399 (compile-command.s): Delete.
1400 (COMPILE.s): Delete.
1401 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1402
1403 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1404
1405 * configure.in (libc_cv_predef_stack_protector): Only consider
1406 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1407 * configure: Regenerated.
1408
1409 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1410
1411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1412 New macro. Use R*LP on int and pointer.
1413 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1414 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1415 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1417
1418 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1419 [__WORDSIZE_TIME64_COMPAT32] instead of
1420 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1421 (struct utmp): Likewise.
1422 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1423 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1424 Renamed to ...
1425 (__WORDSIZE_TIME64_COMPAT32): This.
1426 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1427 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1428 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1429 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1430 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1431 (__WORDSIZE_TIME64_COMPAT32): New macro.
1432
1433 2012-05-21 Andreas Jaeger <aj@suse.de>
1434
1435 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1436 only if [SHARED]. Add prototype for __wcschr_ia32.
1437
1438 2012-05-21 Roland McGrath <roland@hack.frob.com>
1439
1440 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1441 of %rbp unmolested in the jmp_buf while mangling the low bits.
1442 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1443 unmolested high bits of %rbp while demangling the low bits.
1444 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1445
1446 2012-05-21 Andreas Jaeger <aj@suse.de>
1447
1448 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1449 * sunrpc/svc_simple.c: Use it for registerrpc.
1450 * sunrpc/xcrypt.c: Use it for passwd2des.
1451
1452 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1453
1454 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1457 Don't define if [__SYSCALL_WORDSIZE != 32].
1458 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1459 New macro.
1460
1461 2012-05-21 Bruno Haible <bruno@clisp.org>
1462 Andreas Jaeger <aj@suse.de>
1463
1464 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1465 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1466 inptr and inend for must_buffer_ch.
1467 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1468 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1469 * stdio-common/Makefile (tests): Remove bug15.
1470 (bug15-ENV): Remove macro.
1471 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1472 anymore.
1473
1474 2012-05-19 Andreas Jaeger <aj@suse.de>
1475 Roland McGrath <roland@hack.frob.com>
1476
1477 * manual/contrib.texi: Completely rewritten. It contains now an
1478 alphabetical list of contributors and their contributions.
1479
1480 2012-05-21 Richard Henderson <rth@twiddle.net>
1481
1482 * misc/getauxval.c (__getauxval): Use unsigned long int.
1483 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1484 (getauxval): Use unsigned long int.
1485
1486 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1487
1488 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1489
1490 2012-05-21 Roland McGrath <roland@hack.frob.com>
1491
1492 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1493 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1494 __alignof__ (long double).
1495
1496 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1497
1498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1499
1500 2012-05-20 Richard Henderson <rth@twiddle.net>
1501
1502 * misc/getauxval.c: New file.
1503 * misc/sys/auxv.h: New file.
1504 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1505 (routines): Add getauxval.
1506 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1507 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1508 * elf/dl-sysdep.c (_dl_auxv): Remove.
1509 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1510 * elf/dl-support.c (_dl_auxv): New variable.
1511 (_dl_aux_init): Initialize it.
1512 * manual/startup.texi (Auxiliary Vector): New node.
1513 * sysdeps/generic/bits/hwcap.h: New file.
1514 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1515 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1516 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1517 * sysdeps/sparc/sysdep.h: ... here. Include it.
1518 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1519 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1521 Update.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1525 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1530
1531 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1532
1533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1534
1535 2012-05-19 David S. Miller <davem@davemloft.net>
1536
1537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1538
1539 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1540
1541 [BZ #14123]
1542 * math/s_ccosh.c: Include <float.h>
1543 (__ccosh): Avoid internal overflow calculating sinh and cosh
1544 values before multiplying by sin and cos values.
1545 * math/s_ccoshf.c: Likewise.
1546 * math/s_ccoshl.c: Likewise.
1547 * math/s_csin.c: Likewise.
1548 * math/s_csinf.c: Likewise.
1549 * math/s_csinl.c: Likewise.
1550 * math/s_csinh.c: Likewise.
1551 * math/s_csinhf.c: Likewise.
1552 * math/s_csinhl.c: Likewise.
1553 * math/libm-test.inc (ccos_test): Add more tests.
1554 (ccosh_test): Likewise.
1555 (csin_test): Likewise.
1556 (csinh_test): Likewise.
1557 * sysdeps/i386/fpu/libm-test-ulps: Update.
1558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1559
1560 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1561
1562 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1563 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1564
1565 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1566
1567 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1568
1569 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1570 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1571 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1572 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1573 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1574 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1575 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1576 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1577 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1578 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1579 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1580 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1581 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1582 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1583 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1584 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1585 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1586 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1587 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1588 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1589 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1590 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1591 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1592 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1593 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1594 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1595 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1596 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1597 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1598 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1599 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1600
1601 2012-05-18 Andreas Jaeger <aj@suse.de>
1602
1603 * csu/.gitignore: Delete.
1604
1605 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1606
1607 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1608 (timex): Use __syscall_slong_t.
1609
1610 2012-05-18 Andreas Jaeger <aj@suse.de>
1611 Carlos O'Donell <carlos_odonell@mentor.com>
1612
1613 * manual/install.texi (Configuring and compiling): Update
1614 description about files modified in the source directory.
1615 * INSTALL: Regenerated.
1616
1617 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1618
1619 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1620 value. Use "or" to set return value to -1.
1621 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1622 negate return value.
1623
1624 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1625
1626 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1627 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1628 failure if the compiler has Graphite support disabled.
1629 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1630 Likewise.
1631 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1632 CFLAGS-memmove.c): Likewise.
1633 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1634 Likewise.
1635
1636 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1637
1638 * sysdeps/x86_64/x32/_itoa.h: New file.
1639
1640 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1641 getdents system call only if kernel and user dirents have the
1642 same d_ino and d_off.
1643
1644 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1645 LLONG_MAX != LONG_MAX.
1646 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1647 (_fitoa_word): Likewise.
1648
1649 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1650 years.
1651 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1652 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1653 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1654
1655 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1656 include <bits/wordsize.h>. Check __x86_64__ instead of
1657 __WORDSIZE.
1658 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1659 if __x86_64__ is defined. Use anonymous union on fpstate.
1660
1661 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1662 anonymous union.
1663
1664 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1665
1666 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1667 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1668 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1669 Refer to _rtld_local_ro instead of _rtld_global_ro.
1670 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1671 Likewise.
1672 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1673 Likewise.
1674 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1675 Likewise.
1676 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1677 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1678 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1679
1680 * sysdeps/powerpc/powerpc32/dl-machine.c
1681 (__elf_machine_runtime_setup) [PROF]: Don't reference
1682 _dl_prof_resolve.
1683
1684 2012-05-18 Andreas Jaeger <aj@suse.de>
1685
1686 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1687 function only available for GCCs before 3.4 since GCC 3.4
1688 introduced a builtin.
1689 (lrint): Likewise.
1690 (llrintf): Likewise.
1691 (llrint): Likewise.
1692 (fmaxf): Likewise.
1693 (fmax): Likewise.
1694 (fminf): Likewise.
1695 (fmin): Likewise.
1696 (rint): Likewise.
1697 (rintf): Likewise.
1698 (nearbyint): Likewise.
1699 (nearbyintf): Likewise.
1700 (ceil): Likewise.
1701 (ceilf): Likewise.
1702 (floor): Likewise.
1703 (floorf): Likewise.
1704
1705 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1706
1707 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1708 on both fields and cast pointer to __syscall_ulong_t.
1709
1710 * bits/types.h (__fsword_t): New type.
1711 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1712 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1713 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1714 (__FSWORD_T_TYPE): Likewise.
1715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1716 (__FSWORD_T_TYPE): Likewise.
1717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1718 (__FSWORD_T_TYPE): Likewise.
1719 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1720 (__FSWORD_T_TYPE): Likewise.
1721 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1722 __SWORD_TYPE with __fsword_t.
1723 (statfs64): Likewise.
1724
1725 2012-05-17 David S. Miller <davem@davemloft.net>
1726
1727 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1728
1729 2012-05-17 Andreas Jaeger <aj@suse.de>
1730
1731 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1732 warning.
1733
1734 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1737
1738 2012-05-17 Andreas Jaeger <aj@suse.de>
1739
1740 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1741 when it is used.
1742
1743 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1744
1745 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1746
1747 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1748
1749 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1750 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1751
1752 2012-05-17 Andreas Jaeger <aj@suse.de>
1753 Carlos O'Donell <carlos_odonell@mentor.com>
1754
1755 [BZ #14059]
1756 * sysdeps/x86_64/multiarch/init-arch.h
1757 (bit_YMM_Usable): Rename to...
1758 (bit_AVX_Usable): ... this.
1759 (bit_FMA4_Usable): New macro.
1760 (bit_XMM_state): New macro.
1761 (bit_YMM_state): New macro.
1762 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1763 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1764 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1765 (CPUID_OSXSAVE): New macro.
1766 (CPUID_AVX): New macro.
1767 (CPUID_FMA4): New macro.
1768 (index_YMM_Usable): Rename to...
1769 (index_AVX_Usable): ... this.
1770 (HAS_AVX): Use HAS_ARCH_FEATURE.
1771 (HAS_FMA4): Likewise.
1772 (HAS_YMM_USABLE): Remove.
1773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1774 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1775 are present.
1776 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1777 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1778 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1779 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1780 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1781
1782 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1783
1784 * math/libm-test.c: Support platforms without multiple rounding modes.
1785 * math/bug-nextafter.c: Support platforms without FP exceptions.
1786 * math/bug-nexttoward.c: Likewise.
1787 * math/test-fenv.c: Likewise.
1788 * math/test-misc.c: Likewise.
1789 * stdlib/bug-getcontext.c: Likewise.
1790
1791 2012-05-17 Andreas Jaeger <aj@suse.de>
1792
1793 * manual/examples/search.c (critter_cmp): Change signature to
1794 avoid warnings.
1795 * manual/string.texi (Collation Functions): Likewise.
1796
1797 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 * bits/types.h: Fold copyright years.
1800 * bits/typesizes.h: Likewise.
1801 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1803 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1805 * time/time.h: Likewise.
1806
1807 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1808
1809 [BZ #208]
1810 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1811 in instead of returning them. Return void.
1812 (__libc_mallinfo): Accumulate over all arenas.
1813 (__malloc_stats): Adjust for change in int_mallinfo interface.
1814
1815 2012-05-16 Roland McGrath <roland@hack.frob.com>
1816
1817 [BZ #10375]
1818 * configure.in (NM): Add AC_CHECK_TOOL for it.
1819 (libc_extra_cflags): New substituted variable.
1820 Check for -fstack-protector being used implicitly.
1821 * configure: Regenerated.
1822 * config.make.in (config-extra-cflags): New variable,
1823 gets @libc_extra_cflags@.
1824 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1825
1826 [BZ #10375]
1827 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1828 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1829 * configure: Regenerated.
1830 * config.make.in (CPPUNDEFS): New substituted variable.
1831 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1832 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1833 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1834
1835 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1838 (mq_attr): Use __syscall_slong_t.
1839
1840 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1843 Check __x86_64__ instead of __WORDSIZE.
1844 (_STAT_VER_LINUX): Likewise.
1845 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1846 __syscall_ulong_t and __syscall_slong_t.
1847 (stat64): Likewise.
1848
1849 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1850
1851 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1852
1853 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1854
1855 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1856
1857 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1858
1859 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1860 __syscall_ulong_t.
1861
1862 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1863 include <bits/wordsize.h>. Check __x86_64__ instead of
1864 __WORDSIZE.
1865 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1866 defined.
1867 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1868
1869 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1870 include <bits/wordsize.h>. Check __x86_64__ instead of
1871 __WORDSIZE.
1872 (user_regs_struct): Use "__extension__ unsigned long long"
1873 instead of "unsigned long" if __x86_64__ is defined.
1874 (user): Likewise. Pad after pointer field if __ILP32__ is
1875 defined.
1876
1877 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1878
1879 * configure.in (makeinfo): Require version 4.5 or later. Allow
1880 versions 5 to 9.
1881 * configure: Regenerated.
1882 * manual/install.texi (texinfo): Increase version requirement to
1883 4.5 or later.
1884 * INSTALL: Regenerated.
1885
1886 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1887
1888 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1889
1890 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1891
1892 * sysdeps/x86_64/x32/ffs.c: New file.
1893
1894 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1895 __syscall_ulong_t.
1896 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1897 defined. Use __syscall_ulong_t.
1898 (shminfo): Use __syscall_ulong_t.
1899 (shm_info): Likewise.
1900
1901 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1902 __syscall_ulong_t.
1903
1904 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1905 <bits/wordsize.h>.
1906 (msgqnum_t): Use __syscall_ulong_t.
1907 (msglen_t): Likewise.
1908 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1909 __syscall_ulong_t.
1910
1911 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1912 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1913
1914 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1915
1916 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1917 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1918
1919 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1920 __syscall_slong_t.
1921
1922 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1923 include <bits/wordsize.h>. Check __x86_64__ instead of
1924 __WORDSIZE.
1925
1926 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1927 "unsigned long long int" if __x86_64__ is defined.
1928 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1929
1930 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1931 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1932 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1933
1934 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1935 <stdint.h>.
1936 (GET_PC): Cast to uintptr_t first.
1937 (GET_FRAME): Likewise.
1938 (GET_STACK): Likewise.
1939
1940 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1941 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1942 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1943 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1944 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1945 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1946 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1947 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1948 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1949 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1950 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1951 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1952 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1953 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1954 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1955 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1956 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1958 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1959 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1960 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1961 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1962 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1963 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1964 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1965 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1966 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1967 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1968 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1969
1970 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1971
1972 * Makerules (+depfiles): Also collect depfiles from .oS in
1973 $(extra-objs).
1974 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1975 .oS, $(libnldbl-routines)).
1976
1977 * Makerules (native-compile-mkdep-flags): Define.
1978 * sunrpc/Makefile (extra-objs): Add $(addprefix
1979 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1980 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1981 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1982 calling $(make-target-directory).
1983
1984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1985
1986 * bits/types.h (__snseconds_t): Removed.
1987 * time/time.h (struct timespec): Replace __snseconds_t with
1988 __syscall_slong_t.
1989 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1990 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1991 Likewise.
1992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1993 (__SNSECONDS_T_TYPE): Likewise.
1994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1995 (__SNSECONDS_T_TYPE): Likewise.
1996 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1997 (__SNSECONDS_T_TYPE): Likewise.
1998
1999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2000
2001 * sysdeps/mach/hurd/bits/typesizes.h
2002 (__SYSCALL_SLONG_TYPE): New macro.
2003 (__SYSCALL_ULONG_TYPE): Likewise.
2004
2005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2006
2007 * bits/types.h (__syscall_slong_t): New type.
2008 (__syscall_ulong_t): Likewise.
2009
2010 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2011 (__SYSCALL_ULONG_TYPE): Likewise.
2012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2013 (__SYSCALL_SLONG_TYPE): Likewise.
2014 (__SYSCALL_ULONG_TYPE): Likewise.
2015 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2016 (__SYSCALL_SLONG_TYPE): Likewise.
2017 (__SYSCALL_ULONG_TYPE): Likewise.
2018 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2019 (__SYSCALL_SLONG_TYPE): Likewise.
2020 (__SYSCALL_ULONG_TYPE): Likewise.
2021
2022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2023
2024 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2025 Add sigaltstack-offsets.sym.
2026 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2027 <sigaltstack-offsets.h>.
2028 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2029 longjmp_msg pointer.
2030 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2031 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2032 signal stack.
2033 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2034
2035 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2036
2037 * elf/stackguard-macros.h: Remove file.
2038 * sysdeps/generic/stackguard-macros.h: New file.
2039 * sysdeps/i386/stackguard-macros.h: Likewise.
2040 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2041 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2042 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2043 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2044 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2045 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2046 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2047 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2048 <elf/stackguard-macros.h>.
2049
2050 [BZ #14109]
2051 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2052 __aligned__ in attribute.
2053 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2054 (gregset_t): Likewise.
2055
2056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2057
2058 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2059 * sysdeps/x86_64/64/Implies-after: Here. New file.
2060 * sysdeps/x86_64/x32/Implies-after: New file.
2061
2062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2063
2064 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2065 and access return value for _dl_profile_fixup. Use R10_LP to
2066 load frame size.
2067
2068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2069
2070 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2071
2072 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2073
2074 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2075 * sysdeps/x86_64/x32/sysdep.h: New file.
2076
2077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2078
2079 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2080 * sysdeps/x86_64/setjmp.S: Likewise.
2081
2082 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2083
2084 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2085 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2086 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2087 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2088 remove unused global constant.
2089
2090 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2091
2092 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2093 include of <not-cancel.h>.
2094
2095 2012-05-15 Roland McGrath <roland@hack.frob.com>
2096
2097 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2098
2099 2012-05-15 Jeff Law <law@redhat.com>
2100 Andreas Jaeger <aj@suse.de>
2101
2102 [BZ #13594]
2103 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2104 out from...
2105 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2106 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2107 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2108 code changing __hst_map_handle.map.
2109
2110 2012-05-15 Roland McGrath <roland@hack.frob.com>
2111
2112 * configure.in (sysnames): Look for Implies-before and Implies-after
2113 files.
2114 * configure: Regenerated.
2115
2116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2117
2118 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2119 8-byte data alignment with LP_SIZE alignment.
2120
2121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2122
2123 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2124 into R10_LP.
2125
2126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2127
2128 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2129
2130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2131
2132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2133 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2134 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2135 Likewise.
2136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2137
2138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2141 (stackinfo_sub_sp): Likewise.
2142
2143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2146 RAX_LP.
2147
2148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2149
2150 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2151 into R*_LP.
2152
2153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2154
2155 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2156 sizes into R*_LP.
2157
2158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2159
2160 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2161
2162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2163
2164 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2165 into R11_LP and load __x86_64_shared_cache_size_half into
2166 R8_LP.
2167
2168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2169
2170 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2171 R8_LP.
2172
2173 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2174
2175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2176 logb for POWER7.
2177 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2178 logbf for POWER7.
2179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2180 logbl for POWER7.
2181 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2182 powerpc32/power7/fpu/s_logb.c via #include.
2183 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2184 powerpc32/power7/fpu/s_logbf.c via #include.
2185 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2186 powerpc32/power7/fpu/s_logbl.c via #include.
2187
2188 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2189
2190 * README.libm: Remove file.
2191
2192 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2193
2194 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2195 count for x32. Use R*_LP and omit operand-size suffix.
2196
2197 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2198
2199 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2200 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2201 * sysdeps/x86_64/x32/shlib-versions: New file.
2202
2203 2012-05-14 Roland McGrath <roland@hack.frob.com>
2204
2205 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2206 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2207 Use _dl_fatal_printf instead.
2208
2209 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2210
2211 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2212 set if not set by the user. Do not allow for being unset.
2213 * sysdeps/unix/sysv/linux/configure: Regenerated.
2214
2215 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2216
2217 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2218 the `q' suffix from lea and replace .quad with ASM_ADDR.
2219
2220 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2221
2222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2223 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2224 instead of $17.
2225 (PTR_DEMANGLE): Likewise.
2226
2227 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2228
2229 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2230 (LP_OP): Likewise.
2231 (ASM_ADDR): Likewise.
2232 (RAX_LP): Likewise.
2233 (RBP_LP): Likewise.
2234 (RBX_LP): Likewise.
2235 (RCX_LP): Likewise.
2236 (RDI_LP): Likewise.
2237 (RSI_LP): Likewise.
2238 (RSP_LP): Likewise.
2239 (R8_LP): Likewise.
2240 (R9_LP): Likewise.
2241 (R10_LP): Likewise.
2242 (R10_LP): Likewise.
2243 (R11_LP): Likewise.
2244 (R12_LP): Likewise.
2245 (R13_LP): Likewise.
2246 (R14_LP): Likewise.
2247 (R15_LP): Likewise.
2248
2249 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2250
2251 * sysdeps/x86_64/x32/dl-machine.h: New file.
2252
2253 2012-05-14 Andreas Jaeger <aj@suse.de>
2254
2255 * manual/Makefile (subdir): Remove export of subdir.
2256 (all): Remove target.
2257 (.PHONY): Remove all from list.
2258 (mkinstalldirs): Remove.
2259 (.PHONY): Remove installdirs from list.
2260 ($(inst_infodir)/libc.info): Use make-target-directory.
2261 (installdirs): Remove.
2262 (subdir_%): Remove.
2263 (glibc-targets): Remove.
2264 (lib): Remove.
2265 (stubs): Remove.
2266 ($(objpfx)stubs ../po/manual.pot): Remove.
2267 ($(objpfx)stamp%): Remove.
2268 (make-target-directory): Remove.
2269 (subdir_install): Remove.
2270 (routines): Remove.
2271 (aux): Remove.
2272 (sources): Remove.
2273 (objects): Remove.
2274 (headers): Remove.
2275
2276 [BZ #13750]
2277 * manual/.gitignore: Remove, it's not needed anymore.
2278 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2279 all files in it.
2280 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2281 directory.
2282 (texis): Renamed to $(objpfx)texis.
2283 (texis-path): New, contains path to generated files.
2284 (chapters.%): Use texis-path for complete path, add extra argument
2285 libc-texinfo.sh.
2286 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2287 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2288 (summary,texi, stamp-summary): Use complete path of
2289 files. Generate files in build dir.
2290 (dir-add.texi): Build in build dir.
2291 (libm-err.texi,stamp-libm-err): Likewise.
2292 (version.texi, stamp-version): Likewise.
2293 (.%c.texi): Likewise.
2294 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2295 (mostlyclean): Remove target.
2296 (realclean): Remove target.
2297 (generated): Add new variable with contents from mostlyclean and
2298 realclean, remove entries duplicated in common-mostlyclean, add
2299 stamp-libm-err and stamp-version.
2300 (generated-dirs): Add libc directory.
2301 ($(inst_infodir)/libc.info): Install files from build dir.
2302
2303 * manual/install.texi (Configuring and compiling): Adjust since
2304 the info files are not part of the tar ball anymore.
2305
2306 2012-05-14 Andreas Jaeger <aj@suse.de>
2307
2308 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2309 variable.
2310
2311 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2312
2313 [BZ #13717]
2314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2315 to 2.2.0 where earlier.
2316 * sysdeps/unix/sysv/linux/configure: Regenerated.
2317 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2318 Remove conditional code.
2319 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2320 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2321 Remove conditional code.
2322 [!__NR_lchown]: Likewise.
2323 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2324 [__NR_lchown]: Likewise.
2325 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2326 comment referencing __ASSUME_LCHOWN_SYSCALL.
2327 * sysdeps/unix/sysv/linux/i386/sigaction.c
2328 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2329 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2330 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2331 Remove conditional code.
2332 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2333 (__protocol_available): Remove #if 0 code.
2334 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2335 conditional code.
2336 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2337 * sysdeps/unix/sysv/linux/kernel-features.h
2338 (__ASSUME_GETCWD_SYSCALL): Don't define.
2339 (__ASSUME_REALTIME_SIGNALS): Likewise.
2340 (__ASSUME_PREAD_SYSCALL): Likewise.
2341 (__ASSUME_PWRITE_SYSCALL): Likewise.
2342 (__ASSUME_POLL_SYSCALL): Likewise.
2343 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2344 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2345 non-SPARC.
2346 (__ASSUME_SIOCGIFNAME): Don't define.
2347 (__ASSUME_MSG_NOSIGNAL): Likewise.
2348 (__ASSUME_SENDFILE): Define unconditionally.
2349 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2350 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2351 conditional code.
2352 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2353 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2354 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2355 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2356 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2357 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2358 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2360 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2363 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2366 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2369 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2370 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2372 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2373 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2375 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2376 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2378 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2379 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2381 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2382 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2383 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2384 Remove conditional code.
2385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2386 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2387 Remove conditional code.
2388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2389 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2390 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2391 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2392 Remove conditional code.
2393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2394 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2395 Remove conditional code.
2396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2397 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2398 Remove conditional code.
2399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2400 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2401 Remove conditional code.
2402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2403 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2404 Remove conditional code.
2405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2406 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2407 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2409 * sysdeps/unix/sysv/linux/sigaction.c
2410 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2411 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2412 * sysdeps/unix/sysv/linux/sigpending.c
2413 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2414 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2415 * sysdeps/unix/sysv/linux/sigprocmask.c
2416 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2417 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2418 * sysdeps/unix/sysv/linux/sigsuspend.c
2419 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2420 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2421 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2422 (__libc_missing_rt_sigs): Remove.
2423 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2424 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2425 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2426 Remove conditional code.
2427 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2428 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2429 return 1.
2430 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2431 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2432 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2433 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2434
2435 2012-05-14 Andreas Jaeger <aj@suse.de>
2436
2437 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2438 it's not used in glibc.
2439 (__coshm1): Likewise.
2440 (__acosh1p): Likewise.
2441 (__sgn): Likewise.
2442
2443 * manual/string.texi (Copying and Concatenation): Add missing
2444 variable in concat example.
2445 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2446
2447 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2448
2449 [BZ #14103]
2450 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2451 __builtin_clzl with __builtin_clzll.
2452
2453 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2454
2455 [BZ #14104]
2456 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2457 libc_freeres_ptr.
2458
2459 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2460
2461 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2462 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2463 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2464 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2465
2466 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2467
2468 * NEWS: Update ia64 info.
2469
2470 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2471
2472 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2473 used as bcopy.
2474
2475 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2476
2477 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2478 * sysdeps/unix/syscalls.list (dup3): Likewise.
2479 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2480 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2481
2482 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2483
2484 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2485 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2486
2487 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2490 thread pointer.
2491 (TLS_IE): Use mov/add instead of movq/addq to load thread
2492 pointer.
2493 (TLS_GD_PREFIX): New.
2494 (TLS_GD): Use it.
2495
2496 2012-05-11 David S. Miller <davem@davemloft.net>
2497
2498 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2499 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2500 (_FPU_SETCW): Likewise.
2501
2502 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2503
2504 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2505 is 32-byte aligned.
2506
2507 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2508
2509 [BZ #11837]
2510 * iconvdata/gb18030.c: Update tables.
2511 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2512 characters specially.
2513 (BODY for TO_LOOP): Add encoding of missing ranges.
2514
2515 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2516
2517 [BZ #13673]
2518 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2519 * sysdeps/mach/hurd/dup3.c: Likewise.
2520 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2521 * sysdeps/powerpc/memmove.c:: Likewise.
2522
2523 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2524
2525 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2526 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2527
2528 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2529
2530 * elf/elf.h (R_X86_64_RELATIVE64): New.
2531 (R_X86_64_NUM): Updated.
2532 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2533 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2534 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2535 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2536 tst-quad1pie tst-quad2pie
2537 (modules-names): Add tst-quadmod1 tst-quadmod2.
2538 ($(objpfx)tst-quad1): New dependency.
2539 ($(objpfx)tst-quad2): Likewise.
2540 ($(objpfx)tst-quad1pie): Likewise.
2541 ($(objpfx)tst-quad2pie): Likewise.
2542 * sysdeps/x86_64/tst-quad1.c: New file.
2543 * sysdeps/x86_64/tst-quad1pie.c: New file.
2544 * sysdeps/x86_64/tst-quad2.c: Likewise.
2545 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2546 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2547 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2548 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2549 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2550
2551 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2552
2553 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2554 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2555 * streams/stropts.h (t_scalar_t): Define type.
2556
2557 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2558 (_PATH_PRESERVE): Set to "/var/lib".
2559 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2560
2561 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2562 instead of int.
2563
2564 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2565 if __dir_mkfile succeeded.
2566
2567 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2568 checking for _hurd_dtablesize. Unlock it right after having
2569 finished _hurd_dtable allocation.
2570
2571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2572
2573 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2574 * sysdeps/mach/hurd/configure: Regenerated.
2575 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2576 special-casing to...
2577 * sysdeps/gnu/configure.in: ... this new file.
2578 * sysdeps/unix/sysv/linux/configure: Regenerated.
2579 * sysdeps/gnu/configure: New generated file.
2580
2581 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2582 for Linux: use nsec instead of usec, as well as:
2583 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2584 members of type struct timespec.
2585 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2586 New macros.
2587 (struct stat64): Likewise.
2588 (_STATBUF_ST_NSEC): New macro.
2589 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2590
2591 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2592 __strtoul_internal rather than strtoul.
2593
2594 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2595
2596 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2597 and reject them.
2598
2599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2600
2601 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2602 which preserves existing values.
2603 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2604
2605 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2606
2607 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2608 TIMEOUT values. Return EINVAL for NFDS values either negative or
2609 greater than FD_SETSIZE.
2610
2611 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2612
2613 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2614 allocated, call __vm_protect to finish enabling the existing space, and
2615 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2616 allocate the remainder.
2617
2618 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2619
2620 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2621 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2622
2623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2624
2625 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2626 sysdeps/mach/hurd/readlink.c.
2627
2628 * posix/tst-sysconf.c (posix_options): Only use
2629 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2630 _POSIX_SYNCHRONIZED_IO when they are defined
2631 * sysdeps/mach/hurd/bits/posix_opt.h:
2632 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2633 (_XOPEN_REALTIME): Undefine macro.
2634 (_XOPEN_REALTIME_THREADS): Undefine macro.
2635 (_XOPEN_SHM): Undefine macro.
2636 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2637 macro to -1.
2638 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2639 macro to -1.
2640 (_POSIX_ASYNC_IO): Undefine macro.
2641 (_POSIX_PRIORITIZED_IO): Undefine macro.
2642 (_POSIX_SPIN_LOCKS): Define macro to -1.
2643
2644 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2645 SA_NODEFER, SA_RESETHAND.
2646 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2647 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2648 F_DUPFD_CLOEXEC.
2649
2650 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2651
2652 * elf/Makefile (pldd-modules): Define unconditionally.
2653
2654 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2655
2656 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2657
2658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2659
2660 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2661 Return ENOENT when name is empty.
2662 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2663
2664 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2665
2666 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2667
2668 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2669
2670 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2671
2672 Fix mlock in all cases except non-readable pages.
2673 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2674 instead of VM_PROT_ALL as parameter to __vm_wire function.
2675
2676 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2677 (__mkdir): When path is `/', just fail with EEXIST.
2678 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2679
2680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2681
2682 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2683 <sys/uio.h> (for writev).
2684 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2685 and <sys/param.h> (for MIN).
2686
2687 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2688
2689 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2690 REQUESTED_TIME. Properly set the remaining time and return EINTR
2691 if interrupted.
2692
2693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2694
2695 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2696 Depend on against $(link-rpcuserlibs).
2697
2698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2699
2700 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2701 (__libc_stack_end): Do not use attribute_relro.
2702 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2703 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2704 to libthread-provided value.
2705 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2706 attribute_relro.
2707
2708 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2709
2710 [BZ #3748]
2711 * bits/libc-lock.h (__libc_once_get): New macro.
2712 * sysdeps/mach/bits/libc-lock.h: Likewise.
2713 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2714 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2715 instead of using implementation details.
2716
2717 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2718 * libio/freopen.c: Likewise.
2719 * libio/freopen64.c: Likewise.
2720 * misc/syslog.c: Likewise.
2721 * nscd/connections.c: Likewise.
2722 * nscd/netgroupcache.c: Likewise.
2723 * sysdeps/posix/getcwd.c: Likewise.
2724
2725 2012-05-10 Roland McGrath <roland@hack.frob.com>
2726
2727 * math/w_ilogbf.c: Add #include <limits.h>.
2728
2729 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2730
2731 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2732 path instead of returning without unlocking.
2733
2734 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2735 immediate-write ioctls.
2736 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2737
2738 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2739
2740 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2741 __builtin_frame_address instead of making assumptions about the
2742 location of the return address relative to DATA. Force early load of
2743 the return address.
2744 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2745 __builtin_frame_address.
2746
2747 dup3 for GNU Hurd.
2748 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2749 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2750 implement dup3 and do some further code clean-ups.
2751 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2752 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2753
2754 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2755
2756 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2757
2758 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2759 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2760 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2761 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2762 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2763 d->port.lock.
2764
2765 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2766 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2767 when handler == SIG_ERR, not when handler != SIG_ERR.
2768
2769 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2770
2771 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2772 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2773 definitions.
2774
2775 accept4 for GNU Hurd.
2776 * include/sys/socket.h (__libc_accept4): New prototype.
2777 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2778 to implement __libc_accept4.
2779 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2780 __libc_accept4.
2781 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2782
2783 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2784 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2785 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2786 signal-defines.sym.
2787
2788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2789
2790 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2791
2792 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2793
2794 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2795 assertion on O_CLOEXEC flag.
2796 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2797 * hurd/intern-fd.c: Likewise.
2798 * hurd/port2fd.c: Likewise.
2799
2800 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2801
2802 [BZ #3906]
2803 * bits/in.h (IPV6_PKTINFO): Define new macro.
2804 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2805
2806 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2807
2808 [BZ #13954]
2809 [BZ #13955]
2810 [BZ #13956]
2811 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2813 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2814 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2816 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2817 * math/libm-test.inc (logb_test) : Additional logb tests.
2818
2819 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2820 Andreas Jaeger <aj@suse.de>
2821
2822 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2823 * configure: Regenerated.
2824 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2825 * config.make.in (link-obsolete-rpc): New substituted variable.
2826 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2827 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2828 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2829 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2830 so that libc.a contains the symbols.
2831 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2832 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2833 * sunrpc/auth_none.c: Likewise.
2834 * sunrpc/auth_unix.c: Likewise.
2835 * sunrpc/authdes_prot.c: Likewise.
2836 * sunrpc/authuxprot.c: Likewise.
2837 * sunrpc/clnt_gen.c: Likewise.
2838 * sunrpc/clnt_perr.c: Likewise.
2839 * sunrpc/clnt_raw.c: Likewise.
2840 * sunrpc/clnt_simp.c: Likewise.
2841 * sunrpc/clnt_tcp.c: Likewise.
2842 * sunrpc/clnt_udp.c: Likewise.
2843 * sunrpc/clnt_unix.c: Likewise.
2844 * sunrpc/des_crypt.c: Likewise.
2845 * sunrpc/des_soft.c: Likewise.
2846 * sunrpc/get_myaddr.c: Likewise.
2847 * sunrpc/key_call.c: Likewise.
2848 * sunrpc/key_prot.c: Likewise.
2849 * sunrpc/netname.c: Likewise.
2850 * sunrpc/pm_getmaps.c: Likewise.
2851 * sunrpc/pm_getport.c: Likewise.
2852 * sunrpc/pmap_clnt.c: Likewise.
2853 * sunrpc/pmap_prot.c: Likewise.
2854 * sunrpc/pmap_prot2.c: Likewise.
2855 * sunrpc/pmap_rmt.c: Likewise.
2856 * sunrpc/publickey.c: Likewise.
2857 * sunrpc/rpc_cmsg.c: Likewise.
2858 * sunrpc/rpc_common.c: Likewise.
2859 * sunrpc/rpc_dtable.c: Likewise.
2860 * sunrpc/rpc_prot.c: Likewise.
2861 * sunrpc/rpc_thread.c: Likewise.
2862 * sunrpc/rtime.c: Likewise.
2863 * sunrpc/svc.c: Likewise.
2864 * sunrpc/svc_auth.c: Likewise.
2865 * sunrpc/svc_raw.c: Likewise.
2866 * sunrpc/svc_run.c: Likewise.
2867 * sunrpc/svc_tcp.c: Likewise.
2868 * sunrpc/svc_udp.c: Likewise.
2869 * sunrpc/svc_unix.c: Likewise.
2870 * sunrpc/svcauth_des.c: Likewise.
2871 * sunrpc/xcrypt.c: Likewise.
2872 * sunrpc/xdr.c: Likewise.
2873 * sunrpc/xdr_array.c: Likewise.
2874 * sunrpc/xdr_float.c: Likewise.
2875 * sunrpc/xdr_intXX_t.c: Likewise.
2876 * sunrpc/xdr_mem.c: Likewise.
2877 * sunrpc/xdr_rec.c: Likewise.
2878 * sunrpc/xdr_ref.c: Likewise.
2879 * sunrpc/xdr_sizeof.c: Likewise.
2880 * sunrpc/xdr_stdio.c: Likewise.
2881
2882 2012-05-10 Roland McGrath <roland@hack.frob.com>
2883
2884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2885 change. Update copyright years.
2886
2887 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2888
2889 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2890
2891 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2892 Joseph Myers <joseph@codesourcery.com>
2893 Paul Pluzhnikov <ppluzhnikov@google.com>
2894
2895 [BZ #14012]
2896 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2897 requiring rpcgen.
2898 [cross-compiling] (extra-libs): Likewise.
2899 [cross-compiling] (extra-libs-others): Likewise.
2900 [cross-compiling] (librpcsvc-routines): Likewise.
2901 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2902 [cross-compiling] (omit-deps): Likewise.
2903 (sunrpc-CPPFLAGS): New variable.
2904 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2905 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2906 (cross-rpcgen-objs): New variable.
2907 (extra-objs): Append $(cross-rpcgen-objs).
2908 ($(cross-rpcgen-objs)): New rule.
2909 ($(objpfx)cross-rpcgen): Likewise.
2910 (rpcgen-cmd): Define to use $(built-program-file). Expand
2911 comment.
2912 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2913 ($(objpfx)x%.stmp): Likewise.
2914 * sunrpc/proto.h [IS_IN_build] (_): Define.
2915 [IS_IN_build] (_libc_intl_domainname): Likewise.
2916
2917 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2918
2919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2920 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2921 and R_X86_64_TPOFF64.
2922
2923 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2924
2925 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2926 sysdeps/unix/sysv/syscalls.list.
2927 (stime): Likewise.
2928 (utime): Likewise.
2929 * sysdeps/unix/sysv/syscalls.list: Remove file.
2930
2931 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2932
2933 [BZ #3440]
2934 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2935 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2936 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2937 (__LC_IDENTIFICATION): Make these macros useful in #if
2938 expressions, as required by C99.
2939
2940 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2941
2942 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2943 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2944 after this.
2945
2946 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2947
2948 * stdlib/longlong.h: Updated from GCC.
2949
2950 2012-05-09 Andreas Jaeger <aj@suse.de>
2951
2952 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2953 default is first entry.
2954 (run_mode): Set type.
2955 (main): Remove informal message about syslog.
2956 (options): Fix typo.
2957
2958 [BZ #14053]
2959 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2960 to asm.
2961 (lrint): Likewise.
2962 (llrintf): Likewise.
2963 (llrint): Likewise.
2964 (rint): Likewise.
2965 (rintf): Likewise.
2966 (nearbyint): Likewise.
2967 (nearbyintf): Likewise.
2968
2969 2012-05-09 Andreas Jaeger <aj@suse.de>
2970 Pedro Alves <palves@redhat.com>
2971
2972 * nscd/nscd.c (run_mode): Use enum.
2973 (main): Cleanup coding style issue.
2974
2975 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2976 Andreas Jaeger <aj@suse.de>
2977
2978 * nscd/nscd.c (go_background): Replaced with...
2979 (run_mode): ... this.
2980 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2981 (options): Add -F --foreground.
2982 (main): Implement it.
2983 (parse_opt): Parse it.
2984
2985 2012-05-09 Andreas Jaeger <aj@suse.de>
2986
2987 [BZ #14083]
2988 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2989 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2990 -Wconversion warning.
2991 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2992 Likewise.
2993
2994 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2995
2996 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2997 == 0.
2998 (LC_ALL): Use macro-int-constant.
2999 (LC_COLLATE): Likewise.
3000 (LC_CTYPE): Likewise.
3001 (LC_MESSAGES): Likewise.
3002 (LC_MONETARY): Likewise.
3003 (LC_NUMERIC): Likewise.
3004 (LC_TIME): Likewise.
3005 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3006 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3008 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3009 Specify type.
3010 [C99-based standards] (float_t): Expect type.
3011 [C99-based standards] (double_t): Expect type.
3012 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3013 type.
3014 [C99-based standards] (HUGE_VALL): Likewise.
3015 [C99-based standards] (INFINITY): Likewise.
3016 [C99-based standards] (NAN): Likewise.
3017 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3018 [C99-based standards] (FP_NAN): Likewise.
3019 [C99-based standards] (FP_NORMAL): Likewise.
3020 [C99-based standards] (FP_SUBNORMAL): Likewise.
3021 [C99-based standards] (FP_ZERO): Likewise.
3022 [C99-based standards] (FP_FAST_FMA): Use
3023 optional-macro-int-constant. Specify type. Require == 1.
3024 [C99-based standards] (FP_FAST_FMAF): Likewise.
3025 [C99-based standards] (FP_FAST_FMAL): Likewise.
3026 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3027 [C99-based standards] (FP_ILOGBNAN): Likewise.
3028 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3029 Specify type.
3030 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3031 [C99-based standards] (math_errhandling): Specify type.
3032 [ISO99 || ISO11] (signgam): Do not allow.
3033 [non-C99-based standards] (copysignf): Do not allow.
3034 [non-C99-based standards] (exp2f): Likewise.
3035 [non-C99-based standards] (log2f): Likewise.
3036 [non-C99-based standards] (modff): Allow.
3037 [non-C99-based standards] (erff): Do not allow.
3038 [non-C99-based standards] (erfcf): Likewise.
3039 [non-C99-based standards] (gammaf): Likewise.
3040 [non-C99-based standards] (hypotf): Likewise.
3041 [non-C99-based standards] (j0f): Likewise.
3042 [non-C99-based standards] (j1f): Likewise.
3043 [non-C99-based standards] (jnf): Likewise.
3044 [non-C99-based standards] (lgammaf): Likewise.
3045 [non-C99-based standards] (tgammaf): Likewise.
3046 [non-C99-based standards] (y0f): Likewise.
3047 [non-C99-based standards] (y1f): Likewise.
3048 [non-C99-based standards] (ynf): Likewise.
3049 [non-C99-based standards] (isnanf): Likewise.
3050 [non-C99-based standards] (acoshf): Likewise.
3051 [non-C99-based standards] (asinhf): Likewise.
3052 [non-C99-based standards] (atanhf): Likewise.
3053 [non-C99-based standards] (cbrtf): Likewise.
3054 [non-C99-based standards] (expm1f): Likewise.
3055 [non-C99-based standards] (ilogbf): Likewise.
3056 [non-C99-based standards] (log1pf): Likewise.
3057 [non-C99-based standards] (logbf): Likewise.
3058 [non-C99-based standards] (nextafterf): Likewise.
3059 [non-C99-based standards] (remainderf): Likewise.
3060 [non-C99-based standards] (rintf): Likewise.
3061 [non-C99-based standards] (scalbf): Likewise.
3062 [non-C99-based standards] (copysignl): Likewise.
3063 [non-C99-based standards] (exp2l): Likewise.
3064 [non-C99-based standards] (log2l): Likewise.
3065 [non-C99-based standards] (modfl): Allow.
3066 [non-C99-based standards] (erfl): Do not allow.
3067 [non-C99-based standards] (erfcl): Likewise.
3068 [non-C99-based standards] (gammal): Likewise.
3069 [non-C99-based standards] (hypotl): Likewise.
3070 [non-C99-based standards] (j0l): Likewise.
3071 [non-C99-based standards] (j1l): Likewise.
3072 [non-C99-based standards] (jnl): Likewise.
3073 [non-C99-based standards] (lgammal): Likewise.
3074 [non-C99-based standards] (tgammal): Likewise.
3075 [non-C99-based standards] (y0l): Likewise.
3076 [non-C99-based standards] (y1l): Likewise.
3077 [non-C99-based standards] (ynl): Likewise.
3078 [non-C99-based standards] (isnanl): Likewise.
3079 [non-C99-based standards] (acoshl): Likewise.
3080 [non-C99-based standards] (asinhl): Likewise.
3081 [non-C99-based standards] (atanhl): Likewise.
3082 [non-C99-based standards] (cbrtl): Likewise.
3083 [non-C99-based standards] (expm1l): Likewise.
3084 [non-C99-based standards] (ilogbl): Likewise.
3085 [non-C99-based standards] (log1pl): Likewise.
3086 [non-C99-based standards] (logbl): Likewise.
3087 [non-C99-based standards] (nextafterl): Likewise.
3088 [non-C99-based standards] (remainderl): Likewise.
3089 [non-C99-based standards] (rintl): Likewise.
3090 [non-C99-based standards] (scalbl): Likewise.
3091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3092 [non-C99-based standards] (FP_*): Do not allow.
3093 [C99-based standards] (FP_*): Change to
3094 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3095 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3096 allow.
3097 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3098 (SIG_ERR): Likewise.
3099 [X/Open-based standards] (SIG_HOLD): Likewise.
3100 (SIG_IGN): Likewise.
3101 (SIGABRT): Use macro-int-constant. Specify type. Require
3102 positive value.
3103 (SIGFPE): Likewise.
3104 (SIGILL): Likewise.
3105 (SIGINT): Likewise.
3106 (SIGSEGV): Likewise.
3107 (SIGTER): Likewise.
3108 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3109 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3110 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3111 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3112 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3113 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3114 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3115 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3116 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3117 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3118 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3119 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3120 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3121 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3122 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3123 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3124 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3125 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3126 [X/Open-based standards] (SIGTRAP): Likewise.
3127 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3128 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3129 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3130 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3131 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3132 allow.
3133
3134 2012-05-08 Ian Wienand <ianw@vmware.com>
3135
3136 [BZ #14080]
3137 * time/tzset.c (__tzset_parse_tz): Update default rules for
3138 daylight time changes in the Energy Policy Act of 2005.
3139
3140 2012-05-09 Andreas Jaeger <aj@suse.de>
3141
3142 [BZ #13983]
3143 * elf/ldconfig.c (parse_conf): Change string to make clear that
3144 ldconfig only issued a warning if ld.so.conf does not exist.
3145
3146 2012-05-08 David S. Miller <davem@davemloft.net>
3147
3148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3149 movxtod instead of popping the value on the stack.
3150
3151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3152
3153 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3154
3155 * config.h.in: Add HAVE_ARM_PCS_VFP.
3156
3157 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3158
3159 [BZ #13979]
3160 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3161 checking but the checks are disabled for any reason.
3162
3163 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3164
3165 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3166 and ELF64_R_TYPE with ELFW(R_TYPE).
3167
3168 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3169
3170 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3171 (ulimit): Likewise.
3172
3173 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3174 (settimeofday): Likewise.
3175
3176 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3177
3178 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3179 a struct th_u2 inside the union, and move tu_block/tu_code into
3180 a new th_u3 union of tu_block/tu_code inside of that. Move
3181 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3182 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3183 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3184 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3185 (th_stuff): Change to th_u1.tu_stuff.
3186 (th_data): Define.
3187 (th_msg): Change to th_u1.th_u2.tu_data.
3188
3189 2012-05-07 David S. Miller <davem@davemloft.net>
3190
3191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3192
3193 [BZ #14074]
3194 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3195 (SETUP_PIC_REG): Use it.
3196 (SETUP_PIC_REG_LEAF): Use it.
3197
3198 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3199
3200 [BZ #13885]
3201 [BZ #13923]
3202 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3203 USE_AS_EXPM1L.
3204 (EXPL_FINITE): Likewise.
3205 (FLDLOG): Likewise.
3206 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3207 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3208 e_expl.S.
3209 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3210 USE_AS_EXPM1L.
3211 (EXPL_FINITE): Likewise.
3212 (FLDLOG): Likewise.
3213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3214 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3215 e_expl.S.
3216 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3217 test of -max_value argument for long double.
3218 * sysdeps/i386/fpu/libm-test-ulps: Update.
3219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3220
3221 2012-05-06 David S. Miller <davem@davemloft.net>
3222
3223 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3224 quad soft-float symbols whose references which are compiler
3225 generated.
3226 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3227
3228 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3229
3230 [BZ #13884]
3231 [BZ #13914]
3232 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3233 USE_AS_EXP10L.
3234 (EXPL_FINITE): Likewise.
3235 (FLDLOG): Likewise.
3236 (c0): Likewise.
3237 (c1): Likewise.
3238 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3239 Adjust comments for base varying.
3240 (__expl_finite): Change alias to EXPL_FINITE.
3241 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3242 e_expl.S.
3243 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3244 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3245 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3246 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3247 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3248 USE_AS_EXP10L.
3249 (EXPL_FINITE): Likewise.
3250 (FLDLOG): Likewise.
3251 (c0): Likewise.
3252 (c1): Likewise.
3253 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3254 Adjust comments for base varying.
3255 (__expl_finite): Change alias to EXPL_FINITE.
3256 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3257 tests for bugs.
3258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3259
3260 [BZ #14064]
3261 * math/libm-test.inc (check_float_internal): Correct ulp
3262 calculation for subnormal expected results.
3263
3264 2012-05-06 Andreas Jaeger <aj@suse.de>
3265
3266 * Makeconfig (+math-flags): New, set to -frounding-math.
3267 (+cflags): Add +math-flags so that all of glibc gets compiled with
3268 it.
3269
3270 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3271
3272 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3273
3274 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3275 Disable one test.
3276
3277 [BZ #13787]
3278 [BZ #13922]
3279 [BZ #14036]
3280 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3281 (__ieee754_expl): Allow for and saturate large arguments.
3282 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3283 (u_threshold): Likewise.
3284 (__exp): Call __ieee754_exp before checking for overflow and
3285 underflow.
3286 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3287 (u_threshold): Likewise.
3288 (__expf): Call __ieee754_expf before checking for overflow and
3289 underflow.
3290 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3291 (u_threshold): Likewise.
3292 (__expl): Call __ieee754_expl before checking for overflow and
3293 underflow.
3294 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3295 (__ieee754_expl): Allow for and saturate large arguments.
3296 * math/libm-test.inc (exp_test): Add another test. Do not allow
3297 missing overflow exception on overflow.
3298 (expm1_test): Do not allow missing overflow exception on overflow.
3299
3300 * sysdeps/i386/fpu/e_expl.c: Move to ...
3301 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3302 rather than using inline asm.
3303 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3304 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3305 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3306
3307 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3308 (nice): Likewise.
3309 (poll): Likewise.
3310 (signal): Likewise.
3311 (time): Likewise.
3312 (times): Likewise.
3313
3314 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3315
3316 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3317 sysdeps/unix/common/syscalls.list.
3318 (fchmod): Likewise.
3319 (fchown): Likewise.
3320 (ftruncate): Likewise.
3321 (getrusage): Likewise.
3322 (gettimeofday): Likewise.
3323 (setpgid): Likewise.
3324 (setregid): Likewise.
3325 (setreuid): Likewise.
3326 (sigaction): Likewise.
3327 (truncate): Likewise.
3328 (vhangup): Likewise.
3329 * sysdeps/unix/common/syscalls.list: Remove file.
3330 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3331 * sysdeps/unix/sysv/linux/Implies: Likewise.
3332
3333 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3334
3335 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3337 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3338 Moved to ...
3339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3340 Here.
3341 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3342 to ...
3343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3344 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3345 to ...
3346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3347 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3348 to ...
3349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3350 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3351 to ...
3352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3353 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3354 to ...
3355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3356 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3357 to ...
3358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3359 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3360 to ...
3361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3362 Here.
3363 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3364 to ...
3365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3366 Here.
3367 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3368 to ...
3369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3370 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3371 Moved to ...
3372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3373 Here.
3374 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3375 to ...
3376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3377
3378 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3379
3380 * sysdeps/unix/common/bits/dirent.h: Remove file.
3381 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3382
3383 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3384 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3385 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3386 * sysdeps/unix/bsd/isatty.c: Likewise.
3387 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3388 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3389 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3390
3391 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3392
3393 [BZ #13563]
3394 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3395 long double comparison inaccuracies.
3396 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3398
3399 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3400
3401 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3402 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3403
3404 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3405
3406 [BZ #14049]
3407 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3408 nonzero digits before rounding a hex value.
3409 * stdlib/tst-strtod.c (tests): Add another test.
3410
3411 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3412
3413 * sysdeps/s390/fpu/libm-test-ulps: Update.
3414
3415 2012-05-03 Andreas Jaeger <aj@suse.de>
3416
3417 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3418 does not get optimized out.
3419 (malloc_opt_barrier): New.
3420
3421 2012-05-03 Andreas Jaeger <aj@suse.de>
3422 Roland McGrath <roland@hack.frob.com>
3423
3424 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3425 intermediate file deletion.
3426 (generated): Add .symlist files.
3427
3428 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3429
3430 [BZ #13775]
3431 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3432 Redirect under this condition.
3433 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3434 [__USE_GNU] (__dprintf_chk): Not under this condition.
3435 [__USE_GNU] (__vdprintf_chk): Likewise.
3436 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3437 under this condition.
3438 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3439 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3440 [__USE_XOPEN2K8] (vdprintf): Likewise.
3441 [__USE_GNU] (__dprintf_chk): Not under this condition.
3442 [__USE_GNU] (__vdprintf_chk): Likewise.
3443 [__USE_GNU] (dprintf): Likewise.
3444 [__USE_GNU] (vdprintf): Likewise.
3445
3446 2012-05-03 Roland McGrath <roland@hack.frob.com>
3447
3448 * elf/Makefile (common-generated): Set this instead of generated for
3449 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3450 $(all-built-dso)-derived lists.
3451
3452 2012-05-03 Andreas Jaeger <aj@suse.de>
3453
3454 * sysdeps/i386/fpu/libm-test-ulps: Update.
3455
3456 * FAQ: Removed.
3457 * FAQ.in: Likewise.
3458 * scripts/gen-FAQ.pl: Likewise.
3459 * manual/install.texi (Installation): Point to online location of
3460 FAQ.
3461 * Makefile (files-for-dist): Remove FAQ.
3462 (FAQ): Remove.
3463
3464 2012-05-02 Allan McRae <allan@archlinux.org>
3465
3466 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3467 (LDFLAGS-reldepmod5.so): Likewise.
3468 (LDFLAGS-reldep6mod1.so): Likewise.
3469 (LDFLAGS-reldep6mod4.so): Likewise.
3470 (LDFLAGS-reldep8mod3.so): Likewise.
3471 (LDFLAGS-unload4mod1.so): Likewise.
3472 (LDFLAGS-unload4mod2.so): Likewise.
3473 (LDFLAGS-tst-initorder): Likewise.
3474 (LDFLAGS-tst-initordera2.so): Likewise.
3475 (LDFLAGS-tst-initordera3.so): Likewise.
3476 (LDFLAGS-tst-initordera4.so): Likewise.
3477 (LDFLAGS-tst-initorderb2.so): Likewise.
3478 (LDFLAGS-noload): Likewise.
3479 (LDFLAGS-next): Likewise.
3480 (LDFLAGS-order2mod1.so): Likewise.
3481 (LDFLAGS-order2mod2.so): Likewise.
3482 (LDFLAGS-tst-initorder2): Likewise.
3483 (LDFLAGS-tst-initorder2a.so): Likewise.
3484 (LDFLAGS-tst-initorder2b.so): Likewise.
3485 (LDFLAGS-tst-initorder2c.so): Likewise.
3486 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3487
3488 2012-05-02 David S. Miller <davem@davemloft.net>
3489
3490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3491
3492 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3493
3494 [BZ #14055]
3495 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3496
3497 2012-05-02 Andreas Jaeger <aj@suse.de>
3498
3499 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3500 since we manipulate rounding mode.
3501 (CPPFLAGS-test-idouble.c): Likewise.
3502 (CPPFLAGS-test-ifloat.c): Likewise.
3503 (CFLAGS-test-ldouble.c): Likewise.
3504 (CFLAGS-test-double.c): Likewise.
3505 (CFLAGS-test-float.c): Likewise.
3506 (CFLAGS-test-misc.c): Likewise.
3507 (CFLAGS-test-test-fenv.c): Likewise.
3508
3509 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3510
3511 [BZ #2550]
3512 [BZ #2570]
3513 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3514 comparisons to determine direction to adjust input.
3515
3516 2012-05-01 Roland McGrath <roland@hack.frob.com>
3517
3518 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3519 output to the target.
3520
3521 * scripts/localplt.awk: New file.
3522 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3523 (check-localplt-CFLAGS): Variable removed.
3524 ($(all-built-dso:=.jmprel)): New static pattern rule.
3525 (generated): Add those targets.
3526 (localplt-built-dso): New variable.
3527 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3528
3529 * elf/check-localplt.c: File removed.
3530
3531 * scripts/check-execstack.awk: New file.
3532 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3533 (check-execstack-CFLAGS): Variable removed.
3534 ($(objpfx)check-execstack.h): Target removed.
3535 ($(objpfx)execstack-default): New target.
3536 (generated): Add that instead of check-execstack.h.
3537 ($(all-built-dso:=.phdr)): New static pattern rule.
3538 (generated): Add those targets.
3539 * elf/check-execstack.c: File removed.
3540
3541 * scripts/check-textrel.awk: New file.
3542 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3543 (check-textrel-CFLAGS): Variable removed.
3544 (all-built-dso): Use := to define.o
3545 ($(all-built-dso:=.dyn)): New static pattern rule.
3546 (generated): Add those targets.
3547 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3548 * config.make.in (READELF): New substituted variable.
3549 * elf/check-textrel.c: File removed.
3550
3551 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3552
3553 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3554 allow.
3555 * conform/data/ctype.h-data [C99-based standards] (isblank):
3556 Expect function.
3557 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3558 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3559 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3560 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3561 Specify type. Require positive value.
3562 (EILSEQ): Likewise.
3563 (ERANGE): Likewise.
3564 [ISO || POSIX] (EILSEQ): Do not expect.
3565 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3566 Specify type. Require positive value.
3567 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3568 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3569 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3570 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3571 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3572 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3573 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3574 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3575 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3576 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3577 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3578 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3579 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3580 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3581 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3582 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3583 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3584 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3585 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3586 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3587 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3588 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3589 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3590 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3591 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3593 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3594 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3595 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3596 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3597 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3600 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3602 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3603 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3604 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3605 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3609 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3611 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3612 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3613 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3616 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3617 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3618 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3641 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3642 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3643 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3644 Require >= 2.
3645 (FLT_ROUNDS): Expect as macro, not constant.
3646 (FLT_MANT_DIG): Use macro-int-constant.
3647 (DBL_MANT_DIG): Likewise.
3648 (LDBL_MANT_DIG): Likewise.
3649 (FLT_DIG): Likewise.
3650 (DBL_DIG): Likewise.
3651 (LDBL_DIG): Likewise.
3652 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3653 (DBL_MIN_EXP): Likewise.
3654 (LDBL_MIN_EXP): Likewise.
3655 (FLT_MAX_EXP): Use macro-int-constant.
3656 (DBL_MAX_EXP): Likewise.
3657 (LDBL_MAX_EXP): Likewise.
3658 (FLT_MAX_10_EXP): Likewise.
3659 (DBL_MAX_10_EXP): Likewise.
3660 (LDBL_MAX_10_EXP): Likewise.
3661 (FLT_MAX): Use macro-constant.
3662 (DBL_MAX): Likewise.
3663 (LDBL_MAX): Likewise.
3664 (FLT_EPSILON): Use macro-constant. Give upper bound.
3665 (DBL_EPSILON): Likewise.
3666 (LDBL_EPSILON): Likewise.
3667 (FLT_MIN): Likewise.
3668 (DBL_MIN): Likewise.
3669 (LDBL_MIN): Likewise.
3670 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3671 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3672 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3673 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3674 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3675 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3676 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3677 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3678 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3679 [ISO11] (FLT_TRUE_MIN): Likewise.
3680 [ISO11] (LDBL_TRUE_MIN): Likewise.
3681 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3682 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3683 (SCHAR_MIN): Use macro-int-constant. Specify type.
3684 (SCHAR_MAX): Likewise.
3685 (UCHAR_MAX): Likewise.
3686 (CHAR_MIN): Likewise.
3687 (CHAR_MAX): Likewise.
3688 (MB_LEN_MAX): Use macro-int-constant.
3689 (SHRT_MIN): Use macro-int-constant. Specify type.
3690 (SHRT_MAX): Likewise.
3691 (USHRT_MAX): Likewise.
3692 (INT_MAX): Likewise.
3693 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3694 bound negative.
3695 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3696 bound with "U".
3697 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3698 bound with "L".
3699 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3700 bound negative. Suffix upper bound with "L".
3701 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3702 bound with "UL".
3703 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3704 Specify type.
3705 [C99-based standards] (LLONG_MAX): Likewise.
3706 [C99-based standards] (ULLONG_MAX): Likewise.
3707 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3708 == 0.
3709 [ISO11] (max_align_t): Require type.
3710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3711
3712 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3713 from $CFLAGS, without defining away __attribute__ calls.
3714 (checknamespace): Use $CFLAGS_namespace.
3715
3716 * conform/conformtest.pl (@keywords): Only include C99 keywords
3717 for standards based on C99 or C11.
3718
3719 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3720 Disable tests.
3721 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3722 UNIX98]: Likewise.
3723
3724 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3725 usability of symbols in #if.
3726
3727 * conform/conformtest.pl: If macro or constant types start
3728 "promoted:", expect the symbol to be of the following type
3729 promoted by the integer promotions.
3730
3731 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3732 in one place. Also handle "macro-constant".
3733
3734 * conform/conformtest.pl: Only accept expected macro values with
3735 "==". Parse all "macro" lines in one place.
3736 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3737
3738 * conform/conformtest.pl: Handle braced types on "constant" lines
3739 instead of handling "typed-constant".
3740 * conform/data/signal.h-data: Use "constant" instead of
3741 "typed-constant".
3742
3743 * conform/conformtest.pl: Handle "optional-" at start of lines in
3744 one place rather than duplicating several cases. Handle each
3745 format of "macro" line with initial "optional-".
3746
3747 * conform/conformtest.pl: Only accept expected constant or
3748 optional-constant values with "==". Parse all "constant" lines in
3749 one place. Parse all "optional-constant" lines in one place.
3750 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3751 * conform/data/fmtmsg.h-data: Likewise.
3752 * conform/data/netinet/in.h-data: Likewise.
3753 * conform/data/tar.h-data: Likewise.
3754 * conform/data/limits.h-data: Use "==" form on "constant" and
3755 "optional-constant" lines.
3756
3757 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3758 Use -std=c99 for XOPEN2K.
3759 (@knownproblems): Remove.
3760 (newtoken): Don't check %isknown.
3761
3762 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3763 Do not expect macro.
3764 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3773 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3774 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3776 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3777 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3780 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3782 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3783 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3784 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3785 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3786 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3787 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3790 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3794 [XPG3] (acosh): Likewise.
3795 [XPG3] (asinh): Likewise.
3796 [XPG3] (atanh): Likewise.
3797 [XPG3] (cbrt): Likewise.
3798 [XPG3] (expm1): Likewise.
3799 [XPG3] (ilogb): Likewise.
3800 [XPG3] (log1p): Likewise.
3801 [XPG3] (logb): Likewise.
3802 [XPG3] (nextafter): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3805 [XPG3] (remainder): Likewise.
3806 [XPG3] (rint): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3814 [UNIX98 || XOPEN2K] (scalb): Expect.
3815 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3816 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3826 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3864 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3865 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3866 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3879 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3880 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3881 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3885 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3886 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3887 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3888 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3889 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3920 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3921 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3922 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3923 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3924 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3925 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3926 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3927 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3928 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3929 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3930 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3931 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3932 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3933 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3934 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3935 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3936 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3937 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3939 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3940 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3941 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3943 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3944 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3945 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3946 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3947 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3949 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3950 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3951 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3952
3953 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3954 _XOPEN_SOURCE_EXTENDED for XPG4.
3955
3956 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3957
3958 * Makeconfig (localtime): Remove variable.
3959 (inst_localtime-file): Likewise.
3960
3961 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3962
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3964 Update.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3966 Update.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3968 Update.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3970 Update.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3972 Update.
3973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3974 Update.
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3976 Update.
3977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3978 Update.
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3980 Update.
3981
3982 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3983
3984 [BZ #2550]
3985 [BZ #2570]
3986 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3987 comparisons to determine direction to adjust input.
3988 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3989 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3990 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3991 Likewise.
3992 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3993 Likewise.
3994 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3995 Likewise.
3996 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3997 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3998 Likewise.
3999 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4000 Likewise.
4001 * math/libm-test.inc (nexttoward_test): Add more tests.
4002
4003 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4004
4005 [BZ #14040]
4006 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4007 in version GLIBC_2.1, not GLIBC_2.0.
4008 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4009 Likewise.
4010
4011 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4012
4013 [BZ #13942]
4014 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4015 (1 - x) * (1 + x).
4016 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4017 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4018 * math/libm-test.inc (acos_test): Add more tests.
4019 (asin_test): Likewise.
4020 * sysdeps/i386/fpu/libm-test-ulps: Update.
4021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4022
4023 [BZ #14034]
4024 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4025 of square root.
4026 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4027 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4028 * math/libm-test.inc (acos_test_tonearest): New function.
4029 (acos_test_towardzero): Likewise.
4030 (acos_test_downward): Likewise.
4031 (acos_test_upward): Likewise.
4032 (asin_test_tonearest): Likewise.
4033 (asin_test_towardzero): Likewise.
4034 (asin_test_downward): Likewise.
4035 (asin_test_upward): Likewise.
4036 (main): Call the new functions.
4037 * sysdeps/i386/fpu/libm-test-ulps: Update.
4038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4039
4040 [BZ #13884]
4041 [BZ #13924]
4042 * math/e_exp10.c: Include <float.h>.
4043 (__ieee754_exp10): Handle underflow here rather than multiplying
4044 large negative argument by M_LN10.
4045 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4046 of __ieee754_expf.
4047 * math/e_exp10l.c: Include <float.h>.
4048 (__ieee754_exp10l): Handle underflow here rather than multiplying
4049 large negative argument by M_LN10l.
4050 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4051 spurious overflow exception on underflow.
4052
4053 2012-04-29 Marek Polacek <polacek@redhat.com>
4054
4055 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4056 (__fortify_function): New macro.
4057 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4058 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4059 __extern_always_inline.
4060 * libio/bits/stdio2.h: Likewise.
4061 * libio/bits/stdio.h: Likewise.
4062 * string/string.h: Likewise.
4063 * string/bits/string3.h: Likewise.
4064 * include/stdio.h: Likewise.
4065 * stdlib/bits/stdlib.h: Likewise.
4066 * stdlib/stdlib.h: Likewise.
4067 * rt/bits/mqueue2.h: Likewise.
4068 * rt/mqueue.h: Likewise.
4069 * posix/bits/unistd.h: Likewise.
4070 * posix/unistd.h: Likewise.
4071 * io/bits/poll2.h: Likewise.
4072 * io/bits/fcntl2.h: Likewise.
4073 * io/fcntl.h: Likewise.
4074 * io/sys/poll.h: Likewise.
4075 * misc/bits/syslog.h: Likewise.
4076 * misc/bits/syslog-ldbl.h: Likewise.
4077 * misc/sys/syslog.h: Likewise.
4078 * socket/bits/socket2.h: Likewise.
4079 * socket/sys/socket.h: Likewise.
4080 * debug/tst-chk1.c: Likewise.
4081 * wcsmbs/bits/wchar2.h: Likewise.
4082 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4083 * wcsmbs/wchar.h: Likewise.
4084
4085 2012-04-29 Andreas Jaeger <aj@suse.de>
4086
4087 * Makerules (tests): Remove enable-check-abi protection.
4088 (check-abi-warn): Remove.
4089 (check-abi-%): Remove check-abi-warn usage.
4090
4091 * configure.in: Remove check-abi configure option.
4092 * configure: Regenerated.
4093 * config.make.in (enable-check-abi): Remove.
4094
4095 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4096
4097 [BZ #14033]
4098 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4099 double functions to double *_finite functions.
4100
4101 [BZ #13941]
4102 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4103 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4104 LDBL_MIN_EXP.
4105 * stdio-common/Makefile (tests): Add tst-sprintf3.
4106 * stdio-common/tst-sprintf3.c: New file.
4107
4108 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4109 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4110
4111 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4112
4113 * conform/conformtest.pl: Remove duplicate typed-constant
4114 handling.
4115
4116 2012-04-28 David S. Miller <davem@davemloft.net>
4117
4118 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4119 (check-abi-%): Remove AWK script prerequisite and explicit
4120 abilist directory.
4121 (check-abi): Rewrite to just diff the symlist with the abilist.
4122 (config-tls, config-abi-config): Delete, no longer used.
4123 (update-abi-%): Remove AWK script and explicit abilist directory.
4124 (update-abi): Rewrite to simply compare and conditionally copy the
4125 symlist and the sysdep abilist file. Remove update-abi-config
4126 checks.
4127 * abilist/ld.abilist: Remove.
4128 * abilist/libBrokenLocale.abilist: Remove.
4129 * abilist/libanl.abilist: Remove.
4130 * abilist/libcrypt.abilist: Remove.
4131 * abilist/libdl.abilist: Remove.
4132 * abilist/librt.abilist: Remove.
4133 * abilist/libthread_db.abilist: Remove.
4134 * abilist/libutil.abilist: Remove.
4135 * scripts/extract-abilist.awk: Remove.
4136 * scripts/merge-abilist.awk: Remove.
4137 * sysdeps/generic/libcidn.abilist: New file.
4138 * sysdeps/generic/libnss_compat.abilist: New file.
4139 * sysdeps/generic/libnss_db.abilist: New file.
4140 * sysdeps/generic/libnss_dns.abilist: New file.
4141 * sysdeps/generic/libnss_files.abilist: New file.
4142 * sysdeps/generic/libnss_hesiod.abilist: New file.
4143 * sysdeps/generic/libnss_nis.abilist: New file.
4144 * sysdeps/generic/libnss_nisplus.abilist: New file.
4145 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4146 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4147 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4148 file.
4149 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4150 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4151 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4152 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4153 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4154 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4155 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4156 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4157 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4158 file.
4159 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4160 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4161 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4162 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4163 file.
4164 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4165 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4166 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4167 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4168 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4169 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4170 file.
4171 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4172 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4173 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4174 file.
4175 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4177 New file.
4178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4179 New file.
4180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4181 New file.
4182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4183 New file.
4184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4185 New file.
4186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4187 New file.
4188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4189 New file.
4190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4191 New file.
4192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4193 New file.
4194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4195 New file.
4196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4197 New file.
4198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4199 New file.
4200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4201 New file.
4202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4203 file.
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4205 New file.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4207 New file.
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4209 file.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4211 New file.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4213 New file.
4214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4215 file.
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4217 New file.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4219 New file.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4221 New file.
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4223 New file.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4225 New file.
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4227 New file.
4228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4230 file.
4231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4232 New file.
4233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4234 file.
4235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4236 file.
4237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4238 file.
4239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4240 file.
4241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4242 file.
4243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4244 New file.
4245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4246 file.
4247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4248 file.
4249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4250 New file.
4251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4252 file.
4253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4255 file.
4256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4257 New file.
4258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4259 file.
4260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4261 file.
4262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4263 file.
4264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4265 file.
4266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4267 file.
4268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4269 New file.
4270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4271 file.
4272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4273 file.
4274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4275 New file.
4276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4277 file.
4278 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4279 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4280 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4281 file.
4282 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4283 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4284 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4285 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4286 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4287 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4288 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4289 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4290 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4291 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4294 file.
4295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4296 New file.
4297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4298 file.
4299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4300 file.
4301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4302 file.
4303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4304 file.
4305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4306 file.
4307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4308 New file.
4309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4310 New file.
4311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4312 file.
4313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4314 New file.
4315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4316 file.
4317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4319 file.
4320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4321 New file.
4322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4323 file.
4324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4325 file.
4326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4327 file.
4328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4329 file.
4330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4331 file.
4332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4333 New file.
4334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4335 New file.
4336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4337 file.
4338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4339 New file.
4340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4341 file.
4342
4343 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4344
4345 * conform/conformtest.pl: Fix typo in handling typed-constant from
4346 allow-header.
4347
4348 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4349
4350 * README: Cut down references to pre-2.6 Linux kernels and
4351 Linuxthreads. Update lists of configurations in libc and ports
4352 and sort alphabetically. Say "or newer" with Linux kernel version
4353 requirements.
4354
4355 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4356
4357 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4358
4359 [BZ #887]
4360 * math/libm-test.inc (logb_test_downward): New test to expose
4361 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4362 rounding mode.
4363
4364 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4365
4366 [BZ #14027]
4367 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4368 to be done.
4369 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4370 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4371
4372 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4373
4374 * sysdeps/unix/i386/brk.S: Remove file.
4375 * sysdeps/unix/i386/dl-brk.S: Likewise.
4376 * sysdeps/unix/i386/pipe.S: Likewise.
4377 * sysdeps/unix/i386/sigreturn.S: Likewise.
4378 * sysdeps/unix/i386/syscall.S: Likewise.
4379 * sysdeps/unix/i386/vfork.S: Likewise.
4380 * sysdeps/unix/i386/wait.S: Likewise.
4381
4382 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4383 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4384
4385 * configure.in (arm*-none*): Do not allow without
4386 --enable-hacker-mode.
4387 (netbsd*): Remove case setting base_os.
4388 (386bsd*): Likewise.
4389 (freebsd*): Likewise.
4390 (bsdi*): Likewise.
4391 (osf*): Likewise.
4392 (sunos*): Likewise.
4393 (ultrix*): Likewise.
4394 (newsos*): Likewise.
4395 (dynix*): Likewise.
4396 (*bsd*): Likewise.
4397 (sysv*): Likewise.
4398 (isc*): Likewise.
4399 (esix*): Likewise.
4400 (sco*): Likewise.
4401 (minix*): Likewise.
4402 (irix4*): Likewise.
4403 (irix6*): Likewise.
4404 (solaris[2-9]*): Likewise.
4405 (none): Likewise.
4406 * configure: Regenerated.
4407
4408 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4409
4410 [BZ #11521]
4411 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4412 overflow or cancellation in calculating denominator.
4413 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4414 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4415 down expression to avoid unexpected rounding in newer GCCs.
4416 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4417
4418 2012-04-26 David S. Miller <davem@davemloft.net>
4419
4420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4421 long-double compat symbols.
4422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4435
4436 2012-04-25 David S. Miller <davem@davemloft.net>
4437
4438 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4439 HWCAP_* values only after the memory barriers have been defined.
4440 (atomic_full_barrier): Define.
4441 (atomic_read_barrier): Define.
4442 (atomic_write_barrier): Define.
4443
4444 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4445
4446 * shlib-versions: Add libgcc_s version information.
4447 * sysdeps/generic/libgcc_s.h: Remove.
4448 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4449 libgcc_s.h.
4450 * sysdeps/gnu/unwind-resume.c: Likewise.
4451 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4452
4453 2012-04-25 David S. Miller <davem@davemloft.net>
4454
4455 * sysdeps/unix/sparc/brk.S: Delete.
4456 * sysdeps/unix/sparc/dl-brk.S: Delete.
4457 * sysdeps/unix/sparc/pipe.S: Delete.
4458 * sysdeps/unix/sparc/sysdep.S: Delete.
4459 * sysdeps/unix/sparc/sysdep.h: Delete.
4460 * sysdeps/unix/sparc/vfork.S: Delete.
4461 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4462 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4463 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4464 ret_ERRVAL, r0, r1, MOVE): Define.
4465 (JUMPTARGET): Remove.
4466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4467 sysdeps/unix/sparc/sysdep.h
4468 (ENTRY, END): Remove.
4469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4470
4471 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4472
4473 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4474 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4475 -DIS_IN_build.
4476
4477 * timezone/README: Update upstream location and email address for
4478 tzcode and tzdata.
4479 * timezone/zdump.c: Update from tzcode 2012b.
4480 * timezone/zic.c: Likewise.
4481
4482 * configure.in (libc_cv_as_needed): Remove test.
4483 * configure: Regenerated.
4484 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4485 conditional definition.
4486 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4487 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4488 * config.make.in (have-as-needed): Remove variable.
4489
4490 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4491 Paul Pluzhnikov <ppluzhnikov@google.com>
4492
4493 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4494 strings correctly.
4495
4496 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4497
4498 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4499 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4500 * sysdeps/sh/strlen.S: Likewise.
4501
4502 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4503
4504 * sysdeps/unix/fork.S: Remove file.
4505 * sysdeps/unix/i386/fork.S: Likewise.
4506 * sysdeps/unix/sparc/fork.S: Likewise.
4507
4508 * sysdeps/unix/system.c: Remove file.
4509 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4510
4511 * sysdeps/unix/getegid.S: Remove file.
4512 * sysdeps/unix/geteuid.S: Likewise.
4513
4514 2012-04-24 Roland McGrath <roland@hack.frob.com>
4515
4516 * scripts/check-localplt.awk: New file.
4517 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4518 of diff.
4519 * scripts/data/localplt-generic.data: Add a comment.
4520
4521 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4522 NODE when __dir_mkfile failed.
4523 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4524 Reported by Ludovic Courtès <ludo@gnu.org>.
4525
4526 2012-04-24 Andreas Jaeger <aj@suse.de>
4527
4528 * Makerules (common-clean): Also remove gen-as-const-headers
4529 files.
4530
4531 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4532
4533 * Makerules (native-compile): Do not change working directory for
4534 build. Use $(OUTPUT_OPTION) in command.
4535 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4536
4537 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4538
4539 [BZ #13886]
4540 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4541 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4542 * math/libm-test.inc (floor_test): Add more tests.
4543 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4544
4545 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4546
4547 * sysdeps/unix/getdents.c: Remove file.
4548 * sysdeps/unix/sysv/getdents.c: Likewise.
4549 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4550
4551 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4552 sysdeps/unix/mman/syscalls.list.
4553 (mmap): Likewise.
4554 (mprotect): Likewise.
4555 (msync): Likewise.
4556 (munmap): Likewise.
4557 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4558 * sysdeps/unix/mman/syscalls.list: Remove.
4559 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4560
4561 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4562 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4563 * configure: Regenerated.
4564 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4565 $(libgcc_s_suffix).
4566 * config.make.in (libgcc_s_suffix): Remove variable.
4567
4568 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4569
4570 * sysdeps/unix/sysv/gethostname.c: Move to ...
4571 * sysdeps/posix/gethostname.c: ... here.
4572
4573 * sysdeps/unix/execve.S: Remove file.
4574
4575 * sysdeps/unix/_exit.S: Remove file.
4576
4577 2012-04-23 Andreas Jaeger <aj@suse.de>
4578
4579 [BZ #13739]
4580 * manual/Makefile: Remove make dist support, there's no
4581 need for a stand-alone documentation tar ball.
4582 (TEXI2DVI): Define always, it's not in Makeconfig.
4583 (dist): Removed.
4584 (tar-it): Removed.
4585 (edition): Removed.
4586 (glibc-doc-$(edition).tar): Removed
4587 (%.Z): Removed.
4588 (%.gz): Removed.
4589 (%.uu): Removed.
4590 (ETAGS): Remove, it's in Makeconfig.
4591 (move-if-change): Remove, it's in Makeconfig.
4592
4593 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4594
4595 [BZ #13970]
4596 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4597 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4598 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4599 (strtod_l, strtof_l, strtold_l): Remove __wur.
4600 It is not necessarily an error to ignore strtol's return value.
4601 One can reliably look at the stored endptr to decide whether
4602 the number had valid syntax.
4603
4604 2012-04-21 Andreas Jaeger <aj@suse.de>
4605
4606 [BZ #13739]
4607 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4608
4609 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4610
4611 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4612 * sysdeps/unix/sysv/Versions: Remove file.
4613
4614 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4615
4616 [BZ #13927]
4617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4618
4619 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4620
4621 [BZ #7064]
4622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4623 version from __vm86.
4624
4625 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4626
4627 * sysdeps/unix/common/lxstat.c: Remove file.
4628 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4629
4630 * sysdeps/unix/sysv/Makefile: Remove file.
4631
4632 * sysdeps/unix/sysv/direct.h: Remove file.
4633
4634 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4635 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4636 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4637 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4638 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4639 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4640 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4641
4642 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4643
4644 * sysdeps/unix/xmknod.c: Remove file.
4645 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4646
4647 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4648
4649 * sysdeps/unix/sysv/i386/time.S: Remove file.
4650
4651 * sysdeps/unix/fxstat.c: Remove file.
4652 * sysdeps/unix/xstat.c: Likewise.
4653 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4654
4655 * sysdeps/unix/sysv/sigaction.c: Remove file.
4656
4657 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4658 (sysdep_headers): Remove variable.
4659 [termio.h not in sysdep_headers] (generated): Likewise.
4660 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4661 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4662 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4663 * sysdeps/unix/sysv/tcflow.c: Likewise.
4664 * sysdeps/unix/sysv/tcflush.c: Likewise.
4665 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4666 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4667 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4668 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4669 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4670
4671 * sysdeps/unix/siglist.c: Remove file.
4672
4673 * sysdeps/unix/getppid.S: Remove file.
4674
4675 * sysdeps/unix/mkdir.c: Remove file.
4676 * sysdeps/unix/rmdir.c: Likewise.
4677
4678 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4679
4680 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4681 ERR_MAX value.
4682 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4683 errlist-compat value.
4684
4685 2012-04-18 David S. Miller <davem@davemloft.net>
4686
4687 * sysdeps/generic/memcopy.h (reg_char): Delete.
4688 * debug/strcat_chk.c: Use char, not reg_char.
4689 * debug/strcpy_chk.c: Likewise.
4690 * debug/strncat_chk.c: Likewise.
4691 * debug/strncpy_chk.c: Likewise.
4692 * string/memchr.c: Likewise.
4693 * string/memrchr.c: Likewise.
4694 * string/rawmemchr.c: Likewise.
4695 * string/strcat.c: Likewise.
4696 * string/strchr.c: Likewise.
4697 * string/strchrnul.c: Likewise.
4698 * string/strcmp.c: Likewise.
4699 * string/strcpy.c: Likewise.
4700 * string/strncat.c: Likewise.
4701 * string/strncmp.c: Likewise.
4702 * string/strncpy.c: Likewise.
4703
4704 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4705
4706 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4707 __builtin_memcopy is called when src and dest ranges are known to not
4708 overlap.
4709
4710 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4711
4712 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4713 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4714 fwd_align_merge macro call.
4715 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4716 bwd_align_merge macro call.
4717 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4718
4719 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4720
4721 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4722 bwd_align_merge macros.
4723 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4724 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4725 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4726
4727 2012-04-18 David S. Miller <davem@davemloft.net>
4728
4729 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4730
4731 2012-04-18 Andreas Jaeger <aj@suse.de>
4732
4733 [BZ# 6794]
4734 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4735 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4736 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4737
4738 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4739 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4740 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4741
4742 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4743 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4744 Adjust for changed ldbl-128 files.
4745
4746 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4747 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4748 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4749
4750 2012-04-17 David S. Miller <davem@davemloft.net>
4751
4752 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4753
4754 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4755
4756 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4757 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4758 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4759 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4760 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4761 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4762
4763 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4764
4765 [BZ #6794]
4766 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4767 * math/libm-test.inc: Add ilogb errno and exception tests.
4768 * math/w_ilogb.c: New file: ilogb wrapper.
4769 * math/w_ilogbf.c: New file: ilogbf wrapper.
4770 * math/w_ilogbl.c: New file: ilogbl wrapper.
4771 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4772 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4773 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4774 exception being thrown with 0.0 as argument.
4775 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4776 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4777 exception being thrown with 0.0 as argument.
4778 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4779 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4780 exception being thrown with 0.0 as argument.
4781 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4782 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4783 exception being thrown with 0.0 as argument.
4784 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4785 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4786 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4787 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4789 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4790 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4791 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4792 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4793
4794 2012-04-17 Petr Baudis <pasky@ucw.cz>
4795
4796 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4797 with altivec.
4798
4799 2012-04-16 Marek Polacek <polacek@redhat.com>
4800
4801 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4802
4803 2012-04-16 Marek Polacek <polacek@redhat.com>
4804
4805 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4806 operands of fdivp instruction.
4807
4808 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4809
4810 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4811 * elf/tst-auditmod3b.c: Likewise.
4812 * elf/tst-auditmod4b.c: Likewise.
4813 * elf/tst-auditmod5b.c: Likewise.
4814 * elf/tst-auditmod6b.c: Likewise.
4815 * elf/tst-auditmod6c.c: Likewise.
4816 * elf/tst-auditmod7b.c: Likewise.
4817 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4818 * sysdeps/x86_64/preconfigure.in: Likewise.
4819 * sysdeps/x86_64/preconfigure: Regenerated.
4820
4821 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4822
4823 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4824 __ILP32__.
4825
4826 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4827
4828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4829 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4830
4831 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4832
4833 [BZ #13973]
4834 * locale/iso-639.def: Fix gl language name. Spotted by
4835 Yaron Shahrabani.
4836
4837 2012-04-12 Roland McGrath <roland@hack.frob.com>
4838
4839 [BZ #2074]
4840 * libio/libio.h (__io_write_fn): Update comment.
4841
4842 2012-04-12 Petr Baudis <pasky@ucw.cz>
4843
4844 [BZ #2074]
4845 * stdio.texi (Hook Functions): The user provided writer function
4846 is not allowed to return -1.
4847
4848 2012-04-11 David S. Miller <davem@davemloft.net>
4849
4850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4851
4852 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4853
4854 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4855 Add a leading slash to rtkaio.
4856
4857 2012-04-11 Jim Meyering <meyering@redhat.com>
4858
4859 [BZ #11959]
4860 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4861 It is not necessarily an error to ignore fwrite's return
4862 value. One can reliably use ferror to test for errors after
4863 the fact.
4864
4865 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4866
4867 * bits/types.h (__snseconds_t): New type.
4868 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4869
4870 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4872 (__SNSECONDS_T_TYPE): Likewise.
4873 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4874 (__SNSECONDS_T_TYPE): Likewise.
4875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4876 (__SNSECONDS_T_TYPE): Likewise.
4877
4878 2012-04-10 Andreas Jaeger <aj@suse.de>
4879
4880 [BZ #2636]
4881 * manual/time.texi (Processor Time): Return type of times is
4882 elapsed real time since an arbitrary point in the past.
4883 (CPU Time): Move CLK_TCK from here...
4884 (Processor Time): ...to here. Correct description.
4885 * manual/conf.texi (Constants for Sysconf): Correct description of
4886 _SC_CLK_TCK.
4887
4888 2012-04-10 David S. Miller <davem@davemloft.net>
4889
4890 [BZ #13967]
4891 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4892 where the is a gap between DT_REL(A) and DT_JMPREL.
4893
4894 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4895
4896 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4897 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4898 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4899
4900 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4901
4902 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4903 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4904 (dl_main): Handle --inhibit-cache.
4905 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4906 _dl_inhibit_cache.
4907 * elf/dl-load.c (_dl_map_object): Use it.
4908 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4909
4910 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4911
4912 [BZ #13872]
4913 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4914 (__ieee754_powl): Saturate large exponents rather than testing for
4915 overflow of y*log2(x).
4916 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4917 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4918 exceptions.
4919
4920 [BZ #11521]
4921 * math/s_ctan.c: Include <float.h>.
4922 (__ctan): Avoid internal overflow or cancellation in calculating
4923 denominator.
4924 * math/s_ctanf.c: Likewise.
4925 * math/s_ctanl.c: Likewise.
4926 * math/s_ctanh.c: Likewise.
4927 * math/s_ctanhf.c: Likewise.
4928 * math/s_ctanhl.c: Likewise.
4929 * math/libm-test.inc (ctan_test): Add more tests.
4930 (ctanh_test): Likewise.
4931 * sysdeps/i386/fpu/libm-test-ulps: Update.
4932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4933
4934 2012-04-09 Andreas Jaeger <aj@suse.de>
4935
4936 [BZ #6894]
4937 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4938 is an optional BSD extension.
4939
4940 [BZ #10254]
4941 * manual/stdio.texi (Opening Streams): Document additional fopen
4942 parameters.
4943
4944 2012-04-09 Roland McGrath <roland@hack.frob.com>
4945
4946 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4947 %eax without telling the compiler.
4948
4949 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4950
4951 [BZ # 13963]
4952 * manual/install.texi: Use sourceware.org.
4953
4954 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4955
4956 [BZ #13873]
4957 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4958 (__ieee754_pow): Generate overflow and underflow using huge*huge
4959 and tiny*tiny rather than just returning constant infinity or zero
4960 for large exponents.
4961 * math/libm-test.inc (pow_test): Require overflow exceptions for
4962 applicable cases of large exponents.
4963
4964 [BZ #706]
4965 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4966 (__ieee754_pow): Use iterative multiplication algorithm only for
4967 integer exponents with absolute value below 1024. Check for odd
4968 integer exponents when using algorithm for real exponents.
4969 * math/libm-test.inc (pow_test): Add more tests.
4970 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4971
4972 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4973
4974 [BZ #13705]
4975 * math/libm-test.inc (exp_test): Do not allow overflow exception
4976 on underflow test.
4977
4978 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4979
4980 [BZ #13705]
4981 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4982 instead of __kernel_standard_f.
4983
4984 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4985
4986 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4987 * sysdeps/x86_64/memset_chk.S: Likewise.
4988
4989 2012-04-08 Andreas Jaeger <aj@suse.de>
4990
4991 [BZ #10153]
4992 * manual/startup.texi (Environment Access): Describe return value
4993 for putenv and setenv.
4994
4995 [BZ #6895]
4996 * manual/filesys.texi (Directory Entries): Add description for
4997 DT_LNK.
4998
4999 [BZ #6890]
5000 * manual/filesys.texi (Directory Entries): Clarify that it's file
5001 system not operating system in the description of DT_UNKNOWN.
5002
5003 [BZ #6578]
5004 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5005
5006 2012-04-08 Stephen Compall <s11@member.fsf.org>
5007
5008 [BZ #6649]
5009 * manual/llio.texi (Opening and Closing Files): Add cross
5010 reference to explain mode argument.
5011
5012 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5013
5014 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5015 * sysdeps/x86_64/memset_chk.S: Likewise.
5016
5017 2012-04-07 David S. Miller <davem@davemloft.net>
5018
5019 * elf/elf.h (R_SPARC_WDISP10): Define.
5020 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5021 R_SPARC_SIZE32.
5022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5023 R_SPARC_SIZE64 and R_SPARC_H34.
5024
5025 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5026
5027 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5028 conditions and remove no longer applicable assertion.
5029
5030 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5031
5032 * bits/byteswap.h: Include <features.h>.
5033 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5034 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5035
5036 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5037
5038 * bits/byteswap.h (__bswap_16): Removed.
5039 Include <bits/byteswap-16.h> to get __bswap_16.
5040 * sysdeps/i386/bits/byteswap.h: Likewise.
5041 * sysdeps/s390/bits/byteswap.h: Likewise.
5042 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5043 * bits/byteswap-16.h: New file.
5044 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5045 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5046 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5047 * string/Makefile (headers): Add bits/byteswap-16.h.
5048
5049 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5050
5051 [BZ #13895]
5052 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5053 extra indirection.
5054 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5055 * nss/tst-nss-static.c: New.
5056
5057 2012-04-06 Robert Millan <rmh@gnu.org>
5058
5059 [BZ #6486]
5060 * manual/llio.texi (File Position Primitive): lseek
5061 refers to WHENCE when it really means OFFSET.
5062
5063 2012-04-06 Andreas Jaeger <aj@suse.de>
5064
5065 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5066 strncmp declarations.
5067
5068 * abilist/libc.abilist: Add __poll and __ppoll.
5069
5070 2012-04-05 David S. Miller <davem@davemloft.net>
5071
5072 * scripts/check-local-headers.sh: Accept a host triplet in the
5073 path matched by the exclude regexp.
5074
5075 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5076 definition.
5077 * sysdeps/powerpc/powerpc32/dl-machine.h
5078 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5079 * sysdeps/s390/s390-32/dl-machine.h
5080 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5081 * sysdeps/sparc/sparc32/dl-machine.h
5082 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5083 * sysdeps/sparc/sparc64/dl-machine.h
5084 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5085
5086 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5087 lazy binding.
5088 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5089 undefined symbol errors.
5090
5091 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5092 DT_NEEDED entries.
5093
5094 2012-04-05 Michael Matz <matz@suse.de>
5095
5096 [BZ #13592]
5097 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5098
5099 2012-04-05 Andreas Jaeger <aj@suse.de>
5100
5101 [BZ #13908]
5102 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5103 comment.
5104
5105 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5106
5107 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5108 which ROUND is no valid rounding mode.
5109
5110 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5111
5112 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5113 read again.
5114 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5115
5116 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5117
5118 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5119 an exception using FPU order intentionally.
5120
5121 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5122
5123 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5124 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5125 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5126 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5127
5128 2012-04-05 Simon Josefsson <simon@josefsson.org>
5129
5130 [BZ #12340]
5131 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5132 EINVAL when BUFLEN is too smal.
5133
5134 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5135
5136 [BZ #13553]
5137 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5138 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5139
5140 2012-04-03 Andreas Jaeger <aj@suse.de>
5141
5142 [BZ #13938]
5143 * manual/setjmp.texi (System V contexts): Fix sentence.
5144
5145 [BZ #13926]
5146 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5147 New macro for this case.
5148 [!__GNUC__] (__bswap_64): New inline function for this case.
5149 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5150 * bits/byteswap.h: Likewise.
5151 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5152 ull, guard with __GLIBC_HAVE_LONG_LONG.
5153
5154 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5155 __GLIBC_HAVE_LONG_LONG.
5156
5157 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5158 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5159
5160 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5161
5162 [BZ #13691]
5163 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5164 inptr and inend, rather than using last_ch.
5165
5166 2012-04-02 David S. Miller <davem@davemloft.net>
5167
5168 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5169 * stdio-common/printf-parse.h (read_int): Change return type to
5170 'int', return -1 on INT_MAX overflow.
5171 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5172 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5173 overflows INT_MAX. Check for overflow of in-format-string precision
5174 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5175 SIZE_MAX not INT_MAX for integer overflow test.
5176 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5177 skip the construct in the format string but do not record anything.
5178 * stdio-common/bug22.c: Adjust to test both width/prevision
5179 INT_MAX overflow as well as total length INT_MAX overflow. Check
5180 explicitly for proper errno values.
5181
5182 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5183
5184 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5185 CHAR_MAX.
5186 * string/test-strcmp.c [! WIDE]: Likewise.
5187 * time/tst-mktime2.c: Likewise for INT_MAX.
5188 * string/test-string.h: #include <sys/param.h> for MIN.
5189
5190 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5191 * sysdeps/i386/init-first.c (init): Likewise.
5192 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5193 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5194 * sysdeps/sh/init-first.c (init): Likewise.
5195
5196 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5197
5198 * po/ru.po: Update from translation team.
5199 * po/vi.po: Likewise.
5200
5201 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5202
5203 * resolv/nss_dns/dns-host.c: Merge copyright years.
5204
5205 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5206
5207 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5208 Optimize memcpy with prefetch if
5209 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5210 src, dst pointers have unequal 16 byte alignments.
5211
5212 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5213
5214 [BZ #13928]
5215 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5216 from a CNAME entry and return the minimum ttl for the query.
5217 (gaih_getanswer_slice): Likewise.
5218
5219 2012-03-30 Jeff Law <law@redhat.com>
5220
5221 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5222 due to long keys.
5223 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5224 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5225
5226 * resolv/nss_dns/dns-host.c: Update copyright year.
5227
5228 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5229
5230 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5231 requests to save a system call. Fix check that all bytes are sent.
5232
5233 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5234 comments for sendmmsg.
5235
5236 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5237
5238 [BZ #13691]
5239 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5240 with only 1 character between 0x0041 and 0x01b0.
5241 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5242 * wcsmbs/tst-mbsnrtowcs.c: New file.
5243
5244 2012-03-29 David S. Miller <davem@davemloft.net>
5245
5246 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5247 small copies by hand.
5248
5249 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5250
5251 [BZ #13761]
5252 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5253 _nss_compat_initgroups_dyn): Fall back to malloc/free
5254 for large group memberships.
5255
5256 2012-03-28 David S. Miller <davem@davemloft.net>
5257
5258 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5259 that branches into memcpy.
5260 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5261 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5262 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5263 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5265 bits.
5266 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5267 implementation too.
5268 * sysdeps/sparc/mempcpy.S: New file.
5269
5270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5271 the IFUNC routine in the libc case.
5272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5273
5274 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5275 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5276 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5277 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5278 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5279 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5280 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5281 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5282
5283 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5284 loop to 256 bytes instead of 64 bytes and fix test signedness.
5285
5286 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5287 * sysdeps/sparc/sparc32/Makefile: rather than here...
5288 * sysdeps/sparc/sparc64/Makefile: and here.
5289
5290 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5291
5292 * malloc/mallocbug.c: Avoid warnings about unused variables.
5293
5294 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5295
5296 [BZ #13760]
5297 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5298 in the right place. Discard and retry query if response is
5299 larger than input buffer size.
5300
5301 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5302
5303 [BZ #369]
5304 [BZ #2678]
5305 [BZ #3866]
5306 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5307 x for large integer exponent.
5308 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5309 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5310 sign of result as needed afterwards.
5311 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5312 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5313 result for underflowing pow the same as for overflow.
5314 (__kernel_standard_l): Handle powl overflow and underflow here
5315 rather than calling __kernel_standard.
5316 * math/libm-test.inc (pow_test): Add more tests.
5317
5318 [BZ #3868]
5319 [BZ #13879]
5320 [BZ #13910]
5321 [BZ #13911]
5322 [BZ #13912]
5323 [BZ #13913]
5324 [BZ #13915]
5325 [BZ #13916]
5326 [BZ #13917]
5327 [BZ #13918]
5328 [BZ #13919]
5329 [BZ #13920]
5330 [BZ #13921]
5331 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5332 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5333 (__kernel_standard_l): New function.
5334 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5335 __kernel_standard.
5336 * math/w_acosl.c (__acosl): Likewise.
5337 * math/w_asinl.c (__asinl): Likewise.
5338 * math/w_atan2l.c (__atan2l): Likewise.
5339 * math/w_atanhl.c (__atanhl): Likewise.
5340 * math/w_coshl.c (__coshl): Likewise.
5341 * math/w_exp10l.c (__exp10l): Likewise.
5342 * math/w_exp2l.c (__exp2l): Likewise.
5343 * math/w_fmodl.c (__fmodl): Likewise.
5344 * math/w_hypotl.c (__hypotl): Likewise.
5345 * math/w_j0l.c (__j0l, __y0l): Likewise.
5346 * math/w_j1l.c (__j1l, __y1l): Likewise.
5347 * math/w_jnl.c (__jnl, __ynl): Likewise.
5348 * math/w_lgammal.c (__lgammal): Likewise.
5349 * math/w_log10l.c (__log10l): Likewise.
5350 * math/w_log2l.c (__log2l): Likewise.
5351 * math/w_logl.c (__logl): Likewise.
5352 * math/w_powl.c (__powl): Likewise.
5353 * math/w_remainderl.c (__remainderl): Likewise.
5354 * math/w_scalbl.c (sysv_scalbl): Likewise.
5355 * math/w_sinhl.c (__sinhl): Likewise.
5356 * math/w_sqrtl.c (__sqrtl): Likewise.
5357 * math/w_tgammal.c (__tgammal): Likewise.
5358 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5359 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5360 * math/libm-test.inc (acos_test): Add more tests.
5361 (acosh_test): Likewise.
5362 (asin_test): Likewise.
5363 (atanh_test): Likewise.
5364 (exp_test): Likewise.
5365 (exp10_test): Likewise.
5366 (exp2_test): Likewise.
5367 (expm1_test): Likewise.
5368 (lgamma_test): Likewise.
5369 (log_test): Likewise.
5370 (log10_test): Likewise.
5371 (log1p_test): Likewise.
5372 (log2_test): Likewise.
5373 (pow_test): Do not allow some spurious overflow exceptions.
5374 (sqrt_test): Add more tests.
5375 (tgamma_test): Likewise.
5376 (y0_test): Likewise.
5377 (y1_test): Likewise.
5378 (yn_test): Likewise.
5379
5380 2012-03-27 Anton Blanchard <anton@samba.org>
5381
5382 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5383 MAP_HUGETLB.
5384 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5385 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5386 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5387
5388 2012-03-27 David S. Miller <davem@davemloft.net>
5389
5390 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5391
5392 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5393 have-as-vis3 check.
5394
5395 2012-03-27 Andreas Jaeger <aj@suse.de>
5396
5397 * sysdeps/x86_64/elf/configure.in: Moved to ...
5398 * sysdeps/x86_64/configure.in: ... here.
5399 * sysdeps/x86_64/elf/start.S: Moved to ...
5400 * sysdeps/x86_64/start.S: ... here.
5401 * sysdeps/x86_64/elf/configure: Delete.
5402
5403 * sysdeps/x86_64/configure.in: Merge contents from
5404 sysdeps/i386/configure.in (without i686 check).
5405
5406 * sysdeps/i386/elf/Versions: Merge into ...
5407 * sysdeps/i386/Versions: ... this.
5408 * sysdeps/i386/elf/Versions: Delete file.
5409 * sysdeps/i386/elf/start.S: Moved to ...
5410 * sysdeps/i386/start.S: ...here.
5411 * sysdeps/i386/elf/configure.in: Merge into...
5412 * sysdeps/i386/configure.in: ...here.
5413 * sysdeps/i386/elf/configure.in: Delete file.
5414 * sysdeps/i386/elf/configure: Delete file.
5415
5416 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5417 * debug/backtracesyms.c: ... here.
5418 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5419 * debug/backtracesymsfd.c: ... here.
5420 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5421 * sysdeps/generic/ifunc-sel.h: ... here.
5422
5423 * sysdeps/unix/i386/start.c: Delete file.
5424 * sysdeps/unix/sparc/start.c: Delete file.
5425 * sysdeps/unix/start.c: Delete file.
5426
5427 * sysdeps/sh/elf/configure.in: Moved to ...
5428 * sysdeps/sh/configure.in: ... here.
5429 * sysdeps/sh/elf/start.S: Moved to ...
5430 * sysdeps/sh/start.S: ... here.
5431 * sysdeps/sh/elf/configure: Delete file.
5432
5433 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5434 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5435 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5436 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5437 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5438 * sysdeps/powerpc/powerpc64/start.S: here.
5439 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5440 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5441 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5442 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5443 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5444
5445 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5446 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5447 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5448 * sysdeps/powerpc/powerpc32/start.S: ... here.
5449 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5450 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5451 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5452
5453 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5454 * sysdeps/powerpc/ifunc-sel.h: ... here.
5455 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5456 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5457
5458 * sysdeps/sparc/elf/configure.in: Moved to ...
5459 * sysdeps/sparc/configure.in: ... here.
5460 * sysdeps/sparc/elf/configure: Delete file.
5461 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5462 * sysdeps/sparc/sparc32/start.S: ... here.
5463 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5464 * sysdeps/sparc/sparc64/start.S: ... here.
5465 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5466 * sysdeps/sparc/sparc32/Makefile: ... this.
5467 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5468 * sysdeps/sparc/sparc64/Makefile: ... this.
5469
5470 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5471 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5472 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5473 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5474 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5475 * sysdeps/s390/s390-32/setjmp.S: ... here.
5476 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5477 * sysdeps/s390/s390-32/configure.in: ... here.
5478 * sysdeps/s390/s390-32/elf/configure: Delete file.
5479 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5480 * sysdeps/s390/s390-32/start.S: ... here.
5481
5482 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5483 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5484 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5485 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5486 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5487 * sysdeps/s390/s390-64/setjmp.S: ... here.
5488 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5489 * sysdeps/s390/s390-64/configure.in: ... here
5490 * sysdeps/s390/s390-64/elf/configure: Delete file.
5491 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5492 * sysdeps/s390/s390-64/start.S: ... here.
5493 * sysdeps/s390/s390-64/elf/configure: Delete.
5494
5495 * configure.in: Remove support for elf directories in sysdeps.
5496
5497 * configure: Regenerated.
5498 * sysdeps/i386/configure: Regenerated.
5499 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5500 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5501 * sysdeps/s390/s390-32/configure: Regenerated.
5502 * sysdeps/s390/s390-64/configure: Regenerated.
5503 * sysdeps/sh/configure: Regenerated.
5504 * sysdeps/sparc/configure: Regenerated.
5505 * sysdeps/x86_64/configure: Regenerated.
5506
5507 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5508
5509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5510
5511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5512 denormal result into account.
5513
5514 2012-03-25 Roland McGrath <roland@hack.frob.com>
5515
5516 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5517 Reported by Allan McRae <allan@archlinux.org>.
5518
5519 2012-03-23 Jeff Law <law@redhat.com>
5520
5521 * nss/getnssent.c (__nss_getent): Fix typo.
5522
5523 2012-03-23 David S. Miller <davem@davemloft.net>
5524
5525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5526
5527 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5528
5529 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5530 to pad to uint64_t for each field.
5531 (dl_tls_index): Replace unsigned long with uint64_t.
5532
5533 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5534 Paul Pluzhnikov <ppluzhnikov@google.com>
5535
5536 [BZ #6528]
5537 * grp/Makefile (otherlibs): Don't set it.
5538 * inet/Makefile (otherlibs): Likewise.
5539 * login/Makefile (otherlibs): Likewise.
5540 * nscd/Makefile (otherlibs): Likewise.
5541 * posix/Makefile (otherlibs): Likewise.
5542 * pwd/Makefile (otherlibs): Likewise.
5543 * rt/Makefile (otherlibs): Likewise.
5544 * sunrpc/Makefile (otherlibs): Likewise.
5545 * nss/Makefile (otherlibs): Likewise.
5546 Add libnss_files to routines and static-only-routines.
5547 ($(objpfx)getent): Remove rule.
5548 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5549 static-only-routines.
5550
5551 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5552
5553 [BZ #13892]
5554 * math/s_cexp.c: Include <float.h>.
5555 (__cexp): Handle exp result overflowing not necessarily
5556 overflowing both real and imaginary parts of result.
5557 * math/s_cexpf.c: Likewise.
5558 * math/s_cexpl.c: Likewise.
5559 * math/libm-test.inc (cexp_test): Add more tests.
5560 * sysdeps/i386/fpu/libm-test-ulps: Update.
5561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5562
5563 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5564
5565 * include/link.h (ELFW): New macro.
5566 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5567 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5568
5569 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5570
5571 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5572 with uint64_t.
5573
5574 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5575
5576 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5577 declaration.
5578 (struct La_x32_retval): Likewise.
5579
5580 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5581
5582 * sysdeps/x86_64/preconfigure.in: New file.
5583 * sysdeps/x86_64/preconfigure: New generated file.
5584
5585 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5586
5587 [BZ #13824]
5588 * math/e_exp2l.c: Include <float.h>.
5589 (__ieee754_exp2l): Handle overflow and underflow cases
5590 separately. Only pass fractional part of argument to
5591 __ieee754_expl.
5592 * math/libm-test.inc (exp2_test): Add more tests.
5593
5594 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5595 negating x to take absolute value.
5596 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5597 Likewise.
5598 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5599 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5600 Likewise.
5601 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5602 computing low part if x was negated.
5603 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5604
5605 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5606
5607 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5608 la_x32_gnu_pltexit.
5609 (pltexit): Cast int_retval to ptrdiff_t.
5610 * elf/tst-auditmod3b.c: Likewise.
5611 * elf/tst-auditmod4b.c: Likewise.
5612 * elf/tst-auditmod5b.c: Likewise.
5613 * elf/tst-auditmod6b.c: Likewise.
5614 * elf/tst-auditmod6c.c: Likewise.
5615 * elf/tst-auditmod7b.c: Likewise.
5616
5617 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5618 and x32_gnu_pltexit.
5619
5620 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5621 __ELF_NATIVE_CLASS.
5622 (La_x32_regs): New macro.
5623 (La_x32_retval): Likewise.
5624 (la_x32_gnu_pltenter): New function prototype.
5625 (la_x32_gnu_pltexit): Likewise.
5626
5627 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5628
5629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5630 exponent.
5631
5632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5633
5634 * configure.in (libc_cv_cc_nofma): Check for option to disable
5635 generation of FMA instructions.
5636 * configure: Regenerate.
5637 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5638 * sysdeps/ieee754/dbl-64/Makefile: New file.
5639 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5640 Remove brandred-fma4.
5641 (CFLAGS-brandred-fma4.c): Remove.
5642 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5643 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5644 define.
5645 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5646 define.
5647
5648 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5649
5650 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5651 LLONG_MAX != LONG_MAX.
5652 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5653 (_fitoa_word): Likewise.
5654 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5655 LLONG_MAX != LONG_MAX.
5656 * stdio-common/_itowa.h: Include <_itoa.h>.
5657 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5658 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5659 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5660 only if not defined.
5661 (_ITOA_WORD_TYPE): Likewise.
5662 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5663 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5664
5665 2012-03-21 David S. Miller <davem@davemloft.net>
5666
5667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5668
5669 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5670
5671 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5672 of x86_64 when setting libc_cv_slibdir, libdir and
5673 libc_cv_localedir.
5674 * sysdeps/unix/sysv/linux/configure: Regenerated.
5675
5676 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5677
5678 * manual/lang.texi (Old Varargs): Remove section.
5679 (How Variadic): Update menu.
5680 (va_start): Do not mention varargs.h.
5681
5682 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5683 Joseph Myers <joseph@codesourcery.com>
5684
5685 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5686 link test.
5687 * configure: Regenerated.
5688
5689 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5690
5691 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5692 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5693 conformtest.pl
5694
5695 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5696
5697 * NOTES: Remove.
5698 * Makefile (files-for-dist): Remove NOTES.
5699 (NOTES): Remove rule.
5700 * README: Don't refer to NOTES.
5701 * manual/creature.texi: Don't include macros.texi.
5702 * manual/intro.texi (creature.texi): Remove comment referring to
5703 NOTES.
5704
5705 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5706 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5707 * configure: Regenerated.
5708 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5709 LIBC_TRY_CC_OPTION.
5710 (libc_cv_as_i686): Likewise.
5711 (libc_cv_cc_avx): Likewise.
5712 (libc_cv_cc_sse2avx): Likewise.
5713 (libc_cv_cc_fma4): Likewise.
5714 (libc_cv_cc_novzeroupper): Likewise.
5715 * sysdeps/i386/configure: Regenerated.
5716
5717 [BZ #13883]
5718 * sysdeps/i386/fpu/s_cexp.S: Remove.
5719 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5720 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5721 * math/libm-test.inc (cexp_test): Add more tests.
5722 * sysdeps/i386/fpu/libm-test-ulps: Update.
5723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5724
5725 2012-03-21 Allan McRae <allan@archlinux.org>
5726
5727 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5728
5729 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5730
5731 [BZ #13871]
5732 * math/w_exp2.c: Do not include <float.h>.
5733 (o_threshold, u_threshold): Remove.
5734 (__exp2): Calculate result before checking finiteness and calling
5735 __kernel_standard.
5736 * math/w_exp2f.c: Likewise.
5737 * math/w_exp2l.c: Likewise.
5738 * math/libm-test.inc (exp2_test): Require overflow exception for
5739 1e6 input.
5740
5741 [BZ #3866]
5742 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5743 range of signed 64-bit integers before using fistpll. Remove
5744 checks for whether integers fit in mantissa bits.
5745 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5746 the range of signed 32-bit integers before using fistpl. Remove
5747 checks for whether integers fit in mantissa bits.
5748 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5749 (__ieee754_powl): Test for y outside the range of signed 64-bit
5750 integers before using fistpll. Reduce 64-bit values to 63-bit
5751 ones as needed.
5752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5753 divide-by-zero is raised for zero to large negative powers.
5754 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5755 (__ieee754_powl): Test for y outside the range of signed 64-bit
5756 integers before using fistpll. Reduce 64-bit values to 63-bit
5757 ones as needed.
5758 * math/libm-test.inc (pow_test): Add more tests.
5759
5760 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5761
5762 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5763 <stdio-common/_itoa.h>.
5764 * debug/segfault.c: Likewise.
5765 * elf/dl-cache.c: Likewise.
5766 * elf/dl-minimal.c: Likewise.
5767 * elf/dl-misc.c: Likewise.
5768 * elf/dl-sysdep.c: Likewise.
5769 * elf/dl-version.c: Likewise.
5770 * elf/rtld.c: Likewise.
5771 * hurd/hurdsock.c: Likewise.
5772 * hurd/lookup-retry.c: Likewise.
5773 * malloc/malloc.c: Likewise.
5774 * malloc/mtrace.c: Likewise.
5775 * nscd/nscd_getgr_r.c: Likewise.
5776 * nscd/nscd_getpw_r.c: Likewise.
5777 * nscd/nscd_getserv_r.c: Likewise.
5778 * posix/getopt_init.c: Likewise.
5779 * posix/wordexp.c: Likewise.
5780 * stdio-common/_itoa.c: Likewise.
5781 * stdio-common/printf_fphex.c: Likewise.
5782 * stdio-common/vfprintf.c: Likewise.
5783 * string/_strerror.c: Likewise.
5784 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5785 * sysdeps/i386/i686/hp-timing.h: Likewise.
5786 * sysdeps/mach/_strerror.c: Likewise.
5787 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5788 * sysdeps/mach/hurd/sethostid.c: Likewise.
5789 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5790 * sysdeps/mach/xpg-strerror.c: Likewise.
5791 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5792 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5793 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5794 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5795 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5796 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5797 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5798 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5799 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5800 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5801 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5802 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5803 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5804 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5805 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5806 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5807 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5808 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5809 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5810 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5811 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5812
5813 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5814
5815 * stdio-common/_itoa.h: Moved to ...
5816 * sysdeps/generic/_itoa.h: Here.
5817
5818 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5819
5820 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5821 instead of "_itoa.h" and "_itowa.h".
5822 * stdio-common/vfprintf.: Likewise.
5823
5824 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5825
5826 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5827 <bits/wordsize.h>.
5828 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5829 (__signbit): Likwise.
5830 (llrintf): Likwise.
5831 (llrint): Likwise.
5832
5833 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5834
5835 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5836 __WORDSIZE != 64.
5837
5838 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5839
5840 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5841 OVERFLOW_EXCEPTION_OK.
5842 * math/libm-test.inc ("Philosophy"): Update comment about
5843 exception testing.
5844 (OVERFLOW_EXCEPTION): Define.
5845 (OVERFLOW_EXCEPTION_OK): Likewise.
5846 (INVALID_EXCEPTION_OK): Renumber.
5847 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5848 (IGNORE_ZERO_INF_SIGN): Likewise.
5849 (test_exceptions): Handle FE_OVERFLOW.
5850 (exp10_test): Expect overflow exceptions.
5851 (exp2_test): Likewise.
5852 (expm1_test): Likewise.
5853 (nextafter_test): Likewise.
5854 (pow_test): Likewise.
5855 (scalbn_test): Likewise.
5856 (scalbln_test): Likewise.
5857
5858 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5859
5860 * sysdeps/x86_64/bits/atomic.h
5861 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5862 64bit integer.
5863 (atomic_exchange_acq): Likewise.
5864 (__arch_exchange_and_add_body): Likewise.
5865 (__arch_add_body): Likewise.
5866 (atomic_add_negative): Likewise.
5867 (atomic_add_zero): Likewise.
5868
5869 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5870
5871 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5872 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5873
5874 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5875
5876 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5877 Check __x86_64__ instead of __WORDSIZE.
5878
5879 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5880
5881 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5882
5883 2012-03-19 David S. Miller <davem@davemloft.net>
5884
5885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5886
5887 * sysdeps/sparc/fpu/fenv_private.h: New file.
5888 * sysdeps/sparc/fpu/math_private.h: Use it.
5889 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5890 Remove.
5891 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5892 (libc_feholdexcept_setroundl): Remove.
5893 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5894 Remove.
5895 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5896 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5897
5898 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5899
5900 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5901 int64_t instead of long int.
5902 (INSERT_WORDS64): Likwise.
5903
5904 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5905
5906 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5907 _Unwind_GetCFA return to _Unwind_Ptr first.
5908
5909 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5910
5911 [BZ #13629]
5912 * math/s_clog.c: Include <float.h>.
5913 (__clog): Scale large or subnormal inputs.
5914 * math/s_clogf.c: Likewise.
5915 * math/s_clogl.c: Likewise.
5916 * math/s_clog10.c: Include <float.h>.
5917 (M_LOG10_2): Define.
5918 (__clog10): Scale large or subnormal inputs.
5919 * math/s_clog10f.c: Likewise.
5920 * math/s_clog10l.c: Likewise.
5921 * math/libm-test.inc (clog_test): Add more tests.
5922 (clog10_test): Likewise.
5923 * sysdeps/i386/fpu/libm-test-ulps: Update.
5924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5925
5926 [BZ #11451]
5927 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5928 x and y.
5929 * math/libm-test.inc (atan2_test): Add another test.
5930
5931 * Makerules (common-objdir-compile): Remove.
5932 * sysdeps/unix/Makefile (config-generated): Do not add
5933 $(unix-generated) to variable.
5934 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5935 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5936 Remove rule.
5937 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5938 Likewise.
5939 [generic bits/local_lim.h] (before-compile): Do not append to
5940 variable.
5941 [generic bits/local_lim.h] (common-generated): Likewise.
5942 [generic sys/param.h] (before-compile): Do not append to variable.
5943 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5944 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5945 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5946 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5947 include.
5948 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5949 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5950 [generic sys/param.h] ($(addprefix
5951 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5952 [generic sys/param.h] (common-generated): Do not append to
5953 variable.
5954 [generic sys/param.h] (sysdep_headers): Likewise.
5955 [generic bits/errno.h] (before-compile): Do not append to
5956 variable.
5957 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5958 rule.
5959 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5960 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5961 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5962 [generic bits/errno.h] (common-generated): Do not append to
5963 variable.
5964 [generic bits/ioctls.h] (before-compile): Do not append to
5965 variable.
5966 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5967 rule.
5968 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5969 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5970 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5971 rule.
5972 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5973 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5974 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5975 [generic bits/ioctls.h] (common-generated): Do not append to
5976 variable.
5977 [generic sys/syscall.h] (syscall.h): Remove variable.
5978 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5979 rule.
5980 [generic sys/syscall.h] (before-compile): Do not append to
5981 variable.
5982 [generic sys/syscall.h] (common-generated): Likewise.
5983 * sysdeps/unix/errnos-tmpl.c: Remove file.
5984 * sysdeps/unix/errnos.awk: Likewise.
5985 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5986 * sysdeps/unix/ioctls.awk: Likewise.
5987 * sysdeps/unix/mk-local_lim.c: Likewise.
5988 * sysdeps/unix/snarf-ioctls: Likewise.
5989
5990 2012-03-19 Richard Henderson <rth@twiddle.net>
5991
5992 * sysdeps/i386/fpu/fenv_private.h: New file.
5993 * sysdeps/i386/fpu/math_private.h: Use it.
5994 (math_opt_barrier, math_force_eval): Remove.
5995 (libc_feholdexcept_setround_53bit): Remove.
5996 (libc_feupdateenv_53bit): Remove.
5997 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5998 (math_opt_barrier, math_force_eval): Remove.
5999 (libc_feholdexcept): Remove.
6000 (libc_feholdexcept_setround): Remove.
6001 (libc_fetestexcept, libc_fesetenv): Remove.
6002 (libc_feupdateenv_test): Remove.
6003 (libc_feupdateenv, libc_feholdsetround): Remove.
6004 (libc_feresetround): Remove.
6005
6006 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6007 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6008
6009 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6010 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6011 (libc_feupdateenv_testl): New.
6012 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6013 (libc_feupdateenv_testf): New.
6014 (libc_feupdateenv): Use libc_feupdateenv_test.
6015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6016 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6017
6018 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6019 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6020 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6021 (libc_feresetround_noex): New.
6022 (libc_feresetround_noexf): New.
6023 (libc_feresetround_noexl): New.
6024 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6025 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6026 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6027 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6028 SET_RESTORE_ROUND.
6029 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6031 (__cos): Likewise.
6032 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6033 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6034 SET_RESTORE_ROUND_NOEX.
6035 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6036 SET_RESTORE_ROUND_NOEXF.
6037 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6038 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6039 (libc_feholdsetroundf): New.
6040 (libc_feresetround, libc_feresetroundf): New.
6041
6042 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6043 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6044 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6045
6046 * sysdeps/generic/math_private.h: Include <fenv.h>.
6047 (default_libc_feholdexcept): New.
6048 (default_libc_feholdexcept_setround): New.
6049 (default_libc_fesetenv, default_libc_feupdateenv): New.
6050 (libc_feholdexcept): Only define if undefined.
6051 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6052 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6053 (libc_feholdexcept_setroundl): Likewise.
6054 (libc_feholdexcept_setround_53bit): Likewise.
6055 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6056 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6057 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6058 (libc_feupdateenv_53bit): Likewise.
6059 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6060 (libc_feholdexcept): Convert from macro to inline function.
6061 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6062 (libc_fesetenv, libc_feupdateenv): Likewise.
6063
6064 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6065 not previously defined.
6066 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6067 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6068 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6069 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6070 * sysdeps/ieee754/flt-32/math_private.h: New file.
6071 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6072 math_private.h below SET_FLOAT_WORD.
6073 (__isnan, __isinf_ns, __finite): Remove.
6074 (__isnanf, __isinf_nsf, __finitef): Remove.
6075
6076 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6077
6078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6079
6080 2012-03-17 David S. Miller <davem@davemloft.net>
6081
6082 [BZ #6471]
6083 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6084 for 2.16.
6085
6086 2012-03-16 David S. Miller <davem@davemloft.net>
6087
6088 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6089 warnings.
6090
6091 [BZ #6471]
6092 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6093 properly.
6094 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6095 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6096 sysdep_routines when subdir is sysvipc.
6097 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6098 __getshmlba helper.
6099
6100 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6101
6102 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6103
6104 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6105 [__LP64__].
6106
6107 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6108
6109 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6110 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6111 (__lround): Renamed to ...
6112 (__llround): This. Replace long int with long long int.
6113 Define lround functions as aliases of llround functions.
6114 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6115
6116 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6117
6118 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6119 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6120 adresses to uintptr_t. Replace "long int" and "unsigned long
6121 int" with "greg_t" on va_arg.
6122
6123 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6124
6125 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6126 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6127
6128 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6129 Move e_machine check before EI_CLASS check. Handle x32
6130 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6131 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6132 SKIP_EM_IA_64 and include
6133 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6134
6135 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6136 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6137 (add_system_dir): New macro.
6138
6139 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6140 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6141
6142 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6143
6144 [BZ #2551]
6145 [BZ #2552]
6146 [BZ #2553]
6147 [BZ #2554]
6148 [BZ #2562]
6149 [BZ #2563]
6150 [BZ #2565]
6151 [BZ #2566]
6152 [BZ #2576]
6153 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6154 (y0): Likewise.
6155 * math/w_j0f.c (j0f): Likewise.
6156 (y0f): Likewise.
6157 * math/w_j0l.c (__j0l): Likewise.
6158 (__y0l): Likewise.
6159 * math/w_j1.c (j1): Likewise.
6160 (y1): Likewise.
6161 * math/w_j1f.c (j1f): Likewise.
6162 (y1f): Likewise.
6163 * math/w_j1l.c (__j1l): Likewise.
6164 (__y1l): Likewise.
6165 * math/w_jn.c (jn): Likewise.
6166 (yn): Likewise.
6167 * math/w_jnf.c (jnf): Likewise.
6168 (ynf): Likewise.
6169 * math/w_jnl.c (__jnl): Likewise.
6170 (__ynl): Likewise.
6171 * math/libm-test.inc (j0_test): Add more tests.
6172 (j1_test): Likewise.
6173 (jn_test): Likewise. Add trailing semicolon to existing test.
6174 (y0_test): Likewise.
6175 (y1_test): Likewise.
6176 * sysdeps/i386/fpu/libm-test-ulps: Update.
6177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6178
6179 [BZ #13851]
6180 [BZ #13854]
6181 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6182 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6183 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6184 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6185 (__tanl): Set errno for infinite argument.
6186 * sysdeps/i386/fpu/mptan.c: Remove.
6187 * sysdeps/i386/fpu/s_tan.S: Likewise.
6188 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6189 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6190 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6191 * math/libm-test.inc (tan_test): Add more tests and enable more
6192 tests for double and long double.
6193 * sysdeps/i386/fpu/libm-test-ulps: Update.
6194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6195
6196 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6197
6198 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6199 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6200
6201 2012-03-16 Roland McGrath <roland@hack.frob.com>
6202
6203 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6204 * configure.in: Use it for both main tree and add-ons.
6205 * configure: Regenerated.
6206
6207 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6208
6209 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6210
6211 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6212
6213 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6214 in comment.
6215
6216 [BZ #13851]
6217 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6218 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6222 infinite argument.
6223 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6225 != 0 for prec == 2.
6226 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6227 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6228 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6229 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6230 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6231 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6232 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6233 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6234 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6235 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6236 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6237 * math/libm-test.inc (cos_test): Add more tests and enable more
6238 tests for long double.
6239 (sin_test): Likewise.
6240 (sincos_test): Likewise.
6241 * sysdeps/i386/fpu/libm-test-ulps: Update.
6242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6243
6244 2012-03-16 David S. Miller <davem@davemloft.net>
6245
6246 * sysdeps/sparc/fpu/math_private.h: New file.
6247
6248 2012-03-15 David S. Miller <davem@davemloft.net>
6249
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6251 file.
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6254 file.
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6261 sysdep routines.
6262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6263
6264 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6265 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6266
6267 * sysdeps/sparc/sparc-ifunc.h: New file.
6268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6269 sparc-ifunc.h
6270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6272 Likewise.
6273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6274 Likewise.
6275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6279 Likewise.
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6285 Likewise.
6286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6287 Likewise.
6288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6312
6313 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6314
6315 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6316 scaling.
6317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6318
6319 2012-03-15 Andreas Jaeger <aj@suse.de>
6320
6321 [BZ #13852]
6322 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6323 ieee754/flt-32 implementation for sin, cos and sincos.
6324 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6325 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6326 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6327 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6328 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6329 ieee754/flt-32 implementation for tan.
6330
6331 * math/libm-test.inc (cos_test): Enable some large input tests for
6332 float as well
6333 (sin_test): Likewise.
6334 (sincos_test): Likewise.
6335 (tan_test): Add tests for large input.
6336
6337 * sysdeps/i386/fpu/libm-test-ulps: Update.
6338
6339 2012-03-15 Andreas Jaeger <aj@suse.de>
6340
6341 [BZ #13658]
6342 * math/libm-test.inc (cos_test): Add more test cases.
6343 (sin_test): Likewise.
6344 (sincos_test): Likewise.
6345
6346 2012-03-15 Andreas Jaeger <aj@suse.de>
6347
6348 [BZ #13837]
6349 * math/libm-test.inc (cos_test): Add a test case for large input
6350 value.
6351 (sin_test): Likewise.
6352 (sincos_test): Likewise.
6353
6354 2012-03-15 Andreas Jaeger <aj@suse.de>,
6355 Joseph Myers <joseph@codesourcery.com>
6356
6357 [BZ #13658]
6358 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6359 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6360 * sysdeps/i386/fpu/branred.c: Likewise.
6361 * sysdeps/i386/fpu/dosincos.c: Likewise.
6362 * sysdeps/i386/fpu/mpa.c: Likewise.
6363 * sysdeps/i386/fpu/s_cos.S: Likewise.
6364 * sysdeps/i386/fpu/s_sin.S: Likewise.
6365 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6366 * sysdeps/i386/fpu/sincos32.c: Likewise.
6367
6368 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6369 Define.
6370 (libc_feupdateenv_53bit): Define.
6371 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6372 Define.
6373 (libc_feupdateenv_53bit): Define.
6374
6375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6376 53 bit (without extend i386 double precision).
6377
6378 * math/libm-test.inc (sincos_test): Add tests for large input.
6379 (sin): Likewise.
6380 (cos): Likewise.
6381
6382 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6383
6384 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6385
6386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6387
6388 2012-03-15 David S. Miller <davem@davemloft.net>
6389
6390 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6391 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6392 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6393 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6406 file.
6407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6409 file.
6410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6412 file.
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6415 file.
6416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6417 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6418 fmin/fmax sysdep routines.
6419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6420
6421 2012-03-14 David S. Miller <davem@davemloft.net>
6422
6423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6427 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6452 routines.
6453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6454 file.
6455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6457 file.
6458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6460 file.
6461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6463 file.
6464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6466 file.
6467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6469 file.
6470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6471 file.
6472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6473 file.
6474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6475 file.
6476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6477 New file.
6478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6479 file.
6480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6481 file.
6482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6484 file.
6485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6487 file.
6488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6490 file.
6491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6493 VIS3 routines.
6494
6495 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6496 New file.
6497
6498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6499
6500 * sysdeps/sparc/configure.in: New file.
6501 * sysdeps/sparc/configure: Generate.
6502 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6503 * configure: Regenerate.
6504 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6505 * config.make.in (have-as-vis3): New.
6506 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6507 available use -Av9d instead of -Av9a.
6508 * sysdeps/sparc/sparc64/Makefile: Likewise.
6509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6511 New file.
6512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6513 file.
6514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6515 New file.
6516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6517 file.
6518 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6520 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6521 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6523
6524 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6525 fzeros/fnegs to load 0x80000000 into a float register instead of
6526 using the stack.
6527 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6528
6529 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6530
6531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6532 bits/syscall.h.
6533 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6534 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6535 ($(inst_includedir)/bits/syscall.h): Remove rule.
6536 ($(objpfx)bits/syscall.d): Include instead of
6537 $(objpfx)syscall-list.d.
6538 (generated): Change syscall-list.h and syscall-list.d to
6539 bits/syscall.h and bits/syscall.d.
6540
6541 2012-03-14 Roland McGrath <roland@hack.frob.com>
6542
6543 [BZ #13846]
6544 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6545
6546 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6547
6548 [BZ #13841]
6549 * math/s_csqrt.c: Include <float.h>.
6550 (__csqrt): Scale large or subnormal inputs.
6551 * math/s_csqrtf.c: Likewise.
6552 * math/s_csqrtl.c: Likewise.
6553 * math/libm-test.inc (csqrt_test): Add more tests.
6554 * sysdeps/i386/fpu/libm-test-ulps: Update.
6555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6556
6557 [BZ #13840]
6558 * math/libm-test.inc (hypot_test): Add more tests.
6559
6560 2012-03-13 David S. Miller <davem@davemloft.net>
6561
6562 [BZ #13840]
6563 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6564 double-precision for the calculation instead of scaling.
6565
6566 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6567
6568 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6569 manipulate bits before adding and subtracting TWO52[sx].
6570 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6571 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6572 Likewise.
6573 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6574
6575 2012-03-13 David S. Miller <davem@davemloft.net>
6576
6577 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6578 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6580 rtld-global-offsets.h
6581 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6582
6583 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6584 large parameters.
6585
6586 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6587
6588 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6589 'err' in the ifdef scope in which it is actually used.
6590
6591 * nss/nss_db/db-init.c: Include string.h
6592
6593 2012-03-12 David S. Miller <davem@davemloft.net>
6594
6595 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6596 masking out of the most significant byte of random value used.
6597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6598 Fix coding style in previous change.
6599
6600 * sysdeps/unix/sysv/linux/kernel-features.h
6601 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6602 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6603 expression.
6604 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6605 later.
6606
6607 2012-03-11 David S. Miller <davem@davemloft.net>
6608
6609 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6610 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6611 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6612 for 'resultvar' otherwise things get truncated on 64-bit.
6613
6614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6615 Fix masking out of the most significant byte of random value used.
6616
6617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6618
6619 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6620
6621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6622
6623 2012-03-09 David S. Miller <davem@davemloft.net>
6624
6625 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6626 variables with appropriate CPP guards.
6627 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6628 frame pointer, not the stack pointer. Correct layout comments. Fix test
6629 on resulting framesize and the management of the outregs buffer for pltexit.
6630 Preserve floating point return values across _dl_call_pltexit call.
6631 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6632 framesize and the management of the outregs buffer for pltexit.
6633 Preserve floating point return values across _dl_call_pltexit
6634 call.
6635 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6636 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6637 (print_exit): Fix format string for return register value.
6638
6639 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6640
6641 * sunrpc/Makefile (others): Add rpcgen.
6642 ($(objpfx)rpcgen): Remove special build rule and dependency on
6643 libc.
6644 * sunrpc/rpcgen.c: New file.
6645
6646 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6647
6648 [BZ #13673]
6649 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6650 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6651 * sysdeps/i386/crti.S: Likewise.
6652 * sysdeps/i386/crtn.S: Likewise.
6653 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6654 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6655 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6656 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6657 * sysdeps/sh/crti.S: Likewise.
6658 * sysdeps/sh/crtn.S: Likewise.
6659 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6660
6661 [BZ #13673]
6662 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6663 with URL.
6664 * locale/programs/locfile-kw.gperf: Likewise.
6665 * locale/programs/charmap-kw.h: Regenerated.
6666 * locale/programs/locfile-kw.h: Likewise.
6667
6668 [BZ #13673]
6669 * intl/plural.y: Replace FSF snail mail address with URL.
6670 * intl/plural.c: Regenerated.
6671
6672 2012-03-09 Richard Henderson <rth@twiddle.net>
6673
6674 * include/math_private.h: Remove file.
6675 * math/math_private.h: Move file ...
6676 * sysdeps/generic/math_private.h: ... here.
6677
6678 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6679 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6680 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6681
6682 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6683 and <math_private.h>.
6684 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6685 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6686 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6687 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6688 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6689 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6690 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6692 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6693 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6695 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6696 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6698 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6699 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6700 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6701 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6702 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6703 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6705 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6706 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6708 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6709 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6710 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6711 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6713 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6714 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6715 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6716 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6717 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6718 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6719 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6720 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6722 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6724 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6728 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6755 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6756 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6757 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6758 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6763 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6764 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6765 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6772 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6773 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6774 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6775 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6776 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6777 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6778 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6779 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6780 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6781 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6782 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6783 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6784 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6785 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6786 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6787 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6788 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6789 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6790 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6791 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6792 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6793 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6794 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6795 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6796 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6797 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6798 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6799 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6800 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6801 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6802 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6803 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6804 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6805 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6807 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6808 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6809 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6810 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6811 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6812 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6813 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6814 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6815 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6816 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6817 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6818 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6819 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6820 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6821 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6822 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6823 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6824 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6825 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6826 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6827 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6828 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6829 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6830 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6831 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6832 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6833 * sysdeps/ieee754/k_standard.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6949 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6951 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6953 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6954 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6956 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6961 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6966 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6967 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6969 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6973 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6976 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6980 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6982 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6983 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6984 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6986 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6990 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6991 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6994 * sysdeps/ieee754/s_lib_version.c: Likewise.
6995 * sysdeps/ieee754/s_matherr.c: Likewise.
6996 * sysdeps/ieee754/s_signgam.c: Likewise.
6997 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6998 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6999 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7000 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7001 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7002 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7003 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7004 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7005 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7006 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7007 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7008 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7009 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7010 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7011 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7012 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7013 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7014 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7015 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7016 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7018
7019 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7020
7021 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7022 * sunrpc/rpc_main.c: Likewise.
7023 * sunrpc/rpc_svcout.c: Likewise.
7024
7025 2012-03-09 David S. Miller <davem@davemloft.net>
7026
7027 * include/math_private.h: New file.
7028
7029 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7030
7031 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7032 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7033 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7034 from <bits/socket_type.h>.
7035 (enum __socket_type): Don't define here.
7036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7038 bits/socket_type.h.
7039
7040 [BZ #13566]
7041 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7042 checking __USE_GNU.
7043
7044 * Makerules ($(inst_includedir)/%.h): New rule.
7045 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7046 (install-others): Remove variable setting.
7047 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7048
7049 2012-03-08 Richard Henderson <rth@twiddle.net>
7050
7051 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7052 from macro to inline function; merge with the
7053 !__LIBC_INTERNAL_MATH_INLINES version.
7054 (__ieee754_sqrtf): Likewise.
7055
7056 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7057 to inline function.
7058 (__rintf, __floor, __floorf): Likewise.
7059
7060 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7061 macro to inline function.
7062 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7063
7064 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7065 not <math/math_private.h>.
7066
7067 2012-03-08 David S. Miller <davem@davemloft.net>
7068
7069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7070 copyright year.
7071 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7072
7073 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7074
7075 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7076 normalization.
7077 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7078 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7079
7080 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7081
7082 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7083 be defined individually, they must be defined as a block. Define
7084 S for printing a string instead of hidint the different by using a
7085 macro for adding the 'l'.
7086 * stdio-common/tst-fphex-wide.c: Adjust.
7087
7088 2012-03-07 Marek Polacek <polacek@redhat.com>
7089
7090 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7091
7092 2012-03-08 Marek Polacek <polacek@redhat.com>
7093
7094 [BZ #13806]
7095 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7096 * stdio-common/tst-fphex.c: Define a few macros to make the
7097 test reusable. Use them.
7098 * stdio-common/tst-fphex-wide.c: New file.
7099
7100 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7101
7102 [BZ #6911]
7103 * manual/macros.texi (gnusystems): New macro.
7104 (nongnusystems): Likewise.
7105 (gnulinuxhurdsystems): Likewise.
7106 (gnuhurdsystems): Likewise..
7107 (gnulinuxsystems): Likewise.
7108 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7109 variants of the GNU system, not "GNU system".
7110 * manual/conf.texi: Likewise.
7111 * manual/errno.texi: Likewise. Update example of errno macro
7112 expansion.
7113 * manual/filesys.texi: Likewise.
7114 (getumask): Document as specific to GNU/Hurd.
7115 * manual/install.texi: Likewise. Reword some references to
7116 GNU/Linux.
7117 * manual/intro.texi: Likewise.
7118 * manual/io.texi: Likewise.
7119 (File Name Portability): Detail which constraints are inapplicable
7120 to all GNU systems and which are only inapplicable to GNU/Hurd.
7121 * manual/job.texi: Likewise.
7122 * manual/llio.texi: Likewise.
7123 (O_NOCTTY): Document as present on GNU/Linux.
7124 * manual/maint.texi: Likewise.
7125 * manual/memory.texi: Likewise.
7126 * manual/pattern.texi: Likewise.
7127 * manual/pipe.texi: Likewise.
7128 * manual/process.texi: Likewise.
7129 * manual/resource.texi: Likewise.
7130 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7131 child on GNU/Hurd.
7132 * manual/setjmp.texi: Likewise.
7133 * manual/signal.texi: Likewise.
7134 * manual/startup.texi: Likewise.
7135 * manual/stdio.texi: Likewise.
7136 * manual/terminal.texi: Likewise.
7137 (ONLCR): Document as POSIX.
7138 (OXTABS): Document availability on GNU/Linux as XTABS.
7139 (ONOEOT): Document availability separately from other bits.
7140 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7141 * manual/time.texi: Likewise.
7142 * manual/users.texi: Likewise.
7143 * INSTALL: Regenerated.
7144 * sysdeps/gnu/errlist.c: Regenerated.
7145
7146 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7147 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7148 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7149 puts.
7150 * configure: Regenerated.
7151
7152 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7153
7154 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7155 default includes instead of AC_HEADER_CHECK.
7156 * sysdeps/i386/configure: Regenerated.
7157
7158 [BZ #10716]
7159 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7160 * math/s_cacoshf.c (__cacoshf): Likewise.
7161 * math/s_cacoshl.c (__cacoshl): Likewise.
7162 * math/s_casinh.c (__casinh): Set signs of result from argument.
7163 * math/s_casinhf.c (__casinhf): Likewise.
7164 * math/s_casinhl.c (__casinhl): Likewise.
7165 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7166 (casinh_test): Add more tests.
7167 * sysdeps/i386/fpu/libm-test-ulps: Update.
7168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7169
7170 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7171
7172 * po/zh_TW.po: Update from translation team.
7173
7174 * login/Makefile (distribute): Remove variable.
7175 * catgets/Makefile: Likewise.
7176 * mach/Makefile: Likewise.
7177 * malloc/Makefile: Likewise.
7178 * misc/Makefile: Likewise.
7179 * iconv/Makefile: Likewise.
7180 * nscd/Makefile: Likewise.
7181 * hurd/Makefile: Likewise.
7182 * manual/Makefile: Likewise.
7183 * locale/Makefile: Likewise.
7184 * intl/Makefile: Likewise.
7185 * conform/Makefile: Likewise.
7186 * nss/Makefile: Likewise.
7187 * time/Makefile: Likewise.
7188 * soft-fp/Makefile: Likewise.
7189 * dirent/Makefile: Likewise.
7190 * gmon/Makefile: Likewise.
7191 * po/Makefile: Likewise.
7192 * rt/Makefile: Likewise.
7193 * socket/Makefile: Likewise.
7194 * math/Makefile: Likewise.
7195 * signal/Makefile: Likewise.
7196 * debug/Makefile: Likewise.
7197 * elf/Makefile: Likewise.
7198 * timezone/Makefile: Likewise.
7199 * stdlib/Makefile: Likewise.
7200 * iconvdata/Makefile: Likewise.
7201 * sunrpc/Makefile: Likewise.
7202 * io/Makefile: Likewise.
7203 * argp/Makefile: Likewise.
7204 * inet/Makefile: Likewise.
7205 * hesiod/Makefile: Likewise.
7206 * grp/Makefile: Likewise.
7207 * csu/Makefile: Likewise.
7208 * wctype/Makefile: Likewise.
7209 * crypt/Makefile: Likewise.
7210 * libio/Makefile: Likewise.
7211 * string/Makefile: Likewise.
7212 * nis/Makefile: Likewise.
7213 * resolv/Makefile: Likewise.
7214 * stdio-common/Makefile: Likewise.
7215 * wcsmbs/Makefile: Likewise.
7216 * dlfcn/Makefile: Likewise.
7217 * posix/Makefile: Likewise.
7218
7219 [BZ #6959]
7220 * timezone/Makefile: Don't install timezone files, just the programs
7221 and scripts.
7222
7223 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7224
7225 * nss/databases.def: Add missing gshadow entry.
7226
7227 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7228
7229 2012-03-06 Marek Polacek <polacek@redhat.com>
7230
7231 [BZ #13726]
7232 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7233 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7234 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7235 * stdio-common/tst-long-dbl-fphex.c: New file.
7236
7237 2012-03-06 David S. Miller <davem@davemloft.net>
7238
7239 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7240 (set_obp_int): New function.
7241 (get_obp_int): New function.
7242 (__get_clockfreq_via_dev_openprom): Likewise.
7243 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7244 Avoid unused variable warnings on 'val' and use builtin_expect.
7245 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7246 __builtin_expect.
7247 (INLINE_CLONE_SYSCALL): Likewise.
7248
7249 2012-03-05 David S. Miller <davem@davemloft.net>
7250
7251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7252
7253 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7254
7255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7256
7257 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7258 only for |x| >= 40.
7259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7260
7261 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7262
7263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7264 Replace gettimeofday with __vdso_gettimeofday.
7265
7266 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7267 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7268 __vdso_clock_gettime and __vdso_getcpu.
7269
7270 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7271 time with __vdso_time.
7272
7273 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7274
7275 * manual/lang.texi (size_t): Note types to which size_t may be
7276 equivalent with the GNU C Library, but do not describe when
7277 differences between them are significant.
7278
7279 2012-03-05 Andreas Jaeger <aj@suse.de>
7280
7281 * sysdeps/i386/fpu/libm-test-ulps: Update.
7282
7283 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7284
7285 [BZ #3976]
7286 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7287 (__ieee754_pow): Save and restore rounding mode and use
7288 round-to-nearest for main computations.
7289 * math/libm-test.inc (pow_test_tonearest): New function.
7290 (pow_test_towardzero): Likewise.
7291 (pow_test_downward): Likewise.
7292 (pow_test_upward): Likewise.
7293 (main): Call the new functions.
7294 * sysdeps/i386/fpu/libm-test-ulps: Update.
7295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7296
7297 [BZ #3976]
7298 * math/libm-test.inc (cosh_test_tonearest): New function.
7299 (cosh_test_towardzero): Likewise.
7300 (cosh_test_downward): Likewise.
7301 (cosh_test_upward): Likewise.
7302 (sinh_test_tonearest): Likewise.
7303 (sinh_test_towardzero): Likewise.
7304 (sinh_test_downward): Likewise.
7305 (sinh_test_upward): Likewise.
7306 (main): Call the new functions.
7307 * sysdeps/i386/fpu/libm-test-ulps: Update.
7308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7309
7310 2012-03-05 Tom de Vries <tom@codesourcery.com>
7311
7312 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7313 default stack guard is set in last bytes.
7314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7315
7316 2012-03-05 Kees Cook <keescook@chromium.org>
7317
7318 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7319
7320 [BZ #13656]
7321 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7322 possibly allocate from heap instead of stack.
7323 * stdio-common/bug-vfprintf-nargs.c: New file.
7324 * stdio-common/Makefile (tests): Add nargs overflow test.
7325
7326 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7327
7328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7329
7330 2012-03-03 Marek Polacek <polacek@redhat.com>
7331
7332 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7333 * math/math_private.h: Likewise.
7334 * stdlib/tst-strtod.c: Likewise.
7335 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7336 * sysdeps/x86_64/bits/atomic.h: Likewise.
7337
7338 2012-03-02 David S. Miller <davem@davemloft.net>
7339
7340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7344 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7345 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7346 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7347 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7348
7349 2012-03-02 Roland McGrath <roland@hack.frob.com>
7350
7351 [BZ #13792]
7352 * manual/examples/README: New file, says the example source files
7353 can be used under GPL>=2.
7354 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7355 line containing just "*/".
7356 * manual/examples/add.c: Add copyright header (GPL>=2).
7357 * manual/examples/argp-ex1.c: Likewise.
7358 * manual/examples/argp-ex2.c: Likewise.
7359 * manual/examples/argp-ex3.c: Likewise.
7360 * manual/examples/argp-ex4.c: Likewise.
7361 * manual/examples/atexit.c: Likewise.
7362 * manual/examples/db.c: Likewise.
7363 * manual/examples/dir.c: Likewise.
7364 * manual/examples/dir2.c: Likewise.
7365 * manual/examples/execinfo.c: Likewise.
7366 * manual/examples/filecli.c: Likewise.
7367 * manual/examples/filesrv.c: Likewise.
7368 * manual/examples/fmtmsgexpl.c: Likewise.
7369 * manual/examples/genpass.c: Likewise.
7370 * manual/examples/inetcli.c: Likewise.
7371 * manual/examples/inetsrv.c: Likewise.
7372 * manual/examples/isockad.c: Likewise.
7373 * manual/examples/longopt.c: Likewise.
7374 * manual/examples/memopen.c: Likewise.
7375 * manual/examples/memstrm.c: Likewise.
7376 * manual/examples/mkfsock.c: Likewise.
7377 * manual/examples/mkisock.c: Likewise.
7378 * manual/examples/mygetpass.c: Likewise.
7379 * manual/examples/pipe.c: Likewise.
7380 * manual/examples/popen.c: Likewise.
7381 * manual/examples/rprintf.c: Likewise.
7382 * manual/examples/search.c: Likewise.
7383 * manual/examples/select.c: Likewise.
7384 * manual/examples/setjmp.c: Likewise.
7385 * manual/examples/sigh1.c: Likewise.
7386 * manual/examples/sigusr.c: Likewise.
7387 * manual/examples/stpcpy.c: Likewise.
7388 * manual/examples/strdupa.c: Likewise.
7389 * manual/examples/strftim.c: Likewise.
7390 * manual/examples/strncat.c: Likewise.
7391 * manual/examples/subopt.c: Likewise.
7392 * manual/examples/swapcontext.c: Likewise.
7393 * manual/examples/termios.c: Likewise.
7394 * manual/examples/testopt.c: Likewise.
7395 * manual/examples/testpass.c: Likewise.
7396 * manual/examples/timeval_subtract.c: Likewise.
7397
7398 [BZ #13792]
7399 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7400 function to ...
7401 * manual/timeval_subtract.c.texi: ... here, new file.
7402
7403 2012-03-02 David S. Miller <davem@davemloft.net>
7404
7405 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7406
7407 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7408
7409 [BZ #3976]
7410 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7411 (__sin): Save and restore rounding mode and use round-to-nearest
7412 for all computations.
7413 (__cos): Save and restore rounding mode and use round-to-nearest
7414 for all computations.
7415 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7416 <fenv.h>.
7417 (tan): Save and restore rounding mode and use round-to-nearest for
7418 all computations.
7419 * math/libm-test.inc (cos_test_tonearest): New function.
7420 (cos_test_towardzero): Likewise.
7421 (cos_test_downward): Likewise.
7422 (cos_test_upward): Likewise.
7423 (sin_test_tonearest): Likewise.
7424 (sin_test_towardzero): Likewise.
7425 (sin_test_downward): Likewise.
7426 (sin_test_upward): Likewise.
7427 (tan_test_tonearest): Likewise.
7428 (tan_test_towardzero): Likewise.
7429 (tan_test_downward): Likewise.
7430 (tan_test_upward): Likewise.
7431 (main): Call the new functions.
7432 * sysdeps/i386/fpu/libm-test-ulps: Update.
7433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7434
7435 [BZ #10135]
7436 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7437 small n, then large n, before computing and testing k+n.
7438 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7440 Likewise.
7441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7442 Likewise.
7443 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7444 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7445 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7446 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7447 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7448 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7449 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7450 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7451 * math/libm-test.inc (scalbn_test): Add more tests.
7452 (scalbln_test): Likewise.
7453
7454 * manual/filesys.texi (mode_t): Describe constraints on size and
7455 signedness, not exact equivalence to a particular type.
7456 (ino_t): Likewise.
7457 (ino64_t): Likewise.
7458 (dev_t): Likewise.
7459 (nlink_t): Likewise.
7460 (blkcnt_t): Likewise.
7461 (blkcnt64_t): Likewise.
7462 * manual/llio.texi (off_t): Likewise.
7463
7464 [BZ #3976]
7465 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7466 (__ieee754_exp): Save and restore rounding mode and use
7467 round-to-nearest for all computations.
7468 * math/libm-test.inc (exp_test_tonearest): New function.
7469 (exp_test_towardzero): Likewise.
7470 (exp_test_downward): Likewise.
7471 (exp_test_upward): Likewise.
7472 (main): Call the new functions.
7473 * sysdeps/i386/fpu/libm-test-ulps: Update.
7474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7475
7476 2012-03-01 Chris Demetriou <cgd@google.com>
7477
7478 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7479 have predictable order.
7480
7481 2012-03-01 David S. Miller <davem@davemloft.net>
7482
7483 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7484
7485 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7486 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7487 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7488 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7489
7490 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7491 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7492 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7494 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7495 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7496 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7497 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7498 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7499
7500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7501
7502 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7503 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7504 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7505
7506 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7507 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7508 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7509 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7510 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7511 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7513 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7514 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7515 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7516 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7517 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7522 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7523 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7524 * sysdeps/sparc/elf/configure: Regenerated.
7525
7526 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7527
7528 * configure.in (AS, LD): Require binutils 2.20 or later.
7529 * configure: Regenerated.
7530 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7531 as required minimum version.
7532 * INSTALL: Regenerated.
7533
7534 [BZ #2541]
7535 [BZ #4108]
7536 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7537 before squaring exponent.
7538 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7539 bottom long double and 27 bits of top long double before squaring
7540 exponent.
7541 * math/libm-test.inc (erfc_test): Add more tests.
7542 * sysdeps/i386/fpu/libm-test-ulps: Update.
7543 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7545
7546 2012-03-01 Kai Tietz <ktietz@redhat.com>
7547
7548 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7549 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7550 containing bit-fields.
7551 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7552 * soft-fp/single.h (_FP_UNION_S): Likewise.
7553 * soft-fp/double.h (_FP_UNION_D): Likewise.
7554
7555 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7556
7557 [BZ #13786]
7558 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7559 not include ../strcmp.S.
7560 [USE_AS_STRNCASECMP_L]: Likewise.
7561 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7562 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7563 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7564 (__strncasecmp_l_ia32): Define as alias to
7565 __strncasecmp_l_nonascii.
7566
7567 [BZ #5794]
7568 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7569 * sysdeps/i386/fpu/libm-test-ulps: Update.
7570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7571
7572 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7574
7575 2012-02-29 Jeff Law <law@redhat.com>
7576
7577 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7578 out of bounds read.
7579
7580 2012-02-29 Marek Polacek <polacek@redhat.com>
7581
7582 [BZ #13706]
7583 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7584 * elf/Makefile: Add rules to run tst-unused-dep.out.
7585
7586 2012-02-28 David S. Miller <davem@davemloft.net>
7587
7588 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7589 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7590 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7592 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7593 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7594
7595 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7596
7597 * math/libm-test.inc (llround_test): Move one test from
7598 lround_test. Use TEST_f_L in moved test.
7599 (lround_test): Move misplaced test to llround_test. Add testcase
7600 from bug 2561.
7601
7602 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7603
7604 * sysdeps/x86_64/fpu/e_expf.S: New file.
7605 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7606
7607 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7608
7609 [BZ #13637]
7610 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7611 of remain_len that may cause incomplete multi-byte character and
7612 false match.
7613 * posix/bug-regex33.c: New file.
7614 * posix/Makefile (tests): Add bug-regex33.
7615
7616 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7617
7618 * manual/macros.texi: New file.
7619 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7620 * manual/libc.texinfo: Include macros.texi.
7621 * manual/creatute.texi: Likewise.
7622 * manual/install.texi: Likewise.
7623 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7624 @glibcadj{} in references to the GNU C Library.
7625 * manual/charset.texi: Likewise.
7626 * manual/conf.texi: Likewise.
7627 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7628 when not using those macros.
7629 * manual/creature.texi: Likewise.
7630 * manual/crypt.texi: Likewise.
7631 * manual/errno.texi: Likewise.
7632 * manual/filesys.texi: Likewise.
7633 * manual/header.texi: Likewise.
7634 * manual/install.texi: Likewise.
7635 * manual/intro.texi: Likewise.
7636 * manual/io.texi: Likewise.
7637 * manual/job.texi: Likewise.
7638 * manual/lang.texi: Likewise.
7639 * manual/libc.texiinfo: Likewise.
7640 * manual/llio.texi: Likewise.
7641 * manual/locale.texi: Likewise.
7642 * manual/maint.texi: Likewise.
7643 * manual/math.texi: Likewise.
7644 * manual/memory.texi: Likewise.
7645 * manual/message.texi: Likewise.
7646 * manual/nss.texi: Likewise.
7647 * manual/pattern.texi: Likewise.
7648 * manual/process.texi: Likewise.
7649 * manual/resource.texi: Likewise.
7650 * manual/search.texi: Likewise.
7651 * manual/setjmp.texi: Likewise.
7652 * manual/signal.texi: Likewise.
7653 * manual/socket.texi: Likewise.
7654 * manual/startup.texi: Likewise.
7655 * manual/stdio.texi: Likewise.
7656 * manual/string.texi: Likewise.
7657 * manual/sysinfo.texi: Likewise.
7658 * manual/syslog.texi: Likewise.
7659 * manual/terminal.texi: Likewise.
7660 * manual/time.texi: Likewise.
7661 * manual/users.texi: Likewise.
7662 * INSTALL: Regenerated.
7663 * NOTES: Regenerated.
7664 * sysdeps/gnu/errlist.c: Regenerated.
7665
7666 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7667
7668 * include/dirent.h: Include <dirstream.h> before
7669 <dirent/dirent.h>.
7670
7671 2012-02-28 David S. Miller <davem@davemloft.net>
7672
7673 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7674 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7675 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7676 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7677
7678 2012-02-27 David S. Miller <davem@davemloft.net>
7679
7680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7682 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7683 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7684
7685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7686 frame pointer instead of stack pointer relative arg slot.
7687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7688 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7689 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7690
7691 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7692
7693 [BZ #3992]
7694 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7695
7696 2012-02-27 David S. Miller <davem@davemloft.net>
7697
7698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7702 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7703 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7704 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7705 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7706
7707 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7708
7709 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7710 later. Allow versions 5-9.
7711 * configure: Regenerated.
7712 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7713 required minimum version and 4.6 as recommended version. Do not
7714 mention bugs in GCC 2.7 and 2.8.
7715 * INSTALL: Regenerated.
7716
7717 2012-02-27 David S. Miller <davem@davemloft.net>
7718
7719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7723 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7724 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7725 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7726 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7727
7728 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7729 manipulate bits before adding and subtracting TWO112[sx].
7730 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7731
7732 2012-02-27 Roland McGrath <roland@hack.frob.com>
7733
7734 [BZ #13775]
7735 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7736 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7737 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7738 being in POSIX, because they are in 1003.1-2008.
7739
7740 * rt/tst-aio.c: Include <fcntl.h>.
7741 * rt/tst-aio7.c: Likewise.
7742 * rt/tst-aio64.c: Likewise.
7743
7744 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7745
7746 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7747
7748 * manual/install.texi (--with-headers): Describe headers as
7749 interface headers, not private headers.
7750 (Specific advice for GNU/Linux systems): Describe use of headers
7751 from "make headers_install", not private headers from older
7752 kernels.
7753 * INSTALL: Regenerated.
7754 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7755 Change to 2.6.19.
7756 * sysdeps/unix/sysv/linux/configure: Regenerated.
7757
7758 * manual/llio.texi (fclean): Remove documentation.
7759
7760 * manual/Makefile (libc-texi-generated): New variable. Include
7761 version.texi.
7762 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7763 $(libc-texi-generated), not duplicated list of files.
7764 (version.texi, stamp-version): New rules.
7765 (realclean): Remove $(libc-texi-generated), not individual files
7766 from that list. Do not remove dir-add.texinfo.
7767 * manual/libc.texinfo: Comment out uses of edition numbers and
7768 references to printed manual. Remove last-updated dates.
7769 (EDITION): Comment out.
7770 (ISBN): Likewise.
7771 (VERSION, UPDATED): Remove.
7772 (version.texi): Include.
7773
7774 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7775
7776 * sysdeps/posix/spawni.c: Include <signal.h>.
7777 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7778 * sysdeps/pthread/aio_fsync.c: Likewise.
7779
7780 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7781
7782 * conform/Makefile (tests): Run only when not cross-compiling and
7783 when fast-check is not defined.
7784
7785 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7786 * conform/data/limits.h-data: Fixes for POSIX2008.
7787 * conform/run-conformtest.sh: Run all tests.
7788 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7789 headers.
7790 * include/bits/dlfcn.h: Likewise.
7791 * include/langinfo.h: Likewise.
7792 * include/monetary.h: Likewise.
7793 * include/sys/poll.h: Likewise.
7794
7795 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7796 for __USE_GNU.
7797 * posix/spawn.h: Define __need_sigset_t.
7798 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7799 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7800 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7801 to get sigevent_t only.
7802 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7803 only for __USE_GNU.
7804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7805 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7806 process_vm_writev only for __USE_GNU.
7807 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7808
7809 * conform/Makefile: For now ignore errors from run-conformtest.
7810 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7811 POSIX to avoid namespace pollution. Don't prepend headers.
7812 * conform/data/aio.h-data: Fixes for POSIX testing.
7813 * conform/data/fcntl.h-data: Likewise.
7814 * conform/data/glob.h-data: Likewise.
7815 * conform/data/grp.h-data: Likewise.
7816 * conform/data/pthread.h-data: Likewise.
7817 * conform/data/pwd.h-data: Likewise.
7818 * conform/data/signal.h-data: Likewise.
7819 * conform/data/spawn.h-data: Likewise.
7820 * conform/data/stdio.h-data: Likewise.
7821 * conform/data/stdlib.h-data: Likewise.
7822 * conform/data/stropts.h-data: Likewise.
7823 * conform/data/sys/mman.h-data: Likewise.
7824 * conform/data/sys/stat.h-data: Likewise.
7825 * conform/data/sys/types.h-data: Likewise.
7826 * conform/data/sys/wait.h-data: Likewise.
7827 * conform/data/time.h-data: Likewise.
7828 * conform/data/unistd.h-data: Likewise.
7829 * conform/data/utime.h-data: Likewise.
7830
7831 * io/sys/stat.h: fchmod was always in POSIX.
7832 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7833 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7834 * rt/aio.h: Define __need_timespec before including <time.h>.
7835 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7836 struct. Add forward declaration of pthread_attr_t and use it in
7837 sigevent.
7838 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7839 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7840 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7841 always remove CLK_TCK definition.
7842
7843 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7844
7845 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7846
7847 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7848
7849 * conform/run-conformtest.sh: New file.
7850 * conform/Makefile: Run run-conformtest for tests.
7851 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7852 support.
7853
7854 * conform/data/uchar.h-data: New file.
7855 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7856 * conform/data/arpa/inet.h-data: Likewise.
7857 * conform/data/assert.h-data: Likewise.
7858 * conform/data/complex.h-data: Likewise.
7859 * conform/data/cpio.h-data: Likewise.
7860 * conform/data/ctype.h-data: Likewise.
7861 * conform/data/dirent.h-data: Likewise.
7862 * conform/data/dlfcn.h-data: Likewise.
7863 * conform/data/errno.h-data: Likewise.
7864 * conform/data/fcntl.h-data: Likewise.
7865 * conform/data/float.h-data: Likewise.
7866 * conform/data/fmtmsg.h-data: Likewise.
7867 * conform/data/fnmatch.h-data: Likewise.
7868 * conform/data/ftw.h-data: Likewise.
7869 * conform/data/glob.h-data: Likewise.
7870 * conform/data/grp.h-data: Likewise.
7871 * conform/data/iconv.h-data: Likewise.
7872 * conform/data/inttypes.h-data: Likewise.
7873 * conform/data/langinfo.h-data: Likewise.
7874 * conform/data/libgen.h-data: Likewise.
7875 * conform/data/limits.h-data: Likewise.
7876 * conform/data/locale.h-data: Likewise.
7877 * conform/data/math.h-data: Likewise.
7878 * conform/data/monetary.h-data: Likewise.
7879 * conform/data/mqueue.h-data: Likewise.
7880 * conform/data/ndbm.h-data: Likewise.
7881 * conform/data/net/if.h-data: Likewise.
7882 * conform/data/netdb.h-data: Likewise.
7883 * conform/data/netinet/in.h-data: Likewise.
7884 * conform/data/nl_types.h-data: Likewise.
7885 * conform/data/poll.h-data: Likewise.
7886 * conform/data/pthread.h-data: Likewise.
7887 * conform/data/pwd.h-data: Likewise.
7888 * conform/data/regex.h-data: Likewise.
7889 * conform/data/sched.h-data: Likewise.
7890 * conform/data/search.h-data: Likewise.
7891 * conform/data/semaphore.h-data: Likewise.
7892 * conform/data/setjmp.h-data: Likewise.
7893 * conform/data/signal.h-data: Likewise.
7894 * conform/data/spawn.h-data: Likewise.
7895 * conform/data/stdarg.h-data: Likewise.
7896 * conform/data/stdio.h-data: Likewise.
7897 * conform/data/stdlib.h-data: Likewise.
7898 * conform/data/string.h-data: Likewise.
7899 * conform/data/strings.h-data: Likewise.
7900 * conform/data/stropts.h-data: Likewise.
7901 * conform/data/sys/ipc.h-data: Likewise.
7902 * conform/data/sys/mman.h-data: Likewise.
7903 * conform/data/sys/msg.h-data: Likewise.
7904 * conform/data/sys/resource.h-data: Likewise.
7905 * conform/data/sys/select.h-data: Likewise.
7906 * conform/data/sys/sem.h-data: Likewise.
7907 * conform/data/sys/shm.h-data: Likewise.
7908 * conform/data/sys/socket.h-data: Likewise.
7909 * conform/data/sys/stat.h-data: Likewise.
7910 * conform/data/sys/statvfs.h-data: Likewise.
7911 * conform/data/sys/time.h-data: Likewise.
7912 * conform/data/sys/timeb.h-data: Likewise.
7913 * conform/data/sys/times.h-data: Likewise.
7914 * conform/data/sys/types.h-data: Likewise.
7915 * conform/data/sys/uio.h-data: Likewise.
7916 * conform/data/sys/un.h-data: Likewise.
7917 * conform/data/sys/utsname.h-data: Likewise.
7918 * conform/data/sys/wait.h-data: Likewise.
7919 * conform/data/syslog.h-data: Likewise.
7920 * conform/data/tar.h-data: Likewise.
7921 * conform/data/termios.h-data: Likewise.
7922 * conform/data/utime.h-data: Likewise.
7923 * conform/data/utmpx.h-data: Likewise.
7924 * conform/data/varargs.h-data: Likewise.
7925 * conform/data/wchar.h-data: Likewise.
7926 * conform/data/wctype.h-data: Likewise.
7927 * conform/data/wordexp.h-data: Likewise.
7928
7929 * include/stropts.h: New file.
7930 * include/uchar.h: New file.
7931 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7932 * include/assert.h: Likewise.
7933 * include/ctype.h: Likewise.
7934 * include/dirent.h: Likewise.
7935 * include/dlfcn.h: Likewise.
7936 * include/fcntl.h: Likewise.
7937 * include/fnmatch.h: Likewise.
7938 * include/glob.h: Likewise.
7939 * include/grp.h: Likewise.
7940 * include/libio.h: Likewise.
7941 * include/locale.h: Likewise.
7942 * include/math.h: Likewise.
7943 * include/net/if.h: Likewise.
7944 * include/netdb.h: Likewise.
7945 * include/netinet/in.h: Likewise.
7946 * include/pthread.h: Likewise.
7947 * include/pwd.h: Likewise.
7948 * include/regex.h: Likewise.
7949 * include/sched.h: Likewise.
7950 * include/search.h: Likewise.
7951 * include/setjmp.h: Likewise.
7952 * include/signal.h: Likewise.
7953 * include/stdio.h: Likewise.
7954 * include/stdlib.h: Likewise.
7955 * include/string.h: Likewise.
7956 * include/sys/cdefs.h: Likewise.
7957 * include/sys/mman.h: Likewise.
7958 * include/sys/msg.h: Likewise.
7959 * include/sys/resource.h: Likewise.
7960 * include/sys/select.h: Likewise.
7961 * include/sys/socket.h: Likewise.
7962 * include/sys/stat.h: Likewise.
7963 * include/sys/statvfs.h: Likewise.
7964 * include/sys/time.h: Likewise.
7965 * include/sys/times.h: Likewise.
7966 * include/sys/uio.h: Likewise.
7967 * include/sys/utsname.h: Likewise.
7968 * include/sys/wait.h: Likewise.
7969 * include/termios.h: Likewise.
7970 * include/time.h: Likewise.
7971 * include/ulimit.h: Likewise.
7972 * include/unistd.h: Likewise.
7973 * include/utime.h: Likewise.
7974 * include/wchar.h: Likewise.
7975 * include/wctype.h: Likewise.
7976 * include/wordexp.h: Likewise.
7977
7978 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7979
7980 * time/time.h: TIME_UTC must be a macro.
7981 Make timespec_get available for ISO C11 only as well.
7982
7983 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7984
7985 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7986 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7987
7988 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7989
7990 * configure.in: Use -o not -a in test for unsupported multi-arch.
7991
7992 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7993
7994 * manual/texinfo.tex: Update to version 2012-01-19.16.
7995
7996 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7997
7998 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7999
8000 2012-02-24 Roland McGrath <roland@hack.frob.com>
8001
8002 [BZ #13738]
8003 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8004 * manual/fdl-1.3.texi: New file.
8005 * manual/fdl-1.1.texi: File removed.
8006
8007 [BZ #13738]
8008 * manual/libc.texinfo (FDL_VERSION): New @set.
8009 Use it for mention of FDL in cover text.
8010 (Documentation License): Use it in @include file name.
8011
8012 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8013 Roland McGrath <roland@hack.frob.com>
8014
8015 [BZ #5461]
8016 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8017 not LONG_LONG_MAX and LONG_LONG_MIN.
8018 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8019 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8020 name.
8021 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8022
8023 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8024
8025 [BZ #2547]
8026 [BZ #11365]
8027 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8028 manipulate bits before adding and subtracting TWO23[sx].
8029 * math/libm-test.inc (nearbyint_test): Add more tests.
8030
8031 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8032
8033 [BZ #2548]
8034 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8035 bits before adding and subtracting TWO23[sx].
8036 * math/libm-test.inc (rint_test): Add more tests.
8037 (rint_test_tonearest): Likewise.
8038 (rint_test_towardzero): Likewise.
8039 (rint_test_downward): Likewise.
8040 (rint_test_upward: Likewise.
8041
8042 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8043
8044 [BZ #10110]
8045 * include/stdc-predef.h: New file. Extracted from features.h.
8046 * include/features.h: Include stdc-predef.h.
8047 * Makefile (headers): Add stdc-predef.h.
8048 * CONFORMANCE (Compiler limitations): Update.
8049
8050 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8051
8052 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8053
8054 2012-02-21 David S. Miller <davem@davemloft.net>
8055
8056 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8057 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8058
8059 2012-02-20 David S. Miller <davem@davemloft.net>
8060
8061 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8062 using a normal save/restore sequence, rather than allocating a
8063 dummy stack frame just to store a frame pointer and restore.
8064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8065
8066 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8067
8068 * manual/install.texi: Fix stray word in line-wrapped comment.
8069
8070 2012-02-20 David S. Miller <davem@davemloft.net>
8071
8072 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8073 both binutils and gcc support GOTDATA.
8074
8075 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8076 "rd %pc" in the PIC register setup sequences.
8077
8078 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8079 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8080 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8081 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8082 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8084 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8085 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8087 (SYSCALL_ERROR_HANDLER): Likewise.
8088 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8089 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8091 (SYSCALL_ERROR_HANDLER): Likewise.
8092
8093 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8094 (HAVE_GCC_GOTDATA): New.
8095 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8096 relocation support in both binutils and gcc.
8097 * sysdeps/sparc/elf/configure: Regenerate.
8098
8099 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8100 * sysdeps/sparc/sparc32/elf/configure: Delete.
8101 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8102 * sysdeps/sparc/sparc64/elf/configure: Delete.
8103 * sysdeps/sparc/elf/configure.in: New file.
8104 * sysdeps/sparc/elf/configure: Generate.
8105
8106 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8107 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8108 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8109 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8110 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8111
8112 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8113
8114 * manual/install.texi: Do not mention specific glibc version
8115 numbers.
8116 * manual/libc.texinfo (VERSION, UPDATED): Update.
8117 (@copying): Use @copyright{} and range of years.
8118
8119 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8120
8121 [BZ #13695]
8122 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8123 [crti.S not in sysdirs] (generated): Do not append.
8124 [crti.S not in sysdirs] (omit-deps): Likewise.
8125 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8126 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8127 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8128 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8129 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8130 Likewise.
8131 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8132 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8133 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8134 * csu/defs.awk: Remove file.
8135 * sysdeps/generic/initfini.c: Likewise.
8136 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8137 variable.
8138 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8139 Likewise.
8140
8141 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8142
8143 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8144 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8145 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8146 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8147 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8148 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8149 <bits/epoll.h>.
8150 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8151 (__EPOLL_PACKED): Define to empty if not defined by
8152 <bits/epoll.h>.
8153 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8155 bits/epoll.h.
8156
8157 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8158
8159 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8160 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8161 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8162 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8163 <bits/timerfd.h>.
8164 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8166 bits/timerfd.h.
8167
8168 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8169
8170 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8171 in C locale.
8172 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8173 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8174 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8176
8177 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8178
8179 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8180 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8181
8182 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8183
8184 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8185 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8186 defined.
8187 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8188 Likewise.
8189 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8190 entry for 2.16.
8191
8192 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8193
8194 * math/w_acos.c: Use non-signaling floating-point comparisons.
8195 * math/w_acosf.c: Likewise.
8196 * math/w_acosh.c: Likewise.
8197 * math/w_acoshf.c: Likewise.
8198 * math/w_acoshl.c: Likewise.
8199 * math/w_acosl.c: Likewise.
8200 * math/w_asin.c: Likewise.
8201 * math/w_asinf.c: Likewise.
8202 * math/w_asinl.c: Likewise.
8203 * math/w_atanh.c: Likewise.
8204 * math/w_atanhf.c: Likewise.
8205 * math/w_atanhl.c: Likewise.
8206 * math/w_exp2.c: Likewise.
8207 * math/w_exp2f.c: Likewise.
8208 * math/w_exp2l.c: Likewise.
8209 * math/w_j0.c: Likewise.
8210 * math/w_j0f.c: Likewise.
8211 * math/w_j0l.c: Likewise.
8212 * math/w_j1.c: Likewise.
8213 * math/w_j1f.c: Likewise.
8214 * math/w_j1l.c: Likewise.
8215 * math/w_jn.c: Likewise.
8216 * math/w_jnf.c: Likewise.
8217 * math/w_log.c: Likewise.
8218 * math/w_log10.c: Likewise.
8219 * math/w_log10f.c: Likewise.
8220 * math/w_log10l.c: Likewise.
8221 * math/w_log2.c: Likewise.
8222 * math/w_log2f.c: Likewise.
8223 * math/w_log2l.c: Likewise.
8224 * math/w_logf.c: Likewise.
8225 * math/w_logl.c: Likewise.
8226 * math/w_sqrt.c: Likewise.
8227 * math/w_sqrtf.c: Likewise.
8228 * math/w_sqrtl.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8231 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8232 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8233 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8234
8235 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8236
8237 [BZ #9739]
8238 * manual/string.texi (strnlen): Use correct parameter name in
8239 equivalent expression.
8240
8241 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8242
8243 [BZ #11174]
8244 * manual/users.texi (seteuid): Consistently use neweuid for
8245 argument name.
8246
8247 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8248
8249 [BZ #13704]
8250 * manual/nss.texi (Services in the NSS configuration): Correct
8251 list of services in example configuration file.
8252
8253 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8254
8255 [BZ #11322]
8256 * manual/arith.texi: Remove statements about negative zero
8257 behaving identically to zero.
8258
8259 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8260
8261 [BZ #5993]
8262 * manual/install.texi: Do not document upgrading from libc5.
8263
8264 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8265
8266 [BZ #4596]
8267 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8268
8269 2012-02-18 David S. Miller <davem@davemloft.net>
8270
8271 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8272 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8273 %o7 across the call.
8274 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8275 instead.
8276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8277 SETUP_PIC_REG_LEAF.
8278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8279 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8280 * sysdeps/sparc/crtn.S: Likewise.
8281
8282 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8283
8284 * aout/Makefile: Remove.
8285
8286 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8287
8288 [BZ #13058]
8289 * manual/examples/argp-ex1.c (main): Format definition in GNU
8290 style.
8291 * manual/examples/argp-ex2.c (main): Likewise.
8292 * manual/examples/argp-ex3.c (main): Likewise.
8293 * manual/examples/argp-ex4.c (main): Likewise.
8294 * manual/examples/longopt.c (main): Use new-style prototype
8295 definition.
8296 * manual/examples/strncat.c (main): Specify return type and use
8297 (void) for arguments.
8298 * manual/examples/subopt.c (main): Use char **argv argument.
8299
8300 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8301
8302 [BZ #5077]
8303 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8304 rounding modes.
8305
8306 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8307
8308 [BZ #6907]
8309 * manual/string.texi (strchr): Change when strchrnul is
8310 recommended.
8311
8312 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8313
8314 [BZ #174]
8315 * manual/locale.texi (setlocale): Document LOCPATH.
8316
8317 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8318
8319 [BZ #10210]
8320 * manual/process.texi (execle): Move @dots{} before last argument.
8321
8322 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8323
8324 [BZ #12047]
8325 * manual/charset.texi (Generic Charset Conversion): Fix typo
8326 (LC_TYPE -> LC_CTYPE).
8327
8328 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8329
8330 [BZ #5805]
8331 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8332 (scalbnf): Likewise.
8333 (scalbnl): Likewise.
8334 (scalbln): Likewise.
8335 (scalblnf): Likewise.
8336 (scalblnl): Likewise.
8337 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8338 (vwarnx): Likewise.
8339 (verr): Likewise.
8340 (verrx): Likewise.
8341 * manual/filesys.texi (telldir): Use braces around return type.
8342 * manual/llio.texi (mmap): Add space after comma.
8343 (mmap64): Likewise.
8344 * manual/math.texi (jn): Use @var{} on parameter names.
8345 (jnf): Likewise.
8346 (jnl): Likewise.
8347 (yn): Likewise.
8348 (ynf): Likewise.
8349 (ynl): Likewise.
8350 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8351 line.
8352 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8353 "...".
8354 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8355 (sched_get_priority_max): Likewise.
8356 * manual/signal.texi (sigvec): Add space after comma.
8357 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8358 names.
8359 (if_indextoname): Likewise.
8360 (if_freenameindex): Likewise.
8361 (sendto): Use ',' instead of '.' in prototype.
8362 * manual/startup.texi (syscall): Use @dots{} instead of literal
8363 "...".
8364 * manual/stdio.texi (__fpending): Separate initial words of
8365 paragraph from @deftypefun line.
8366 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8367 "...".
8368 (vsyslog): Use @var{} on parameter names.
8369 * manual/terminal.texi (stty): Use @var{} on parameter names.
8370 * manual/users.texi (getutmp): Use @var{} on parameter names.
8371 (getutmpx): Likewise.
8372
8373 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8374
8375 [BZ #6884]
8376 * manual/stdio.texi (fopen): Fix typos in description of
8377 ",ccs=STRING".
8378
8379 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8380
8381 [BZ #4026]
8382 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8383 get clock_id definition.
8384
8385 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8386
8387 [BZ #4822]
8388 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8389 (madvise): Cast every argument to void on its own.
8390
8391 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8392
8393 [BZ #9902]
8394 * manual/startup.texi (Exit Status): Fix typo.
8395
8396 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8397
8398 [BZ #10140]
8399 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8400 * manual/examples/argp-ex2.c: Likewise.
8401 * manual/examples/argp-ex3.c: Likewise.
8402
8403 2012-02-16 Richard Henderson <rth@redhat.com>
8404
8405 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8406 * sysdeps/s390/s390-32/initfini.c: Remove.
8407 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8408 * sysdeps/s390/s390-64/initfini.c: Remove.
8409
8410 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8411
8412 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8413 compiler output for sysdeps/generic/initfini.c.
8414 * sysdeps/sh/elf/initfini.c: Remove file.
8415
8416 2012-02-16 David S. Miller <davem@davemloft.net>
8417
8418 [BZ #11494]
8419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8420
8421 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8422 * sysdeps/sparc/crti.S: New file.
8423 * sysdeps/sparc/crtn.S: New file.
8424 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8425 * sysdeps/sparc/sparc64/Makefile: Likewise.
8426
8427 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8428
8429 [BZ #3335]
8430 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8431
8432 2012-02-15 Roland McGrath <roland@hack.frob.com>
8433
8434 [BZ #4822]
8435 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8436
8437 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8438 (write, read, close): Likewise.
8439 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8440
8441 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8442
8443 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8444 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8445 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8446 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8447 <bits/signalfd.h>.
8448 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8450 bits/signalfd.h.
8451
8452 2012-02-14 Marek Polacek <polacek@redhat.com>
8453
8454 * sysdeps/x86_64/crti.S: New file.
8455 * sysdeps/x86_64/crtn.S: New file.
8456 * sysdeps/x86_64/elf/initfini.c: Remove file.
8457
8458 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8459
8460 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8461 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8462 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8463 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8464 <bits/inotify.h>.
8465 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8467 bits/inotify.h.
8468
8469 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8470
8471 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8472 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8473 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8474 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8475 <bits/eventfd.h>.
8476 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8478 bits/eventfd.h.
8479
8480 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8481
8482 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8483 __feraiseexcept instead of feraiseexcept.
8484
8485 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8486 nanosleep invocations.
8487 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8488 strings, and add error checking for a nanosleep invocations.
8489
8490 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8491
8492 Replace FSF snail mail address with URLs, as per GNU coding standards.
8493 Most of the snail mail addresses were wrong anyway, and omitting
8494 them makes the source code easier to maintain. Almost all of the
8495 changes are to license notices and to locale LC_IDENTIFICATION
8496 addresses, except for this one:
8497 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8498 not its snail mail address.
8499
8500 2012-02-09 Richard Henderson <rth@twiddle.net>
8501
8502 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8503 of kernel-features.h.
8504
8505 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8506
8507 2012-02-08 Marek Polacek <polacek@redhat.com>
8508
8509 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8510 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8511 * sysdeps/gnu/_G_config.h: Likewise.
8512 * sysdeps/generic/_G_config.h: Likewise.
8513
8514 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8515
8516 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8517 tests.
8518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8519
8520 * sysdeps/powerpc/powerpc32/crti.S: New file.
8521 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8522 * sysdeps/powerpc/powerpc64/crti.S: New file.
8523 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8524
8525 * Makeconfig (have-initfini): Don't set.
8526 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8527 * configure.in (nopic_initfini): Don't substitute.
8528 * config.h.in (HAVE_INITFINI): Don't #undef.
8529 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8530 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8531
8532 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8533
8534 Support crti.S and crtn.S provided directly by architectures.
8535 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8536 [crti.S in sysdirs] (omit-deps): Likewise.
8537 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8538 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8539 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8540 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8541 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8542 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8543 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8544 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8545 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8546 compiler output for sysdeps/generic/initfini.c.
8547 * sysdeps/i386/elf/Makefile: Remove file.
8548 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8549
8550 2012-02-07 Marek Polacek <polacek@redhat.com>
8551
8552 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8553 * sysdeps/gnu/_G_config.h: Likewise.
8554 * sysdeps/mach/hurd/_G_config.h: Likewise.
8555
8556 2012-02-07 Marek Polacek <polacek@redhat.com>
8557
8558 * math/Makefile (tests): Add tst-CMPLX2.
8559 * math/tst-CMPLX2.c: New file.
8560
8561 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8562
8563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8564
8565 * math/libm-test.inc (jn_test): Add missing L suffix.
8566
8567 2012-02-06 Marek Polacek <polacek@redhat.com>
8568
8569 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8570 * sysdeps/i386/fpu/e_powf.S: Likewise.
8571 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8572 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8573 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8574 * sysdeps/i386/fpu/e_pow.S: Likewise.
8575 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8576 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8577 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8578 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8579 * sysdeps/i386/fpu/e_log2.S: Likewise.
8580 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8581 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8582 * sysdeps/i386/fpu/e_powl.S: Likewise.
8583 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8584 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8585 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8586 * sysdeps/i386/fpu/e_logl.S: Likewise.
8587 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8588 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8589 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8590 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8591 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8592 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8593 * sysdeps/i386/fpu/e_log.S: Likewise.
8594 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8595 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8596 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8597 * sysdeps/i386/fpu/e_logf.S: Likewise.
8598 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8599 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8600 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8601 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8602 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8603 * sysdeps/i386/fpu/e_log10.S: Likewise.
8604 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8605 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8606 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8607 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8608 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8609 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8610 * sysdeps/i386/asm-syntax.h: Likewise.
8611 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8612 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8613 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8614 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8615 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8616 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8617 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8618 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8619 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8620 * sysdeps/powerpc/sysdep.h: Likewise.
8621 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8622 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8623
8624 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8625
8626 [BZ #411]
8627 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8628
8629 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8630
8631 * sysdeps/i386/sysdep.h: Include <features.h>.
8632 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8633 version.
8634
8635 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8636
8637 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8638 Define.
8639 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8640 LOAD_PIC_REG_STR.
8641
8642 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8643
8644 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8645 (SETUP_PIC_REG): Use GET_PC_THUNK.
8646 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8647 macro.
8648
8649 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8650
8651 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8652 for non-PIC compilation.
8653 (SETUP_PIC_REG): Add .p2align directive.
8654 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8655 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8656 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8657 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8658 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8659 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8660 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8661 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8662 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8663 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8664 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8665 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8666 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8667 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8668 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8669 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8670 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8671 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8672 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8673 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8674 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8676 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8677 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8678 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8680 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8681 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8682 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8683 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8684 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8685 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8686 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8687 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8688 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8689 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8690 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8691 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8692 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8693 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8694 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8695
8696 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8697
8698 * math/tst-CMPLX.c: Include <stdio.h>.
8699
8700 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8701
8702 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8703 float.
8704 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8705 * sysdeps/sparc/bits/mathdef.h: Likewise.
8706
8707 2012-01-31 Marek Polacek <polacek@redhat.com>
8708
8709 * libio/libio.h: Don't define _PARAMS.
8710 * locale/programs/config.h: Don't define PARAMS.
8711 * stdlib/strtol_l.c: Likewise.
8712 (__strtol_l): Remove PARAMS from the prototype.
8713
8714 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8715
8716 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8717 names. Just use the correct names. Remove unnecessary wrapper
8718 functions.
8719 * malloc/arena.c: Likewise.
8720 * malloc/hooks.c: Likewise.
8721
8722 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8723 ARENA_TEST says not to. Simplify test for creation of a new arena.
8724 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8725
8726 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8727
8728 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8729 into tail calls.
8730 (update_get_addr): New function.
8731 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8732 GET_ADDR_MODULE parameter.
8733
8734 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8735
8736 * crypt/cert.c: Remove __STDC__ conditionals.
8737 * crypt/crypt-entry.c: Likewise.
8738 * crypt/crypt_util.c: Likewise.
8739 * libio/filedoalloc.c: Likewise.
8740 * libio/fileops.c: Likewise.
8741 * libio/genops.c: Likewise.
8742 * libio/iofclose.c: Likewise.
8743 * libio/iofdopen.c: Likewise.
8744 * libio/iofopen.c: Likewise.
8745 * libio/iofopen64.c: Likewise.
8746 * libio/iogetdelim.c: Likewise.
8747 * libio/iopopen.c: Likewise.
8748 * libio/obprintf.c: Likewise.
8749 * libio/oldfileops.c: Likewise.
8750 * libio/oldiofclose.c: Likewise.
8751 * libio/oldiofdopen.c: Likewise.
8752 * libio/oldiofopen.c: Likewise.
8753 * libio/oldiopopen.c: Likewise.
8754 * libio/wfiledoalloc.c: Likewise.
8755 * libio/wgenops.c: Likewise.
8756 * locale/programs/xmalloc.c: Likewise.
8757 * misc/syslog.c: Likewise.
8758 * stdio-common/xbug.c: Likewise.
8759 * string/memchr.c: Likewise.
8760 * string/memcmp.c: Likewise.
8761 * string/memrchr.c: Likewise.
8762 * string/rawmemchr.c: Likewise.
8763 * sysdeps/posix/getcwd.c: Likewise.
8764 * time/strftime_l.c: Likewise.
8765
8766 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8767
8768 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8769 * config.make.in (config-cflags-sse2avx): Define.
8770 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8771 Fix typo.
8772
8773 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8774
8775 * scripts/config.guess: Update from upstream config git repository.
8776 * scripts/config.sub: Likewise.
8777
8778 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8779
8780 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8781 (EM_NUM): Update.
8782 (R_TILEPRO_*, R_TILEGX_*): New macros.
8783
8784 * scripts/firstversions.awk: Fix bug in version range handling.
8785
8786 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8787
8788 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8789
8790 * include/sys/epoll.h: New file.
8791 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8792 libc_hidden_def.
8793
8794 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8795
8796 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8797 Avoid unnecessary __WORDSIZE == 64 test.
8798 (fmaxf): Use VEX format if possible.
8799 (fmax): Likewise.
8800 (fminf): Likewise.
8801 (fmin): Likewise.
8802
8803 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8804 * math/math_private.h: Remove libc_fegetround* and
8805 libc_fesetround*.
8806 * sysdeps/i386/configure.in: Check for -msse2avx.
8807 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8808 also if SSE2AVX is defined.
8809 Remove libc_fegetround* and libc_fesetround*.
8810 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8811 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8812 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8813 of HAS_YMM_USABLE.
8814 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8815 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8816 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8817 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8818 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8819
8820 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8821
8822 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8823
8824 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8825 size is not set.
8826 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8827
8828 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8829
8830 [BZ #13618]
8831 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8832 relocation.
8833 * Makeconfig (libm): Define.
8834 * elf/Makefile: Add rules to build and run tst-relsort1.
8835 * elf/tst-relsort1.c: New file.
8836 * elf/tst-relsort1mod1.c: New file.
8837 * elf/tst-relsort1mod2.c: New file.
8838
8839 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8840
8841 * math/s_ldexp.c: Remove __STDC__ conditionals.
8842 * math/s_ldexpf.c: Likewise.
8843 * math/s_ldexpl.c: Likewise.
8844 * math/s_nextafter.c: Likewise.
8845 * math/s_nexttowardf.c: Likewise.
8846 * math/s_significand.c: Likewise.
8847 * math/s_significandf.c: Likewise.
8848 * math/s_significandl.c: Likewise.
8849 * math/w_jnl.c: Likewise.
8850 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8851 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8852 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8853 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8854 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8869 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8870 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8871 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8872 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8873 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8874 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8875 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8876 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8877 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8878 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8879 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8880 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8881 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8882 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8883 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8884 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8885 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8886 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8887 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8888 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8889 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8890 * sysdeps/ieee754/k_standard.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8900 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8910 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8914 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8917 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8920 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8933 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8934 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8939 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8940 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8952 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8955 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8957 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8965 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8966 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8970 * sysdeps/ieee754/s_matherr.c: Likewise.
8971 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8972 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8975
8976 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8977
8978 * crypt/md5.h: Remove __STDC__ conditionals.
8979 * libio/libioP.h: Likewise.
8980 * locale/programs/config.h: Likewise.
8981 * sysdeps/generic/sysdep.h: Likewise.
8982 * sysdeps/i386/asm-syntax.h: Likewise.
8983 * sysdeps/s390/asm-syntax.h: Likewise.
8984 * sysdeps/unix/sysdep.h: Likewise.
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8987
8988 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8989
8990 * libio/libio.h: Remove __STDC__ conditionals.
8991 * malloc/obstack.h: Likewise.
8992 * math/complex.h: Likewise.
8993 * math/math.h: Likewise.
8994 * sysdeps/generic/_G_config.h: Likewise.
8995 * sysdeps/gnu/_G_config.h: Likewise.
8996 * sysdeps/mach/hurd/_G_config.h: Likewise.
8997 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8998 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8999 * sysdeps/sparc/bits/mathdef.h: Likewise.
9000
9001 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9002
9003 [BZ #13583]
9004 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9005 Clean up HAS_* macros.
9006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9007 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9008 possible.
9009 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9010 HAS_AVX.
9011 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9012 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9013 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9014 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9015 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9016
9017 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9018
9019 * elf/tst-unique3.cc (gets): Remove declaration.
9020 * elf/tst-unique3lib.cc (gets): Likewise.
9021 * elf/tst-unique3lib2.cc (gets): Likewise.
9022 * elf/tst-unique4.cc (gets): Likewise.
9023
9024 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9025
9026 * include/stdio.h: Add C++ protection. Add gets declarations and
9027 definitions.
9028 * debug/tst-chk1.c: Don't declare gets here.
9029 * stdio-common/tst-gets.c: Likewise.
9030
9031 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9032
9033 * posix/glob: Remove directory.
9034
9035 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9036
9037 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9038
9039 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9040
9041 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9042 of the non-standard EPFNOSUPPORT.
9043
9044 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9045
9046 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9047 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9048 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9049
9050 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9051
9052 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9053
9054 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9055
9056 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9057 transient errors.
9058 * nscd/grpcache.c (cache_addgr): Likewise.
9059 * nscd/hstcache.c (cache_addhst): Likewise.
9060 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9061 * nscd/pwdcache.c (cache_addpw): Likewise.
9062 * nscd/servicescache.c (cache_addserv): Likewise.
9063
9064 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9065
9066 * malloc/malloc.c: Various cleanups.
9067 * malloc/hooks.c: Likewise.
9068
9069 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9070 * stdlib/bug-fmtmsg1.c: New file.
9071
9072 * stdlib/fmtmsg.c (init): Add missing unlock.
9073 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9074
9075 2012-01-12 Marek Polacek <polacek@redhat.com>
9076
9077 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9078 and _GNU_SOURCE.
9079
9080 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9081
9082 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9083 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9084 macro to ensure uniqueness of label name.
9085 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9086 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9087
9088 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9089
9090 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9091
9092 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9093 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9096
9097 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9098
9099 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9100
9101 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9102 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9103 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9104
9105 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9106
9107 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9108 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9109 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9111
9112 * math/bits/math-finite.h: Add ldexp support.
9113
9114 2012-01-10 Marek Polacek <polacek@redhat.com>
9115
9116 * locale/programs/localedef.h (show_archive_content): Add noreturn
9117 attribute.
9118
9119 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9120
9121 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9122
9123 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9124
9125 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9126
9127 * io/Makefile (headers): Add bits/poll2.h.
9128
9129 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9130
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9132 typo #include statement.
9133
9134 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9135
9136 * include/sys/cdefs.h: Define __attribute_alloc_size.
9137 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9138 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9139 * elf/pldd.c: Likewise.
9140 * iconv/iconv_charmap.c: Likewise.
9141 * iconv/iconvconfig.c: Likewise.
9142 * iconv/strtab.c: Likewise.
9143 * locale/programs/locale.c: Likewise.
9144 * locale/programs/localedef.h: Likewise.
9145 * locale/programs/simple-hash.c: Likewise.
9146 * nscd/nscd.h: Likewise.
9147 * nss/makedb.c: Likewise.
9148 * sysdeps/generic/ldconfig.h: Likewise.
9149 * locale/programs/localedef.c: Remove xmalloc prototype.
9150 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9151
9152 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9153
9154 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9155 appropriate.
9156
9157 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9158
9159 * math/Makefile (tests): Add tst-CMPLX.
9160 * math/tst-CMPLX.c: New file.
9161
9162 * math/complex.h (CMPLXL): Fix typo.
9163
9164 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9165 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9166 GLIBC_2.16.
9167 * debug/tst-chk1.c: Add poll and ppoll tests.
9168 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9169 * include/sys/poll.h: Add hidden proto for ppoll.
9170 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9171 * sysdeps/mach/hurd/ppoll.c: Likewise.
9172 * io/ppoll.c: Likewise.
9173 * debug/poll_chk.c: New file.
9174 * debug/ppoll_chk.c: New file.
9175 * include/bits/poll2.h: New file.
9176 * io/bits/poll2.h: New file.
9177
9178 [BZ #1350]
9179 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9180
9181 * configure.in: static is always set to yes. Remove.
9182 * config.make.in: Don't set build-static.
9183 * Makeconfig: Remove use of build-static.
9184 * dlfcn/Makefile: Likewise.
9185 * elf/Makefile: Likewise.
9186 * math/Makefile: Likewise.
9187 * misc/Makefile: Likewise.
9188 * nptl/Makefile: Likewise.
9189 * sysdeps/mach/hurd/Makefile: Likewise.
9190
9191 * configure.in: PWD_P is not used anymore.
9192 * config.make.in: Remove PWD_P entry.
9193
9194 * configure.in: Remove last remnants of RANLIB.
9195 No need to check for signed size_t anymore.
9196 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9197 and IA-64.
9198 Remove __builtin_expect test because we require at least gcc 3.4.
9199 * aclocal.m4: Likewise.
9200
9201 * wcsmbs/mbrtoc16.c: Implement using towc function.
9202 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9203 * wcsmbs/wcsmbsload.c: Likewise.
9204 * iconv/gconv_simple.c: Likewise.
9205 * iconv/gconv_int.h: Likewise.
9206 * iconv/gconv_builtin.h: Likewise.
9207 * iconv/iconv_prog.c: Remove CHAR16 handling.
9208
9209 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9210
9211 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9212
9213 * configure.in: Remove --with-elf and --enable-bounded options.
9214 Dont set base_machine for ia64. More non-ELF conditions removed.
9215 Remove testing and setting of leading underscore information.
9216 * config.make.in (build-bounded): Set to no.
9217 * config.h.in: Remove NO_UNDERSCORES entry.
9218 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9219 them.
9220 * csu/start.c: Remove !NO_UNDERSCORE code.
9221 * locale/localeinfo.h: Likewise.
9222 * sysdeps/generic/machine-gmon.h: Likewise.
9223 * sysdeps/generic/sysdep.h: Likewise.
9224 * sysdeps/i386/sysdep.h: Likewise.
9225 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9226 * sysdeps/mach/sysdep.h: Likewise.
9227 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9228 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9229 * sysdeps/sh/sysdep.h: Likewise.
9230 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9231 * sysdeps/unix/i386/sysdep.S: Likewise.
9232 * sysdeps/unix/sparc/start.c: Likewise.
9233 * sysdeps/unix/sparc/sysdep.S: Likewise.
9234 * sysdeps/unix/sparc/sysdep.h: Likewise.
9235 * sysdeps/unix/start.c: Likewise.
9236 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9237 * sysdeps/x86_64/sysdep.h: Likewise.
9238
9239 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9240
9241 [BZ #13553]
9242 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9243 for non-gcc.
9244 * argp/argp-fmtstream.h: Use const instead __const.
9245 * argp/argp.h: Likewise.
9246 * assert/assert.h: Likewise.
9247 * bits/fenv.h: Likewise.
9248 * bits/sched.h: Likewise.
9249 * bits/sigset.h: Likewise.
9250 * bits/sigthread.h: Likewise.
9251 * catgets/nl_types.h: Likewise.
9252 * conform/data/pthread.h-data: Likewise.
9253 * crypt/crypt-private.h: Likewise.
9254 * crypt/crypt.h: Likewise.
9255 * crypt/crypt_util.c: Likewise.
9256 * ctype/ctype.h: Likewise.
9257 * debug/execinfo.h: Likewise.
9258 * debug/mbsnrtowcs_chk.c: Likewise.
9259 * debug/mbsrtowcs_chk.c: Likewise.
9260 * debug/wcsnrtombs_chk.c: Likewise.
9261 * debug/wcsrtombs_chk.c: Likewise.
9262 * debug/wcstombs_chk.c: Likewise.
9263 * dirent/dirent.h: Likewise.
9264 * dlfcn/dlfcn.h: Likewise.
9265 * elf/neededtest4.c: Likewise.
9266 * grp/grp.h: Likewise.
9267 * gshadow/gshadow.h: Likewise.
9268 * iconv/gconv.h: Likewise.
9269 * iconv/gconv_int.h: Likewise.
9270 * iconv/gconv_simple.c: Likewise.
9271 * iconv/iconv.h: Likewise.
9272 * iconv/loop.c: Likewise.
9273 * iconv/skeleton.c: Likewise.
9274 * include/aio.h: Likewise.
9275 * include/aliases.h: Likewise.
9276 * include/argz.h: Likewise.
9277 * include/arpa/inet.h: Likewise.
9278 * include/assert.h: Likewise.
9279 * include/dirent.h: Likewise.
9280 * include/dlfcn.h: Likewise.
9281 * include/execinfo.h: Likewise.
9282 * include/fcntl.h: Likewise.
9283 * include/fenv.h: Likewise.
9284 * include/glob.h: Likewise.
9285 * include/grp.h: Likewise.
9286 * include/libintl.h: Likewise.
9287 * include/mntent.h: Likewise.
9288 * include/netdb.h: Likewise.
9289 * include/pwd.h: Likewise.
9290 * include/rpc/netdb.h: Likewise.
9291 * include/sched.h: Likewise.
9292 * include/search.h: Likewise.
9293 * include/shadow.h: Likewise.
9294 * include/signal.h: Likewise.
9295 * include/stdio.h: Likewise.
9296 * include/stdlib.h: Likewise.
9297 * include/string.h: Likewise.
9298 * include/sys/socket.h: Likewise.
9299 * include/sys/stat.h: Likewise.
9300 * include/sys/statfs.h: Likewise.
9301 * include/sys/statvfs.h: Likewise.
9302 * include/sys/syslog.h: Likewise.
9303 * include/sys/time.h: Likewise.
9304 * include/sys/uio.h: Likewise.
9305 * include/time.h: Likewise.
9306 * include/unistd.h: Likewise.
9307 * include/utmp.h: Likewise.
9308 * include/wchar.h: Likewise.
9309 * include/wctype.h: Likewise.
9310 * inet/aliases.h: Likewise.
9311 * inet/arpa/inet.h: Likewise.
9312 * inet/netinet/ether.h: Likewise.
9313 * inet/netinet/in.h: Likewise.
9314 * intl/libintl.h: Likewise.
9315 * io/bits/fcntl2.h: Likewise.
9316 * io/fcntl.h: Likewise.
9317 * io/ftw.h: Likewise.
9318 * io/sys/poll.h: Likewise.
9319 * io/sys/stat.h: Likewise.
9320 * io/sys/statfs.h: Likewise.
9321 * io/sys/statvfs.h: Likewise.
9322 * io/utime.h: Likewise.
9323 * libio/bits/stdio.h: Likewise.
9324 * libio/bits/stdio2.h: Likewise.
9325 * libio/libio.h: Likewise.
9326 * libio/libioP.h: Likewise.
9327 * libio/stdio.h: Likewise.
9328 * locale/lc-ctype.c: Likewise.
9329 * locale/locale.h: Likewise.
9330 * login/utmp.h: Likewise.
9331 * malloc/arena.c: Likewise.
9332 * malloc/malloc.c: Likewise.
9333 * malloc/malloc.h: Likewise.
9334 * malloc/mcheck.c: Likewise.
9335 * malloc/mtrace.c: Likewise.
9336 * math/bits/mathcalls.h: Likewise.
9337 * math/fenv.h: Likewise.
9338 * math/math_private.h: Likewise.
9339 * misc/bits/error.h: Likewise.
9340 * misc/bits/syslog.h: Likewise.
9341 * misc/err.h: Likewise.
9342 * misc/error.h: Likewise.
9343 * misc/fstab.h: Likewise.
9344 * misc/mntent.h: Likewise.
9345 * misc/regexp.h: Likewise.
9346 * misc/search.h: Likewise.
9347 * misc/sgtty.h: Likewise.
9348 * misc/sys/mman.h: Likewise.
9349 * misc/sys/syslog.h: Likewise.
9350 * misc/sys/uio.h: Likewise.
9351 * misc/sys/xattr.h: Likewise.
9352 * misc/ttyent.h: Likewise.
9353 * nis/rpcsvc/ypclnt.h: Likewise.
9354 * nss/nss.h: Likewise.
9355 * posix/bits/unistd.h: Likewise.
9356 * posix/fnmatch.h: Likewise.
9357 * posix/glob.h: Likewise.
9358 * posix/sched.h: Likewise.
9359 * posix/spawn.h: Likewise.
9360 * posix/sys/wait.h: Likewise.
9361 * posix/unistd.h: Likewise.
9362 * posix/wordexp.h: Likewise.
9363 * pwd/pwd.h: Likewise.
9364 * resolv/netdb.h: Likewise.
9365 * resource/sys/resource.h: Likewise.
9366 * rt/aio.h: Likewise.
9367 * rt/bits/mqueue2.h: Likewise.
9368 * rt/mqueue.h: Likewise.
9369 * shadow/shadow.h: Likewise.
9370 * signal/signal.h: Likewise.
9371 * socket/send.c: Likewise.
9372 * socket/sendto.c: Likewise.
9373 * socket/sys/socket.h: Likewise.
9374 * stdio-common/printf.h: Likewise.
9375 * stdlib/bits/stdlib.h: Likewise.
9376 * stdlib/fmtmsg.h: Likewise.
9377 * stdlib/monetary.h: Likewise.
9378 * stdlib/stdlib.h: Likewise.
9379 * stdlib/ucontext.h: Likewise.
9380 * streams/stropts.h: Likewise.
9381 * string/argz.h: Likewise.
9382 * string/bits/string2.h: Likewise.
9383 * string/string.h: Likewise.
9384 * string/strings.h: Likewise.
9385 * sunrpc/rpc/auth.h: Likewise.
9386 * sunrpc/rpc/auth_des.h: Likewise.
9387 * sunrpc/rpc/clnt.h: Likewise.
9388 * sunrpc/rpc/netdb.h: Likewise.
9389 * sunrpc/rpc/pmap_clnt.h: Likewise.
9390 * sunrpc/rpc/xdr.h: Likewise.
9391 * sysdeps/generic/inttypes.h: Likewise.
9392 * sysdeps/generic/net/if.h: Likewise.
9393 * sysdeps/generic/sys/swap.h: Likewise.
9394 * sysdeps/gnu/net/if.h: Likewise.
9395 * sysdeps/gnu/utmpx.h: Likewise.
9396 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9397 * sysdeps/i386/i486/bits/string.h: Likewise.
9398 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9399 * sysdeps/s390/bits/string.h: Likewise.
9400 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9401 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9402 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9403 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9404 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9405 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9406 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9407 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9408 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9409 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9410 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9411 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9412 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9413 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9414 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9415 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9416 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9418 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9419 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9420 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9421 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9422 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9423 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9424 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9425 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9426 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9427 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9428 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9429 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9430 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9431 * sysvipc/sys/ipc.h: Likewise.
9432 * sysvipc/sys/msg.h: Likewise.
9433 * sysvipc/sys/sem.h: Likewise.
9434 * sysvipc/sys/shm.h: Likewise.
9435 * termios/termios.h: Likewise.
9436 * time/sys/time.h: Likewise.
9437 * time/time.h: Likewise.
9438 * wcsmbs/bits/wchar2.h: Likewise.
9439 * wcsmbs/uchar.h: Likewise.
9440 * wcsmbs/wchar.h: Likewise.
9441 * wctype/wctype.h: Likewise.
9442
9443 [BZ #13551]
9444 * Makeconfig: Remove all but ELF support including AIX support.
9445 * Makerules: Likewise.
9446 * config.h.in: Likewise.
9447 * config.make.in: Likewise.
9448 * configure: Likewise.
9449 * configure.in: Likewise.
9450 * csu/Makefile: Likewise.
9451 * csu/version.c: Likewise.
9452 * debug/Makefile: Likewise.
9453 * dlfcn/Makefile: Likewise.
9454 * elf/Makefile: Likewise.
9455 * extra-lib.mk: Likewise.
9456 * iconv/Makefile: Likewise.
9457 * include/libc-symbols.h: Likewise.
9458 * include/shlib-compat.h: Likewise.
9459 * resolv/Makefile: Likewise.
9460 * resolv/res_libc.c: Likewise.
9461 * rt/Makefile: Likewise.
9462 * sysdeps/i386/asm-syntax.h: Likewise.
9463 * sysdeps/i386/sysdep.h: Likewise.
9464 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9465 * sysdeps/mach/sysdep.h: Likewise.
9466 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9467 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9468 * sysdeps/s390/asm-syntax.h: Likewise.
9469 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9470 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9471 * sysdeps/sh/sysdep.h: Likewise.
9472 * sysdeps/unix/sparc/sysdep.h: Likewise.
9473 * sysdeps/wordsize-32/divdi3.c: Likewise.
9474 * sysdeps/x86_64/sysdep.h: Likewise.
9475
9476 * argp/Versions: Remove _argp_unlock_xxx.
9477
9478 [BZ #13559]
9479 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9480 * abilist/libBrokenLocale.abilist: Likewise.
9481 * abilist/libanl.abilist: Likewise.
9482 * abilist/libc.abilist: Likewise.
9483 * abilist/libcrypt.abilist: Likewise.
9484 * abilist/libdl.abilist: Likewise.
9485 * abilist/libm.abilist: Likewise.
9486 * abilist/libnsl.abilist: Likewise.
9487 * abilist/libpthread.abilist: Likewise.
9488 * abilist/libresolv.abilist: Likewise.
9489 * abilist/librt.abilist: Likewise.
9490 * abilist/libthread_db.abilist: Likewise.
9491 * abilist/libutil.abilist: Likewise.
9492 * abilist/libnss_db.abilist: New file.
9493
9494 * scripts/abilist.awk: Add support for indirect functions.
9495
9496 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9497
9498 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9499
9500 * shlib-versions: Remove entries for ports architectures.
9501
9502 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9503 files in ports.
9504 * elf/stackguard-macros.h: Remove support for IA-64.
9505 * elf/tst-auditmod1.c: Likewise.
9506 * sysdeps/generic/ldsodefs.h: Likewise.
9507
9508 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9509 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9510 configure files.
9511
9512 [BZ #13552]
9513 * configure.in: Remove --enable-omitfp support.
9514 * FAQ.in: Adjust.
9515 * config.make.in: Likewise.
9516 * Makeconfig: Likewise.
9517 * manual/install.texi: Likewise.
9518
9519 In case anyone cares, the IA-64 architecture could move to ports.
9520 * sysdeps/ia64/*: Removed.
9521 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9522 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9523
9524 [BZ #13555]
9525 * configure.in: Remove entries for unsupported architectures.
9526
9527 [BZ #13533]
9528 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9529 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9530 routines.
9531 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9532 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9533 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9534 fall back to using wcrtomb.
9535 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9536 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9537 renaming.
9538 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9539 * wcsmbs/tst-c16c32-1.c: New file.
9540
9541 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9542 local variable.
9543
9544 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9545
9546 * elf/tst-unique3.cc: Add explicit declaration of gets.
9547 * elf/tst-unique3lib.cc: Likewise.
9548 * elf/tst-unique3lib2.cc: Likewise.
9549 * elf/tst-unique4.cc: Likewise.
9550
9551 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9552
9553 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9554
9555 [BZ #13566]
9556 * assert/assert.h (static_assert): Don't define for C++.
9557 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9558 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9559
9560 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9561
9562 * iconv/loop.c (single loop): Fix assertion in storing of
9563 remaining bytes.
9564
9565 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9566
9567 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9568
9569 * posix/getconf.c: Update copyright year.
9570 * nss/getent.c: Likewise.
9571 * nss/makedb.c: Likewise.
9572 * iconv/iconvconfig.c: Likewise.
9573 * iconv/iconv_prog.c: Likewise.
9574 * elf/ldconfig.c: Likewise.
9575 * elf/pldd.c: Likewise.
9576 * elf/sotruss.ksh: Likewise.
9577 * catgets/gencat.c: Likewise.
9578 * csu/version.c: Likewise.
9579 * elf/ldd.bash.in: Likewise.
9580 * elf/sprof.c (print_version): Likewise.
9581 * locale/programs/locale.c: Likewise.
9582 * locale/programs/localedef.c: Likewise.
9583 * login/programs/pt_chown.c: Likewise.
9584 * nscd/nscd.c (print_version): Likewise.
9585 * debug/xtrace.sh: Likewise.
9586 * malloc/memusage.sh: Likewise.
9587 * malloc/mtrace.pl: Likewise.
9588 * debug/catchsegv.sh: Likewise.
9589
9590 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9591
9592 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9593 pure attribute.
9594
9595 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9596
9597 [BZ #13533]
9598 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9599 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9600 transformations.
9601 * iconv/gconv_int.h: Likewise.
9602 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9603 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9604 from libc for GLIBC_2.16.
9605 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9606 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9607 * wcsmbs/uchar.h: Really define mbstate_t.
9608 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9609 * wcsmbs/c16rtomb.c: New file.
9610 * wcsmbs/mbrtoc16.c: New file.
9611 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9612 for C/POSIX locale.
9613 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9614 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9615
9616 * wcsmbs/wchar.h: Add missing __restrict.
9617
9618 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9619
9620 [BZ #13532]
9621 * time/Makefile (routines): Add timespec_get.
9622 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9623 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9624 timespec for ISO C11.
9625 * time/timespec_get.c: New file.
9626 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9627 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9628
9629 [BZ #13531]
9630 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9631 * stdlib/stdlib.h: Declare aligned_alloc.
9632 * Versions.def: Add GLIBC_2.16 for libc.
9633 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9634
9635 [BZ 13527]
9636 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9637 ISO C11.
9638
9639 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9640 code.
9641
9642 [BZ #13528]
9643 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9644
9645 [BZ #13529]
9646 * assert/assert.h (static_assert): Define.
9647
9648 * version.h: Update for 2.16 development version.
9649
9650 [BZ #13526]
9651 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9652 _ISOC11_SOURCE.
9653
9654 * version.h (RELEASE): Bump for 2.15 release.
9655 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9656
9657 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9658 Patch by Marek Polacek <mpolacek@redhat.com>.
9659
9660 * bits/byteswap.h: Protect long long constants with __extension__.
9661 * sysdeps/i386/bits/byteswap.h: Likewise.
9662 * sysdeps/ia64/bits/byteswap.h: Likewise.
9663 * sysdeps/s390/bits/byteswap.h: Likewise.
9664 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9665
9666 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9667
9668 [BZ #13540]
9669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9670 destination buffer.
9671 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9672
9673 2011-12-23 Marek Polacek <polacek@redhat.com>
9674
9675 * elf/dl-addr.c (determine_info): Add inline keyword.
9676 * elf/tst-auditmod4b.c (check_avx): Likewise.
9677 * elf/tst-auditmod6b.c (check_avx): Likewise.
9678 * elf/tst-auditmod6c.c (check_avx): Likewise.
9679 * elf/tst-auditmod7b.c (check_avx): Likewise.
9680
9681 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9682
9683 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9684 !__SSE_MATH__.
9685
9686 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9687
9688 [BZ #13540]
9689 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9690 processing for last bytes.
9691
9692 2011-08-06 Bruno Haible <bruno@clisp.org>
9693
9694 [BZ #13061]
9695 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9696 U+0385, not to U+1FEE.
9697
9698 [BZ #13062]
9699 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9700 entry for U+00A5 U+0301.
9701
9702 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9703
9704 [BZ #13166]
9705 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9706 buffer for the output is too small.
9707
9708 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9709 optimization.
9710
9711 [BZ #13185]
9712 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9713 SSE flags if possible.
9714
9715 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9716
9717 [BZ #13540]
9718 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9719 processing for last bytes.
9720
9721 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9722
9723 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9724 (syscall-list-default-options, syscall-list-default-condition)
9725 (syscall-list-includes): Define.
9726 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9727 list of ABIs and options and #if conditions for each ABI. Do not
9728 handle common syscalls between ABIs specially.
9729 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9730 Remove.
9731 (syscall-list-variants, syscall-list-32bit-options)
9732 (syscall-list-32bit-condition, syscall-list-64bit-options)
9733 (syscall-list-64bit-condition): Define.
9734 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9735 (syscall-list-variants, syscall-list-32bit-options)
9736 (syscall-list-32bit-condition, syscall-list-64bit-options)
9737 (syscall-list-64bit-condition): Define.
9738 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9739 Remove.
9740 (syscall-list-variants, syscall-list-32bit-options)
9741 (syscall-list-32bit-condition, syscall-list-64bit-options)
9742 (syscall-list-64bit-condition): Define.
9743 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9744 Remove.
9745 (syscall-list-variants, syscall-list-32bit-options)
9746 (syscall-list-32bit-condition, syscall-list-64bit-options)
9747 (syscall-list-64bit-condition): Define.
9748
9749 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9750
9751 * locale/iso-639.def: Add brx entry.
9752
9753 [BZ #13328]
9754 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9755 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9756
9757 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9758 __feraiseexcept_renamed.
9759
9760 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9761
9762 [BZ #13538]
9763 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9764 EPOLLET with unsigned values.
9765 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9766 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9767
9768 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9769 to large cancellation.
9770 * math/s_cacoshf.c: Likewise.
9771 * math/s_cacoshl.c: Likewise.
9772
9773 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9774
9775 [BZ #13305]
9776 [BZ #12786]
9777 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9778 * math/s_cacoshf.c: Likewise.
9779 * math/s_cacoshl.c: Likewise.
9780
9781 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9782
9783 [BZ #13439]
9784 * iconv/gconv.h: Define __GCONV_SWAP.
9785 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9786 * iconvdata/utf-16.c: Likewise.
9787 * iconvdata/utf-32.c: Likewise.
9788
9789 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9790
9791 [BZ #13524]
9792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9793 numerator after shifting it by one limb.
9794
9795 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9796
9797 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9798 under [__USE_EXTERN_INLINES].
9799
9800 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9801
9802 [BZ #13446]
9803 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9804
9805 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806
9807 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9808 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9809 optimized code.
9810 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9811 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9812 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9813 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9814 for strncasecmp/strncasecmp_l compilation.
9815 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9816 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9817
9818 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9819
9820 [BZ #13484]
9821 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9822 of __asm__.
9823
9824 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9825
9826 [BZ #13506]
9827 * time/tzfile.c (__tzfile_read): Check values from file header.
9828
9829 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9830
9831 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9832 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9833 * powerpc/powerpc32/dl-start.S: Likewise.
9834 * powerpc/powerpc32/elf/start.S: Likewise.
9835 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9836 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9837 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9838 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9839 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9840 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9841 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9842 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9843 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9844 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9845 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9846 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9847 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9848 * powerpc/powerpc32/memset.S: Likewise.
9849 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9850 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9851 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9852 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9853 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9854 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9855 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9856 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9857 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9858 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9859 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9860 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9861 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9862
9863 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9864
9865 * math/libm-test.inc: Added more nearbyint tests.
9866 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9868 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9870
9871 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9872
9873 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9874 FD_CLOEXEC.
9875
9876 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9877
9878 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9879 Add wcscpy-ssse3 wcscpy-c.
9880 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9881 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9882 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9883 * sysdeps/x86_64/wcschr.S: New file.
9884 * sysdeps/x86_64/wcsrchr.S: New file.
9885 * string/test-strcmp.c: Remove checking of wcscmp function for
9886 wrong alignments.
9887 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9888 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9889 wcsrchr-sse2 wcsrchr-c.
9890 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9891 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9892 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9893 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9894 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9895 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9896 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9897 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9898 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9899 * wcsmbc/wcschr.c (WCSCHR): New macro.
9900
9901 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9902
9903 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9904 * wcsmbs/test-wcsrchr.c: New file.
9905 * string/test-strrchr.c: Add wcsrchr support.
9906 (WIDE): New macro.
9907 * wcsmbs/test-wcscpy.c: New file.
9908 * string/test-strcpy.c: Add wcscpy support.
9909 (WIDE): New macro.
9910
9911 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9912
9913 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9914 the inner loop.
9915
9916 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9917
9918 [BZ #13472]
9919 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9920
9921 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9922
9923 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9924 Minor optimizations.
9925
9926 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9927 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9928 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9929
9930 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9931
9932 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9933 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9934 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9935 for gcc to avoid warnings.
9936 * inet/Makefile (tests): Add tst-checks.
9937 * inet/tst-checks.c: New file.
9938
9939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9940 warning.
9941
9942 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9943 __wmemcmp_sse2.
9944
9945 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9946 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9947
9948 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9949
9950 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9951
9952 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9953 problem.
9954
9955 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9956
9957 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9958
9959 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9960 conditional on GCC version.
9961 (__arch_compare_and_exchange_val_8_acq)
9962 (__arch_compare_and_exchange_val_16_acq)
9963 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9964 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9965 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9966
9967 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9968
9969 * sysdeps/sh/backtrace.c: New file.
9970
9971 2011-12-02 Andreas Schwab <schwab@redhat.com>
9972
9973 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9974 parenthesis.
9975
9976 2011-12-01 Andreas Schwab <schwab@redhat.com>
9977
9978 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9979 falling back to utime.
9980
9981 2011-11-30 Andreas Schwab <schwab@redhat.com>
9982
9983 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9984 expectations for float.
9985
9986 2011-11-29 Andreas Schwab <schwab@redhat.com>
9987
9988 * locale/weight.h (findidx): Add parameter len.
9989 * locale/weightwc.h (findidx): Likewise.
9990 * posix/fnmatch_loop.c (FCT): Adjust caller.
9991 * posix/regcomp.c (build_equiv_class): Likewise.
9992 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9993 * posix/regexec.c (check_node_accept_bytes): Likewise.
9994 * string/strcoll_l.c (STRCOLL): Likewise.
9995 * string/strxfrm_l.c (STRXFRM): Likewise.
9996
9997 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9998
9999 * Makefile.in: Remove CVSOPT handling.
10000 * configure.in: Remove use of AC_REVISION.
10001 * iconvdata/Makefile (distribute): No need to filter out CVS.
10002 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10003 handling.
10004
10005 2011-11-16 Andreas Schwab <schwab@redhat.com>
10006
10007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10008 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10009 [USE_AS_STRNCASECMP_L]: Likewise.
10010 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10011 NO_TLS_DIRECT_SEG_REFS.
10012 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10013 Fix argument offsets for non-PIC.
10014 [USE_AS_STRNCASECMP_L]: Likewise.
10015 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10016 NO_TLS_DIRECT_SEG_REFS.
10017
10018 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10019
10020 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10021 O_CLOEXEC.
10022 * locale/loadlocale.c (_nl_load_locale): Likewise.
10023
10024 2011-11-15 Andreas Schwab <schwab@redhat.com>
10025
10026 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10027 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10028 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10029 (SYSCALL_GETTIME): Set errno on error.
10030
10031 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10032 count references to noai6ai_cached.
10033
10034 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10035
10036 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10037
10038 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10039 FD_CLOEXEC for /proc/self/maps.
10040
10041 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10042 FD_CLOEXEC for /proc/meminfo.
10043
10044 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10045 gai.conf.
10046
10047 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10048 FD_CLOEXEC for given file.
10049
10050 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10051
10052 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10053 FD_CLOEXEC for /etc/hosts.
10054 (_gethtent): Likewise.
10055
10056 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10057
10058 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10059 cancellation and set FD_CLOEXEC for /etc/netgroup.
10060
10061 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10062 reading /etc/publickey.
10063
10064 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10065 allow cancellation when reading /etc/group.
10066
10067 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10068 cancellation.
10069 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10070
10071 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10072 when using data file.
10073
10074 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10075
10076 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10077 (write_nis_obj): Use "c" and "e" in fopen.
10078
10079 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10080
10081 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10082
10083 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10084
10085 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10086
10087 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10088 locale.alias.
10089
10090 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10091
10092 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10093
10094 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10095
10096 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10097 file parsing and set FD_CLOEXEC.
10098
10099 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10100
10101 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10102
10103 2011-11-14 Andreas Schwab <schwab@redhat.com>
10104
10105 * malloc/arena.c (arena_get2): Don't call reused_arena when
10106 _int_new_arena failed.
10107
10108 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10109
10110 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10111 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10112 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10113 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10114 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10115 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10116 to compile strcasecmp and strncasecmp.
10117 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10118 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10119
10120 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10121
10122 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10123
10124 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10125 locale-defines.sym to gen-as-const-headers.
10126 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10127 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10128 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10129 to compile strcasecmp and strncasecmp.
10130 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10131 strcasecmp_l and strncasecmp_l.
10132 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10133 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10134 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10135 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10136 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10137 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10138 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10139 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10140 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10141 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10142 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10143
10144 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10145
10146 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10147 result of SYSDEP_GETTIME_CPU to retval.
10148 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10149 parameter list to macro. Remove trailing semicolon. Adjust users.
10150
10151 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10152 variable.
10153
10154 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10155 mantissa words.
10156 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10157
10158 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10159 from unused variable.
10160
10161 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10162 DWARF definitions.
10163 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10164 for assembling.
10165
10166 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10167 over namespaces.
10168
10169 * sunrpc/rpc_prot.c (rejected): Fix case value.
10170
10171 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10172 unsigned long long int to avoid warnings in shift.
10173
10174 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10175 of use of trans.
10176 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10177 variable tmp.
10178
10179 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10180 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10181 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10182
10183 * nis/nis_table.c (nis_list): Use variable of correct type for
10184 result of __follow_path call.
10185
10186 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10187
10188 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10189 of math functions ceil, trunc, floor, round, and sqrt, when
10190 avaliable on the platform.
10191 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10192 name clash.
10193 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10194 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10195 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10196
10197 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10198
10199 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10200 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10201
10202 2011-11-11 Roland McGrath <roland@hack.frob.com>
10203
10204 * include/unistd.h: Fix __readlink return type.
10205 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10206
10207 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10208
10209 * stdlib/ucontext.h: Undo last change for makecontext.
10210
10211 2011-11-11 Andreas Schwab <schwab@redhat.com>
10212
10213 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10214
10215 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10216 * setjmp/setjmp.h: Mark functions as non-leaf.
10217 * setjmp/bits/setjmp2.h: Likewise.
10218 * stdlib/ucontext.h: Likewise.
10219
10220 2011-11-10 Andreas Schwab <schwab@redhat.com>
10221
10222 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10223 (reused_arena): Don't check arena limit.
10224 (arena_get2): Atomically check arena limit.
10225
10226 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10227
10228 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10229 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10230
10231 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10232 instructions.
10233
10234 2011-11-07 Andreas Schwab <schwab@redhat.com>
10235
10236 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10237 handler when locking.
10238
10239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10240 Fix size of allocated buffer.
10241
10242 2011-11-04 Andreas Schwab <schwab@redhat.com>
10243
10244 [BZ #10103]
10245 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10246 declarations for long double functions.
10247 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10248
10249 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10250
10251 2011-11-03 Andreas Schwab <schwab@redhat.com>
10252
10253 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10254 installed.
10255
10256 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10257 is disabled.
10258
10259 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10260
10261 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10262
10263 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10264
10265 * include/alloca.h (stackinfo_alloca_round): Define.
10266 (extend_alloca): Use it.
10267 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10268 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10269 here.
10270
10271 * scripts/check-local-headers.sh: Ignore libaudit.h.
10272
10273 * nscd/Makefile (extra-objs): Make recursively expanded.
10274
10275 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10276
10277 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10278 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10279
10280 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10281 * posix/tst-rfc3484-2.c: Likewise.
10282 * posix/tst-rfc3484-3.c: Likewise.
10283
10284 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10285 process_vm_writev.
10286 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10287 process_vm_writev.
10288 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10289 process_vm_writev from libc using GLIBC_2.15 version.
10290
10291 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10292
10293 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10294
10295 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10296 stack usage.
10297
10298 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10299
10300 [BZ #13367]
10301 * nss/getent.c (initgroups_keys): Show error message in case no group
10302 names are given.
10303
10304 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10305 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10306 __bump_nl_timestamp.
10307 * nscd/connections (nscd_init): When host database is served open
10308 netlink socket and request notification about configuration changes.
10309 (main_loop_poll): Track netlink file descriptor and bump timestamp
10310 in case data becomes available.
10311 (main_loop_epoll): Likewise.
10312 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10313 (database_pers_head): Add extra_data fileds.
10314 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10315 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10316 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10317 Adjust caller.
10318 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10319 in6ai data, call __free_in6ai.
10320 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10321 Add -DHAVE_NETLINK.
10322 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10323 interface information. Reuse previous data if netlink timestamp
10324 is not changed.
10325 (__bump_nl_timestamp): New function.
10326 (__free_in6ai): New function.
10327
10328 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10329
10330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10331 close_not_cancel_no_status here.
10332 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10333
10334 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10335
10336 [BZ #13276]
10337 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10338 return value.
10339
10340 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10341 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10342 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10343
10344 2011-07-03 Andreas Jaeger <aj@suse.de>
10345
10346 [BZ #10709]
10347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10348 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10349 * math/libm-test.inc (sin_test): Add test case.
10350
10351 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10352
10353 [BZ #13337]
10354 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10355 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10356
10357 * elf/chroot_canon.c (chroot_canon): Cleanups.
10358
10359 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10360
10361 [BZ #13335]
10362 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10363 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10364
10365 * string/test-strchr.c: Make usable for strchrnul testing.
10366 * string/test-strchrnul.c: New file.
10367 * string/Makefile (strop-tests): Add strchrnul.
10368
10369 * po/it.po: Update from translation team.
10370 * po/es.po: Likewise.
10371
10372 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10373
10374 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10375 the three constants needed as parameters. Drop the others.
10376 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10377 __m128i_strloadu_tolower.
10378 Create and initialize variable zero and use it in all the places
10379 where _mm_setzero_si128 was used.
10380
10381 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10382 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10383 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10384 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10385 anymore.
10386 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10387 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10388 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10389 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10390 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10391 __mpranred, __mptan.
10392 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10393 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10394 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10395 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10396 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10397 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10398 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10399 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10400 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10401
10402 2011-10-28 Andreas Schwab <schwab@redhat.com>
10403
10404 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10405 redefine if SHARED.
10406 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10407
10408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10409 wide char related routines to wcsmbs subdir.
10410
10411 2011-10-27 Andreas Schwab <schwab@redhat.com>
10412
10413 [BZ #13344]
10414 * misc/sys/cdefs.h (__THROWNL): Define.
10415 * posix/unistd.h: Use __THREADNL instead of __THREAD
10416 for memory synchronization functions.
10417
10418 2011-10-26 Roland McGrath <roland@hack.frob.com>
10419
10420 [BZ #13349]
10421 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10422 doesn't exist.
10423 * manual/stdio.texi (Obstack Streams): Node removed.
10424
10425 2011-10-26 Andreas Schwab <schwab@redhat.com>
10426
10427 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10428 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10429 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10430
10431 * math/math_private.h (math_force_eval): Allow non-addressable
10432 arguments.
10433 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10434
10435 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10436
10437 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10438 file is not needed.
10439
10440 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10447 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10448 Add AVX variants.
10449 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10450 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10451 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10452 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10453 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10454 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10455 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10456 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10457 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10458 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10459 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10460 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10461 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10462 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10463 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10464 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10465 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10466 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10467 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10468
10469 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10470 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10471
10472 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10473 place. Use VEX encoding when compiling for AVX.
10474
10475 2011-10-25 Andreas Schwab <schwab@redhat.com>
10476
10477 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10478 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10479
10480 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10481
10482 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10483
10484 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10485 useless if() expression.
10486 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10492 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10493 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10494 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10495 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10496 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10497 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10498 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10499 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10500 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10501 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10502 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10504 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10505
10506 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10507
10508 2011-10-25 Andreas Schwab <schwab@redhat.com>
10509
10510 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10511 condition.
10512 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10513
10514 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10515
10516 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10517 .text section. Avoid duplicate constants.
10518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10526 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10527 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10528 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10529 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10530 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10531 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10532 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10533 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10534 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10535 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10536 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10541 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10542 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10543 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10544 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10545 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10546 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10547 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10548 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10549 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10550 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10551 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10552 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10553 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10554 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10555 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10556 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10557 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10558 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10559 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10560 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10561 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10562 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10563
10564 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10565
10566 * sysdeps/x86_64/dla.h: Move to ...
10567 * sysdeps/x86_64/fpu/dla.h: ...here.
10568 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10569 situations. Use __builtin_fma only for gcc 4.6 and up.
10570
10571 * config.make.in: Add have-mfma4 entry.
10572 * configure.in: Substitute libc_cv_cc_fma4.
10573 * math/Makefile (dbl-only-routines): Add sincostab.
10574 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10575 Use __sincostab not sincos.
10576 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10577 name is a macro.
10578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10582 using __copysign.
10583 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10584 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10585 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10586 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10587 and __inv.
10588 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10589 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10590 __copysign.
10591 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10592 define aliases when function name is a macro.
10593 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10594 sysdeps/ieee754/dbl-64/sincos.tbl.
10595 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10596 fma4-enabled routines.
10597 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10598 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10599 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10600 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10601 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10602 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10604 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10606 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10607 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10608 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10609 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10610 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10611 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10612 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10613 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10614 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10615 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10616 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10617 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10618 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10619 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10620 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10621 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10622 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10624 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10625 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10626 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10627
10628 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10629 rename.
10630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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/halfulp.c: Likewise.
10636 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10638
10639 2011-10-24 Andreas Schwab <schwab@redhat.com>
10640
10641 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10642
10643 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10644
10645 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10646
10647 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10648 prediction.
10649 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10650
10651 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10652 Remove unused variable magic_bits.
10653 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10654
10655 * string/strnlen.c: Define and use STRNLEN macro.
10656 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10657 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10658 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10659 * wcsmbs/wcslen.c: Define and use WCSLEN.
10660 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10661 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10662 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10663 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10664 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10665 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10666 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10667
10668 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10669
10670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10671 strnlen-sse2-no-bsf.
10672 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10673 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10674 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10675 Add strnlen support.
10676 (USE_AS_STRNLEN): New macro.
10677 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10678 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10679 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10680 * sysdeps/x86_64/wcslen.S: New file.
10681
10682 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10683
10684 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10685 XMM-moves are used for copying on small sizes.
10686
10687 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10688
10689 * wcsmbs/Makefile (strop-tests): Add wcschr.
10690 * wcsmbs/test-wcschr.c: New file.
10691 * string/test-strchr.c: Update.
10692 Add wcschr support.
10693 (WIDE): New macro.
10694
10695 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10696
10697 * wcsmbs/Makefile (strop-tests): Add wcslen.
10698 * wcsmbs/test-wcslen.c: New file.
10699 * string/test-strlen.c: Update.
10700 Add wcslen support.
10701 (WIDE): New macro.
10702
10703 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10704
10705 * po/it.po: Update from translation team.
10706
10707 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10708
10709 * sysdeps/x86_64/wcscmp.S: Update.
10710 Fix wrong comparison semantics.
10711 wcscmp shall use signed comparison not unsigned.
10712 Don't use substraction to avoid overflow bug.
10713 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10714 * wcsmbc/wcscmp.c: Likewise.
10715 * string/test-strcmp.c: Likewise.
10716 Add new tests to check cases with negative values.
10717
10718 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10719
10720 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10721 * sysdeps/x86_64/dla.h: ...here. New file.
10722 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10728 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10729 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10730 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10731
10732 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10733
10734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10735 __ynl_finite aliases.
10736
10737 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10738
10739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10740
10741 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10742 define DLA_FMA.
10743 [DLA_FMA] (EMULV): Use DLA_FMA.
10744 [DLA_FMA] (MUL12): Use EMULV.
10745 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10746 that are not needed.
10747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10754
10755 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10756
10757 * math/s_nan.c: Undef __nan.
10758 * math/s_nanf.c: Undef __nanf.
10759 * math/s_nanl.c: Undef __nanl.
10760 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10761 "math_private.h".
10762
10763 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10764
10765 * math/s_catan.c: Add branch predictions.
10766 * math/s_catanf.c: Likewise.
10767 * math/s_catanh.c: Likewise.
10768 * math/s_catanhf.c: Likewise.
10769 * math/s_catanhl.c: Likewise.
10770 * math/s_catanl.c: Likewise.
10771 * math/s_cexp.c: Likewise.
10772 * math/s_cexpf.c: Likewise.
10773 * math/s_cexpl.c: Likewise.
10774 * math/s_clog.c: Likewise.
10775 * math/s_clog10.c: Likewise.
10776 * math/s_clog10f.c: Likewise.
10777 * math/s_clog10l.c: Likewise.
10778 * math/s_clogf.c: Likewise.
10779 * math/s_clogl.c: Likewise.
10780 * math/s_csqrt.c: Likewise.
10781 * math/s_csqrtf.c: Likewise.
10782 * math/s_csqrtl.c: Likewise.
10783 * math/s_ctanf.c: Likewise.
10784 * math/s_ctanh.c: Likewise.
10785 * math/s_ctanhf.c: Likewise.
10786 * math/s_ctanhl.c: Likewise.
10787 * math/s_ctanl.c: Likewise.
10788
10789 * math/math_private.h: Define __nan, __nanf, __nanl.
10790 * math/s_cacosh.c: Include <math_private.h>.
10791 * math/s_cacoshl.c: Likewise.
10792 * math/s_casinh.c: Likewise.
10793 * math/s_casinhf.c: Likewise.
10794 * math/s_casinhl.c: Likewise.
10795 * math/s_ccos.c: Rely entire on ccosh.
10796 * math/s_ccosf.c: Rely entire on ccoshf.
10797 * math/s_ccosl.c: Rely entirely on ccoshl.
10798 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10799 Remove tests for FE_INVALID.
10800 * math/s_ccoshf.c: Likewise.
10801 * math/s_ccoshl.c: Likewise.
10802 * math/s_csin.c: Likewise.
10803 * math/s_csinf.c: Likewise.
10804 * math/s_csinh.c Likewise.
10805 * math/s_csinhf.c: Likewise.
10806 * math/s_csinhl.c: Likewise.
10807 * math/s_csinl.c: Likewise.
10808 * math/s_ctan.c: Likewise.
10809 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10810 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10811 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10812
10813 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10814
10815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10816 compilation problems.
10817
10818 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10819 __builtin_expect.
10820
10821 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10822
10823 * sysdeps/i386/configure.in: Test for -mfma4 option.
10824 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10825 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10826 COMMON_CPUID_INDEX_80000001.
10827 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10828 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10829 use it if FMA3 is not supported.
10830 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10831
10832 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10833 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10834
10835 2011-10-20 Andreas Schwab <schwab@redhat.com>
10836
10837 [BZ #12892]
10838 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10839 it would create a cycle with a link time dependency.
10840
10841 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10842
10843 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10844 instruction.
10845 * string/Makefile (strop-tests): Add rawmemchr.
10846 * string/test-rawmemchr.c: New file.
10847
10848 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10850 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10851 when compiling str{,n}casecmp and when AVX is available. Hook up
10852 new optimized code in initializers.
10853
10854 2011-10-19 Andreas Schwab <schwab@redhat.com>
10855
10856 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10857 __feraiseexcept instead of feraiseexcept.
10858
10859 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10860
10861 * math/math_private.h: Define defaults for libc_fetestexcept and
10862 libc_feupdateenv.
10863 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10864 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10865 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10866 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10867 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10868 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10869 libc_fetestexcept and libc_feupdateenv.
10870
10871 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10872 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10873 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10874 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10875 libc_feholdexcept_setround.
10876
10877 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10878 Add s_nearbyint-c and s_nearbyintf-c.
10879 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10880 nearbyintf inlines.
10881 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10882 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10883 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10884 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10885
10886 * math/math_private.h: Define defaults for libc_fegetround,
10887 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10888 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10889 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10890 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10891 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10892 standard functions.
10893 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10894 Remove comments and hacks for old compiler versions.
10895 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10896 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10897 libc_feholdexceptl.
10898
10899 2011-10-18 Andreas Schwab <schwab@redhat.com>
10900
10901 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10902 (__feraiseexcept_renamed): Add __NTH.
10903 (feraiseexcept): Add __NTH. Rename local variables to fix
10904 namespace violations.
10905
10906 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10907
10908 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10909
10910 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10911
10912 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10913 recently added interfaces.
10914 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10915
10916 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10917 about macro parameter expansion.
10918
10919 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10920 __NO_MATH_INLINES is defined. Cleanups.
10921
10922 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10923 and __floorf is target has SSE4.1.
10924 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10925 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10926 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10927 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10928
10929 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10930 name.
10931 (floorf): Likewise.
10932
10933 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10934
10935 2011-10-17 Andreas Schwab <schwab@redhat.com>
10936
10937 * misc/sys/cdefs.h: Fix last change.
10938
10939 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10940 database lookup.
10941
10942 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10943
10944 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10945
10946 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10947 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10952 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10953 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10954 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10955 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10956 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10957 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10958 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10959 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10960 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10961 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10962 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10963 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10964 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10965 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10966 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10967 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10968
10969 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10970 ceil, ceilf, floor, floorf.
10971
10972 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10973 Perform IRELATIVE relocations last.
10974
10975 * elf/do-rel.h: Add another parameter nrelative, replacing the
10976 local variable with the same name. Change name of the function
10977 to end in Rel or Rela (uppercase).
10978 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10979 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10980 elf_dynamic_do_##reloc function.
10981
10982 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10983
10984 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10985 is sufficient, at least on modern CPUs.
10986
10987 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10988
10989 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10990 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10991
10992 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10993 __expl_finite.
10994 * math/bits/math-finite.h: Add entries for exp.
10995 * math/e_expl.c: Add __*_finite alias.
10996 * sysdeps/i386/fpu/e_exp.S: Likewise.
10997 * sysdeps/i386/fpu/e_expf.S: Likewise.
10998 * sysdeps/i386/fpu/e_expl.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11000 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11004 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11005 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11006
11007 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11008 is sufficient, at least on modern CPUs.
11009
11010 * ctype/ctype-info.c (__ctype_init): Define.
11011 * include/ctype.h (__ctype_init): Declare.
11012 (__ctype_b_loc): The variable is always initialized.
11013 (__ctype_toupper_loc): Likewise.
11014 (__ctype_tolower_loc): Likewise.
11015 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11016 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11017
11018 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11019
11020 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11021
11022 * configure.in: Also look in $cxxmachine/include for C++ system
11023 headers.
11024
11025 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11026
11027 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11028 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11029 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11030 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11031 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11032 (USE_AS_WMEMCMP): New macro.
11033 Fixing indents.
11034 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11035 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11036 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11037 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11039 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11040 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11041 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11042 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11043 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11044 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11045 (USE_AS_WMEMCMP): New macro.
11046 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11047 * sysdeps/string/test-memcmp.c: Update.
11048 Fix simple_wmemcmp.
11049 Add new tests.
11050 * wcsmbs/wmemcmp.c: Update.
11051 (WMEMCMP): New macro.
11052 Fix overflow bug.
11053
11054 2011-10-12 Andreas Jaeger <aj@suse.de>
11055
11056 [BZ #13268]
11057 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11058
11059 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11060
11061 * libio/iofwide.c (do_length): Avoid warning.
11062
11063 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11064
11065 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11066
11067 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11068
11069 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11070 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11071 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11072 * sysdeps/i386/i686/fpu/e_log.S: New file.
11073 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11074 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11075
11076 * ctype/ctype.h: Add support for inlined isXXX functions when
11077 compiling C++ code.
11078
11079 2011-10-14 Andreas Schwab <schwab@redhat.com>
11080
11081 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11082
11083 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11084
11085 2011-10-13 Roland McGrath <roland@hack.frob.com>
11086
11087 [BZ #13291]
11088 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11089
11090 2011-10-13 Andreas Schwab <schwab@redhat.com>
11091
11092 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11093 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11094 feraiseexcept.
11095
11096 * sysdeps/x86_64/memrchr.S: Check for zero size.
11097
11098 * string/stratcliff.c: Add memrchr tests.
11099
11100 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11101
11102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11103 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11104 rawmemchr-sse2 rawmemchr-sse2-bsf.
11105 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11106 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11107 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11108 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11109 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11110 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11111 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11112 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11113 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11114 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11115 * string/memrchr.c (MEMRCHR): New macro.
11116
11117 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11118
11119 Add integration with gcc's -ffinite-math-only and optimize wrapper
11120 functions in libm.
11121 * Versions.def: Define GLIBC_2.15 version for libm.
11122 * math/Makefile (headers): Add bits/math-finite.h.
11123 * math/bits/math-finite.h: New file.
11124 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11125 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11126 * math/e_acoshl.c: Add __*_finite alias.
11127 * math/e_acosl.c: Likewise.
11128 * math/e_asinl.c: Likewise.
11129 * math/e_atan2l.c: Likewise.
11130 * math/e_atanhl.c: Likewise.
11131 * math/e_coshl.c: Likewise.
11132 * math/e_exp10.c: Likewise.
11133 * math/e_exp10f.c: Likewise.
11134 * math/e_exp10l.c: Likewise.
11135 * math/e_exp2l.c: Likewise.
11136 * math/e_fmodl.c: Likewise.
11137 * math/e_gammal_r.c: Likewise.
11138 * math/e_hypotl.c: Likewise.
11139 * math/e_j0l.c: Likewise.
11140 * math/e_j1l.c: Likewise.
11141 * math/e_jnl.c: Likewise.
11142 * math/e_lgammal_r.c: Likewise.
11143 * math/e_log10l.c: Likewise.
11144 * math/e_log2l.c: Likewise.
11145 * math/e_logl.c: Likewise.
11146 * math/e_powl.c: Likewise.
11147 * math/e_sinhl.c: Likewise.
11148 * math/e_sqrtl.c: Likewise.
11149 * math/e_scalb.c: Completely rewritten and optimized.
11150 * math/e_scalbf.c: Likewise.
11151 * math/e_scalbl.c: Likewise.
11152 * math/w_acos.c: Likewise.
11153 * math/w_acosf.c: Likewise.
11154 * math/w_acosl.c: Likewise.
11155 * math/w_acosh.c: Likewise.
11156 * math/w_acoshf.c: Likewise.
11157 * math/w_acoshl.c: Likewise.
11158 * math/w_asin.c: Likewise.
11159 * math/w_asinf.c: Likewise.
11160 * math/w_asinl.c: Likewise.
11161 * math/w_atan2.c: Likewise.
11162 * math/w_atan2f.c: Likewise.
11163 * math/w_atan2l.c: Likewise.
11164 * math/w_atanh.c: Likewise.
11165 * math/w_atanhf.c: Likewise.
11166 * math/w_atanhl.c: Likewise.
11167 * math/w_exp10.c: Likewise.
11168 * math/w_exp10f.c: Likewise.
11169 * math/w_exp10l.c: Likewise.
11170 * math/w_fmod.c: Likewise.
11171 * math/w_fmodf.c: Likewise.
11172 * math/w_fmodl.c: Likewise.
11173 * math/w_j0.c: Likewise.
11174 * math/w_j0f.c: Likewise.
11175 * math/w_j0l.c: Likewise.
11176 * math/w_j1.c: Likewise.
11177 * math/w_j1f.c: Likewise.
11178 * math/w_j1l.c: Likewise.
11179 * math/w_jn.c: Likewise.
11180 * math/w_jnf.c: Likewise.
11181 * math/w_log.c: Likewise.
11182 * math/w_logf.c: Likewise.
11183 * math/w_logl.c: Likewise.
11184 * math/w_log10.c: Likewise.
11185 * math/w_log10f.c: Likewise.
11186 * math/w_log10l.c: Likewise.
11187 * math/w_log2.c: Likewise.
11188 * math/w_log2f.c: Likewise.
11189 * math/w_log2l.c: Likewise.
11190 * math/w_pow.c: Likewise.
11191 * math/w_powf.c: Likewise.
11192 * math/w_powl.c: Likewise.
11193 * math/w_remainder.c: Likewise.
11194 * math/w_remainderf.c: Likewise.
11195 * math/w_remainderl.c: Likewise.
11196 * math/w_scalb.c: Likewise.
11197 * math/w_scalbf.c: Likewise.
11198 * math/w_scalbl.c: Likewise.
11199 * math/w_sqrt.c: Likewise.
11200 * math/w_sqrtf.c: Likewise.
11201 * math/w_sqrtl.c: Likewise.
11202 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11203 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11204 used.
11205 * math/math_private.h: Declare __kernel_standard_f.
11206 * math/w_cosh.c: Remove cruft and optimize a bit.
11207 * math/w_coshf.c: Likewise.
11208 * math/w_coshl.c: Likewise.
11209 * math/w_exp2.c: Likewise.
11210 * math/w_exp2f.c: Likewise.
11211 * math/w_exp2l.c: Likewise.
11212 * math/w_hypot.c: Likewise.
11213 * math/w_hypotf.c: Likewise.
11214 * math/w_hypotl.c: Likewise.
11215 * math/w_lgamma.c: Likewise.
11216 * math/w_lgamma_r.c: Likewise.
11217 * math/w_lgammaf.c: Likewise.
11218 * math/w_lgammaf_r.c: Likewise.
11219 * math/w_lgammal.c: Likewise.
11220 * math/w_lgammal_r.c: Likewise.
11221 * math/w_sinh.c: Likewise.
11222 * math/w_sinhf.c: Likewise.
11223 * math/w_sinhl.c: Likewise.
11224 * math/w_tgamma.c: Likewise.
11225 * math/w_tgammaf.c: Likewise.
11226 * math/w_tgammal.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11228 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11229 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11230 Minor optimizations. Pretty printing. Remove cruft.
11231 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11232 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11233 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11234 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11235 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11236 * sysdeps/i386/fpu/e_asin.S: Likewise.
11237 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11238 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11239 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11240 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11241 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11242 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11243 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11244 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11245 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11246 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11247 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11248 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11249 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11250 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11251 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11252 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11253 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11254 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11255 * sysdeps/i386/fpu/e_log.S: Likewise.
11256 * sysdeps/i386/fpu/e_log10.S: Likewise.
11257 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11258 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11259 * sysdeps/i386/fpu/e_log2.S: Likewise.
11260 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11261 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11262 * sysdeps/i386/fpu/e_logf.S: Likewise.
11263 * sysdeps/i386/fpu/e_logl.S: Likewise.
11264 * sysdeps/i386/fpu/e_pow.S: Likewise.
11265 * sysdeps/i386/fpu/e_powf.S: Likewise.
11266 * sysdeps/i386/fpu/e_powl.S: Likewise.
11267 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11268 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11269 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11270 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11271 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11272 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11273 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11274 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11275 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11279 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11284 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11286 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11290 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11294 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11295 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11297 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11298 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11299 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11300 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11301 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11302 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11303 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11304 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11305 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11306 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11307 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11308 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11309 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11310 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11311 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11312 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11313 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11314 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11315 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11316 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11317 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11322 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11356 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11359 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11361 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11362 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11364 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11367 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11368 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11369 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11370 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11371 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11372 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11373 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11374 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11375 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11376 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11377 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11378 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11379 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11380 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11381 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11382 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11383 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11384 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11385 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11386 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11387 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11388 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11389 (__isnanf): Likewise.
11390 (__isinf_ns): Likewise.
11391 (__isinf_nsf): Likewise.
11392 (__finite): Likewise.
11393 (__finitef): Likewise.
11394 (__ieee754_sqrt): Define as macro.
11395 (__ieee754_sqrtf): Define as macro.
11396 (__ieee754_sqrtl): Define as macro.
11397 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11398 inlined copy.
11399 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11400 __FINITE_MATH_ONLY__ consistent.
11401 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11402
11403 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11404
11405 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11406 of rawmemchr.
11407
11408 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11409
11410 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11411
11412 * po/ja.po: Update from translation team.
11413
11414 2011-10-08 Roland McGrath <roland@hack.frob.com>
11415
11416 * locale/programs/locarchive.c (prepare_address_space): New function.
11417 (create_archive, enlarge_archive, open_archive): Use it.
11418
11419 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11420 inside [SHARED], where it is used.
11421
11422 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11423
11424 * nss/getent.c (netgroup_keys): Remove unused variable.
11425 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11426
11427 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11428
11429 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11430 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11432 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11433 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11434 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11435 * math/Makefile (libm-calls): Add s_isinf_ns.
11436 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11437 * math/multc3.c: Likewise.
11438 * math/s_casin.c: Likewise.
11439 * math/s_casinf.c: Likewise.
11440 * math/s_casinl.c: Likewise.
11441 * math/s_ccos.c: Likewise.
11442 * math/s_ccosf.c: Likewise.
11443 * math/s_ccosl.c: Likewise.
11444 * math/s_ctan.c: Likewise.
11445 * math/s_ctanf.c: Likewise.
11446 * math/s_ctanh.c: Likewise.
11447 * math/s_ctanhf.c: Likewise.
11448 * math/s_ctanhl.c: Likewise.
11449 * math/s_ctanl.c: Likewise.
11450 * math/w_fmod.c: Likewise.
11451 * math/w_fmodf.c: Likewise.
11452 * math/w_fmodl.c: Likewise.
11453 * math/w_remainder.c: Likewise.
11454 * math/w_remainderf.c: Likewise.
11455 * math/w_remainderl.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11457 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11458 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11460 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11461 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11462 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11463 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11464
11465 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11466 of the number.
11467 * stdio-common/printf_fphex.c: Likewise.
11468 * stdio-common/printf_size.c: Likewise.
11469
11470 * math/e_exp10.c: Include math_private.h using <...> not "...".
11471 * math/e_exp10f.c: Likewise.
11472 * math/e_exp10l.c: Likewise.
11473 * math/e_exp2l.c: Likewise.
11474 * math/e_j0l.c: Likewise.
11475 * math/e_j1l.c: Likewise.
11476 * math/e_jnl.c: Likewise.
11477 * math/e_lgammal_r.c: Likewise.
11478 * math/e_rem_pio2l.c: Likewise.
11479 * math/e_scalb.c: Likewise.
11480 * math/e_scalbf.c: Likewise.
11481 * math/e_scalbl.c: Likewise.
11482 * math/k_cosl.c: Likewise.
11483 * math/k_sinl.c: Likewise.
11484 * math/k_tanl.c: Likewise.
11485 * math/s_cacoshf.c: Likewise.
11486 * math/s_catan.c: Likewise.
11487 * math/s_catanf.c: Likewise.
11488 * math/s_catanh.c: Likewise.
11489 * math/s_catanhf.c: Likewise.
11490 * math/s_catanhl.c: Likewise.
11491 * math/s_catanl.c: Likewise.
11492 * math/s_ccosh.c: Likewise.
11493 * math/s_ccoshf.c: Likewise.
11494 * math/s_ccoshl.c: Likewise.
11495 * math/s_cexp.c: Likewise.
11496 * math/s_cexpf.c: Likewise.
11497 * math/s_cexpl.c: Likewise.
11498 * math/s_clog.c: Likewise.
11499 * math/s_clog10.c: Likewise.
11500 * math/s_clog10f.c: Likewise.
11501 * math/s_clog10l.c: Likewise.
11502 * math/s_clogf.c: Likewise.
11503 * math/s_clogl.c: Likewise.
11504 * math/s_csin.c: Likewise.
11505 * math/s_csinf.c: Likewise.
11506 * math/s_csinh.c: Likewise.
11507 * math/s_csinhf.c: Likewise.
11508 * math/s_csinhl.c: Likewise.
11509 * math/s_csinl.c: Likewise.
11510 * math/s_csqrt.c: Likewise.
11511 * math/s_csqrtf.c: Likewise.
11512 * math/s_csqrtl.c: Likewise.
11513 * math/s_ctan.c: Likewise.
11514 * math/s_ctanf.c: Likewise.
11515 * math/s_ctanh.c: Likewise.
11516 * math/s_ctanhf.c: Likewise.
11517 * math/s_ctanhl.c: Likewise.
11518 * math/s_ctanl.c: Likewise.
11519 * math/s_ldexp.c: Likewise.
11520 * math/s_ldexpf.c: Likewise.
11521 * math/s_ldexpl.c: Likewise.
11522 * math/s_significand.c: Likewise.
11523 * math/s_significandf.c: Likewise.
11524 * math/s_significandl.c: Likewise.
11525 * math/w_acos.c: Likewise.
11526 * math/w_acosf.c: Likewise.
11527 * math/w_acosh.c: Likewise.
11528 * math/w_acoshf.c: Likewise.
11529 * math/w_acoshl.c: Likewise.
11530 * math/w_acosl.c: Likewise.
11531 * math/w_asin.c: Likewise.
11532 * math/w_asinf.c: Likewise.
11533 * math/w_asinl.c: Likewise.
11534 * math/w_atan2.c: Likewise.
11535 * math/w_atan2f.c: Likewise.
11536 * math/w_atan2l.c: Likewise.
11537 * math/w_atanh.c: Likewise.
11538 * math/w_atanhf.c: Likewise.
11539 * math/w_atanhl.c: Likewise.
11540 * math/w_cosh.c: Likewise.
11541 * math/w_coshf.c: Likewise.
11542 * math/w_coshl.c: Likewise.
11543 * math/w_dremf.c: Likewise.
11544 * math/w_exp10.c: Likewise.
11545 * math/w_exp10f.c: Likewise.
11546 * math/w_exp10l.c: Likewise.
11547 * math/w_exp2.c: Likewise.
11548 * math/w_exp2f.c: Likewise.
11549 * math/w_fmod.c: Likewise.
11550 * math/w_fmodf.c: Likewise.
11551 * math/w_fmodl.c: Likewise.
11552 * math/w_hypot.c: Likewise.
11553 * math/w_hypotf.c: Likewise.
11554 * math/w_hypotl.c: Likewise.
11555 * math/w_j0.c: Likewise.
11556 * math/w_j0f.c: Likewise.
11557 * math/w_j0l.c: Likewise.
11558 * math/w_j1.c: Likewise.
11559 * math/w_j1f.c: Likewise.
11560 * math/w_j1l.c: Likewise.
11561 * math/w_jn.c: Likewise.
11562 * math/w_jnf.c: Likewise.
11563 * math/w_jnl.c: Likewise.
11564 * math/w_lgamma.c: Likewise.
11565 * math/w_lgamma_r.c: Likewise.
11566 * math/w_lgammaf.c: Likewise.
11567 * math/w_lgammaf_r.c: Likewise.
11568 * math/w_lgammal.c: Likewise.
11569 * math/w_lgammal_r.c: Likewise.
11570 * math/w_log.c: Likewise.
11571 * math/w_log10.c: Likewise.
11572 * math/w_log10f.c: Likewise.
11573 * math/w_log10l.c: Likewise.
11574 * math/w_log2.c: Likewise.
11575 * math/w_log2f.c: Likewise.
11576 * math/w_log2l.c: Likewise.
11577 * math/w_logf.c: Likewise.
11578 * math/w_logl.c: Likewise.
11579 * math/w_pow.c: Likewise.
11580 * math/w_powf.c: Likewise.
11581 * math/w_powl.c: Likewise.
11582 * math/w_remainder.c: Likewise.
11583 * math/w_remainderf.c: Likewise.
11584 * math/w_remainderl.c: Likewise.
11585 * math/w_scalb.c: Likewise.
11586 * math/w_scalbf.c: Likewise.
11587 * math/w_scalbl.c: Likewise.
11588 * math/w_sinh.c: Likewise.
11589 * math/w_sinhf.c: Likewise.
11590 * math/w_sinhl.c: Likewise.
11591 * math/w_sqrt.c: Likewise.
11592 * math/w_sqrtf.c: Likewise.
11593 * math/w_sqrtl.c: Likewise.
11594 * math/w_tgamma.c: Likewise.
11595 * math/w_tgammaf.c: Likewise.
11596 * math/w_tgammal.c: Likewise.
11597
11598 * po/ja.po: Update from translation team.
11599
11600 2011-09-29 Andreas Jaeger <aj@suse.de>
11601
11602 [BZ #13179]
11603 * sunrpc/netname.c (netname2host): Fix logic.
11604
11605 [BZ #6779]
11606 [BZ #6783]
11607 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11608 correctly.
11609 * math/w_remainder.c (__remainder): Likewise.
11610 * math/w_remainderf.c (__remainderf): Likewise.
11611 * math/libm-test.inc (remainder_test): Add test cases.
11612
11613 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11614
11615 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11616 sdiv_qrnnd.
11617
11618 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11619
11620 * string/test-memcmp.c: Avoid unncessary #defines.
11621 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11622
11623 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11624
11625 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11626 Use new sse2 version for core i3 - i7 as it's faster
11627 than sse42 version.
11628 (bit_Prefer_PMINUB_for_stringop): New.
11629 * sysdeps/x86_64/rawmemchr.S: Update.
11630 Replace with faster SSE2 version.
11631 * sysdeps/x86_64/memrchr.S: New file.
11632 * sysdeps/x86_64/memchr.S: Update.
11633 Replace with faster SSE2 version.
11634
11635 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11636
11637 * elf/dl-load.c (lose): Add cast to avoid warning.
11638
11639 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11640
11641 * po/ca.po: Update from translation team.
11642
11643 * inet/getnetgrent_r.c: Hook up nscd.
11644 * nscd/Makefile (routines): Add nscd_netgroup.
11645 (nscd-modules): Add netgroupcache.
11646 (CFLAGS-netgroupcache.c): Define.
11647 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11648 (cache_search): Add const to second parameter.
11649 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11650 INNETGR.
11651 (dbs): Add netgrdb entry.
11652 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11653 (verify_persistent_db): Handle netgrdb.
11654 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11655 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11656 GETFDNETGR.
11657 (netgroup_response_header): Define.
11658 (innetgroup_response_header): Define.
11659 (datahead): Add netgroup_response_header and innetgroup_response_header
11660 elements.
11661 * nscd/nscd.conf: Add entries for netgroup cache.
11662 * nscd/nscd.h (dbtype): Add netgrdb.
11663 (_PATH_NSCD_NETGROUP_DB): Define.
11664 (netgroup_iov_disabled): Declare.
11665 (xmalloc, xcalloc, xrealloc): Move declarations here.
11666 (cache_search): Adjust prototype.
11667 Add netgroup-related prototypes.
11668 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11669 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11670 (__nscd_innetgr): Declare.
11671 * nscd/selinux.c (perms): Use access_vector_t as element type and
11672 add netgroup-related initializers.
11673 * nscd/netgroupcache.c: New file.
11674 * nscd/nscd_netgroup.c: New file.
11675 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11676 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11677 For four parameters use innetgr.
11678 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11679 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11680 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11681 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11682
11683 * nscd/connections.c (register_traced_file): Don't register file
11684 for disabled databases.
11685
11686 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11687
11688 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11689
11690 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11691 from tree and freeing node.
11692
11693 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11694
11695 * nss/nsswitch.c (__nss_database_lookup): Handle
11696 nss_parse_service_list out of memory case.
11697
11698 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11699
11700 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11701 out of memory case.
11702
11703 2011-10-04 Andreas Schwab <schwab@redhat.com>
11704
11705 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11706 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11707 pass it down.
11708 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11709 elf_machine_rela, elf_machine_lazy_rel.
11710 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11711 (ELF_DYNAMIC_DO_REL): Likewise.
11712 (ELF_DYNAMIC_DO_RELA): Likewise.
11713 (ELF_DYNAMIC_RELOCATE): Likewise.
11714 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11715 to ELF_DYNAMIC_DO_REL.
11716 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11717 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11718 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11719 elf_machine_rela.
11720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11721 skip_ifunc, don't call ifunc function if non-zero.
11722 (elf_machine_rela): Likewise.
11723 (elf_machine_lazy_rel): Likewise.
11724 (elf_machine_lazy_rela): Likewise.
11725 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11726 (elf_machine_lazy_rel): Likewise.
11727 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11728 Likewise.
11729 (elf_machine_lazy_rel): Likewise.
11730 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11731 Likewise.
11732 (elf_machine_lazy_rel): Likewise.
11733 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11734 (elf_machine_lazy_rel): Likewise.
11735 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11736 (elf_machine_lazy_rel): Likewise.
11737 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11738 (elf_machine_lazy_rel): Likewise.
11739 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11740 (elf_machine_lazy_rel): Likewise.
11741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11742 (elf_machine_lazy_rel): Likewise.
11743 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11744 (elf_machine_lazy_rel): Likewise.
11745
11746 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11747
11748 * nss/nss_files/files-init.c (_nss_files_init): Use static
11749 initialization for all the *_traced_file variables.
11750
11751 2011-09-28 Andreas Schwab <schwab@redhat.com>
11752
11753 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11754
11755 2011-09-27 Roland McGrath <roland@hack.frob.com>
11756
11757 [BZ #13226]
11758 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11759
11760 2011-09-27 Andreas Schwab <schwab@redhat.com>
11761
11762 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11763 Reread the line before reparsing it.
11764
11765 2011-09-26 Andreas Schwab <schwab@redhat.com>
11766
11767 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11768
11769 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11770 Maxim Kuvyrkov <maxim@codesourcery.com>
11771 Joseph Myers <joseph@codesourcery.com>
11772
11773 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11774 if needed for __stack_chk_guard.
11775
11776 2011-09-19 Roland McGrath <roland@hack.frob.com>
11777
11778 * sysdeps/posix/spawni.c (script_execute): Always define it.
11779 It will be optimized away if unused.
11780 (maybe_script_execute): New function.
11781 (__spawni): Call it.
11782
11783 * Makerules: Don't include tls.make.
11784 (config-tls): Always set to thread.
11785 * tls.make.c: File removed.
11786
11787 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11788
11789 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11790 * config.make.in (CPPFLAGS-config): New substituted variable.
11791
11792 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11793
11794 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11795
11796 [BZ #13192]
11797 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11798 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11799
11800 2011-09-15 Roland McGrath <roland@hack.frob.com>
11801
11802 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11803 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11805 (CALL_FAIL): Likewise.
11806 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11807 (CALL_FAIL): Macro removed.
11808 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11809
11810 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11811
11812 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11813 for __FINITE_MATH_ONLY__ == 1.
11814
11815 2011-09-15 Andreas Schwab <schwab@redhat.com>
11816
11817 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11818 __ieee754_sqrt instead of sqrt.
11819 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11820 __ieee754_sqrtf instead of sqrtf.
11821 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11822 __floorf instead of floorf.
11823 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11824 __floorf, __truncf instead of floorf, truncf.
11825
11826 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11827
11828 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11829
11830 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11831 __extern_always_inline.
11832 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11833 32-bit.
11834
11835 2011-09-14 Andreas Schwab <schwab@redhat.com>
11836
11837 * elf/rtld.c (dl_main): Also relocate in dependency order when
11838 doing symbol dependency testing.
11839
11840 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11841
11842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11843 Always define `refsym'.
11844
11845 2011-09-13 Andreas Schwab <schwab@redhat.com>
11846
11847 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11848 (__FD_ELT): Renamed from __FDELT.
11849 * misc/bits/select2.h (__FD_ELT): Likewise.
11850 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11851 __FD_MASK instead of __FDELT, __FDMASK.
11852 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11853 Likewise.
11854 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11855 Likewise.
11856
11857 * elf/Makefile (gen-ldd): Fix pattern.
11858
11859 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11860 (init_tls): Likewise.
11861
11862 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11863
11864 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11865
11866 2011-09-12 Andreas Schwab <schwab@redhat.com>
11867
11868 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11869 `struct cmsghdr *' instead of `void *'.
11870 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11871 Likewise.
11872
11873 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11874
11875 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11876 if non-absolute.
11877 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11878 ldd_rewrite_script.
11879
11880 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11881
11882 * configure.in: Remove --with-tls option.
11883 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11884 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11885 out in case it is missing.
11886 * sysdeps/ia64/elf/configure.in: Likewise.
11887 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11888 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11889 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11890 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11891 * sysdeps/sh/elf/configure.in: Likewise.
11892 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11893 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11894 * sysdeps/x86_64/elf/configure.in: Likewise.
11895 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11896 * sysdeps/mach/hurd/tls.h: Likewise.
11897
11898 [BZ #13067]
11899 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11900
11901 [BZ #13090]
11902 * configure.in: Fix use of AC_INIT.
11903
11904 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11905
11906 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11907
11908 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11909 __set_errno.
11910 * malloc/hooks.c: Likewise.
11911
11912 [BZ #11929]
11913 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11914 variables statically.
11915 (narenas): Initialize.
11916 (list_lock): Initialize.
11917 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11918 initializtion of main_arena and list_lock. Small cleanups.
11919 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11920 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11921 Add initializers to main_arena and mp_.
11922 (malloc_state): Remove pagesize member. Change all users to use
11923 GLRO(dl_pagesize).
11924
11925 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11926 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11927 is always initialized.
11928
11929 * malloc/malloc.c: Removed unused configurations and dead code.
11930 * malloc/arena.c: Likewise.
11931 * malloc/hooks.c: Likewise.
11932 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11933
11934 * include/tls.h: Removed. USE___THREAD must always be defined.
11935 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11936 * elf/dl-libc.c: Likewise.
11937 * elf/dl-tsd.c: Likewise.
11938 * include/errno.h: Likewise.
11939 * include/netdb.h: Likewise.
11940 * include/resolv.h: Likewise.
11941 * inet/herrno-loc.c: Likewise.
11942 * inet/herrno.c: Likewise.
11943 * malloc/arena.c: Likewise.
11944 * malloc/hooks.c: Likewise.
11945 * malloc/malloc.c: Likewise.
11946 * resolv/res-state.c: Likewise.
11947 * resolv/res_libc.c: Likewise.
11948 * sysdeps/i386/dl-machine.h: Likewise.
11949 * sysdeps/ia64/dl-machine.h: Likewise.
11950 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11951 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11952 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11953 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11954 * sysdeps/sh/dl-machine.h: Likewise.
11955 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11956 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11957 * sysdeps/unix/i386/sysdep.S: Likewise.
11958 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11959 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11964 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11968 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11969 * sysdeps/x86_64/dl-machine.h: Likewise.
11970 * tls.make.c: Likewise.
11971
11972 * configure.in: Remove --with-__thread option. Make tests for
11973 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11974 tls_model attribute fail if no support is available. Remove
11975 USE_IN_LIBIO.
11976 * Makeconfig: Adjust for dropped configure option. All features are
11977 now mandatory.
11978 * Makerules: Likewise.
11979 * Versions.def: Likewise.
11980 * argp/argp-fmtstream.c: Likewise.
11981 * argp/argp-fmtstream.h: Likewise.
11982 * argp/argp-help.c: Likewise.
11983 * assert/assert.c: Likewise.
11984 * config.h.in: Likewise.
11985 * config.make.in: Likewise.
11986 * configure: Likewise.
11987 * configure.in: Likewise.
11988 * csu/Versions: Likewise.
11989 * csu/init.c: Likewise.
11990 * elf/tst-audit2.c: Likewise.
11991 * elf/tst-tls10.c: Likewise.
11992 * elf/tst-tls10.h: Likewise.
11993 * elf/tst-tls11.c: Likewise.
11994 * elf/tst-tls12.c: Likewise.
11995 * elf/tst-tls14.c: Likewise.
11996 * elf/tst-tlsmod11.c: Likewise.
11997 * elf/tst-tlsmod12.c: Likewise.
11998 * elf/tst-tlsmod13.c: Likewise.
11999 * elf/tst-tlsmod13a.c: Likewise.
12000 * elf/tst-tlsmod14a.c: Likewise.
12001 * elf/tst-tlsmod15b.c: Likewise.
12002 * elf/tst-tlsmod16a.c: Likewise.
12003 * elf/tst-tlsmod16b.c: Likewise.
12004 * elf/tst-tlsmod7.c: Likewise.
12005 * elf/tst-tlsmod8.c: Likewise.
12006 * elf/tst-tlsmod9.c: Likewise.
12007 * gmon/gmon.c: Likewise.
12008 * grp/fgetgrent_r.c: Likewise.
12009 * grp/putgrent.c: Likewise.
12010 * hurd/fopenport.c: Likewise.
12011 * include/libc-symbols.h: Likewise.
12012 * include/tls.h: Likewise.
12013 * intl/gettextP.h: Likewise.
12014 * intl/loadinfo.h: Likewise.
12015 * locale/global-locale.c: Likewise.
12016 * locale/localeinfo.h: Likewise.
12017 * mach/devstream.c: Likewise.
12018 * malloc/arena.c: Likewise.
12019 * malloc/set-freeres.c: Likewise.
12020 * misc/err.c: Likewise.
12021 * misc/getttyent.c: Likewise.
12022 * misc/mntent_r.c: Likewise.
12023 * posix/getopt.c: Likewise.
12024 * posix/wordexp.c: Likewise.
12025 * pwd/fgetpwent_r.c: Likewise.
12026 * resolv/Versions: Likewise.
12027 * resolv/res_hconf.c: Likewise.
12028 * shadow/fgetspent_r.c: Likewise.
12029 * shadow/putspent.c: Likewise.
12030 * stdio-common/printf_fphex.c: Likewise.
12031 * stdio-common/tmpfile.c: Likewise.
12032 * stdlib/abort.c: Likewise.
12033 * stdlib/fmtmsg.c: Likewise.
12034 * sunrpc/auth_unix.c: Likewise.
12035 * sunrpc/clnt_perr.c: Likewise.
12036 * sunrpc/clnt_tcp.c: Likewise.
12037 * sunrpc/clnt_udp.c: Likewise.
12038 * sunrpc/clnt_unix.c: Likewise.
12039 * sunrpc/openchild.c: Likewise.
12040 * sunrpc/svc_simple.c: Likewise.
12041 * sunrpc/svc_tcp.c: Likewise.
12042 * sunrpc/svc_udp.c: Likewise.
12043 * sunrpc/svc_unix.c: Likewise.
12044 * sunrpc/xdr.c: Likewise.
12045 * sunrpc/xdr_array.c: Likewise.
12046 * sunrpc/xdr_rec.c: Likewise.
12047 * sunrpc/xdr_ref.c: Likewise.
12048 * sunrpc/xdr_stdio.c: Likewise.
12049
12050 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12051
12052 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12053
12054 2011-07-03 Andreas Jaeger <aj@suse.de>
12055
12056 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12057 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12058 regenerate with gen-libm-tests.pl.
12059
12060 2010-05-12 Petr Baudis <pasky@suse.cz>
12061
12062 [BZ #11589]
12063 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12064 around j0() zero points by switching to j1().
12065 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12066 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12068 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12069
12070 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12071
12072 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12073 instead of 0.
12074 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12075 instead of 0. .
12076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12077 Patch in part by Pavel Roskin <proski@gnu.org>.
12078
12079 [BZ #13138]
12080 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12081 realloc.
12082 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12083 Free memory block if necessary.
12084
12085 [BZ #12847]
12086 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12087 be NULL. Don't lock in this case.
12088
12089 2011-09-09 Roland McGrath <roland@hack.frob.com>
12090
12091 * elf/elf.h (ELFOSABI_GNU): New macro.
12092 (ELFOSABI_LINUX): Define to that.
12093
12094 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12095
12096 * string/strncat.c (strncat): Undef the symbol in case it has been
12097 defined in bits/string.h.
12098
12099 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12100
12101 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12102
12103 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12104 link map.
12105
12106 2011-08-17 Andreas Jaeger <aj@suse.de>
12107
12108 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12109
12110 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12111 Ian Lance Taylor <iant@google.com>
12112
12113 * math/libm-test.inc (lround_test): New testcase.
12114 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12115
12116 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12117
12118 * Makefile: Remove support for automatic cvs check-ins.
12119 * Makerules: Likewise.
12120 * config.make.in: Likewise.
12121 * configure.in: Likewise.
12122 * intl/Makefile: Likewise.
12123 * locale/Makefile: Likewise.
12124 * po/Makefile: Likewise.
12125 * posix/Makefile: Likewise.
12126 * sysdeps/gnu/Makefile: Likewise.
12127 * sysdeps/mach/hurd/Makefile: Likewise.
12128 * sysdeps/sparc/sparc32/Makefile: Likewise.
12129
12130 [BZ #13118]
12131 * posix/Makefile (bug-regex32-ENV): Define.
12132 Patch by John Stanley <jpsinthemix@verizon.net>.
12133
12134 * misc/Makefile (headers): Add bits/select2.h.
12135 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12136 * misc/bits/select2.h: New file.
12137 * include/bits/select2.h: New file.
12138 * debug/Makefile (routines): Add fdelt_chk.
12139 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12140 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12141 FD_ISSET.
12142 * debug/fdelt_chk.c: New file.
12143
12144 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12145 * wcsmbs/test-wmemcmp.c: Likewise.
12146 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12147 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12148
12149 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12150
12151 * string/Makefile (strop-tests): Add memcmp.
12152 * string/test-wmemcmp.c: New file.
12153 * string/test-memcmp.c: Add wmemcmp support.
12154
12155 2011-09-08 Roland McGrath <roland@hack.frob.com>
12156
12157 [BZ #13153]
12158 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12159 2011-07-19 change.
12160
12161 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12162 garbage value in a __mach_port_mod_refs call in the cases of the
12163 task-self and thread-self ports.
12164
12165 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12166
12167 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12168
12169 2011-09-08 Andreas Schwab <schwab@redhat.com>
12170
12171 * elf/dl-load.c (lose): Check for non-null L.
12172
12173 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12174
12175 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12176
12177 * elf/dl-libc.c (dlerror_run): Pass back error code from
12178 dl_catch_error.
12179
12180 [BZ #13123]
12181 * elf/dl-load.c (lose): Free l_origin if it is valid.
12182
12183 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12184 names.
12185 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12186 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12187 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12188 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12189 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12190 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12191
12192 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12193
12194 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12195 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12196 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12197 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12198 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12199 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12200 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12201 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12202 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12203 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12204
12205 2011-08-15 Alan Modra <amodra@gmail.com>
12206
12207 [BZ #13092]
12208 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12209 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12210 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12211 ppc_mcount to static-only-routines.
12212 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12213 __mcount_internal.
12214 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12215 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12216
12217 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12218
12219 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12220 for finite and infinity parameters.
12221
12222 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12223
12224 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12225 and add nop instructions for throughput optimization.
12226 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12227
12228 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12229
12230 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12231 aligned copy for power7 with vector-scalar instructions.
12232 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12233
12234 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12235
12236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12237 AVX check.
12238
12239 2011-09-07 Andreas Schwab <schwab@redhat.com>
12240
12241 [BZ #13144]
12242 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12243 last change.
12244
12245 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12246
12247 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12248 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12249 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12250 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12251 clock_gettime.
12252
12253 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12254
12255 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12256 Forgot to demangle the pointer.
12257
12258 * sysdeps/i386/sysdep.h: Define atom_text_section.
12259 * sysdeps/x86_64/sysdep.h: Likewise.
12260 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12261 section with atom_text_section.
12262 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12263 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12264 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12266 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12267
12268 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12269 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12270 already be defined. Change to take two parameters and don't assign
12271 result to variable. Adjust all users.
12272 Define INTERNAL_GETTIME if not already defined.
12273 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12274 call.
12275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12276 HAVE_CLOCK_GETTIME_VSYSCALL.
12277 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12278
12279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12280 gettimeofday vsyscall, just use time.
12281
12282 2011-09-06 Andreas Schwab <schwab@redhat.com>
12283
12284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12285 <errno.h>.
12286
12287 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12288
12289 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12290 syscall on x86-64.
12291 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12292 syscall.
12293 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12294 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12295 syscall if possible.
12296
12297 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12298
12299 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12300 e_ident. Don't pass to find_mapsXX.
12301 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12302
12303 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12304
12305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12306 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12307 * sysdeps/x86_64/multiarch/strchr.S: Update.
12308 Check bit_slow_BSF bit.
12309 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12310 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12311 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12312
12313 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12314
12315 [BZ #13134]
12316 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12317 before glibc 2.15.
12318 (tryshell): Define.
12319 (__spawni): Change last parameter to be flag. Test
12320 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12321 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12322 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12323 * posix/spawni.c: Likewise.
12324 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12325 * posix/spawnp.c: Likewise. Change normal version to use
12326 SPAWN_XFLAGS_USE_PATH.
12327 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12328 SPAWN_XFLAGS_TRY_SHELL.
12329
12330 [BZ #13150]
12331 * posix/glob.h: Remove gcc 1.x support.
12332
12333 [BZ #13068]
12334 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12335
12336 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12337
12338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12339 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12340 strrchr-sse2-bsf
12341 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12342 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12343 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12344 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12345 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12346 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12347
12348 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12349
12350 * sysdeps/x86_64/wcscmp.S: New file.
12351
12352 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12353 wcscmp-c wcscmp-sse2
12354 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12355 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12356 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12357 * wcsmbs/wcscmp.c: Allow renaming.
12358
12359 2011-09-05 David S. Miller <davem@davemloft.net>
12360
12361 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12362 stack slot, rather than the struct return pointer slot.
12363 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12364 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12366 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12367
12368 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12369
12370 * po/ja.po: Update from translation team.
12371
12372 [BZ #13144]
12373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12374 kernel in 64-bit binaries.
12375
12376 2011-09-01 David S. Miller <davem@davemloft.net>
12377
12378 * elf/elf.h (HWCAP_SPARC_*): Move to..
12379 * sysdeps/sparc/sysdep.h: this new file and add new values.
12380 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12381 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12382 _DL_HWCAP_COUNT to 24.
12383 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12384 entries.
12385 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12386 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12387 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12388 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12389 instead of magic constants.
12390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12391
12392 2011-08-31 David S. Miller <davem@davemloft.net>
12393
12394 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12396 Reimplement to do errno handling inline.
12397 (SYSCALL_ERROR_HANDLER): New macro.
12398 (__SYSCALL_STRING): Do not do errno handling in asm.
12399 (__CLONE_SYSCALL_STRING): Delete.
12400 (__INTERNAL_SYSCALL_STRING): Delete.
12401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12402 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12403 (PSEUDO): Reimplement to do errno handling inline.
12404 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12405 (SYSCALL_ERROR_HANDLER): New macro.
12406 (__SYSCALL_STRING): Do not do errno handling in asm.
12407 (__CLONE_SYSCALL_STRING): Delete.
12408 (__INTERNAL_SYSCALL_STRING): Delete.
12409 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12410 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12411 i386.
12412 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12413 (inline_syscall*): Add 'err' argument.
12414 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12415 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12416 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12417 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12418
12419 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12420 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12421
12422 2011-08-30 Andreas Schwab <schwab@redhat.com>
12423
12424 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12425
12426 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12427
12428 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12429 directive.
12430
12431 2011-08-24 David S. Miller <davem@davemloft.net>
12432
12433 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12434
12435 2011-08-24 Andreas Schwab <schwab@redhat.com>
12436
12437 * elf/Makefile: Add rules to build and run unload8 test.
12438 * elf/unload8.c: New file.
12439 * elf/unload8mod1.c: New file.
12440 * elf/unload8mod1x.c: New file.
12441 * elf/unload8mod2.c: New file.
12442 * elf/unload8mod3.c: New file.
12443
12444 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12445 it wasn't used.
12446
12447 2011-08-23 David S. Miller <davem@davemloft.net>
12448
12449 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12450 subtract stack bias.
12451 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12452 %sp not %fp in calculations.
12453 (_JMPBUF_UNWINDS_ADJ): Likewise.
12454
12455 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12456 (aio_suspend): Call it to force an exception region around the
12457 AIO_MISC_WAIT() invocation.
12458
12459 2011-08-23 Andreas Schwab <schwab@redhat.com>
12460
12461 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12462 backslash.
12463
12464 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12465
12466 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12467 protection macro.
12468 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12469 and <dl-machine.h>.
12470 (Elf64_FuncDesc): Remove.
12471
12472 2011-08-22 David S. Miller <davem@davemloft.net>
12473
12474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12475 sigaltstack check, add missing cfi directives.
12476 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12477 missing cfi directives, and sigaltstack handling.
12478
12479 2011-08-16 Andreas Schwab <schwab@redhat.com>
12480
12481 [BZ #11724]
12482 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12483 object is seen twice.
12484 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12485
12486 * elf/Makefile (distribute): Add tst-initorder2.c.
12487 (tests): Add tst-initorder2.
12488 (modules-names): Add tst-initorder2a tst-initorder2b
12489 tst-initorder2c tst-initorder2d. Add rules to build them.
12490 ($(objpfx)tst-initorder2.out): New rule.
12491 * elf/tst-initorder2.c: New file.
12492 * elf/tst-initorder2.exp: New file.
12493
12494 2011-08-22 Andreas Schwab <schwab@redhat.com>
12495
12496 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12497
12498 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12499 dependencies back to end of function.
12500
12501 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12502 $(elfobjdir)/ld.so.
12503
12504 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12505
12506 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12507 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12508 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12509 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12510 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12511 of __vdso_gettimeofday.
12512 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12513 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12514 attribute_hidden.
12515 (_libc_vdso_platform_setup): Remove initialization of
12516 __vdso_gettimeofday and __vdso_time.
12517
12518 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12519
12520 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12521 and fgetc_unlocked.
12522 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12523 getc_unlocked.
12524
12525 * elf/dl-open.c (add_to_global): Report additions to the global scope
12526 for LD_DEBUG=scopes.
12527 (dl_open_worker): Also print scope of newly loaded dependencies.
12528 (_dl_show_scope): Indicate if there is no scope.
12529
12530 [BZ #13114]
12531 * stdio-common/Makefile (tests): Add bug24.
12532 * stdio-common/bug24.c: New file.
12533
12534 2011-08-19 Andreas Jaeger <aj@suse.de>
12535
12536 [BZ #13114]
12537 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12538 non-existant file when using close-on-exec mode.
12539
12540 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12541
12542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12543 the very first instruction.
12544
12545 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12546 the CFI state in the end.
12547 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12548 inclusion of dl-trampoline.h.
12549 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12550
12551 2011-08-19 Andreas Schwab <schwab@redhat.com>
12552
12553 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12554 expectations for long double.
12555
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12557 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12558
12559 2011-08-14 David S. Miller <davem@davemloft.net>
12560
12561 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12562 artificual limit depends upon the system page size.
12563
12564 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12565
12566 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12567 * resolv/Makefile: Define CFLAGS-libresolv.
12568
12569 2011-08-17 Andreas Schwab <schwab@redhat.com>
12570
12571 * nss/makedb.c (compute_tables): Make variables used in nested
12572 function static.
12573
12574 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12575
12576 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12577 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12578 if buffer was too small.
12579
12580 * elf/pldd.c (main): Attach to all threads in the process.
12581 Rewrite /proc handling to use *at functions.
12582
12583 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12584
12585 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12586 specifies first scope to show.
12587 (dl_open_worker): Update callers. Move printing scope of new
12588 object to before the relocation.
12589 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12590 * sysdeps/generic/ldsodefs.h: Update declaration.
12591
12592 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12593 string for the scope number.
12594
12595 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12596
12597 * nscd/servicescache.c (cache_addserv): Make sure written is always
12598 initialized.
12599
12600 2011-08-14 Roland McGrath <roland@hack.frob.com>
12601
12602 * sysdeps/i386/i486/bits/atomic.h
12603 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12604 statement expression, so as to suppress "set but not used" warning.
12605 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12606
12607 * string/strncat.c (STRNCAT): Use prototype definition.
12608
12609 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12610 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12611 -Iprograms here.
12612 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12613 (localedef-modules): Add localedef.
12614 (locale-modules): Add locale.
12615
12616 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12617 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12618 to avoid a warning.
12619
12620 2011-08-14 David S. Miller <davem@davemloft.net>
12621
12622 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12623 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12624
12625 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12626
12627 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12628 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12629 * elf/rtld.c (dl_main): Set l_name of vDSO.
12630 Call _dl_show_scope when DL_DEBUG_SCOPES.
12631 (process_dl_debug): Recognize scopes flag and also set it for all.
12632 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12633 Declare _dl_show_scope.
12634
12635 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12636 (do_dlopen): Pass caller_dlopen to dl_open.
12637 (__libc_dlopen_mode): Initialize caller_dlopen.
12638
12639 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12640 of libc. Make tolower call locale-independent. Optimize a bit by
12641 using isdigit instead of isalnum.
12642 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12643
12644 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12645
12646 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12647 was a dependency or dynamically loaded.
12648
12649 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12650
12651 * intl/l10nflist.c: Allow architecture-specific pop function.
12652 * sysdeps/x86_64/l10nflist.c: New file.
12653
12654 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12655 classification.
12656
12657 2011-08-10 Andreas Schwab <schwab@redhat.com>
12658
12659 * include/dirent.h: Add libc_hidden_proto for scandirat and
12660 scandirat64. Don't declare __scandirat64.
12661 * dirent/scandirat.c: Add libc_hidden_def.
12662 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12663 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12664
12665 2011-08-10 David S. Miller <davem@davemloft.net>
12666
12667 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12668 enum.
12669 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12670 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12672
12673 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12674
12675 * Versions.def [libc]: Add GLIBC_2.15.
12676 * dirent/Makefile (routines): Add scandirat and scandirat64.
12677 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12678 GLIBC_2.15.
12679 * dirent/dirent.h: Declare scandirat and scandirat64.
12680 * dirent/scandirat.c: New file.
12681 * dirent/scandirat64.c: New file.
12682 * sysdeps/wordsize-64/scandirat.c: New file.
12683 * sysdeps/wordsize-64/scandirat64.c: New file.
12684 * dirent/opendir.c: Define opendirat.
12685 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12686 using scandirat.
12687 * dirent/scandir64.c: Adjust for scandir.c change.
12688 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12689 __scandirat64, and __scandir_cancel_handler.
12690 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12691 additional parameter and use openat instead of open (outside of ld.so).
12692 Add new __opendir as wrapper around __opendirat.
12693 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12694 here without requiring old scandirat implementation.
12695
12696 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12697
12698 * dirent/scandir.c (cancel_handler): Renamed to
12699 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12700 defined. Adjust users.
12701 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12702 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12703
12704 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12705
12706 * string/test-string.h (IMPL): Use __STRING to expand name and then
12707 stringify it.
12708
12709 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12710 of cleanups.
12711
12712 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12713
12714 * string/Makefile: Update.
12715 (strop-tests): Append strncat.
12716 * string/test-wcscmp.c: New file.
12717 New comprehensive test for wcscmp.
12718 * string/test-strcmp.c: Update.
12719 (WIDE): New define.
12720
12721 2011-07-22 Andreas Schwab <schwab@redhat.com>
12722
12723 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12724 line.
12725
12726 2011-07-26 Andreas Schwab <schwab@redhat.com>
12727
12728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12729 encoding to ACE if AI_IDN.
12730
12731 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12732
12733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12734 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12735
12736 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12737
12738 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12739 Fix overflow bug in strncat.
12740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12741
12742 * string/test-strncat.c: Update.
12743 Add new tests for checking overflow bugs.
12744
12745 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12746
12747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12748 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12749 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12750 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12751 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12752 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12753 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12754 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12755 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12756
12757 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12758 (USE_AS_STRCAT): Define.
12759 Add strcat and strncat support.
12760 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12761
12762 2011-07-25 Andreas Schwab <schwab@redhat.com>
12763
12764 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12765 __n bigger than INT_MAX+1.
12766 (__strncmp_g): Likewise.
12767
12768 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12769
12770 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12771 * libio/stido.h: Likewise.
12772
12773 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12774 (AF_NFC): Define.
12775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12776 (AF_NFC): Define.
12777
12778 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12779 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12780 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12781 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12783
12784 [BZ #13021]
12785 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12786 installed.
12787
12788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12789 typo.
12790 (_dl_x86_64_save_sse): Likewise.
12791
12792 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12793
12794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12795 OSXSAVE.
12796 (_dl_x86_64_save_sse): Likewise.
12797
12798 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12799
12800 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12801
12802 2011-07-21 Andreas Schwab <schwab@redhat.com>
12803
12804 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12805 change.
12806 (_dl_x86_64_save_sse): Use correct AVX check.
12807
12808 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12809
12810 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12811 bug in strncpy/strncat.
12812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12813
12814 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12815
12816 * string/tester.c (test_strcat): Add tests for different alignments
12817 of source and destination.
12818 (test_strncat): Likewise.
12819
12820 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12821
12822 [BZ #12852]
12823 * posix/glob.c (glob): Check passed in values before using them in
12824 expressions to avoid some overflows.
12825 (glob_in_dir): Likewise.
12826
12827 [BZ #13007]
12828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12829 check for AVX enablement so that we don't crash with old kernels and
12830 new hardware.
12831 * elf/tst-audit4.c: Add same checks here.
12832 * elf/tst-audit6.c: Likewise.
12833
12834 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12835
12836 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12837
12838 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12839
12840 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12841
12842 * po/cs.po: Update from translation team.
12843 * po/bg.po: Likewise.
12844
12845 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12846
12847 * misc/sys/cdefs.h: Add support for const attribute.
12848 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12849 to gnu_dev_{major,minor,makedev} functions.
12850
12851 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12852
12853 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12854
12855 2011-07-20 Andreas Schwab <schwab@redhat.com>
12856
12857 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12858 strlen results.
12859
12860 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12861
12862 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12863 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12864 register in order to avoid conflicts with the soft frame pointer
12865 being held in r11 when necessary.
12866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12867 (INTERNAL_VSYSCALL_NCS): Likewise.
12868
12869 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12870
12871 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12872 * elf/dl-fini.c (_dl_fini): Adjust caller.
12873 * elf/dl-close.c (_dl_close_worker): Likewise.
12874 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12875
12876 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12877
12878 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12879 "aux_cache->nlibs < 0".
12880
12881 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12882 in the reload-count case.
12883
12884 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12885
12886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12887 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12888 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12889 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12890 * sysdeps/x86_64/multiarch/strcat.S: New file.
12891 * sysdeps/x86_64/multiarch/strncat.S: New file.
12892 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12893 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12894 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12895 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12896 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12897 (USE_AS_STRCAT): Define.
12898 Add strcat and strncat support.
12899 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12900 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12901 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12902 * string/strncat.c: Update.
12903 (USE_AS_STRNCAT): Define.
12904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12905 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12906 and i7.
12907 * sysdeps/x86_64/multiarch/init-arch.h
12908 (bit_Prefer_PMINUB_for_stringop): New.
12909 (index_Prefer_PMINUB_for_stringop): Likewise.
12910 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12911 bit_Prefer_PMINUB_for_stringop.
12912
12913 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12914
12915 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12916 buffer64.
12917 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12918 of casting of buffer.
12919 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12920 buffer32 and buffer64.
12921 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12922 writes instead of casting of buffer.
12923 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12924 buffer32.
12925 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12926 casting of buffer.
12927
12928 2011-07-19 Andreas Schwab <schwab@redhat.com>
12929
12930 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12931
12932 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12933
12934 * nscd/nscd.c (termination_handler): Don't do anything for a database
12935 if it has not yet been initialized.
12936
12937 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12938
12939 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12940
12941 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12942
12943 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12944
12945 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12946
12947 * po/nl.po: Update from translation team.
12948 * po/sv.po: Likewise.
12949
12950 2011-07-16 Roland McGrath <roland@hack.frob.com>
12951
12952 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12953 now disallowed by GCC.
12954
12955 * configure.in (use-default-link): Default to yes if a test -shared
12956 link meets our qualifications.
12957 * configure: Regenerated.
12958
12959 * config.make.in (output-format): New variable.
12960 * configure.in: Check for ld --print-output-format support.
12961 * configure: Regenerated.
12962 * Makerules ($(common-objpfx)format.lds)
12963 [$(output-format) != unknown]: Just use $(output-format),
12964 instead of the linker-script munging.
12965
12966 2011-07-14 Roland McGrath <roland@hack.frob.com>
12967
12968 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12969 of $(common-objpfx)shlib.lds.
12970 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12971
12972 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12973 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12974
12975 * configure.in (-z relro check): Adjust test code to add a large
12976 writable data section after it.
12977 * configure: Regenerated.
12978
12979 2011-07-11 Roland McGrath <roland@hack.frob.com>
12980
12981 * configure.in (-z relro check): Fix test code to make the variable
12982 truly const.
12983 * configure: Regenerated.
12984
12985 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12986
12987 * nscd/nscd.h (struct traced_file): Define.
12988 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12989 elements. Add traced_files.
12990 (inotify_fd): Declare.
12991 (register_traced_file): Declare.
12992 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12993 (inotify_fd): Export.
12994 (resolv_conf_descr): Remove.
12995 (nscd_init): Move inotify descriptor creation to main.
12996 Don't register files for notification here.
12997 (register_traced_file): New function.
12998 (invalidate_cache): Don't use reset_res to determine whether to call
12999 res_init, go through the list of registered files.
13000 (main_loop_poll): The inotify descriptors are now stored in the
13001 structures for the traced files.
13002 (main_loop_epoll): Likewise
13003 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13004 to __nss_disable_nscd.
13005 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13006 for a database anymore. Check the records for all the registered
13007 files instead.
13008 * nss/Makefile (libnss_files-routines): Add files-init.
13009 (libnss_db-routines): Add db-init.
13010 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13011 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13012 * nss/nss_db/db-init.c: New file.
13013 * nss/nss_files/files-init.c: New file.
13014 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13015 __nss_lookup_function.
13016 (__nss_lookup_function): Call nss_load_library.
13017 (nss_load_all_libraries): New function.
13018 (__nss_disable_nscd): Take parameter with callback function for files
13019 to register. Set is_nscd. Load all the DSOs for the NSS modules
13020 used for the cached services.
13021 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13022 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13023 options for features to all the files in nscd.
13024
13025 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13026
13027 2011-07-10 Roland McGrath <roland@hack.frob.com>
13028
13029 * csu/elf-init.c (__libc_csu_init): Comment typo.
13030
13031 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13032
13033 * po/pl.po: Update from translation team.
13034 * po/ja.po: Likewise.
13035 * po/ru.po: Likewise.
13036 * po/ko.po: Likewise.
13037 * po/fr.po: Likewise.
13038
13039 2011-07-09 Roland McGrath <roland@hack.frob.com>
13040
13041 * configure.in (.ctors/.dtors header and trailer check):
13042 Use an empirical test on a built program.
13043 * configure: Regenerated.
13044
13045 * configure.in (-z relro check): Use an empirical test on a built DSO.
13046 Detect, but do not require, on ia64.
13047 * configure: Regenerated.
13048
13049 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13050 Update tests that use readelf to use $READELF instead.
13051 * configure: Regenerated.
13052
13053 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13054
13055 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13056 if the result is not used.
13057
13058 2011-07-05 Andreas Jaeger <aj@suse.de>
13059
13060 [BZ#9696]
13061 * stdlib/tst-strtod.c: Add testcase.
13062
13063 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13064
13065 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13066 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13067 The latter has a higher limit. Take additional parameter to pass to
13068 the new function.
13069 (__pathconf): Pass file to __statfs_link_max.
13070 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13071 __statfs_link_max.
13072 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13073 __statfs_link_max.
13074
13075 [BZ #12868]
13076 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13077 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13078 Handle Lustre.
13079 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13080 (__statfs_filesize_max): Likewise.
13081 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13082
13083 2011-07-05 Andreas Jaeger <aj@suse.de>
13084
13085 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13086
13087 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13088
13089 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13090 `status' variable.
13091 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13092 Likewise.
13093
13094 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13095
13096 * Makefile (strop-tests): Add strncat.
13097 * string/test-strncat.c: New file.
13098
13099 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13100
13101 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13102
13103 2011-06-21 Andreas Jaeger <aj@suse.de>
13104
13105 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13106 Copy rule from iconvdata/Makefile.
13107
13108 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13109
13110 [BZ #12922]
13111 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13112 but no long options are defined, just return 'W'.
13113
13114 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13115
13116 [BZ #9696]
13117 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13118
13119 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13120
13121 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13122 netgroups to read.
13123 (innetgr): Likewise.
13124
13125 2011-07-05 Roland McGrath <roland@hack.frob.com>
13126
13127 * config.make.in (install_root): Default to $(DESTDIR).
13128
13129 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13130
13131 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13132
13133 2011-07-02 Roland McGrath <roland@hack.frob.com>
13134
13135 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13136
13137 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13138 containing directory rather than embedding absolute directory names.
13139
13140 * scripts/check-local-headers.sh: Rewritten using awk.
13141 Match by word, not by line. Print error messages for matches.
13142 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13143
13144 * Makerules [shlib-lds-flags empty]:
13145 ($(common-objpfx)libc_pic.opts): New target.
13146 ($(common-objpfx)libc_pic.os.clean): New target.
13147 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13148
13149 * config.make.in (OBJCOPY): New variable.
13150 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13151 * configure: Regenerated.
13152
13153 * config.make.in (use-default-link): New variable.
13154 * configure.in (use_default_link): Grok --with-default-link to set it.
13155 * configure: Regenerated.
13156 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13157 (shlib-lds, shlib-lds-flags): Define to empty.
13158
13159 * Makerules (shlib-lds): New variable.
13160 (shlib-lds-flags): New variable.
13161 (build-shlib, build-moduile, build-module-asneeded): Use it.
13162 ($(common-objpfx)libc.so): Use $(shlib-lds).
13163 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13164 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13165
13166 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13167 DT_FLAGS/DT_FLAGS_1 with zero flags.
13168
13169 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13170 linker script munging.
13171
13172 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13173
13174 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13175 as 128-bit value.
13176 * crypt/sha512.c (sha512_process_block): Perform total addition using
13177 128-bit if possible.
13178 (__sha512_finish_ctx): Likewise.
13179 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13180 as 64-bit value.
13181 * crypt/sha256.c (SWAP64): Define.
13182 (sha256_process_block): Perform total addition using 64-bit if
13183 possible.
13184 (__sha256_finish_ctx): Likewise.
13185
13186 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13187
13188 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13189 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13190 * nscd/hstcache.c (cache_addhst): Likewise.
13191 * nscd/grpcache.c (cache_addgr): Likewise.
13192 * nscd/aicache.c (addhstaiX): Likewise
13193 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13194
13195 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13196
13197 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13199 * nscd/hstcache.c (cache_addhst): Likewise.
13200 * nscd/grpcache.c (cache_addgr): Likewise.
13201 * nscd/aicache.c (addhstaiX): Likewise
13202
13203 2011-07-01 Andreas Schwab <schwab@redhat.com>
13204
13205 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13206 domain only when needed.
13207
13208 2011-06-30 Andreas Schwab <schwab@redhat.com>
13209
13210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13211 is always restored.
13212
13213 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13214
13215 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13216 are re-adding the entry.
13217 * nscd/servicescache.c (cache_addserv): Likewise.
13218
13219 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13220
13221 * sysdeps/generic/dl-irel.h: fix protection against multiple
13222 inclusions.
13223 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13224
13225 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13226
13227 [BZ #12935]
13228 * malloc/memusage.sh: Fix quoting in message.
13229 * debug/xtrace.sh: Likewise.
13230
13231 * configure.in: Remove support for --experimental-malloc option, make
13232 it the default.
13233 * config.make.in: Likewise.
13234 * malloc/Makefile: Likewise.
13235
13236 2011-06-27 Andreas Schwab <schwab@redhat.com>
13237
13238 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13239 two-byte characters.
13240
13241 2011-06-27 Roland McGrath <roland@hack.frob.com>
13242
13243 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13244 AC_CACHE_CHECK invocation.
13245 * configure: Regenerated.
13246
13247 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13248
13249 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13250
13251 [BZ #12350]
13252 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13253 bit from old_res_options.
13254
13255 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13256
13257 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13258 value type for setfct.
13259
13260 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13261
13262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13263 __gettimeofday instead of gettimeofday.
13264
13265 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13266
13267 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13268
13269 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13270
13271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13272
13273 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13274 info.
13275
13276 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13277
13278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13279 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13280 strcpy-sse2-unaligned strncpy-sse2-unaligned
13281 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13282 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13283 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13284 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13285 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13286 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13287 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13288 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13289 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13290 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13291 (STRCPY): Support SSE2 and SSSE3 versions.
13292
13293 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13294
13295 [BZ #12874]
13296 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13297 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13298 kernels which artificially limit size of requests.
13299
13300 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13301
13302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13303 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13304 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13305 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13306 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13307 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13308 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13309 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13310 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13311 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13312 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13313 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13314 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13315 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13316 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13318 Enable unaligned load optimization for Intel Core i3, i5 and i7
13319 processors.
13320 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13321 Define.
13322 (index_Fast_Unaligned_Load): Define.
13323 (HAS_FAST_UNALIGNED_LOAD): Define.
13324
13325 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13326
13327 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13328
13329 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13330
13331 [BZ #12907]
13332 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13333 until it is clear that the information is realy needed.
13334 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13335
13336 2011-06-22 Andreas Schwab <schwab@redhat.com>
13337
13338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13339
13340 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13341
13342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13343 /sys/devices/system/cpu/online if it is usable.
13344
13345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13346 reading the information from the /proc filesystem to once a second.
13347
13348 2011-06-21 Andreas Jaeger <aj@suse.de>
13349
13350 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13351 NULL after inclusion of kernel headers.
13352
13353 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13354
13355 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13356 calls to internal_setent.
13357
13358 [BZ #12885]
13359 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13360 addresses using gethostbyname4_r ignore IPv4 addresses.
13361
13362 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13363 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13364
13365 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13366
13367 2011-06-20 David S. Miller <davem@davemloft.net>
13368
13369 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13370 inclusions.
13371 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13372
13373 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13374 (elf_irel): Use it.
13375 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13376 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13377 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13378 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13379 * sysdeps/x86_64/dl-irel.h: Likewise.
13380
13381 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13382 * elf/dl-sym.c: Likewise.
13383
13384 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13385
13386 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13387 need to dereference resplen2.
13388
13389 2011-06-14 Andreas Schwab <schwab@redhat.com>
13390
13391 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13392
13393 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13394
13395 * Makeconfig: Define vardbdir and inst_vardbdir.
13396 * nss/Makefile: Add rules to install db-Makefile.
13397
13398 * nss/nss_db/db-XXX.c: Cleanup.
13399
13400 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13401 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13402 GLIBC_PRIVATE.
13403 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13404 * nss/makedb.c: Implement -g option to specify that value strings
13405 are generated and should not be added to table iterated over for
13406 get*ent calls.
13407 * nss/nss_db/db-initgroups.c: New file.
13408
13409 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13410 interface.
13411
13412 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13413 (internal_getgrouplist): Adjust to name change.
13414 Update use_initgroups_entry if this is not the first call.
13415 * nss/databases.def: Add initgroups entry.
13416
13417 * nss/makedb.c (compute_tables): Check result of multiple hash table
13418 sizes to minimize maximum chain length.
13419
13420 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13421
13422 * Versions.def: Add entry for libnss_db.
13423 * shlib-versions: Likewise.
13424 * nss/Makefile: Add rules to build libnss_db.
13425 * nss/Versions: Add libnss_db information. Organize libnss_files
13426 entries better.
13427 * nss/db-Makefile: Add gshadow support. Change rules for the new
13428 makedb progra. Some minor improvements to generate smaller files.
13429 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13430 here from...
13431 * nss/makedb.c: ...here.
13432 Improve database format to be smaller and require less memory at
13433 runtime.
13434 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13435 db anymore.
13436 * nss/nss_db/db-netgrp.c: Likewise.
13437 * nss/nss_db/db-open.c: Likewise.
13438 * nss/nss_files/flies-XXX.x: Adjust comments.
13439 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13440 * nss/nss_files/files-grp.c: Likewise.
13441 * nss/nss_files/files-hosts.c: Likewise.
13442 * nss/nss_files/files-network.c: Likewise.
13443 * nss/nss_files/files-proto.c: Likewise.
13444 * nss/nss_files/files-pwd.c: Likewise.
13445 * nss/nss_files/files-rpc.c: Likewise.
13446 * nss/nss_files/files-service.c: Likewise.
13447 * nss/nss_files/files-sgrp.c: Likewise.
13448 * nss/nss_files/files-spwd.c: Likewise.
13449 * nss/nss_db/db-alias.c: Removed.
13450 * nss/nss_db/dummy-db.h: Removed.
13451
13452 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13453
13454 * nss/makedb.c: Rewritten to not use database library.
13455 * nss/Makefile: Update to build new makedb program.
13456
13457 2011-06-14 Andreas Jaeger <aj@suse.de>
13458
13459 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13460 memset declaration.
13461
13462 2011-06-10 Andreas Schwab <schwab@redhat.com>
13463
13464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13465 tmpbuf.
13466
13467 2011-06-10 Roland McGrath <roland@hack.frob.com>
13468
13469 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13470 * elf/Makefile ($(objpfx)ld.so): Likewise.
13471
13472 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13473 Don't list ld.so twice in dependencies.
13474
13475 * posix/bug-regex31.c: Include <stdlib.h>.
13476
13477 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13478
13479 * nis/nss_compat/compat-spwd.c
13480 (getspent_next_nss_netgr): Remove unused variable.
13481 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13482
13483 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13484 nonmembers" output to use the right array.
13485
13486 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13487
13488 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13489
13490 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13491 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13492 * catgets/gencat.c (read_input_file): Likewise.
13493 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13494
13495 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13496 variable definition inside #if's controlling its use.
13497
13498 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13499
13500 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13501
13502 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13503
13504 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13505 unreachable code.
13506
13507 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13508
13509 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13510 * configure: Regenerated.
13511
13512 * Makerules: Revert last change.
13513 * elf/Makefile: Likewise.
13514
13515 2011-06-09 Roland McGrath <roland@hack.frob.com>
13516
13517 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13518 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13519 (reloc-link): Likewise.
13520
13521 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13522
13523 * elf/Makefile: Add rules to build pldd.
13524 * elf/pldd.c: New file.
13525 * elf/pldd-xx.c: New file.
13526
13527 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13528
13529 * version.h: Update for 2.15 development version.
13530
13531 2011-06-07 David S. Miller <davem@davemloft.net>
13532
13533 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13534 ifuncs.
13535 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13536 elf_machine_lazy_rel): Likewise.
13537 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13538 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13539 elf_machine_lazy_rel): Likewise.
13540 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13541 dl_hwcap via passed in argument.
13542 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13543 Likewise.
13544
13545 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13546
13547 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13548
13549 2011-06-06 Roland McGrath <roland@hack.frob.com>
13550
13551 [BZ #12849]
13552 * manual/fdl-1.1.texi: New file, verbatim from:
13553 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13554 * manual/lgpl-2.1.texi: New file, verbatim from:
13555 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13556 * manual/Makefile (licenses): New variable, list those new file names.
13557 (texis): Use it.
13558 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13559
13560 * manual/fdl.texi: File removed.
13561 * manual/lesser.texi: File removed.
13562 * manual/libc.texinfo (Copying, Documentation License):
13563 Use new @include file names, put @appendix directive before @include.
13564
13565 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13566
13567 [BZ #12841]
13568 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13569 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13570 (mq_open): Add __NTH.
13571
13572 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13573
13574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13575 Assume Intel Core i3/i5/i7 processor if AVX is available.
13576
13577 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13578
13579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13580 typo.
13581
13582 2011-05-31 Andreas Schwab <schwab@redhat.com>
13583
13584 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13585 memory. Use alloca_account. Fix memory leak when retrying.
13586
13587 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13588
13589 * version.h (RELEASE): Bump for 2.14 release.
13590 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13591
13592 * config.make.in (RANLIB): Remove entry.
13593
13594 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13595
13596 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13597 (libc.pot): Work around missing support for .ksh extension in xgettext.
13598
13599 [BZ #12684]
13600 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13601 if both request failed.
13602 (send_dg): In case of server errors clear resplen or *resplen2.
13603
13604 [BZ #12454]
13605 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13606 when there are multiple maps.
13607 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13608 (_dl_fini): Remove test here.
13609
13610 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13611
13612 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13613
13614 [BZ #12350]
13615 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13616 bit from old_res_options.
13617 (gaih_inet): Likewise.
13618
13619 [BZ #11099]
13620 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13621 as signed.
13622
13623 * resolv/res_init.c (res_setoptions): Make the code more compact.
13624
13625 [BZ #11558]
13626 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13627 set RES_USEVC.
13628
13629 [BZ #11634]
13630 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13631
13632 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13633
13634 [BZ #11781]
13635 * malloc/malloc.h: Declare malloc hook variables as volatile.
13636
13637 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13638 in last patch.
13639
13640 [BZ #11799]
13641 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13642 raise in the comment.
13643 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13644 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13645 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13646
13647 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13648
13649 [BZ #12811]
13650 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13651 grow the buffers more if it already has to be sufficient.
13652 (build_wcs_upper_buffer): Likewise.
13653 * posix/regexec.c (check_matching): Likewise.
13654 (clean_state_log_if_needed): Likewise.
13655 (extend_buffers): Don't enlarge buffers beyond size of the input
13656 buffer.
13657 Patches mostly by Emil Wojak <emil@wojak.eu>.
13658 * posix/bug-regex32.c: New file.
13659 * posix/Makefile (tests): Add bug-regex32.
13660
13661 * locale/findlocale.c (_nl_find_locale): Return right away if
13662 _nl_explode_name failed.
13663 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13664
13665 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13666
13667 * debug/xtrace.sh: Unify messages.
13668 * malloc/memusage.sh: Likewise.
13669
13670 [BZ #12813]
13671 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13672 time symbol from vDSO. Substitute with vsyscall if not available.
13673 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13674 __vdso_time.
13675
13676 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13677 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13678 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13679 Add sendmmsg and internal_sendmmsg.
13680 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13681 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13682 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13683
13684 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13685 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13686 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13687
13688 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13689
13690 [BZ #12813]
13691 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13692 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13693 available.
13694 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13695 __vdso_getcpu.
13696
13697 [BZ #12814]
13698 * iconvdata/Makefile (tests): Add bug-iconv9.
13699 * iconvdata/bug-iconv9.c: New file.
13700
13701 2011-05-27 Andreas Schwab <schwab@redhat.com>
13702
13703 [BZ #12814]
13704 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13705
13706 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13707
13708 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13709 (struct user_regs_struct): Change intcs field back to cs.
13710
13711 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13712
13713 * po/ja.po: Update from translation team.
13714
13715 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13716
13717 [BZ #12795]
13718 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13719 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13720
13721 2011-05-20 Andreas Schwab <schwab@redhat.com>
13722
13723 * stdlib/longlong.h: Update from GCC.
13724
13725 2011-05-23 Andreas Schwab <schwab@redhat.com>
13726
13727 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13728 parameter name.
13729 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13730 Add parameter name.
13731 (__sysconf): Pass it down.
13732
13733 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13734
13735 [BZ #12671]
13736 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13737 some situations.
13738 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13739 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13740 add in in __libc_use_alloca calls. Adjust callers.
13741 (glob): Use malloc in some situations.
13742
13743 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13744 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13745 pltexit.
13746
13747 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13748
13749 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13750 and CLOCK_BOOTTIME_ALARM.
13751
13752 [BZ #12782]
13753 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13754 is returned.
13755
13756 * string/_strerror.c (__strerror_r): Print negative errors as signed
13757 numbers.
13758
13759 [BZ #12777]
13760 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13761 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13762 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13763
13764 * configure.in: Fix typo in redirection and correct removal of test
13765 files in two cases.
13766
13767 [BZ #12788]
13768 * locale/setlocale.c (new_composite_name): Fix test to check for
13769 identical name of all categories.
13770
13771 [BZ #12792]
13772 * libio/filedoalloc.c (local_isatty): New function.
13773 (_IO_file_doallocate): Use local_isatty.
13774 * stdio-common/perror.c (perror): In case a new stream is used
13775 forward the stream error.
13776 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13777 error flag.
13778
13779 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13780
13781 [BZ #11869]
13782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13783 alloca.
13784 * include/alloca.h (extend_alloca_account): Define.
13785
13786 [BZ #11857]
13787 * posix/regex.h: Fix comments with documentation of user-accessible
13788 fields after compilation and describe correct free'ing of pattern
13789 after re_compile_pattern.
13790 Patch by Reuben Thomas <rrt@sc3d.org>.
13791
13792 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13793
13794 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13795 and -mno-altivec to prevent the compiler from using Altivec and/or
13796 VSX instructions when the corresponding registers are not available.
13797
13798 2011-05-19 Andreas Schwab <schwab@redhat.com>
13799
13800 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13801
13802 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13803
13804 * libio/freopen.c (freopen): Use __dup2, not dup2.
13805 * libio/freopen64.c (freopen64): Likewise.
13806
13807 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13808
13809 [BZ #12775]
13810 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13811 * math/Makefile (tests): Add test-powl.
13812 (CFLAGS-test-powl.c): Define.
13813 * math/test-powl.c: New file.
13814
13815 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13816
13817 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13818
13819 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13820
13821 [BZ #11837]
13822 * iconvdata/gb18030.c: Update to GB18020-2005.
13823
13824 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13825
13826 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13827 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13828 Patch by Aharon Robbins <arnold@skeeve.com>.
13829
13830 [BZ #11892]
13831 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13832 on the stack.
13833
13834 [BZ #11895]
13835 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13836 through underflows.
13837
13838 [BZ #12766]
13839 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13840 point to strings before performing equality test for error_one_per_line
13841 mode.
13842
13843 [BZ #11697]
13844 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13845
13846 [BZ #11820]
13847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13848 (struct user_fpregs_struct): Avoid __uint*_t types.
13849
13850 [BZ #6420]
13851 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13852 symbol info. Use it instead of calling _dl_addr locally.
13853 (lock_and_info): New function.
13854 (tr_freehook): Call lock_and_info and pass symbol info as additional
13855 parameter to tr_where.
13856 (tr_mallochook): Likewise.
13857 (tr_reallochook): Likewise.
13858 (tr_memalignhook): Likewise.
13859
13860 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13861 used and couldn't be at all thread-safe.
13862
13863 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13864
13865 * libio/freopen.c (freopen): Don't close old file descriptor
13866 before the new one is opened. Instead dup the new file descriptor
13867 to the old one after the new stream is created.
13868 * libio/freopen64.c (freopen64): Likewise.
13869 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13870 * libio/fileops.c (_IO_new_file_close_it): Handle new
13871 _IO_FLAGS2_NOCLOSE flag.
13872 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13873 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13874 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13875 _IO_FLAGS2_NOCLOSE flag.
13876 * include/unistd.h: Add hidden_proto for dup3.
13877 Define __have_dup3.
13878 * io/dup3.c: Define hidden symbol.
13879 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13880
13881 [BZ #7101]
13882 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13883 when an incomplete long option is used.
13884 * posix/tst-getopt_long1.c: New file.
13885 * posix/Makefile (tests): Add tst-getopt_long1.
13886
13887 [BZ #10138]
13888 * scripts/config.guess: Update from autoconf-2.68.
13889 * scripts/config.sub: Likewise.
13890
13891 [BZ #10157]
13892 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13893 tests into ...
13894 (has_cpuclock): ...this. New function.
13895 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13896 macro here based on has_cpuclock code.
13897
13898 [BZ #10149]
13899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13900 First byte (not low byte) is now always NUL.
13901 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13902
13903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13904 Use non-cancelable interfaces.
13905
13906 [BZ #9809]
13907 * locale/iso-639.def: Add entry for Sorani.
13908
13909 [BZ #11901]
13910 * include/stdlib.h: Move include protection to the right place.
13911 Define abort_msg_s. Declare __abort_msg with it.
13912 * stdlib/abort.c (__abort_msg): Adjust type.
13913 * assert/assert.c (__assert_fail_base): New function. Majority
13914 of code from __assert_fail. Allocate memory for __abort_msg with
13915 mmap.
13916 (__assert_fail): Now call __assert_fail_base.
13917 * assert/assert-perr.c: Remove bulk of implementation. Use
13918 __assert_fail_base.
13919 * include/assert.hL Declare __assert_fail_base.
13920 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13921 mmap.
13922 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13923
13924 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13925
13926 [BZ #11952]
13927 [BZ #12453]
13928 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13929 until all modules are registered in the DTV.
13930 * elf/Makefile: Add rules to build and run tst-tls19.
13931 * elf/tst-tls19.c: New file.
13932 * elf/tst-tls19mod1.c: New file.
13933 * elf/tst-tls19mod2.c: New file.
13934 * elf/tst-tls19mod3.c: New file.
13935 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13936
13937 [BZ #12083]
13938 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13939 correctly.
13940
13941 [BZ #12601]
13942 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13943 two-byte sequence errors.
13944 * iconvdata/Makefile (tests): Add bug-iconv8.
13945 * iconvdata/bug-iconv8.c: New file.
13946
13947 [BZ #12626]
13948 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13949 buf2 definition.
13950
13951 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13952
13953 [BZ #12432]
13954 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13955 (dummy_getcfa): New function.
13956 (init): Get _Unwind_GetCFA address, use dummy if not found.
13957 (backtrace_helper): In recursion check, also check whether CFA changes.
13958 (__backtrace): Completely initialize arg.
13959
13960 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13961 storing incomplete byte sequence in state object. Avoid testing for
13962 guaranteed too small input if we know there is enough data available.
13963
13964 2011-05-11 Andreas Schwab <schwab@redhat.com>
13965
13966 * Makeconfig (+link-pie): Indent.
13967 * Rules (binaries-pie): Define if $(have-fpie) and
13968 $(build-shared).
13969 (binaries-shared): Also filter out $(binaries-pie).
13970 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13971 * nscd/Makefile (others-pie): Add nscd.
13972 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13973 ($(objpfx)nscd): Remove command override.
13974 * login/Makefile (others-pie): Add pt_chown.
13975 ($(objpfx)pt_chown): Remove command override.
13976 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13977 remove command overrides.
13978
13979 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13980
13981 * libio/tst_putwc.c: Fix error messages.
13982
13983 [BZ #12724]
13984 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13985 currently writing and seek to current position when not.
13986 * libio/Makefile (tests): Add bug-fclose1.
13987 * libio/bug-fclose1.c: New file.
13988
13989 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13990
13991 [BZ #12511]
13992 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13993 don't set DF_1_NODELETE here.
13994 (do_lookup_x): When entering new entry test for copy relocation
13995 and if necessary set DF_1_NODELETE flag.
13996 * elf/tst-unique4.cc: New file.
13997 * elf/tst-unique4.h: New file.
13998 * elf/tst-unique4lib.cc: New file.
13999 * elf/Makefile: Add rules to build and run tst-unique4.
14000 Patch by Piotr Bury <pbury@goahead.com>.
14001
14002 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14003
14004 [BZ #12052]
14005 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14006
14007 [BZ #12625]
14008 * misc/mntent_r.c (addmntent): Flush the stream after the output
14009
14010 [BZ #12393]
14011 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14012 (is_trusted_path_normalize): Skip initial colon. Append slash
14013 to empty buffer. Duplicate is_trusted_path code but allow
14014 constructed patch to be prefix.
14015 (is_dst): Allow $ORIGIN followed by /.
14016 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14017 Correct testing of result of is_trusted_path_normalize
14018 (decompose_rpath): Fix warning.
14019
14020 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14021
14022 [BZ #11257]
14023 * grp/initgroups.c (internal_getgrouplist): When we found the service
14024 list through the initgroups entry in nsswitch.conf do not always
14025 continue on a successful lookup. Don't always use the
14026 __nss_group_database value if it is set.
14027 * nss/nsswitch.conf (initgroups): Change action for successful db
14028 lookup to continue for compatibility.
14029
14030 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14031
14032 [BZ #11532]
14033 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14034 and CP774 modules.
14035 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14036 and CP774 modules.
14037 * iconvdata/tst-tables.sh: Likewise.
14038 * iconvdata/cp770.c: New file.
14039 * iconvdata/cp771.c: New file.
14040 * iconvdata/cp772.c: New file.
14041 * iconvdata/cp773.c: New file.
14042 * iconvdata/cp774.c: New file.
14043 * iconvdata/testdata/CP770: New file.
14044 * iconvdata/testdata/CP770..UTF8: New file.
14045 * iconvdata/testdata/CP771: New file.
14046 * iconvdata/testdata/CP771..UTF8: New file.
14047 * iconvdata/testdata/CP772: New file.
14048 * iconvdata/testdata/CP772..UTF8: New file.
14049 * iconvdata/testdata/CP773: New file.
14050 * iconvdata/testdata/CP773..UTF8: New file.
14051 * iconvdata/testdata/CP774: New file.
14052 * iconvdata/testdata/CP774..UTF8: New file.
14053
14054 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14055 END CHARMAP line.
14056 * iconvdata/gen-8bit-gap.sh: Likewise.
14057 * iconvdata/gen-8bit.sh: Likewise.
14058
14059 * locale/iso-639.def: Add ary entry.
14060
14061 [BZ #11258]
14062 * locale/C-translit.h.in: Add U20A1 transliteration.
14063
14064 [BZ #12178]
14065 * locale/iso-639.def: Add wae entry.
14066 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14067
14068 [BZ #12545]
14069 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14070 for n.
14071
14072 [BZ #12711]
14073 * locale/C-translit.h.in: Add entry for U20B9.
14074 Patch by pravin.d.s@gmail.com.
14075
14076 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14077
14078 [BZ #12713]
14079 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14080 ENAMETOOLONG use generic getcwd.
14081 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14082 in rtld. Use *stat64.
14083 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14084 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14085 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14086 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14087 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14088 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14089 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14090 __fstatat64 macros.
14091 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14092 * dirent/rewinddir.c: Add libc_hidden_def.
14093 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14094 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14095
14096 * include/dirent.h (__alloc_dir): Add flags parameter.
14097 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14098 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14099 __alloc_dir.
14100 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14101 from fdopendir if O_CLOEXEC is already set.
14102
14103 2011-03-15 Alan Modra <amodra@gmail.com>
14104
14105 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14106 l_tls_firstbyte_offset non-zero. Save padding offset in
14107 l_tls_firstbyte_offset for later use.
14108 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14109 freeing static tls block.
14110
14111 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14112
14113 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14114 where #ifdef was intended. The intent is to prevent ARG_MAX from
14115 being defined by the kernel headers.
14116
14117 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14118
14119 [BZ #12734]
14120 * resolv/resolv.h: Define RES_NOTLDQUERY.
14121 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14122 no-tld-query and set RES_NOTLDQUERY.
14123 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14124 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14125 modern BIND to search name as TLD unless forbidden.
14126
14127 2011-05-07 Petr Baudis <pasky@suse.cz>
14128 Ulrich Drepper <drepper@gmail.com>
14129
14130 [BZ #12393]
14131 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14132 (is_trusted_path): ...to here.
14133 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14134 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14135 using is_trusted_path_normalize() in setuid scripts.
14136
14137 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14138
14139 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14140 __BEGIN/__END_DECLS.
14141
14142 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14143
14144 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14145 NSS_STATUS_NOTFOUND if no record was found.
14146
14147 2011-05-05 Andreas Schwab <schwab@redhat.com>
14148
14149 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14150 (headers-not-in-tirpc): Remove rpc/netdb.h
14151 * resolv/netdb.h: Revert last change.
14152
14153 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14154
14155 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14156 circular dependency between libgcc.a and libc.a.
14157
14158 2011-05-05 Andreas Schwab <schwab@redhat.com>
14159
14160 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14161 * nis/Makefile: Don't install rpcsvc/*.
14162 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14163 instead of <rpc/types.h>.
14164 (MAXHOSTNAMELEN): Define.
14165
14166 2011-05-03 Andreas Schwab <schwab@redhat.com>
14167
14168 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14169
14170 2011-04-28 Maciej Babinski <mbabinski@google.com>
14171
14172 [BZ #12714]
14173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14174 gethostbyname4_r when IPv6 results are possible.
14175
14176 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14177
14178 [BZ #12723]
14179 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14180 _PC_PIPE_BUF handling.
14181
14182 2011-04-30 Bruno Haible <bruno@clisp.org>
14183
14184 [BZ #12717]
14185 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14186 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14187 to 'int'.
14188 * inet/getnameinfo.c (getnameinfo): Likewise.
14189
14190 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14191
14192 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14193 to groups setting in database lookup.
14194 * nss/nsswitch.conf: Add initgroups entry.
14195
14196 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14197
14198 [BZ #12685]
14199 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14200 mode string.
14201 Patch by Eric Blake <eblake@redhat.com>.
14202
14203 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14204
14205 * sunrpc/Makefile (need-export-routines): Add svc_run.
14206 (routines): Remove svc_run.
14207 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14208 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14209 * sunrpc/svc_run.c (svc_run): Likewise.
14210 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14211
14212 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14213
14214 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14215 problem in reallocation in last patch.
14216
14217 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14218
14219 * sunrpc/Makefile: Move inclusion of Rules.
14220
14221 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14222
14223 * nss/nss_files/files-initgroups.c: New file.
14224 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14225 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14226 _nss_files_initgroups_dyn.
14227
14228 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14229
14230 * elf/elf.h (R_ARM_IRELATIVE): Define.
14231
14232 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14233
14234 * po/ru.po: Update from translation team.
14235
14236 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14237
14238 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14239 dependencies.
14240
14241 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14242
14243 [BZ #12653]
14244 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14245 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14246 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14247 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14249
14250 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14251
14252 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14253 differing bytes.
14254 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14256 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14257
14258 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14259
14260 [BZ #12420]
14261 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14262 storing it.
14263 * stdlib/bug-getcontext.c: New file.
14264 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14265
14266 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14267
14268 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14269 instructions into .machine "z9-109".
14270 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14271 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14272
14273 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14274
14275 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14276 between environment variables and auxiliary vector.
14277
14278 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14279
14280 * Makefile: Add rules to build linkobj/libc.so.
14281 * include/libc-symbols.h: Define libc_hidden_nolink.
14282 * include/rpc/auth.h: Mark functions which are to be hidden.
14283 * include/rpc/auth_des.h: Likewise.
14284 * include/rpc/auth_unix.h: Likewise.
14285 * include/rpc/clnt.h: Likewise.
14286 * include/rpc/des_crypt.h: Likewise.
14287 * include/rpc/key_prot.h: Likewise.
14288 * include/rpc/pmap_clnt.h: Likewise.
14289 * include/rpc/pmap_prot.h: Likewise.
14290 * include/rpc/pmap_rmt.h: Likewise.
14291 * include/rpc/rpc_msg.h: Likewise.
14292 * include/rpc/svc.h: Likewise.
14293 * include/rpc/svc_auth.h: Likewise.
14294 * include/rpc/xdr.h: Likewise.
14295 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14296 * nss/Makefile: Likewise.
14297 * sunrpc/Makefile: Don't install headers. Build library with normal
14298 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14299 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14300 for the compat linking library. Remove use of INTDEF/INTUSE.
14301 * sunrpc/auth_none.c: Likewise.
14302 * sunrpc/auth_unix.c: Likewise.
14303 * sunrpc/authdes_prot.c: Likewise.
14304 * sunrpc/authuxprot.c: Likewise.
14305 * sunrpc/clnt_gen.c: Likewise.
14306 * sunrpc/clnt_perr.c: Likewise.
14307 * sunrpc/clnt_raw.c: Likewise.
14308 * sunrpc/clnt_simp.c: Likewise.
14309 * sunrpc/clnt_tcp.c: Likewise.
14310 * sunrpc/clnt_udp.c: Likewise.
14311 * sunrpc/clnt_unix.c: Likewise.
14312 * sunrpc/des_crypt.c: Likewise.
14313 * sunrpc/des_soft.c: Likewise.
14314 * sunrpc/get_myaddr.c: Likewise.
14315 * sunrpc/key_call.c: Likewise.
14316 * sunrpc/key_prot.c: Likewise.
14317 * sunrpc/netname.c: Likewise.
14318 * sunrpc/pm_getmaps.c: Likewise.
14319 * sunrpc/pm_getport.c: Likewise.
14320 * sunrpc/pmap_clnt.c: Likewise.
14321 * sunrpc/pmap_prot.c: Likewise.
14322 * sunrpc/pmap_prot2.c: Likewise.
14323 * sunrpc/pmap_rmt.c: Likewise.
14324 * sunrpc/publickey.c: Likewise.
14325 * sunrpc/rpc_cmsg.c: Likewise.
14326 * sunrpc/rpc_common.c: Likewise.
14327 * sunrpc/rpc_dtable.c: Likewise.
14328 * sunrpc/rpc_prot.c: Likewise.
14329 * sunrpc/rpc_thread.c: Likewise.
14330 * sunrpc/rtime.c: Likewise.
14331 * sunrpc/svc.c: Likewise.
14332 * sunrpc/svc_auth.c: Likewise.
14333 * sunrpc/svc_authux.c: Likewise.
14334 * sunrpc/svc_raw.c: Likewise.
14335 * sunrpc/svc_run.c: Likewise.
14336 * sunrpc/svc_simple.c: Likewise.
14337 * sunrpc/svc_tcp.c: Likewise.
14338 * sunrpc/svc_udp.c: Likewise.
14339 * sunrpc/svc_unix.c: Likewise.
14340 * sunrpc/svcauth_des.c: Likewise.
14341 * sunrpc/xcrypt.c: Likewise.
14342 * sunrpc/xdr.c: Likewise.
14343 * sunrpc/xdr_array.c: Likewise.
14344 * sunrpc/xdr_float.c: Likewise.
14345 * sunrpc/xdr_intXX_t.c: Likewise.
14346 * sunrpc/xdr_mem.c: Likewise.
14347 * sunrpc/xdr_rec.c: Likewise.
14348 * sunrpc/xdr_ref.c: Likewise.
14349 * sunrpc/xdr_sizeof.c: Likewise.
14350 * sunrpc/xdr_stdio.c: Likewise.
14351
14352 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14353
14354 [BZ #12650]
14355 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14356 * sysdeps/ia64/dl-tls.h: Likewise.
14357 * sysdeps/powerpc/dl-tls.h: Likewise.
14358 * sysdeps/s390/dl-tls.h: Likewise.
14359 * sysdeps/sh/dl-tls.h: Likewise.
14360 * sysdeps/sparc/dl-tls.h: Likewise.
14361 * sysdeps/x86_64/dl-tls.h: Likewise.
14362 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14363
14364 2011-03-14 Andreas Schwab <schwab@redhat.com>
14365
14366 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14367 rpath element also skip the following colon.
14368 (expand_dynamic_string_token): Add is_path parameter and pass
14369 down to DL_DST_REQUIRED and _dl_dst_substitute.
14370 (decompose_rpath): Call expand_dynamic_string_token with
14371 non-zero is_path. Ignore empty rpaths.
14372 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14373 with zero is_path.
14374
14375 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14376
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14378 Make cancelable.
14379
14380 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14381
14382 [BZ #12655]
14383 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14384 Patch by Filipe David Manana <fdmanana@apache.org>.
14385
14386 2011-04-07 Andreas Schwab <schwab@redhat.com>
14387
14388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14389 Maintain aligned stack.
14390 (CHECK_RSP): Remove unused macro.
14391
14392 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14393
14394 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14395 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14396
14397 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14398
14399 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14400
14401 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14402
14403 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14404
14405 [BZ #12518]
14406 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14407 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14408 * sysdeps/x86_64/memmove.c: New file.
14409 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14410 (memcpy): Renamed to ...
14411 (__new_memcpy): This.
14412 (memcpy): Provide GLIBC_2_14 memcpy.
14413 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14414 (memcpy): Provide GLIBC_2_2_5 memcpy.
14415
14416 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14417
14418 [BZ #12631]
14419 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14420
14421 2011-03-30 Andreas Schwab <schwab@redhat.com>
14422
14423 * misc/syncfs.c: New file.
14424 * misc/Makefile (routines): Add syncfs.
14425 * posix/unistd.h: Declare syncfs.
14426 * sysdeps/unix/syscalls.list: Add syncfs.
14427
14428 2011-04-01 Andreas Schwab <schwab@redhat.com>
14429
14430 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14431 open_by_handle_at.
14432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14437 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14439
14440 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14441
14442 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14443 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14444 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14446 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14449
14450 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14451 sync_file_range.c with -fexceptions.
14452 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14453 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14454 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14455 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14456 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14457 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14458 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14459 sync_file_range as cancellation point
14460 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14461 now a wrapper around __call_sync_file_range with cancellation handling.
14462 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14463 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14464 function name to __call_sync_file_range.
14465 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14466 Add call_sync_file_range.
14467
14468 2011-04-01 Andreas Schwab <schwab@redhat.com>
14469
14470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14471 bits/timex.h.
14472
14473 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14474
14475 * iconv/iconv.h: Fix typo in comment.
14476 * io/fcntl.h: Likewise.
14477 * libio/stdio.h: Likewise.
14478 * posix/spawn.h: Likewise.
14479 * posix/unistd.h: Likewise.
14480 * stdlib/stdlib.h: Likewise.
14481 * time/time.h: Likewise.
14482 * wcsmbs/wchar.h: Likewise.
14483
14484 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14485 open_by_handle): Add.
14486 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14487 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14488 Augment a few comments.
14489 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14490 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14491 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14493 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14494 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14495 open_by_handle.
14496
14497 * io/fcntl.h (AT_EMPTY_PATH): Define.
14498
14499 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14500
14501 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14502 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14503 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14504 to...
14505 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14506 * Versions.def: Add GLIBC_2.14.
14507 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14508 Export.
14509
14510 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14511
14512 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14513 round counter.
14514 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14515
14516 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14517
14518 [BZ #12597]
14519 * string/test-strncmp.c (do_page_test): New function.
14520 (check2): Likewise.
14521 (test_main): Call check2.
14522 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14523
14524 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14525
14526 [BZ #12587]
14527 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14528 Handle cache information in CPU leaf 4.
14529 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14530
14531 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14532
14533 [BZ #12583]
14534 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14535 character representation.
14536 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14537
14538 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14539
14540 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14541 END(__isnan) to END(__isnanf) to match function entry point/label
14542 EALIGN(__isnanf,...).
14543
14544 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14545
14546 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14547
14548 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14549
14550 [BZ #12510]
14551 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14552 copy from the symbol referenced in the relocation to initialize the
14553 used variable.
14554 Patch by Piotr Bury <pbury@goahead.com>.
14555 * elf/Makefile: Add rules to build and tst-unique3.
14556 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14557 * elf/tst-unique3.cc: New file.
14558 * elf/tst-unique3.h: New file.
14559 * elf/tst-unique3lib.cc: New file.
14560 * elf/tst-unique3lib2.cc: New file.
14561
14562 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14563
14564 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14565
14566 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14567 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14568 to _start.
14569
14570 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14571
14572 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14573 to-be-loaded object along a path to loader is ld.so.
14574
14575 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14576 Ulrich Drepper <drepper@gmail.com>
14577
14578 * sysdeps/x86_64/memset.S: After aligning destination, code
14579 branches to different locations depending on the value of
14580 misalignment, when multiarch is enabled. Fix this.
14581
14582 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14583
14584 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14585 Set _x86_64_preferred_memory_instruction for AMD processsors.
14586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14587 Set bit_Prefer_SSE_for_memop for AMD processors.
14588
14589 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14590
14591 * libio/fmemopen.c (fmemopen): Optimize a bit.
14592
14593 2011-03-03 Andreas Schwab <schwab@redhat.com>
14594
14595 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14596
14597 2011-03-03 Roland McGrath <roland@redhat.com>
14598
14599 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14600
14601 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14602
14603 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14604 __bzero_ultra1 instead of __memset_ultra1.
14605
14606 2011-02-23 Andreas Schwab <schwab@redhat.com>
14607 Ulrich Drepper <drepper@gmail.com>
14608
14609 [BZ #12509]
14610 * include/link.h (struct link_map): Add l_orig_initfini.
14611 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14612 returning unsuccessfully.
14613 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14614 close of a file loaded at startup, restore the original l_initfini
14615 list.
14616 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14617 list, store the pointer.
14618 * elf/Makefile ($(objpfx)noload-mem): New rule.
14619 (noload-ENV): Define.
14620 (tests): Add $(objpfx)noload-mem.
14621 * elf/noload.c: Include <memcheck.h>.
14622 (main): Call mtrace. Close all opened handles.
14623
14624 2011-02-17 Andreas Schwab <schwab@redhat.com>
14625
14626 [BZ #12454]
14627 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14628 dependencies are missing.
14629
14630 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14631
14632 Fix __if_freereq crash: Unlike the generic version which uses free,
14633 Hurd needs munmap.
14634 * sysdeps/mach/hurd/ifreq.h: New file.
14635
14636 2011-01-27 Petr Baudis <pasky@suse.cz>
14637 Ulrich Drepper <drepper@gmail.com>
14638
14639 [BZ 12445]#
14640 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14641 to extend_alloca().
14642 * stdio-common/bug23.c: New file.
14643 * stdio-common/Makefile (tests): Add bug23.
14644
14645 2010-09-28 Andreas Schwab <schwab@redhat.com>
14646 Ulrich Drepper <drepper@gmail.com>
14647
14648 [BZ #12489]
14649 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14650 before performing relro protection. At old place add assertion
14651 to make sure nothing changed.
14652
14653 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14654 Glauber de Oliveira Costa <glommer@gmail.com>
14655
14656 * elf/elf.h: Add new ARM TLS relocs.
14657
14658 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14659
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14661 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14662 cast from r3.
14663 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14664 'tests' variable.
14665 * sysdeps/wordsize-64/tst-writev.c: New file.
14666
14667 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14668
14669 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14670 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14671 insns in _dl_start to prevent a TOC reference before relocs are
14672 resolved.
14673
14674 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14675
14676 [BZ #12469]
14677 * Makeconfig: Remove RANLIB definition.
14678 * Makerules: Don't use RANLIB.
14679 * aclocal.m4: Remove ranlib test.
14680 * configure.in: No need to check for ranlib.
14681 * elf/rtld-Rules: Don't use RANLIB.
14682
14683 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14684
14685 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14686 protection macro.
14687 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14688 inclusion protection macro.
14689
14690 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14691 SIGRTMIN and SIGRTMAX and print information in that case only when
14692 SIGRTMIN is defined.
14693
14694 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14695
14696 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14697 arginfo fn returning -1.
14698
14699 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14700 and thousands string is zero terminated.
14701
14702 2011-02-03 Andreas Schwab <schwab@redhat.com>
14703
14704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14705 sysdeps/unix/sysv/linux/bits/socket.h.
14706
14707 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14708
14709 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14710 (__CPU_COUNT): Remove old macros.
14711 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14712 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14713 (__CPU_ALLOC, __CPU_FREE): Add macros.
14714 (__sched_cpualloc, __sched_cpufree): Add declarations.
14715
14716 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14717
14718 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14719 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14720 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14721 (readdhstai): Return value of addhstaiX call.
14722 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14723 (addgrbyX): Return value returned by cache_addgr.
14724 (readdgrbyname): Return value returned by addgrbyX.
14725 (readdgrbygid): Likewise.
14726 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14727 (addpwbyX): Return value returned by cache_addpw.
14728 (readdpwbyname): Return value returned by addhstbyX.
14729 (readdpwbyuid): Likewise.
14730 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14731 (addservbyX): Return value returned by cache_addserv.
14732 (readdservbyname): Return value returned by addservbyX:
14733 (readdservbyport): Likewise.
14734 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14735 (addhstbyX): Return value returned by cache_addhst.
14736 (readdhstbyname): Return value returned by addhstbyX.
14737 (readdhstbyaddr): Likewise.
14738 (readdhstbynamev6): Likewise.
14739 (readdhstbyaddrv6): Likewise.
14740 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14741 (readdinitgroups): Return value returned by addinitgroupsX.
14742 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14743 (prune_cache): Keep track of timeout value of re-added entries.
14744 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14745 * nscd/nscd.h: Adjust prototypes of readd* functions.
14746
14747 2011-02-04 Roland McGrath <roland@redhat.com>
14748
14749 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14750 (nis_stats): Likewise.
14751 * nis/nis_modify.c (nis_modify): Likewise.
14752 * nis/nis_remove.c (nis_remove): Likewise.
14753 * nis/nis_add.c (nis_add): Likewise.
14754
14755 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14756
14757 * posix/fnmatch_loop.c: Add some consts.
14758
14759 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14760
14761 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14762
14763 [BZ #12460]
14764 * config.make.in (config-cflags-novzeroupper): Define.
14765 * configure.in: Substitute libc_cv_cc_novzeroupper.
14766 * elf/Makefile (AVX-CFLAGS): Define.
14767 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14768 (CFLAGS-tst-auditmod4a.c): Likewise.
14769 (CFLAGS-tst-auditmod4b.c): Likewise.
14770 (CFLAGS-tst-auditmod6b.c): Likewise.
14771 (CFLAGS-tst-auditmod6c.c): Likewise.
14772 (CFLAGS-tst-auditmod7b.c): Likewise.
14773 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14774
14775 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14776
14777 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14778 function to the callback.
14779 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14780
14781 2011-02-02 Andreas Schwab <schwab@redhat.com>
14782
14783 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14784 of errno.
14785
14786 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14787
14788 [BZ #11724]
14789 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14790 of constructors.
14791 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14792 of destructors.
14793 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14794
14795 [BZ #11724]
14796 * elf/Makefile: Add rules to build and run new test.
14797 * elf/tst-initorder.c: New file.
14798 * elf/tst-initorder.exp: New file.
14799 * elf/tst-initordera1.c: New file.
14800 * elf/tst-initordera2.c: New file.
14801 * elf/tst-initordera3.c: New file.
14802 * elf/tst-initordera4.c: New file.
14803 * elf/tst-initorderb1.c: New file.
14804 * elf/tst-initorderb2.c: New file.
14805 * elf/tst-order-a1.c: New file.
14806 * elf/tst-order-a2.c: New file.
14807 * elf/tst-order-a3.c: New file.
14808 * elf/tst-order-a4.c: New file.
14809 * elf/tst-order-b1.c: New file.
14810 * elf/tst-order-b2.c: New file.
14811 * elf/tst-order-main.c: New file.
14812 New test case by George Gensure <werkt0@gmail.com>.
14813
14814 2010-10-01 Andreas Schwab <schwab@redhat.com>
14815
14816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14817 decoding ACE if AI_CANONIDN.
14818
14819 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14820
14821 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14822
14823 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14824
14825 * version.h (RELEASE): Bump for 2.13 release.
14826 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14827
14828 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14829
14830 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14831 MADV_NOHUGEPAGE.
14832 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14833 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14834 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14835 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14837 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14838
14839 * posix/getconf.c: Update copyright year.
14840 * catgets/gencat.c: Likewise.
14841 * csu/version.c: Likewise.
14842 * debug/catchsegv.sh: Likewise.
14843 * debug/xtrace.sh: Likewise.
14844 * elf/ldconfig.c: Likewise.
14845 * elf/ldd.bash.in: Likewise.
14846 * elf/sprof.c (print_version): Likewise.
14847 * iconv/iconv_prog.c: Likewise.
14848 * iconv/iconvconfig.c: Likewise.
14849 * locale/programs/locale.c: Likewise.
14850 * locale/programs/localedef.c: Likewise.
14851 * malloc/memusage.sh: Likewise.
14852 * malloc/mtrace.pl: Likewise.
14853 * nscd/nscd.c (print_version): Likewise.
14854 * nss/getent.c: Likewise.
14855
14856 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14857 PF_CAIF, and PF_ALG.
14858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14859
14860 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14861
14862 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14863 (modules-names): Use them.
14864 (ifunc-test-modules, ifunc-pie-tests): Define.
14865 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14866 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14867 (test-extras): Likewise.
14868 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14869 $(compile-command.c).
14870 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14871 (all-built-dso): Define.
14872 (check-textrel.out, check-execstack.out): Depend on it.
14873
14874 * configure.in: Don't override --enable-multi-arch.
14875
14876 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14877
14878 [BZ #6812]
14879 * nscd/hstcache.c (tryagain): Define.
14880 (cache_addhst): Return tryagain not notfound for temporary errors.
14881 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14882 failed.
14883
14884 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14885
14886 [BZ #10563]
14887 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14888 to make the syscall.
14889 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14890
14891 [BZ #12378]
14892 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14893 and fall back to matching as normal character if the string ends before
14894 the matching ']' is found. This is what POSIX requires.
14895 * posix/testfnm.c: Adjust test result.
14896 * posix/globtest.sh: Adjust test result. Add new test.
14897 * posix/tst-fnmatch.input: Likewise.
14898 * posix/tst-fnmatch2.c: Add new test.
14899
14900 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14901
14902 * elf/Makefile (check-execstack): Revert last change. Depend on
14903 check-execstack.h.
14904 (check-execstack.h): New target.
14905 (generated): Add check-execstack.h.
14906 * elf/check-execstack.c: Include "check-execstack.h".
14907 (main): Revert last change.
14908 (handle_file): Return zero if GNU_STACK is absent and
14909 DEFAULT_STACK_PERMS doesn't include PF_X.
14910
14911 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14912
14913 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14914 in child fails because the descriptor is already closed.
14915 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14916 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14917 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14918
14919 [BZ #12397]
14920 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14921 syscall.
14922
14923 [BZ #10484]
14924 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14925 temporary buffer used to handle multi lookups locally.
14926 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14927
14928 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14929
14930 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14931 loader is ld.so.
14932
14933 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14934
14935 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14936 alignment for SSE2.
14937
14938 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14939
14940 [BZ #12394]
14941 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14942 characters. When rounding increased number of integer digits recompute
14943 number of groups.
14944 * stdio-common/tst-grouping.c: New file.
14945 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14946
14947 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14948
14949 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14950 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14951
14952 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14953 void.
14954 * bits/select.h: Likewise.
14955
14956 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14957
14958 * po/ja.po: Update from translation team.
14959
14960 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14961
14962 [BZ #11155]
14963 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14964 implementation just like for lxstat, fxstatat, et al.
14965
14966 2010-12-27 Jim Meyering <meyering@redhat.com>
14967
14968 [BZ #12348]
14969 * posix/regexec.c (build_trtable): Return failure indication upon
14970 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14971
14972 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14973
14974 [BZ #12201]
14975 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14976 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14977 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14978 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14979
14980 [BZ #12207]
14981 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14982
14983 [BZ #12204]
14984 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14985 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14986
14987 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14988
14989 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14990 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14991 script has SORT_BY_INIT_PRIORITY.
14992 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14993 NO_CTORS_DTORS_SECTIONS is defined.
14994 * elf/soinit.c: Likewise.
14995 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14996 NO_CTORS_DTORS_SECTIONS is defined.
14997 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14998 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14999 * sysdeps/sh/init-first.c: Likewise.
15000 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15001
15002 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15003
15004 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15005 always use the slow path.
15006
15007 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15008
15009 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15010 similar rule which adds the sysdep directories to the header search in
15011 order to pick up the correct platform stackinfo.h.
15012 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15013 perform test if it is, otherwise return successfully without testing.
15014 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15015 DEFAULT_STACK_PERMS define in stackinfo.h.
15016 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15017 defined in stackinfo.h.
15018 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15019 DEFAULT_STACK_PERMS defined in stackinfo.h.
15020 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15021 * sysdeps/ia64/stackinfo.h: Likewise.
15022 * sysdeps/s390/stackinfo.h: Likewise.
15023 * sysdeps/sh/stackinfo.h: Likewise.
15024 * sysdeps/sparc/stackinfo.h: Likewise.
15025 * sysdeps/x86_64/stackinfo.h: Likewise.
15026 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15027 PF_X for powerpc64. Retain PF_X for powerpc32.
15028
15029 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15030
15031 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15032 accurately.
15033 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15034 GETDENTS_64BIT_ALIGNED.
15035
15036 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15037
15038 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15039
15040 2010-12-10 Andreas Schwab <schwab@redhat.com>
15041
15042 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15043 _GNU_SOURCE.
15044
15045 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15046 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15047 Remove __restrict.
15048 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15049 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15050
15051 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15052
15053 [BZ #11655]
15054 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15055 are initialized.
15056
15057 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15058
15059 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15060
15061 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15062
15063 * po/it.po: Update from translation team.
15064
15065 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15066
15067 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15068 unused codes.
15069
15070 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15071
15072 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15073
15074 2010-11-24 Andreas Schwab <schwab@redhat.com>
15075
15076 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15077 specially.
15078 (gaih_getanswer_slice): Likewise.
15079
15080 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15081
15082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15083
15084 2010-05-31 Petr Baudis <pasky@suse.cz>
15085
15086 [BZ #11149]
15087 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15088 silently even in the chroot mode.
15089
15090 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15091
15092 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15093 last patch a bit. Pretty printing
15094
15095 2010-05-31 Petr Baudis <pasky@suse.cz>
15096
15097 [BZ #10085]
15098 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15099 initialization of skip_initgroups_dyn.
15100
15101 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15102
15103 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15104 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15105
15106 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15107
15108 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15109
15110 2010-11-11 Andreas Schwab <schwab@redhat.com>
15111
15112 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15113 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15114 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15115 ($(objpfx)tst-fnmatch-mem): New rule.
15116 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15117 * posix/tst-fnmatch.c (main): Call mtrace.
15118
15119 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15120
15121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15122 Support Intel processor model 6 and model 0x2c.
15123
15124 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15125
15126 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15127 signed comparison.
15128
15129 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15130
15131 [BZ #12205]
15132 * string/test-strncasecmp.c (check_result): New function.
15133 (do_one_test): Use it.
15134 (check1): New function.
15135 (test_main): Use it.
15136 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15137 Support strcasecmp and strncasecmp.
15138
15139 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15140
15141 [BZ #12194]
15142 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15143 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15144
15145 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15146
15147 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15148 IFUNC support.
15149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15150 memset-x86-64.
15151 * sysdeps/x86_64/multiarch/bzero.S: New file.
15152 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15153 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15154 * sysdeps/x86_64/multiarch/memset.S: New file.
15155 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15157 Set bit_Prefer_SSE_for_memop for Intel processors.
15158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15159 Define.
15160 (index_Prefer_SSE_for_memop): Define.
15161 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15162
15163 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15164
15165 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15166 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15167
15168 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15169
15170 [BZ #12191]
15171 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15172 (__x86_64_raw_data_cache_size_half): Likewise.
15173 (__x86_64_raw_shared_cache_size): Likewise.
15174 (__x86_64_raw_shared_cache_size_half): Likewise.
15175
15176 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15177 (__x86_64_raw_data_cache_size_half): Likewise.
15178 (__x86_64_raw_shared_cache_size): Likewise.
15179 (__x86_64_raw_shared_cache_size_half): Likewise.
15180 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15181 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15182 and __x86_64_raw_shared_cache_size_half. Round
15183 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15184 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15185 to multiple of 256 bytes.
15186
15187 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15188
15189 [BZ #12167]
15190 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15191 of inacessible symlinks. Verify result of symlink before returning it.
15192 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15193 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15194
15195 2010-10-28 Erich Ritz <erichritz@gmail.com>
15196
15197 * math/math.h (isinf): Fix typo in comment.
15198
15199 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15200
15201 * po/da.po: Update from translation team.
15202
15203 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15204
15205 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15206 is added to the list.
15207
15208 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15209 Ulrich Drepper <drepper@gmail.com>
15210
15211 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15212 the global list here. Move code to...
15213 (_dl_add_to_namespace_list): ...here. New function.
15214 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15215 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15216 * elf/dl-load.c (lose): Don't remove the element from the list.
15217 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15218 (_dl_map_object): Likewise.
15219
15220 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15221
15222 [BZ #12159]
15223 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15224 into all bytes of SSE register.
15225 Patch by Richard Li <richardpku@gmail.com>.
15226
15227 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15228
15229 [BZ #12140]
15230 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15231 perturbing.
15232
15233 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15234
15235 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15236 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15237 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15238 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15240 submachine.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15242
15243 2010-10-22 Andreas Schwab <schwab@redhat.com>
15244
15245 * include/dlfcn.h (__RTLD_SECURE): Define.
15246 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15247 mode & __RTLD_SECURE instead.
15248 (open_path): Rename preloaded parameter to secure.
15249 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15250 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15251 * elf/dl-deps.c (openaux): Likewise.
15252 * elf/rtld.c (struct map_args): Remove is_preloaded.
15253 (map_doit): Don't use it.
15254 (dl_main): Likewise.
15255 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15256 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15257
15258 2010-09-09 Andreas Schwab <schwab@redhat.com>
15259
15260 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15261 (sysd-rules-targets): Remove duplicates.
15262 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15263 rtld-%.$o dependency.
15264
15265 2010-10-18 Andreas Schwab <schwab@redhat.com>
15266
15267 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15268 _dl_map_object do it.
15269
15270 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15271
15272 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15273 fast fma builtins, define the macros in the C99 standard.
15274 (FP_FAST_FMAF): Likewise.
15275 (FP_FAST_FMAL): Likewise.
15276 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15277
15278 * bits/mathdef.h: Update copyright year.
15279 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15280
15281 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15282
15283 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15284 builtins, define the macros in the C99 standard.
15285 (FP_FAST_FMAF): Likewise.
15286 (FP_FAST_FMAL): Likewise.
15287 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15288 multiply/add.
15289 (FP_FAST_FMAF): Likewise.
15290
15291 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15292
15293 [BZ #3268]
15294 * math/libm-test.inc (fma_test): Some new testcases.
15295 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15296 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15297 y and infinite z. Do multiplication by C already in long double.
15298 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15300 y and infinite z. Do bitwise or of inexact bit into u.d.
15301 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15302 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15303 * sysdeps/i386/fpu/s_fma.S: Removed.
15304 * sysdeps/i386/fpu/s_fmal.S: Removed.
15305
15306 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15307
15308 [BZ #3268]
15309 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15311 computation is not scheduled after fetestexcept. Fix value
15312 of minimum denormal long double.
15313
15314 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15315
15316 [BZ #3268]
15317 * math/libm-test.inc (fma_test): Add some more tests.
15318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15319 correctly.
15320
15321 2010-10-15 Andreas Schwab <schwab@redhat.com>
15322
15323 * scripts/data/localplt-s390-linux-gnu.data: New file.
15324 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15325
15326 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15327
15328 [BZ #3268]
15329 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15330 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15331 instead of dbl-64.
15332 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15333 inlines.
15334 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15336 if one of x and y is very large and the other is subnormal.
15337 * sysdeps/s390/fpu/s_fmaf.c: New file.
15338 * sysdeps/s390/fpu/s_fma.c: New file.
15339 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15340 * sysdeps/powerpc/fpu/s_fma.S: New file.
15341 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15342 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15343 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15344
15345 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15346
15347 [BZ #3268]
15348 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15349 fma tests.
15350 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15351 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15352 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15353 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15354 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15355 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15357
15358 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15359
15360 [BZ #12078]
15361 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15362 * posix/bug-regex31.input: Add test case.
15363
15364 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15365
15366 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15367 * posix/bug-regex31.input: New file.
15368
15369 [BZ #12078]
15370 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15371 (parse_sub_exp): Fix last change, use postorder.
15372
15373 * posix/bug-regex31.c: New file.
15374 * posix/Makefile: Add rules to build and run bug-regex31.
15375
15376 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15377
15378 [BZ #12078]
15379 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15380
15381 [BZ #12108]
15382 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15383 to have entries in sys_siglist.
15384
15385 [BZ #12093]
15386 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15387 be NULL.
15388
15389 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15390
15391 [BZ #3268]
15392 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15393 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15394 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15395 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15396 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15397 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15398 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15399 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15400 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15401 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15402 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15403 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15404 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15405 * math/ftestexcept.c (fetestexcept): Likewise.
15406 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15407 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15408 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15409 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15410 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15411 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15412 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15413
15414 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15415
15416 [BZ #12107]
15417 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15418 newline.
15419
15420 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15421
15422 * string/bug-strstr1.c: New file.
15423 * string/Makefile: Add rules to build and run bug-strstr1.
15424
15425 2010-10-05 Eric Blake <eblake@redhat.com>
15426
15427 [BZ #12092]
15428 * string/str-two-way.h (two_way_long_needle): Always clear memory
15429 when skipping input due to the shift table.
15430
15431 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15432
15433 [BZ #12005]
15434 * malloc/mcheck.c: Handle large requests.
15435
15436 [BZ #12077]
15437 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15438 for strncmp and strncasecmp.
15439 * string/stratcliff.c: Add tests for strcmp and strncmp.
15440 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15441
15442 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15443
15444 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15445 __set_fpscr.
15446
15447 2010-09-30 Andreas Jaeger <aj@suse.de>
15448
15449 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15450 (CGROUP_SUPER_MAGIC): Define.
15451 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15452 Handle btrfs and cgroup file systems.
15453 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15454 Likewise.
15455
15456 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15457
15458 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15459 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15460
15461 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15462
15463 [BZ #12067]
15464 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15465 trying to locate the ELF header.
15466
15467 2010-09-27 Andreas Schwab <schwab@redhat.com>
15468
15469 [BZ #11611]
15470 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15471 Mask out sign-bit copies when constructing f_fsid.
15472
15473 2010-09-24 Petr Baudis <pasky@suse.cz>
15474
15475 * debug/stack_chk_fail_local.c: Add missing licence exception.
15476 * debug/warning-nop.c: Likewise.
15477
15478 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15479
15480 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15481 implementing getdents64 using getdents syscall, set d_type if
15482 __ASSUME_GETDENTS32_D_TYPE.
15483
15484 2010-09-16 Andreas Schwab <schwab@redhat.com>
15485
15486 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15487 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15488
15489 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15490
15491 [BZ #12037]
15492 * posix/unistd.h: Undo change of feature selection for ftruncate from
15493 2010-01-11.
15494
15495 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15496
15497 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15498 detection.
15499
15500 2010-09-20 Andreas Schwab <schwab@redhat.com>
15501
15502 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15503 fanotify_mark.
15504 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15505
15506 2010-09-14 Andreas Schwab <schwab@redhat.com>
15507
15508 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15509 variables after CHECK_SP call.
15510 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15511
15512 2010-09-13 Andreas Schwab <schwab@redhat.com>
15513 Ulrich Drepper <drepper@redhat.com>
15514
15515 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15516 re-relocationg ld.so.
15517 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15518 _dl_init_paths call.
15519 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15520 here anymore.
15521
15522 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15523
15524 * resolv/res_init.c (__res_vinit): Count the default server we added.
15525
15526 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15527 Ulrich Drepper <drepper@redhat.com>
15528
15529 [BZ #11968]
15530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15531 (____longjmp_chk): Use %ebx for saving value across system call.
15532 Add unwind info.
15533
15534 2010-09-06 Andreas Schwab <schwab@redhat.com>
15535
15536 * manual/Makefile: Don't mix pattern rules with normal rules.
15537
15538 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15539
15540 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15541 operation.
15542 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15543 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15544 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15545 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15547 Likewise.
15548
15549 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15550
15551 [BZ #11979]
15552 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15553 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15554
15555 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15556
15557 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15558 * sysdeps/x86_64/addmul_1.S: Likewise.
15559 * sysdeps/x86_64/lshift.S: Likewise.
15560 * sysdeps/x86_64/mul_1.S: Likewise.
15561 * sysdeps/x86_64/rshift.S: Likewise.
15562 * sysdeps/x86_64/sub_n.S: Likewise.
15563 * sysdeps/x86_64/submul_1.S: Likewise.
15564
15565 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15566
15567 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15568 Define __sched_param instead of SCHED_* and sched_param when
15569 <bits/sched.h> is included with __need_schedparam defined.
15570 * bits/sched.h [__need_schedparam]
15571 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15572 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15573 (__defined_schedparam): Define to 1.
15574 (__sched_param): New structure, identical to sched_param.
15575 (__need_schedparam): Undefine.
15576
15577 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15578
15579 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15580 (epoll_create1): Declare.
15581
15582 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15583
15584 2010-08-31 Andreas Schwab <schwab@redhat.com>
15585
15586 [BZ #7066]
15587 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15588 shifting retval into place.
15589
15590 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15591
15592 * nis/rpcsvc/nis.h: Update copyright notice.
15593 * nis/rpcsvc/nis.x: Likewise.
15594 * nis/rpcsvc/nis_callback.h: Likewise.
15595 * nis/rpcsvc/nis_callback.x: Likewise.
15596 * nis/rpcsvc/nis_object.x: Likewise.
15597 * nis/rpcsvc/nis_tags.h: Likewise.
15598 * nis/rpcsvc/yp.h: Likewise.
15599 * nis/rpcsvc/yp.x: Likewise.
15600 * nis/rpcsvc/ypupd.h: Likewise.
15601 * nis/yp_xdr.c: Likewise.
15602 * nis/ypupdate_xdr.c: Likewise.
15603
15604 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15605 mainly the body of pmap_getport. Add parameters to specify timeouts.
15606 (pmap_getport): Use __libc_rpc_getport.
15607 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15608 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15609 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15610
15611 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15612
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15614 fanotify_mark.
15615
15616 2010-08-27 Roland McGrath <roland@redhat.com>
15617
15618 * sysdeps/i386/i686/multiarch/Makefile
15619 (CFLAGS-varshift.c): New variable.
15620
15621 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15622
15623 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15624 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15625
15626 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15627
15628 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15629
15630 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15631
15632 * sysdeps/x86_64/strlen.S: Unroll the loop.
15633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15634 strlen-sse2 strlen-sse2-bsf.
15635 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15636 __strlen_no_bsf if bit_Slow_BSF is set.
15637 (__strlen_sse42): Removed.
15638 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15639 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15640
15641 2010-08-25 Roland McGrath <roland@redhat.com>
15642
15643 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15644 * sysdeps/x86_64/multiarch/varshift.c: New file.
15645 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15646 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15647 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15648 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15649
15650 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15651
15652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15653 strlen-sse2 strlen-sse2-bsf.
15654 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15655 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15656 (__strlen_sse2): Removed.
15657 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15658 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15660 bit_Slow_BSF for Atom.
15661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15662 (index_Slow_BSF): Define.
15663 (HAS_SLOW_BSF): Define.
15664
15665 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15666
15667 [BZ #10851]
15668 * resolv/res_init.c (__res_vinit): When no server address at all
15669 is given default to loopback.
15670
15671 2010-08-24 Roland McGrath <roland@redhat.com>
15672
15673 * configure.in: Remove config-name.h generation.
15674 * configure: Regenerated.
15675 * config-name.in: File removed.
15676 * scripts/config-uname.sh: New file.
15677 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15678 ($(objdir)config-name.h): New target.
15679
15680 * sunrpc/rpc_parse.h: Avoid nested comment.
15681
15682 2010-08-24 Richard Henderson <rth@redhat.com>
15683 Ulrich Drepper <drepper@redhat.com>
15684 H.J. Lu <hongjiu.lu@intel.com>
15685
15686 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15688 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15689 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15690 _mm_alignr_epi8 with _mm_loadu_si128.
15691 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15692 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15693 (__m128i_shift_right): Removed.
15694 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15695 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15696 * sysdeps/x86_64/multiarch/varshift.h: New file.
15697 * sysdeps/x86_64/multiarch/varshift.S: New file.
15698
15699 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15700
15701 * configure.in: Move assembler checks to before sysdep dir checking.
15702
15703 2010-08-20 Petr Baudis <pasky@suse.cz>
15704
15705 * LICENSES: Sync the sunrpc license.
15706
15707 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15708
15709 * sunrpc/auth_des.c: Update copyright notice once again.
15710 * sunrpc/auth_none.c: Likewise.
15711 * sunrpc/auth_unix.c: Likewise.
15712 * sunrpc/authdes_prot.c: Likewise.
15713 * sunrpc/authuxprot.c: Likewise.
15714 * sunrpc/bindrsvprt.c: Likewise.
15715 * sunrpc/clnt_gen.c: Likewise.
15716 * sunrpc/clnt_perr.c: Likewise.
15717 * sunrpc/clnt_raw.c: Likewise.
15718 * sunrpc/clnt_simp.c: Likewise.
15719 * sunrpc/clnt_tcp.c: Likewise.
15720 * sunrpc/clnt_udp.c: Likewise.
15721 * sunrpc/clnt_unix.c: Likewise.
15722 * sunrpc/des_crypt.c: Likewise.
15723 * sunrpc/des_soft.c: Likewise.
15724 * sunrpc/get_myaddr.c: Likewise.
15725 * sunrpc/getrpcport.c: Likewise.
15726 * sunrpc/key_call.c: Likewise.
15727 * sunrpc/key_prot.c: Likewise.
15728 * sunrpc/openchild.c: Likewise.
15729 * sunrpc/pm_getmaps.c: Likewise.
15730 * sunrpc/pm_getport.c: Likewise.
15731 * sunrpc/pmap_clnt.c: Likewise.
15732 * sunrpc/pmap_prot.c: Likewise.
15733 * sunrpc/pmap_prot2.c: Likewise.
15734 * sunrpc/pmap_rmt.c: Likewise.
15735 * sunrpc/rpc/auth.h: Likewise.
15736 * sunrpc/rpc/auth_unix.h: Likewise.
15737 * sunrpc/rpc/clnt.h: Likewise.
15738 * sunrpc/rpc/des_crypt.h: Likewise.
15739 * sunrpc/rpc/key_prot.h: Likewise.
15740 * sunrpc/rpc/netdb.h: Likewise.
15741 * sunrpc/rpc/pmap_clnt.h: Likewise.
15742 * sunrpc/rpc/pmap_prot.h: Likewise.
15743 * sunrpc/rpc/pmap_rmt.h: Likewise.
15744 * sunrpc/rpc/rpc.h: Likewise.
15745 * sunrpc/rpc/rpc_des.h: Likewise.
15746 * sunrpc/rpc/rpc_msg.h: Likewise.
15747 * sunrpc/rpc/svc.h: Likewise.
15748 * sunrpc/rpc/svc_auth.h: Likewise.
15749 * sunrpc/rpc/types.h: Likewise.
15750 * sunrpc/rpc/xdr.h: Likewise.
15751 * sunrpc/rpc_clntout.c: Likewise.
15752 * sunrpc/rpc_cmsg.c: Likewise.
15753 * sunrpc/rpc_common.c: Likewise.
15754 * sunrpc/rpc_cout.c: Likewise.
15755 * sunrpc/rpc_dtable.c: Likewise.
15756 * sunrpc/rpc_hout.c: Likewise.
15757 * sunrpc/rpc_main.c: Likewise.
15758 * sunrpc/rpc_parse.c: Likewise.
15759 * sunrpc/rpc_parse.h: Likewise.
15760 * sunrpc/rpc_prot.c: Likewise.
15761 * sunrpc/rpc_sample.c: Likewise.
15762 * sunrpc/rpc_scan.c: Likewise.
15763 * sunrpc/rpc_scan.h: Likewise.
15764 * sunrpc/rpc_svcout.c: Likewise.
15765 * sunrpc/rpc_tblout.c: Likewise.
15766 * sunrpc/rpc_util.c: Likewise.
15767 * sunrpc/rpc_util.h: Likewise.
15768 * sunrpc/rpcinfo.c: Likewise.
15769 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15770 * sunrpc/rpcsvc/key_prot.x: Likewise.
15771 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15772 * sunrpc/rpcsvc/mount.x: Likewise.
15773 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15774 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15775 * sunrpc/rpcsvc/rex.x: Likewise.
15776 * sunrpc/rpcsvc/rstat.x: Likewise.
15777 * sunrpc/rpcsvc/rusers.x: Likewise.
15778 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15779 * sunrpc/rpcsvc/spray.x: Likewise.
15780 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15781 * sunrpc/rtime.c: Likewise.
15782 * sunrpc/svc.c: Likewise.
15783 * sunrpc/svc_auth.c: Likewise.
15784 * sunrpc/svc_authux.c: Likewise.
15785 * sunrpc/svc_raw.c: Likewise.
15786 * sunrpc/svc_run.c: Likewise.
15787 * sunrpc/svc_simple.c: Likewise.
15788 * sunrpc/svc_tcp.c: Likewise.
15789 * sunrpc/svc_udp.c: Likewise.
15790 * sunrpc/svc_unix.c: Likewise.
15791 * sunrpc/svcauth_des.c: Likewise.
15792 * sunrpc/xcrypt.c: Likewise.
15793 * sunrpc/xdr.c: Likewise.
15794 * sunrpc/xdr_array.c: Likewise.
15795 * sunrpc/xdr_float.c: Likewise.
15796 * sunrpc/xdr_mem.c: Likewise.
15797 * sunrpc/xdr_rec.c: Likewise.
15798 * sunrpc/xdr_ref.c: Likewise.
15799 * sunrpc/xdr_sizeof.c: Likewise.
15800 * sunrpc/xdr_stdio.c: Likewise.
15801
15802 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15803 handling.
15804
15805 2010-08-19 Andreas Schwab <schwab@redhat.com>
15806
15807 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15808
15809 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15810
15811 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15812 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15813 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15814 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15815 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15816 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15817 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15818 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15819 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15820 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15821 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15822 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15823 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15824 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15825
15826 2010-07-26 Anton Blanchard <anton@samba.org>
15827
15828 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15829 * malloc/arena.c (heap_trim): Likewise.
15830
15831 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15832
15833 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15834 here. Not...
15835 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15836 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15837
15838 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15839
15840 * sysdeps/i386/elf/Makefile: New file.
15841
15842 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15843
15844 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15845 from fanotify_init.
15846 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15847 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15848
15849 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15850
15851 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15852 of strncasecmp_l.
15853 * sysdeps/multiarch/strcmp.S: Likewise.
15854
15855 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15856
15857 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15858 strncase_l-nonascii.
15859 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15860 Add strncase_l-ssse3.
15861 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15862 * sysdeps/x86_64/strcmp.S: Likewise.
15863 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15864 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15865 * sysdeps/x86_64/strncase.S: New file.
15866 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15867 * sysdeps/x86_64/strncase_l.S: New file.
15868 * string/Makefile (strop-tests): Add strncasecmp.
15869 * string/test-strncasecmp.c: New file.
15870
15871 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15872 warning.
15873
15874 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15875 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15876
15877 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15878
15879 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15880
15881 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15882
15883 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15884 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15885 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15886
15887 2010-05-01 Alan Modra <amodra@gmail.com>
15888
15889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15890 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15891 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15892 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15893 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15894 tidying. Don't tail-call __sigjmp_save for static lib.
15895 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15896 save location.
15897 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15898 (CALL_MCOUNT): Add eh info, and nop after bl.
15899 (TAIL_CALL_SYSCALL_ERROR): New macro.
15900 (PSEUDO_RET): Use it.
15901 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15902 Correct save location of integer regs and cr.
15903 (_dl_profile_resolve): Correct cr save location. Delete nops
15904 after bl when SHARED. Reduce cfi size a little by better
15905 placement of cfi directives.
15906 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15907 make a stack frame. Instead use parm save area as a temp.
15908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15909 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15911 Don't make a stack frame for parent, use parm save area.
15912 Increase child stack frame to 112 bytes. Don't save unused reg,
15913 and adjust reg usage. Set up cfi on error recovery and
15914 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15916 (__makecontext): Add dummy nop after jump to exit.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15918 Use correct parm save area and cr save, reduce stack frame.
15919 Correct cfi for possible PSEUDO_RET frame setup.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15921 Branch to local label emitted by PSEUDO_RET rather than
15922 __syscall_error.
15923
15924 2010-08-12 Andreas Schwab <schwab@redhat.com>
15925
15926 [BZ #11904]
15927 * locale/programs/locale.c (print_assignment): New function.
15928 (show_locale_vars): Use it.
15929
15930 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15931
15932 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15933 field.
15934 (struct statfs64): Likewise.
15935 (_STATFS_F_FLAGS): Define.
15936 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15937 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15938 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15939 (ST_VALID): Define locally.
15940 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15941 __statvfs_getflags, use the provided value.
15942 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15943 __ASSUME_STATFS_F_FLAGS.
15944
15945 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15946
15947 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15948 Add sys/fanotify.h.
15949 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15950 fanotify_mask for GLIBC_2.13.
15951 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15952 fanotify_init and fanotify_mark.
15953 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15954 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15955
15956 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15957 Add prlimit.
15958 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15959 prlimit64 for GLIBC_2.13.
15960 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15961 prlimit64.
15962 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15963 syscall.
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15965 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15966 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15967 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15968 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15969 add prlimit alias.
15970 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15971
15972 [BZ #11903]
15973 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15974 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15975
15976 * nss/Makefile: Add rules to build and run tst-nss-test1.
15977 * shlib-versions: Add entry for libnss_test1.
15978 * nss/nss_test1.c: New file.
15979 * nss/tst-nss-test1.c: New file.
15980
15981 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15982 (__nss_configure_lookup): Set appropriate entry in
15983 __nss_configure_lookup to true.
15984 * nss/nsswitch.h: Define enum with indeces of databases in
15985 databases and __nss_database_custom arrays. Declare
15986 __nss_database_custom.
15987 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15988 to avoid using nscd when custom rules are installed.
15989 * nss/getXXbyYY_r.c: Likewise.
15990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15991
15992 * nss/nss_files/files-parse.c: Whitespace fixes.
15993
15994 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15995
15996 [BZ #11883]
15997 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15998 * posix/fnmatch_loop.c: Likewise.
15999
16000 2010-07-17 Andi Kleen <ak@linux.intel.com>
16001
16002 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16003 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16004 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16005 * Versions.def [GLIBC_2.13]: Add.
16006
16007 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16008
16009 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16010 Also fail if tpwd after pwuid call is NULL.
16011
16012 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16013
16014 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16015 when converting to ms.
16016
16017 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16018
16019 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16020 EOPNOTSUPP errors with ENOTTY.
16021 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16022 EOPNOTSUPP errors with ENOTTY.
16023
16024 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16025
16026 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16027 Add strcasecmp_l-ssse3.
16028 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16029 strcasecmp.
16030 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16031 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16032 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16033
16034 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16035
16036 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16037
16038 * string/Makefile (strop-tests): Add strcasecmp.
16039 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16040 strcasecmp_l-nonascii.
16041 (gen-as-const-headers): Add locale-defines.sym.
16042 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16043 * sysdeps/x86_64/strcasecmp.S: New file.
16044 * sysdeps/x86_64/strcasecmp_l.S: New file.
16045 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16046 * sysdeps/x86_64/locale-defines.sym: New file.
16047 * string/test-strcasecmp.c: New file.
16048
16049 * string/test-strcasestr.c: Test both ends of the range of characters.
16050 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16051
16052 2010-07-29 Roland McGrath <roland@redhat.com>
16053
16054 [BZ #11856]
16055 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16056
16057 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16058
16059 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16060 for ld.so.
16061
16062 2010-07-27 Andreas Schwab <schwab@redhat.com>
16063
16064 * manual/memory.texi (Malloc Tunable Parameters): Document
16065 M_PERTURB.
16066
16067 2010-07-26 Roland McGrath <roland@redhat.com>
16068
16069 [BZ #11840]
16070 * configure.in (-fgnu89-inline check): Set and substitute
16071 gnu89_inline, not libc_cv_gnu89_inline.
16072 * configure: Regenerated.
16073 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16074
16075 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16076
16077 * string/test-strnlen.c: New file.
16078 * string/Makefile (strop-tests): Add strnlen.
16079 * string/tester.c (test_strnlen): Add a few more test cases.
16080 * string/tst-strlen.c: Better error reporting.
16081
16082 * sysdeps/x86_64/strnlen.S: New file.
16083
16084 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16085
16086 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16087 lower-latency instructions.
16088
16089 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16090
16091 * string/test-strcasestr.c: New file.
16092 * string/test-strstr.c: New file.
16093 * string/Makefile (strop-tests): Add strstr and strcasestr.
16094 * string/str-two-way.h: Don't undefine MAX.
16095 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16096
16097 2010-07-21 Andreas Schwab <schwab@redhat.com>
16098
16099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16100 strcasestr-nonascii.
16101 (CFLAGS-strcasestr-nonascii.c): Define.
16102 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16103 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16104 Remove unused attribute.
16105
16106 2010-07-20 Roland McGrath <roland@redhat.com>
16107
16108 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16109 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16110 ld.so.cache was broken. With it, there is no way to disable dsocaps
16111 like LD_HWCAP_MASK can disable hwcaps.
16112
16113 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16114
16115 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16116
16117 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16118
16119 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16120 call in strcasestr.
16121 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16122 __strcasestr_sse42_nonascii.
16123 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16124 strcasestr-nonascii.c.
16125 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16126
16127 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16128
16129 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16131 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16132 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16133
16134 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16135
16136 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16137 fcntl.
16138
16139 2010-07-06 Andreas Schwab <schwab@redhat.com>
16140
16141 [BZ #11577]
16142 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16143 dl_signal_cerror.
16144
16145 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16146
16147 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16148 _PC_PIPE_BUF using F_GETPIPE_SZ.
16149
16150 2010-07-05 Roland McGrath <roland@redhat.com>
16151
16152 * manual/arith.texi (Rounding Functions): Fix rint description
16153 implicit in round description.
16154
16155 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16156
16157 * elf/Makefile: Fix linking for a few tests to make recent linker
16158 happy.
16159
16160 2010-06-30 Andreas Schwab <schwab@redhat.com>
16161
16162 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16163 $(common-objpfx)libc_nonshared.a.
16164
16165 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16166
16167 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16168 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16169 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16170 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16171 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16172 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16173 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16174 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16189 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16190 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16191 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16192 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16193 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16194 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16195 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16196 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16197 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16198 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16199 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16200 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16215
16216 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16217
16218 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16219 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16220 * string/memmove.c (memmove): Renamed to ...
16221 (MEMMOVE): ...this. Default to memmove.
16222 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16223 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16224 (END_CHK): Define.
16225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16226 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16227 mempcpy-ssse3-back memmove-ssse3-back.
16228 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16230 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16231 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16232 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16233 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16234 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16235 * sysdeps/x86_64/multiarch/memmove.c: New file.
16236 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16237 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16238 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16239 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16240 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16241 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16242 Define.
16243 (index_Fast_Copy_Backward): Define.
16244 (HAS_ARCH_FEATURE): Define.
16245 (HAS_FAST_REP_STRING): Define.
16246 (HAS_FAST_COPY_BACKWARD): Define.
16247
16248 2010-06-21 Andreas Schwab <schwab@redhat.com>
16249
16250 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16251 Restore proper fallback handling.
16252
16253 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16254
16255 [BZ #11701]
16256 * posix/group_member.c (__group_member): Correct checking loop.
16257
16258 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16259 OOM in getpwuid_r correctly. Return error number when the caller
16260 should return, otherwise -1.
16261 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16262 call returning > 0 value.
16263 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16264
16265 2010-06-07 Andreas Schwab <schwab@redhat.com>
16266
16267 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16268 libc_nonshared.a from targets in modules-names.
16269
16270 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16271
16272 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16273 requires it.
16274
16275 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16276
16277 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16278 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16279 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16280 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16281
16282 2010-06-02 Andreas Schwab <schwab@redhat.com>
16283
16284 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16285
16286 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16287
16288 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16289 and F_GETPIPE_SZ.
16290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16295 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16296
16297 2010-06-14 Roland McGrath <roland@redhat.com>
16298
16299 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16300
16301 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16302
16303 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16304 __REDIRECT followed by __THROW.
16305 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16306 * posix/getopt.h (getopt): Likewise.
16307
16308 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16309
16310 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16311 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16312 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16313 in AT_FLAGS.
16314 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16315 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16316
16317 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16318
16319 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16320
16321 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16322
16323 [BZ #11640]
16324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16325 Properly check family and model.
16326
16327 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16328
16329 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16330
16331 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16332
16333 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16334
16335 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16336
16337 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16338 symbol reference.
16339
16340 2010-05-19 Andreas Schwab <schwab@redhat.com>
16341
16342 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16343 symbol reference.
16344
16345 2010-05-21 Andreas Schwab <schwab@redhat.com>
16346
16347 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16348 and internal_recvmmsg.
16349 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16350 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16351 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16352 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16353
16354 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16355 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16356 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16357
16358 2010-05-20 Andreas Schwab <schwab@redhat.com>
16359
16360 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16361
16362 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16363
16364 POWER7 optimizations.
16365 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16366 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16367
16368 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16369
16370 * version.h: Update for 2.13 development version.
16371
16372 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16373
16374 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16375 exceptions. Return 0.
16376
16377 2010-05-07 Roland McGrath <roland@redhat.com>
16378
16379 * elf/ldconfig.c (main): Add a const.
16380
16381 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16382
16383 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16384 (args_options): Add no-idn option.
16385 (ahosts_keys_int): Add idn_flags to ai_flags.
16386 (parse_option): Handle 'i' option to clear idn_flags.
16387
16388 * malloc/malloc.c (_int_free): Possible race in the most recently
16389 added check. Only act on the data if no current modification
16390 happened.
16391
16392 See ChangeLog.17 for earlier changes.
This page took 0.812338 seconds and 6 git commands to generate.