]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix gUSA sequence in SH atomic functions in
[thirdparty/glibc.git] / ChangeLog
1 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3
4 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6 (__arch_compare_and_exchange_val_16_acq): Likewise.
7 (__arch_compare_and_exchange_val_32_acq): Likewise.
8 (atomic_exchange_and_add): Fix gUSA sequence.
9 (atomic_add): Likewise.
10 (atomic_add_negative): Likewise.
11 (atomic_add_zero): Likewise.
12 (atomic_bit_test_set): Likewise.
13
14 2012-06-22 Andreas Schwab <schwab@redhat.com>
15
16 [BZ #13579]
17 * include/link.h (struct link_map): Add l_free_initfini.
18 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19 l_initfini.
20 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23 set.
24
25 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26
27 * configure.in: Use AC_LANG_SOURCE.
28 * configure: Regenerate.
29
30 2012-06-22 Roland McGrath <roland@hack.frob.com>
31
32 * configure.in (libc_cv_localstatedir): New substituted variable.
33 * configure: Regenerated.
34 * config.make.in (localstatedir): New variable, substituted from
35 libc_cv_localstatedir.
36 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39 * sysdeps/gnu/configure: Regenerated.
40
41 2012-06-21 Jeff Law <law@redhat.com>
42
43 [BZ #14277]
44 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45 free. Simplify list management for _LIBC case.
46
47 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48
49 [BZ #14273]
50 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
51 Clear sign bit of 64-bit integer value before comparing against
52 overflow value.
53
54 * sysdeps/mach/configure: Regenerated.
55
56 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
57
58 [BZ #14278]
59 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60
61 2012-06-21 Jeff Law <law@redhat.com>
62
63 [BZ #13882]
64 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
65 uint16_t for elements in the "seen" array to avoid char overflows.
66 * elf/dl-fini.c (_dl_sort_fini): Likewise.
67 * elf/dl-open.c (dl_open_worker): Likewise.
68
69 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
70
71 * scripts/list-sources.sh: Scan PORTS for translations.
72 * po/libc.pot: Regenerated.
73
74 2012-06-21 Andreas Jaeger <aj@suse.de>
75
76 [BZ #12194]
77 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
78 warning.
79 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
80 * bits/byteswap-16.h (__bswap_16): Likewise.
81 * bits/byteswap.h (__bswap_constant_16): Likewise.
82
83 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
84
85 [BZ #14117]
86 * sysdeps/i386/fpu_control.h: Removed.
87 * sysdeps/x86_64/fpu_control.h: Moved to ...
88 * sysdeps/x86/fpu_control.h: Here.
89
90 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
91 (_FPU_SETCW): Likewise.
92
93 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
94
95 [BZ #14117]
96 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
97 * sysdeps/x86/fpu/bits/mathinline.h: This.
98 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
99
100 [BZ #14050]
101 [BZ #14117]
102 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
103 functions if __x86_64__ is defined.
104
105 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
106
107 * string/endian.h: Add !__ASSEMBLER__ condition for including
108 conversion interfaces.
109
110 2012-06-15 Joseph Myers <joseph@codesourcery.com>
111
112 [BZ #14241]
113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
114 of ABS(x) in calculating zero to negative powers other than odd
115 integers.
116 * math/libm-test.inc (pow_test): Add more tests.
117
118 2012-06-15 Andreas Jaeger <aj@suse.de>
119
120 * manual/contrib.texi (Contributors): Update entry of Liubov
121 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
122 Machado Filho.
123
124 2012-06-15 Cyril Hrubis <metan@ucw.cz>
125
126 * string/string.h: Add __wur to GNU version of strerror_r.
127
128 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
129
130 [BZ #14229]
131 * string/Makefile (tests): Add tst-strtok_r.
132 * string/tst-strtok_r.c: New file.
133 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
134 RAX_LP/RDX_LP on SAVE_PTR.
135
136 2012-06-14 Roland McGrath <roland@hack.frob.com>
137
138 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
139
140 2012-06-14 Joseph Myers <joseph@codesourcery.com>
141
142 * libm_test.inc (csqrt_test): Allow more spurious underflow
143 exceptions.
144 (j0_test): Likewise.
145 (j1_test): Likewise.
146 (y0_test): Likewise.
147 (y1_test): Likewise.
148
149 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
150
151 * po/Makefile (libc.pot): Use UTF-8 charset.
152
153 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
154
155 [BZ #14210]
156 Suppress sign-conversion warning from FD_SET.
157 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
158 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
159 not unsigned long int.
160 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
161
162 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
163
164 [BZ #14050]
165 [BZ #14117]
166 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
167 __extern_always_inline instead of __extern_inline.
168 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
169 (__signbit): Likewise.
170 (__signbitl): Support C++ namespace.
171 (lrintf): New inline function.
172 (lrint): Likewise.
173 (llrintf): Likewise.
174 (llrint): Likewise.
175 (fmaxf): Likewise.
176 (fmax): Likewise.
177 (fminf): Likewise.
178 (fmin): Likewise.
179 (rint): Likewise.
180 (rintf): Likewise.
181 (ceil): Likewise.
182 (ceilf): Likewise.
183 (floor): Likewise.
184 (floorf): Likewise.
185 (nearbyint): Likewise.
186 (nearbyintf): Likewise.
187
188 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
189
190 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
191 non-default versions.
192
193 2012-06-11 Roland McGrath <roland@hack.frob.com>
194
195 [BZ #14218]
196 * manual/argp.texi (Argp): Reword argp_parse description slightly.
197
198 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
199
200 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
201 (FE_UPWARD, FE_DOWNWARD): Don't define.
202 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
203 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
204
205 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
206 reading it.
207 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
208 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
209
210 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
211
212 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
214 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
215 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
216
217 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
218
219 [BZ #14117]
220 * sysdeps/i386/fpu/bits/fenv.h: Removed.
221 * sysdeps/i386/fpu/Implies: New file.
222 * sysdeps/x86_64/fpu/Implies: Likewise.
223 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
224 * sysdeps/x86/fpu/bits/fenv.h: This.
225
226 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
227 __SSE_MATH__.
228
229 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
230
231 [BZ #14134]
232 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
233 character 0xffff that matches the last element of the
234 conversion table.
235
236 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
237
238 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
239 fmodl commit.
240
241 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
242
243 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
244 values higher than 25.6283.
245
246 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
247
248 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
249 subnormal exponent extraction and add some __builtin_expect.
250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
251 Fix for subnormal mantissa calculation.
252
253 2012-06-04 Mike Frysinger <vapier@gentoo.org>
254
255 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
256 cpu2 is -1 and errno is not ENOSYS.
257
258 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
259
260 [BZ #14117]
261 * sysdeps/i386/i486/bits/string.h: Renamed to ...
262 * sysdeps/x86/bits/string.h: This.
263 * sysdeps/x86_64/bits/string.h: Removed.
264
265 * sysdeps/i386/i486/bits/string.h: Define inline functions only
266 if not compiling for x86-64, but compiling for >= i486.
267
268 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
269 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
270
271 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
272 New macro from Linux kernel 3.4.0.
273 (FP_XSTATE_MAGIC2): Likewise.
274 (FP_XSTATE_MAGIC2_SIZE): Likewise.
275 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
276 (struct _fpx_sw_bytes): New struct.
277 (struct _xsave_hdr): Likewise.
278 (struct _ymmh_state): Likewise.
279 (struct _xstate): Likewise.
280
281 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
282 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
283 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
284 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
285 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
286 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
287
288 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
289 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
290 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
291 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
292 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
293 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
294
295 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
296
297 [BZ #13743]
298 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
299 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
300 (sysdep_headers): Include sys/platform/ppc.h.
301 * sysdeps/powerpc/test-gettimebase.c: Test for
302 __ppc_get_timebase() to catch future ISA opcode/insn changes.
303 * manual/Makefile (appendices): Include platform.texi.
304 * manual/contrib.texi (Contributors): Update @node pointers.
305 * manual/maint.texi (Maintenance): Likewise.
306 (Platform): New node.
307 * manual/platform.texi: New file. Document the new features.
308
309 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
310 Jakub Jelinek <jakub@redhat.com>
311
312 [BZ #14188]
313 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
314 where __builtin_expect is unavailable.
315
316 2012-06-03 David S. Miller <davem@davemloft.net>
317
318 * stdlib/longlong.h: Updated from GCC.
319
320 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
321
322 [BZ #14042]
323 * sysdeps/powerpc/powerpc32/mcount.c: New file.
324 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
325 __mcount_internal.
326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
327 (GLIBC_2.16): Likewise.
328
329 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
330
331 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
332
333 2012-06-01 Joseph Myers <joseph@codesourcery.com>
334
335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
336 (default-abi): New variable.
337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
338 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
339 variable.
340 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
341 Likewise.
342 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
343 Likewise.
344 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
345 Likewise.
346
347 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
348 definition. Document in comment.
349
350 2012-06-01 David S. Miller <davem@davemloft.net>
351
352 * stdlib/longlong.h: Updated from GCC.
353
354 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
355
356 [BZ #14117]
357 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
358 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
359 sys/debugreg.h sys/io.h here.
360 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
361 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
362 sys/io.h.
363 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
364 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
365 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
366 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
367 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
368 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
369
370 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
371 Define only if __x86_64__ is defined.
372
373 2012-06-01 Joseph Myers <joseph@codesourcery.com>
374
375 [BZ #14048]
376 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
377 Use int64_t for variable i.
378 * math/libm-test.inc (fmod_test): Add more tests.
379
380 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
381 z computation is not scheduled after fetestexcept.
382 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
383 Use math_force_eval instead of asm to ensure calculation scheduled
384 before exception test.
385 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
386 Ensure a1 + u.d computation is not scheduled after fetestexcept.
387
388 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
389
390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
391 computation is not scheduled after fetestexcept.
392
393 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
394
395 [BZ #14117]
396 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
397 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
398
399 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
400
401 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
402 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
403
404 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
405
406 [BZ #14117]
407 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
408 <bits/wordsize.h>.
409 (__WCHAR_MIN): Support __WORDSIZE == 64.
410 (__WCHAR_MAX): Likewise.
411
412 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
413 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
414
415 [BZ #14183]
416 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
417 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
418
419 [BZ #14117]
420 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
421 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
422
423 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
424 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
425
426 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
427 Defined to 1 if __x86_64__ isn't defined.
428 (_STAT_VER_LINUX_OLD): New.
429 (st_atime): Remove duplicate.
430 (st_mtime): Likewise.
431 (st_ctime): Likewise.
432
433 2012-05-31 David S. Miller <davem@davemloft.net>
434
435 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
436 entries.
437
438 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
439
440 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
441 gen-libm-test.pl.
442
443 [BZ #14132]
444 * elf/dl-reloc.c: Include <_itoa.h>.
445 (_dl_reloc_bad_type): Remove use of INTUSE.
446 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
447 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
448 * stdio-common/psiginfo.c (psiginfo): Likewise.
449 * stdio-common/psignal.c (psignal): Likewise.
450 * string/strsignal.c (strsignal): Likewise.
451 * include/signal.h (_sys_siglist): Declare hidden proto.
452 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
453 INTVARDEF with libc_hidden_data_def.
454 * stdio-common/itoa-udigits.c: Likewise.
455 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
456 (_itoa_lower_digits_internal): Remove declaration.
457 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
458 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
459 (_sys_sigabbrev_internal): Remove aliases.
460 (_sys_siglist): Define hidden alias.
461
462 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
463
464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
465 bits/sysctl.h.
466
467 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
468
469 [BZ #14117]
470 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
471 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
472
473 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
474 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
475 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
476 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
477 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
478 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
479
480 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
481 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
482 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
483
484 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
485 with __addr.
486 (insw): Likewise.
487 (insl): Likewise.
488 (outsb): Likewise.
489 (outsw): Likewise.
490 (outsl): Likewise.
491
492 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
493 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
494 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
495
496 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
497 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
498 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
499 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
500 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
501 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
502
503 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
504 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
505
506 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
507 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
508
509 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
510 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
511 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
512
513 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
514 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
515 to ...
516 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
517
518 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
519 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
520 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
521
522 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
523 for x86-64.
524 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
525
526 2012-05-31 Joseph Myers <joseph@codesourcery.com>
527
528 * math/math.h (M_El): Use two more decimal places.
529 (M_LOG2El): Likewise.
530 (M_LOG10El): Likewise.
531 (M_LN2l): Likewise.
532 (M_LN10l): Likewise.
533 (M_PIl): Likewise.
534 (M_PI_2l): Likewise.
535 (M_PI_4l): Likewise.
536 (M_1_PIl): Likewise.
537 (M_2_PIl): Likewise.
538 (M_2_SQRTPIl): Likewise.
539 (M_SQRT2l): Likewise.
540 (M_SQRT1_2l): Likewise.
541
542 2012-05-31 David S. Miller <davem@davemloft.net>
543
544 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
545 values between float registers.
546 * sysdeps/sparc/sparc64/memset.S: Likewise.
547 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
548
549 2012-05-31 Mike Frysinger <vapier@gentoo.org>
550
551 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
552 -D_FORTIFY_SOURCE=1.
553 (CPPFLAGS-tst-longjmp_chk.c): Define.
554 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
555 (CPPFLAGS-tst-longjmp_chk2.c): Define.
556 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
557 CFLAGS-tst-wchar-h.c.
558
559 2012-05-31 Marek Polacek <polacek@redhat.com>
560
561 [BZ #14132]
562 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
563 __endmntent_internal): Remove declaration.
564 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
565 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
566 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
567
568 2012-05-30 David S. Miller <davem@davemloft.net>
569
570 * sysdeps/sparc/sparc32/soft-fp/q_util.c
571 (___Q_simulate_exceptions): Use real FP ops rather than writing
572 into the %fsr.
573 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
574 Likewise.
575
576 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
577
578 [BZ #14117]
579 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
580 * sysdeps/x86/bits/xtitypes.h: This.
581
582 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
583 * sysdeps/x86/bits/wordsize.h: This.
584
585 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
586 * sysdeps/x86/bits/huge_vall.h: This.
587
588 * sysdeps/i386/bits/select.h: Removed.
589 * sysdeps/x86_64/bits/select.h: Renamed to ...
590 * sysdeps/x86/bits/select.h: This.
591
592 * sysdeps/i386/bits/setjmp.h: Removed.
593 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
594 * sysdeps/x86/bits/setjmp.h: This.
595
596 * sysdeps/i386/bits/mathdef.h: Removed.
597 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
598 * sysdeps/x86/bits/mathdef.h: This.
599
600 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
601
602 [BZ #14132]
603 * include/sys/socket.h (__connect_internal)
604 (__libc_sa_len_internal): Remove declaration.
605 (__connect, __libc_sa_len): Declare hidden_proto.
606 (SA_LEN): Remove use of INTUSE.
607 * socket/connect.c: Add libc_hidden_def.
608 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
609 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
610 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
611 alias.
612 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
613 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
614 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
615 of adding _internal alias.
616
617 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
618
619 [BZ #14117]
620 * sysdeps/i386/bits/link.h: Removed.
621 * sysdeps/i386/bits/linkmap.h: Likewise.
622 * sysdeps/x86_64/bits/link.h: Renamed to ...
623 * sysdeps/x86/bits/link.h: This.
624 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
625 * sysdeps/x86/bits/linkmap.h: This.
626
627 * sysdeps/i386/bits/endian.h: Removed.
628 * sysdeps/x86_64/bits/endian.h: Renamed to ...
629 * sysdeps/x86/bits/endian.h: This.
630
631 * sysdeps/i386/bits/byteswap.h: Removed.
632 * sysdeps/i386/bits/byteswap-16.h: Likewise.
633 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
634 * sysdeps/x86/bits/byteswap.h: This.
635 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
636 * sysdeps/x86/bits/byteswap-16.h: This.
637 * sysdeps/i386/Implies: Add x86.
638 * sysdeps/x86_64/Implies: Likewise.
639
640 2012-05-30 David S. Miller <davem@davemloft.net>
641
642 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
643 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
644 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
645 (FP_TRAPPING_EXCEPTIONS): Define.
646 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
647 (FP_TRAPPING_EXCEPTIONS): Define.
648 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
649 subnormals only when inexact has been signalled or underflow
650 exceptions are enabled.
651 (_FP_PACK_CANONICAL): Likewise.
652
653 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
654
655 [BZ #14183]
656 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
657 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
658
659 2012-05-30 Richard Henderson <rth@twiddle.net>
660
661 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
662 with #ifndef NOT_IN_libc.
663
664 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
665 marked to avoid plt entry.
666
667 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
668
669 [BZ #14112]
670 * Makeconfig (default-abi): New macro.
671 (abi-includes): Likewise.
672 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
673 $(abi-$(default-abi)-lib-soname) for soname if defined.
674 ($(common-objpfx)gnu/lib-names.stmp): Generate from
675 abi-variants.
676 * Makefile (installed-stubs): Likewise.
677 * include/stubs-biarch.h: Removed.
678 * scripts/lib-names.awk: Only handle one library at a time.
679 * scripts/soversions.awk: Remove WORDSIZE support.
680 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
681 entries.
682 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
683 Removed.
684 (syscall-list-default-condition): Likewise.
685 (syscall-list-default-condition): Likewise.
686 (syscall-list-includes): Likewise.
687 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
688 syscall-list-* with abi-*. Handle undefined abi-variants.
689 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
690 * sysdeps/unix/sysv/linux/i386/Implies: New file.
691 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
692 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
693 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
694 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
695 Removed.
696 (syscall-list-32-options): Likewise.
697 (syscall-list-32-condition): Likewise.
698 (syscall-list-64-options): Likewise.
699 (syscall-list-64-condition): Likewise.
700 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
701 macro.
702 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
703 Renamed to ...
704 (abi-*): This.
705 (abi-64-ld-soname): New macro.
706 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
707 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
708 Renamed to ...
709 (abi-*): This.
710 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
711 * sysdeps/x86_64/x32/shlib-versions: Likewise.
712
713 2012-05-30 Joseph Myers <joseph@codesourcery.com>
714
715 * sysdeps/unix/sysv/linux/kernel-features.h
716 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
717 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
718 include <kernel-features.h>.
719 [!__NR_ftruncate64]: Remove conditional code.
720 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
721 [__NR_ftruncate64]: Make code unconditional.
722 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
723 * sysdeps/unix/sysv/linux/truncate64.c: Do not
724 include <kernel-features.h>.
725 [!__NR_ftruncate64]: Remove conditional code.
726 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
727 [__NR_ftruncate64]: Make code unconditional.
728 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
730 include <kernel-features.h>.
731 [!__NR_ftruncate64]: Remove conditional code.
732 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
733 [__NR_ftruncate64]: Make code unconditional.
734 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
736 include <kernel-features.h>.
737 [!__NR_ftruncate64]: Remove conditional code.
738 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
739 [__NR_ftruncate64]: Make code unconditional.
740 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
741
742 * configure.in (libc_cv_fpie): Weaken to a compile test using
743 LIBC_TRY_CC_OPTION.
744 * configure: Regenerated.
745
746 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
747
748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
752 Refreshed.
753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
759 Refreshed.
760
761 2012-05-27 David S. Miller <davem@davemloft.net>
762
763 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
764 (___Q_zero): New.
765 (__Q_simulate_exceptions): Return void. Change to simulate
766 exceptions by writing into the %fsr.
767 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
768 (__Qp_handle_exceptions): Likewise.
769 (numbers): Delete.
770 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
771 __Qp_handle_exceptions.
772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
773 __Qp_handle_exceptions.
774 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
775 as unused and give dummy FP_RND_NEAREST initializer.
776 (FP_INHIBIT_RESULTS): Define.
777 (___Q_simulate_exceptions): Update declaration.
778 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
779 formatting.
780 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
781 as unused and give dummy FP_RND_NEAREST initializer.
782 (__Qp_handle_exceptions): Update declaration.
783 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
784 formatting.
785
786 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
787
788 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
789 the temporary FPU control word.
790 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
791 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
792 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
793 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
794 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
795 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
796 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
797 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
798 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
799 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
800 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
801
802 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
803
804 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
805 fields.
806
807 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
808
809 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
810 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
811 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
812 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
813 Likewise.
814 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
815 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
816 Likewise.
817
818 2012-05-27 Ulrich Drepper <drepper@gmail.com>
819
820 * po/h.po: Update from translation team.
821
822 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
823
824 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
825
826 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
827 handling of denormals.
828 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
829 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
830 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
831 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
832 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
833 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
834 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
835 Likewise.
836
837 2012-05-26 Marek Polacek <polacek@redhat.com>
838
839 [BZ #14152]
840 * math/libm-test.inc (fma_test): Don't always expect underflow
841 exception.
842
843 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
844
845 [BZ #12416]
846 * elf/tst-execstack.c: Include stackinfo.h.
847 (do_test): Adjust test case to ensure that pthread_getattr_np
848 behaviour remains the same after marking stack executable.
849
850 2012-05-25 Joseph Myers <joseph@codesourcery.com>
851
852 * sysdeps/unix/sysv/linux/kernel-features.h
853 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
854 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
855 kernel-features.h.
856 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
857 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
858 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
859 kernel-features.h.
860 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
861 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
862
863 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
864
865 * configure.in: Define the default includes to being none.
866 * configure: Regenerated.
867
868 2012-05-25 Roland McGrath <roland@hack.frob.com>
869
870 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
871 * sysdeps/x86_64/setjmp.S: Likewise.
872 * sysdeps/i386/bsd-setjmp.S: Likewise.
873 * sysdeps/i386/bsd-_setjmp.S: Likewise.
874 * sysdeps/i386/setjmp.S: Likewise.
875 * sysdeps/i386/__longjmp.S: Likewise.
876 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
877 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
878
879 * include/stap-probe.h: New file.
880 * configure.in: Handle --enable-systemtap.
881 * configure: Regenerated.
882 * config.h.in (USE_STAP_PROBE): New #undef.
883 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
884 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
885 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
886
887 2012-05-25 Joseph Myers <joseph@codesourcery.com>
888
889 [BZ #13717]
890 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
891 to 2.4.0 where earlier.
892 * sysdeps/unix/sysv/linux/configure: Regenerated.
893 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
894 <kernel-features.h>.
895 [__ASSUME_32BITUIDS]: Make code unconditional.
896 [!__ASSUME_32BITUIDS]: Remove conditional code.
897 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
898 <kernel-features.h>.
899 [__ASSUME_32BITUIDS]: Make code unconditional.
900 [!__ASSUME_32BITUIDS]: Remove conditional code.
901 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
902 [__ASSUME_32BITUIDS]: Make code unconditional.
903 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
904 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
905 <kernel-features.h>.
906 [__ASSUME_32BITUIDS]: Make code unconditional.
907 [!__ASSUME_32BITUIDS]: Remove conditional code.
908 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
909 <kernel-features.h>.
910 [__ASSUME_32BITUIDS]: Make code unconditional.
911 [!__ASSUME_32BITUIDS]: Remove conditional code.
912 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
913 <kernel-features.h>.
914 [__ASSUME_32BITUIDS]: Make code unconditional.
915 [!__ASSUME_32BITUIDS]: Remove conditional code.
916 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
917 <kernel-features.h>.
918 [__ASSUME_32BITUIDS]: Make code unconditional.
919 [!__ASSUME_32BITUIDS]: Remove conditional code.
920 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
921 <kernel-features.h>.
922 [__ASSUME_32BITUIDS]: Make code unconditional.
923 [!__ASSUME_32BITUIDS]: Remove conditional code.
924 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
925 <kernel-features.h>.
926 [__ASSUME_32BITUIDS]: Make code unconditional.
927 [!__ASSUME_32BITUIDS]: Remove conditional code.
928 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
929 <kernel-features.h>.
930 [__ASSUME_32BITUIDS]: Make code unconditional.
931 [!__ASSUME_32BITUIDS]: Remove conditional code.
932 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
933 <kernel-features.h>.
934 [__ASSUME_32BITUIDS]: Make code unconditional.
935 [!__ASSUME_32BITUIDS]: Remove conditional code.
936 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
937 <kernel-features.h>.
938 [__ASSUME_32BITUIDS]: Make code unconditional.
939 [!__ASSUME_32BITUIDS]: Remove conditional code.
940 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
941 <kernel-features.h>.
942 [__ASSUME_32BITUIDS]: Make code unconditional.
943 [!__ASSUME_32BITUIDS]: Remove conditional code.
944 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
945 <kernel-features.h>.
946 [__NR_setresgid] (__setresgid): Do not declare.
947 [__ASSUME_32BITUIDS]: Make code unconditional.
948 [!__ASSUME_32BITUIDS]: Remove conditional code.
949 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
950 <kernel-features.h>.
951 [__NR_setresuid] (__setresuid): Do not declare.
952 [__ASSUME_32BITUIDS]: Make code unconditional.
953 [!__ASSUME_32BITUIDS]: Remove conditional code.
954 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
955 <kernel-features.h>.
956 [__ASSUME_32BITUIDS]: Make code unconditional.
957 [!__ASSUME_32BITUIDS]: Remove conditional code.
958 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
959 <kernel-features.h>.
960 [__ASSUME_32BITUIDS]: Make code unconditional.
961 [!__ASSUME_32BITUIDS]: Remove conditional code.
962 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
963 <kernel-features.h>.
964 [__ASSUME_32BITUIDS]: Make code unconditional.
965 [!__ASSUME_32BITUIDS]: Remove conditional code.
966 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
967 <kernel-features.h>.
968 [__ASSUME_32BITUIDS]: Make code unconditional.
969 [!__ASSUME_32BITUIDS]: Remove conditional code.
970 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
971 <kernel-features.h>.
972 [__ASSUME_32BITUIDS]: Make code unconditional.
973 [!__ASSUME_32BITUIDS]: Remove conditional code.
974 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
975 <kernel-features.h>.
976 [__ASSUME_32BITUIDS]: Make code unconditional.
977 [!__ASSUME_32BITUIDS]: Remove conditional code.
978 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
979 <kernel-features.h>.
980 [__ASSUME_32BITUIDS]: Make code unconditional.
981 [!__ASSUME_32BITUIDS]: Remove conditional code.
982 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
983 <kernel-features.h>.
984 [__ASSUME_32BITUIDS]: Make code unconditional.
985 [!__ASSUME_32BITUIDS]: Remove conditional code.
986 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
987 <kernel-features.h>.
988 [__ASSUME_32BITUIDS]: Make code unconditional.
989 [!__ASSUME_32BITUIDS]: Remove conditional code.
990 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
991 <kernel-features.h>.
992 [__ASSUME_32BITUIDS]: Make code unconditional.
993 [!__ASSUME_32BITUIDS]: Remove conditional code.
994 * sysdeps/unix/sysv/linux/kernel-features.h
995 (__ASSUME_SETRESUID_SYSCALL): Remove.
996 (__ASSUME_SETRESGID_SYSCALL): Likewise.
997 (__ASSUME_32BITUIDS): Likewise.
998 (__ASSUME_LDT_WORKS): Likewise.
999 (__ASSUME_O_DIRECTORY): Likewise.
1000 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1001 architecture but not kernel version.
1002 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1003 (__ASSUME_MMAP2_SYSCALL): Likewise.
1004 (__ASSUME_STAT64_SYSCALL): Likewise.
1005 (__ASSUME_IPC64): Likewise.
1006 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1007 <kernel-features.h>.
1008 [__ASSUME_32BITUIDS]: Make code unconditional.
1009 [!__ASSUME_32BITUIDS]: Remove conditional code.
1010 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1011 <kernel-features.h>.
1012 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1013 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1014 132096]: Remove conditional code.
1015 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1016 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1017 <kernel-features.h>.
1018 [__ASSUME_32BITUIDS]: Make code unconditional.
1019 [!__ASSUME_32BITUIDS]: Remove conditional code.
1020 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1021 <kernel-features.h>.
1022 [__ASSUME_32BITUIDS]: Make code unconditional.
1023 [!__ASSUME_32BITUIDS]: Remove conditional code.
1024 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1025 <kernel-features.h>.
1026 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1027 unconditional.
1028 (__setresgid): Do not declare.
1029 [__ASSUME_32BITUIDS]: Make code unconditional.
1030 [!__ASSUME_32BITUIDS]: Remove conditional code.
1031 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1032 <kernel-features.h>.
1033 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1034 unconditional.
1035 (__setresuid): Do not declare.
1036 [__ASSUME_32BITUIDS]: Make code unconditional.
1037 [!__ASSUME_32BITUIDS]: Remove conditional code.
1038 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1039 <kernel-features.h>.
1040 [__ASSUME_32BITUIDS]: Make code unconditional.
1041 [!__ASSUME_32BITUIDS]: Remove conditional code.
1042 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1043 <kernel-features.h>.
1044 [__ASSUME_32BITUIDS]: Make code unconditional.
1045 [!__ASSUME_32BITUIDS]: Remove conditional code.
1046
1047 2012-05-25 Richard Henderson <rth@twiddle.net>
1048
1049 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1050 dl_hwcap to ifunc resolver.
1051 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1052 elf_ifunc_invoke.
1053 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1054 dl_hwcap to ifunc resolver.
1055 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1056
1057 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1058
1059 [BZ #14153]
1060 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1061 for |x| <= 2**-26, not 2**-57.
1062 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1063 exception.
1064
1065 2012-05-24 Jeff Law <law@redhat.com>
1066
1067 * stdio-common/Makefile (tests): Add bug25.
1068 * stdio-common/bug25.c: New test.
1069
1070 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1071
1072 [BZ #13576]
1073 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1074 multiple of MALLOC_ALIGNMENT in size.
1075 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1076
1077 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1078
1079 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1080 Require >= 256.
1081 (FILENAME_MAX): Use macro-int-constant.
1082 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1083 (_IOFBF): Use macro-int-constant.
1084 (_IOLBF): Likewise.
1085 (_IONBF): Likewise.
1086 (SEEK_CUR): Likewise.
1087 (SEEK_END): Likewise.
1088 (SEEK_SET): Likewise.
1089 (TMP_MAX): Likewise.
1090 (EOF): Use macro-int-constant. Require < 0.
1091 (NULL): Use macro-constant. Require == 0.
1092 (stdin): Require type to be FILE *.
1093 (stdout): Likewise.
1094 (stderr): Likewise.
1095 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1096 macro-int-constant.
1097 (EXIT_SUCCESS): Likewise.
1098 (NULL): Use macro-constant. Require == 0.
1099 (RAND_MAX): Use macro-int-constant.
1100 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1101 [C99-based standards] (strtof): Require function.
1102 [C99-based standards] (strtold): Likewise.
1103 [C99-based standards] (strtoll): Likewise.
1104 [C99-based standards] (strtoull): Likewise.
1105 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1106 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1107 [ISO || ISO99 || ISO11] (math.h): Likewise.
1108 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1109 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1111
1112 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1113
1114 [BZ #14132]
1115 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1116 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1117 * intl/dgettext.c (DCGETTEXT): Likewise.
1118 * intl/gettext.c (DCGETTEXT): Likewise.
1119 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1120 * posix/regex_internal.h (gettext): Likewise.
1121 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1122 Remove declaration.
1123 * include/argz.h (__argz_count_internal)
1124 (__argz_stringify_internal): Remove declaration.
1125 (__argz_count, __argz_stringify): Declare hidden proto.
1126 * intl/dcgettext.c: Remove use of INTDEF.
1127 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1128 * string/argz-stringify.c: Likewise.
1129 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1130 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1131 Declare hidden proto.
1132 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1133 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1134 Declare hidden proto.
1135 * include/stdio.h (__asprintf_internal): Don't declare.
1136 (__asprintf): Don't define as macro. Declare hidden proto.
1137 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1138 (__fsetlocking): Declare hidden proto.
1139 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1140 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1141 hidden proto.
1142 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1143 (_IO_setlinebuf): Remove use of INTUSE.
1144 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1145 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1146 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1147 Remove declaration.
1148 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1149 (_IO_do_flush): Remove use of INTUSE.
1150 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1151 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1152 (_IO_adjust_column, _IO_least_wmarker)
1153 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1154 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1155 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1156 (_IO_default_doallocate, _IO_wdefault_doallocate)
1157 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1158 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1159 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1160 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1161 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1162 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1163 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1164 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1165 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1166 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1167 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1168 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1169 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1170 proto.
1171 (_IO_flush_all_internal, _IO_adjust_column_internal)
1172 (_IO_default_uflow_internal, _IO_default_finish_internal)
1173 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1174 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1175 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1176 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1177 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1178 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1179 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1180 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1181 (_IO_file_close_internal, _IO_file_close_it_internal)
1182 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1183 (_IO_file_init_internal, _IO_file_attach_internal)
1184 (_IO_file_fopen_internal, _IO_file_read_internal)
1185 (_IO_file_sync_internal, _IO_file_seek_internal)
1186 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1187 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1188 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1189 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1190 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1191 (_IO_list_all_internal, _IO_link_in_internal)
1192 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1193 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1194 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1195 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1196 (_IO_do_write_internal, _IO_padn_internal)
1197 (_IO_getline_info_internal, _IO_getline_internal)
1198 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1199 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1200 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1201 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1202 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1203 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1204 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1205 with libc_hidden_ver, remove use of INTUSE.
1206 * libio/genops.c: Likewise.
1207 * libio/freopen.c: Likewise.
1208 * libio/freopen64.c: Likewise.
1209 * libio/iofclose.c: Likewise.
1210 * libio/iofdopen.c: Likewise.
1211 * libio/iofflush.c: Likewise.
1212 * libio/iofflush_u.c: Likewise.
1213 * libio/iofgets.c: Likewise.
1214 * libio/iofgets_u.c: Likewise.
1215 * libio/iofopen.c: Likewise.
1216 * libio/iofopncook.c: Likewise.
1217 * libio/iofread.c: Likewise.
1218 * libio/iofread_u.c: Likewise.
1219 * libio/ioftell.c: Likewise.
1220 * libio/iofwrite.c: Likewise.
1221 * libio/iogetline.c: Likewise.
1222 * libio/iogets.c: Likewise.
1223 * libio/iogetwline.c: Likewise.
1224 * libio/iopadn.c: Likewise.
1225 * libio/iopopen.c: Likewise.
1226 * libio/ioseekoff.c: Likewise.
1227 * libio/ioseekpos.c: Likewise.
1228 * libio/iosetbuffer.c: Likewise.
1229 * libio/iosetvbuf.c: Likewise.
1230 * libio/ioungetc.c: Likewise.
1231 * libio/ioungetwc.c: Likewise.
1232 * libio/iovdprintf.c: Likewise.
1233 * libio/iovsprintf.c: Likewise.
1234 * libio/iovsscanf.c: Likewise.
1235 * libio/memstream.c: Likewise.
1236 * libio/obprintf.c: Likewise.
1237 * libio/oldfileops.c: Likewise.
1238 * libio/oldiofclose.c: Likewise.
1239 * libio/oldiofdopen.c: Likewise.
1240 * libio/oldiofopen.c: Likewise.
1241 * libio/oldiopopen.c: Likewise.
1242 * libio/oldstdfiles.c: Likewise.
1243 * libio/putc.c: Likewise.
1244 * libio/setbuf.c: Likewise.
1245 * libio/setlinebuf.c: Likewise.
1246 * libio/stdfiles.c: Likewise.
1247 * libio/strops.c: Likewise.
1248 * libio/vasprintf.c: Likewise.
1249 * libio/vscanf.c: Likewise.
1250 * libio/vsnprintf.c: Likewise.
1251 * libio/vswprintf.c: Likewise.
1252 * libio/wfiledoalloc.c: Likewise.
1253 * libio/wfileops.c: Likewise.
1254 * libio/wgenops.c: Likewise.
1255 * libio/wmemstream.c: Likewise.
1256 * libio/wstrops.c: Likewise.
1257 * libio/__fpurge.c: Likewise.
1258 * libio/__fsetlocking.c: Likewise.
1259 * assert/assert.c: Likewise.
1260 * debug/fgets_chk.c: Likewise.
1261 * debug/fgets_u_chk.c: Likewise.
1262 * debug/fread_chk.c: Likewise.
1263 * debug/fread_u_chk.c: Likewise.
1264 * debug/gets_chk.c: Likewise.
1265 * debug/obprintf_chk.c: Likewise.
1266 * debug/vasprintf_chk.c: Likewise.
1267 * debug/vdprintf_chk.c: Likewise.
1268 * debug/vsnprintf_chk.c: Likewise.
1269 * debug/vsprintf_chk.c: Likewise.
1270 * malloc/mtrace.c: Likewise.
1271 * misc/error.c: Likewise.
1272 * misc/syslog.c: Likewise.
1273 * stdio-common/asprintf.c: Likewise.
1274 * stdio-common/fxprintf.c: Likewise.
1275 * stdio-common/getw.c: Likewise.
1276 * stdio-common/isoc99_fscanf.c: Likewise.
1277 * stdio-common/isoc99_scanf.c: Likewise.
1278 * stdio-common/isoc99_vfscanf.c: Likewise.
1279 * stdio-common/isoc99_vscanf.c: Likewise.
1280 * stdio-common/isoc99_vsscanf.c: Likewise.
1281 * stdio-common/printf-prs.c: Likewise.
1282 * stdio-common/printf_fp.c: Likewise.
1283 * stdio-common/printf_fphex.c: Likewise.
1284 * stdio-common/printf_size.c: Likewise.
1285 * stdio-common/putw.c: Likewise.
1286 * stdio-common/scanf.c: Likewise.
1287 * stdio-common/sprintf.c: Likewise.
1288 * stdio-common/tmpfile.c: Likewise.
1289 * stdio-common/vfprintf.c: Likewise.
1290 * stdio-common/vfscanf.c: Likewise.
1291 * stdlib/strfmon_l.c: Likewise.
1292 * sunrpc/openchild.c: Likewise.
1293 * sunrpc/xdr_stdio.c: Likewise.
1294 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1295 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1296
1297 2012-05-24 Roland McGrath <roland@hack.frob.com>
1298
1299 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1300
1301 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1302 in the third column, to generate for the shared library an IFUNC
1303 that uses _dl_vdso_vsym.
1304 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1305 * Makeconfig (object-suffixes-noshared): New variable.
1306
1307 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1308 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1309 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1310 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1311
1312 [BZ #14132]
1313 * include/sys/time.h (__gettimeofday): Remove macro.
1314 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1315 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1316 Remove INTDEF.
1317 (__gettimeofday): Add libc_hidden_def.
1318 (gettimeofday): Add libc_hidden_weak.
1319 * sysdeps/mach/gettimeofday.c: Likewise.
1320 * sysdeps/posix/gettimeofday.c: Likewise.
1321 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1322 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1323 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1324 (__gettimeofday_internal): Remove strong_alias.
1325 (__gettimeofday): Add libc_hidden_def.
1326 (gettimeofday): Add libc_hidden_weak.
1327 * sysdeps/unix/syscalls.list (gettimeofday):
1328 Remove __gettimeofday_internal alias.
1329
1330 2012-05-24 Daniel Jacobowitz <drow@false.org>
1331 H.J. Lu <hongjiu.lu@intel.com>
1332
1333 [BZ #12495]
1334 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1335 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1336 (largebin_index_32_big): New.
1337 (largebin_index): Use it for 16-byte alignment.
1338 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1339 correction with front_misalign.
1340
1341 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1345 Likewise.
1346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1347 Likewise.
1348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1349 Likewise.
1350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1351 Likewise.
1352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1353 Likewise.
1354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1355 Likewise.
1356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1357 Likewise.
1358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1359 Likewise.
1360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1361 Likewise.
1362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1363 Likewise.
1364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1365 Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1367 Likewise.
1368
1369 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1370 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1371
1372 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1373
1374 [BZ #10846]
1375 [BZ #14036]
1376 * math/libm-test.inc (exp_test): Add test from bug 14036.
1377 (pow_test): Add test from bug 10846.
1378
1379 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1380 and other flags.
1381 (special_function): Do not include flags in test name.
1382 (parse_args): Likewise.
1383 * sysdeps/i386/fpu/libm-test-ulps: Update.
1384 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1385 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1386 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1388
1389 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1390 exceptions.
1391 * math/libm-test.inc ("Philosophy"): Update comment about
1392 exception testing.
1393 (UNDERFLOW_EXCEPTION): New macro.
1394 (UNDERFLOW_EXCEPTION_OK): Likewise.
1395 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1396 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1397 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1398 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1399 (INVALID_EXCEPTION_OK): Update value.
1400 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1401 (OVERFLOW_EXCEPTION_OK): Likewise.
1402 (IGNORE_ZERO_INF_SIGN): Likewise.
1403 (test_exceptions): Handle underflow exceptions.
1404 (acos_test): Update for underflow exception expectations.
1405 (cexp_test): Likewise.
1406 (clog_test): Likewise.
1407 (clog10_test): Likewise.
1408 (csqrt_test): Likewise.
1409 (ctan_test): Likewise.
1410 (ctanh_test): Likewise.
1411 (exp_test): Likewise.
1412 (exp10_test): Likewise.
1413 (exp2_test): Likewise.
1414 (expm1_test): Likewise.
1415 (fma_test): Likewise.
1416 (j0_test): Likewise.
1417 (jn_test): Likewise.
1418 (nexttoward_test): Likewise.
1419 (pow_test): Likewise.
1420 (scalbn_test): Likewise.
1421 (scalbln_test): Likewise.
1422 (tan_test): Likewise.
1423 (y1_test): Likewise.
1424 * sysdeps/i386/fpu/libm-test-ulps: Update.
1425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1426
1427 2012-05-23 David S. Miller <davem@davemloft.net>
1428
1429 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1430 (__libc_sigaction): Remove unused local variables.
1431
1432 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1433
1434 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1435
1436 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1437
1438 mktime: avoid signed integer overflow
1439 * time/mktime.c (__mktime_internal): Do not mishandle the case
1440 where diff == INT_MIN.
1441
1442 mktime: simplify computation of average
1443 * time/mktime.c (ranged_convert): Use new time_t_avg function
1444 instead of rolling our own (probably-slower) code.
1445
1446 mktime: do not assume signed right shift propagates sign bit
1447 * time/mktime.c (isdst_differ): New static function.
1448 (__mktime_internal): No need to normalize tm_isdst now.
1449 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1450 tm_isdst values.
1451
1452 mktime: merge another wrapv change from gnulib
1453 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1454 from some compilers.
1455
1456 mktime: remove incorrect attempt at unusual arithmetics
1457 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1458 The code didn't really work on such machines anyway.
1459 (TYPE_MINIMUM): Assume two's complement.
1460 (twos_complement_arithmetic): Verify that long_int and time_t
1461 are two's complement (or unsigned, in the latter case).
1462
1463 mktime: check signed shifts on long_int and time_t, too
1464 * time/mktime.c (SHR): Check that shifts work as desired
1465 on the types long_int and time_t too, as SHR is used on
1466 such types.
1467
1468 mktime: do not assume 'long' is wide enough
1469 * time/mktime.c (verify): Move decl up.
1470 (long_int): New type.
1471 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1472 to remove assumption in the code that 'long' is wide enough to
1473 store year values. This assumption is not true on x32 and on
1474 some non-glibc platforms.
1475
1476 mktime: merge wrapv change from gnulib
1477 * time/mktime.c (WRAPV): New macro.
1478 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1479 (guess_time_tm, __mktime_internal): Do not assume that signed
1480 integer overflow wraps around; modern compilers generate code
1481 where this assumption is no longer valid.
1482
1483 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1484
1485 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1486 Replace "jmp L(pseudo_end)" with "ret".
1487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1488 Likewise.
1489
1490 2012-05-23 Andreas Jaeger <aj@suse.de>
1491
1492 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1493 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1494
1495 2012-05-23 Andreas Jaeger <aj@suse.de>
1496 Maximilian Attems <max@stro.at>
1497
1498 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1499 New macros.
1500
1501 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1502
1503 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1504 code so that pseudo_end is just ret and the stack pointer is
1505 correct also for static library in error case.
1506
1507 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1508
1509 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1510 move to syscalls.list.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1515
1516 * manual/install.texi (Running make install): Do not mention Linux
1517 kernel version for which pt_chown is not needed.
1518 (Linux): Do not mention problems with nscd with 2.0 kernels.
1519 * INSTALL: Regenerated.
1520
1521 2012-05-23 Andreas Jaeger <aj@suse.de>
1522
1523 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1524 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1525 macro.
1526 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1527 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1528 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1529 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1530 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1531 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1532 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1533 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1534 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1535 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1536 * sysdeps/unix/sysv/linux/bits/in.h
1537 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1538
1539 2012-05-22 Roland McGrath <roland@hack.frob.com>
1540
1541 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1542 (PREPARE_VERSION): Just use assert instead, it will be elided
1543 under [NDEBUG] anyway.
1544
1545 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 * sysdeps/unix/sysv/linux/Makefile: Include
1548 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1549 (sysdep_routines): Remove sysctl.
1550 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1551 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1552 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1553 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1554 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1555
1556 2012-05-22 Andreas Jaeger <aj@suse.de>
1557
1558 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1559 that pseudo_end is just ret and the stack pointer is correct also
1560 for static library in error case.
1561
1562 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1563
1564 [BZ #14122]
1565 * nss/nsswitch.c (defconfig_entries): New variable.
1566 (__nss_database_lookup): Don't leak defconfig entries.
1567 (nss_parse_service_list): Don't leak on error paths.
1568 (free_database_entries): New function.
1569 (free_defconfig): New function.
1570 (free_mem): Move common code to free_database_entries.
1571
1572 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1573
1574 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1575 Add arch_prctl.
1576 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1577
1578 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1579 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1581 New macro.
1582 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1583 (INTERNAL_SYSCALL_TYPES): Likewise.
1584 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1585 (LOAD_REGS_TYPES_[1-6]): Likewise.
1586 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1587 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1588
1589 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1590
1591 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1592 copysignl for GLIBC_2_0.
1593 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1594 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1596 logbl for GLIBC_2_0.
1597 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1598 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1599
1600 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1601
1602 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1603 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1604
1605 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1606 Use "neg %eax".
1607
1608 * time/mktime.c: Update copyright years.
1609
1610 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1611
1612 mktime: merge comment-quoting-style change from gnulib
1613 * time/mktime.c: Quote 'like this' in comments.
1614 The GNU coding standards suggest that we no longer quote `like this',
1615 as "`" and "'" are typically rendered asymmetrically nowadays.
1616 The typical gnulib style is to quote 'like this' when quoting
1617 code, and "like this" when quoting English.
1618
1619 * time/mktime.c (compile-command): Add "-I.".
1620
1621 mktime: merge mktime-internal.h change from gnulib
1622 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1623
1624 mktime: merge time_r change from gnulib
1625 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1626
1627 mktime: merge DEBUG change from gnulib
1628 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1629 case system <time.h> has a #define.
1630
1631 mktime: merge <sys/types.h> change from gnulib
1632 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1633 since <time.t> is now guaranteed to define time_t.
1634
1635 mktime: merge HAVE_CONFIG_H change from gnulib
1636 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1637
1638 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1639
1640 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1641 Use "neg %eax".
1642
1643 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1644 __rlim_t cast.
1645 (struct rusage): Use anonymous union to pad each field to
1646 __syscall_slong_t.
1647
1648 2012-05-21 David S. Miller <davem@davemloft.net>
1649
1650 * Makefules (o-iterator): Remove .s cases.
1651 (compile-command.s): Delete.
1652 (COMPILE.s): Delete.
1653 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1654
1655 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1656
1657 * configure.in (libc_cv_predef_stack_protector): Only consider
1658 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1659 * configure: Regenerated.
1660
1661 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1662
1663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1664 New macro. Use R*LP on int and pointer.
1665 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1666 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1667 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1668 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1669
1670 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1671 [__WORDSIZE_TIME64_COMPAT32] instead of
1672 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1673 (struct utmp): Likewise.
1674 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1675 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1676 Renamed to ...
1677 (__WORDSIZE_TIME64_COMPAT32): This.
1678 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1679 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1680 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1681 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1682 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1683 (__WORDSIZE_TIME64_COMPAT32): New macro.
1684
1685 2012-05-21 Andreas Jaeger <aj@suse.de>
1686
1687 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1688 only if [SHARED]. Add prototype for __wcschr_ia32.
1689
1690 2012-05-21 Roland McGrath <roland@hack.frob.com>
1691
1692 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1693 of %rbp unmolested in the jmp_buf while mangling the low bits.
1694 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1695 unmolested high bits of %rbp while demangling the low bits.
1696 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1697
1698 2012-05-21 Andreas Jaeger <aj@suse.de>
1699
1700 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1701 * sunrpc/svc_simple.c: Use it for registerrpc.
1702 * sunrpc/xcrypt.c: Use it for passwd2des.
1703
1704 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1705
1706 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1709 Don't define if [__SYSCALL_WORDSIZE != 32].
1710 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1711 New macro.
1712
1713 2012-05-21 Bruno Haible <bruno@clisp.org>
1714 Andreas Jaeger <aj@suse.de>
1715
1716 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1717 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1718 inptr and inend for must_buffer_ch.
1719 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1720 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1721 * stdio-common/Makefile (tests): Remove bug15.
1722 (bug15-ENV): Remove macro.
1723 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1724 anymore.
1725
1726 2012-05-19 Andreas Jaeger <aj@suse.de>
1727 Roland McGrath <roland@hack.frob.com>
1728
1729 * manual/contrib.texi: Completely rewritten. It contains now an
1730 alphabetical list of contributors and their contributions.
1731
1732 2012-05-21 Richard Henderson <rth@twiddle.net>
1733
1734 * misc/getauxval.c (__getauxval): Use unsigned long int.
1735 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1736 (getauxval): Use unsigned long int.
1737
1738 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1739
1740 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1741
1742 2012-05-21 Roland McGrath <roland@hack.frob.com>
1743
1744 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1745 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1746 __alignof__ (long double).
1747
1748 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1749
1750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1751
1752 2012-05-20 Richard Henderson <rth@twiddle.net>
1753
1754 * misc/getauxval.c: New file.
1755 * misc/sys/auxv.h: New file.
1756 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1757 (routines): Add getauxval.
1758 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1759 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1760 * elf/dl-sysdep.c (_dl_auxv): Remove.
1761 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1762 * elf/dl-support.c (_dl_auxv): New variable.
1763 (_dl_aux_init): Initialize it.
1764 * manual/startup.texi (Auxiliary Vector): New node.
1765 * sysdeps/generic/bits/hwcap.h: New file.
1766 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1767 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1768 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1769 * sysdeps/sparc/sysdep.h: ... here. Include it.
1770 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1773 Update.
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1777 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1782
1783 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1784
1785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1786
1787 2012-05-19 David S. Miller <davem@davemloft.net>
1788
1789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1790
1791 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1792
1793 [BZ #14123]
1794 * math/s_ccosh.c: Include <float.h>
1795 (__ccosh): Avoid internal overflow calculating sinh and cosh
1796 values before multiplying by sin and cos values.
1797 * math/s_ccoshf.c: Likewise.
1798 * math/s_ccoshl.c: Likewise.
1799 * math/s_csin.c: Likewise.
1800 * math/s_csinf.c: Likewise.
1801 * math/s_csinl.c: Likewise.
1802 * math/s_csinh.c: Likewise.
1803 * math/s_csinhf.c: Likewise.
1804 * math/s_csinhl.c: Likewise.
1805 * math/libm-test.inc (ccos_test): Add more tests.
1806 (ccosh_test): Likewise.
1807 (csin_test): Likewise.
1808 (csinh_test): Likewise.
1809 * sysdeps/i386/fpu/libm-test-ulps: Update.
1810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1811
1812 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1813
1814 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1815 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1816
1817 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1818
1819 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1820
1821 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1822 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1823 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1824 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1825 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1826 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1827 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1828 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1829 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1830 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1831 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1832 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1833 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1834 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1835 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1836 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1837 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1838 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1839 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1840 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1841 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1842 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1843 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1844 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1845 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1846 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1847 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1848 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1849 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1850 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1851 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1852
1853 2012-05-18 Andreas Jaeger <aj@suse.de>
1854
1855 * csu/.gitignore: Delete.
1856
1857 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1858
1859 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1860 (timex): Use __syscall_slong_t.
1861
1862 2012-05-18 Andreas Jaeger <aj@suse.de>
1863 Carlos O'Donell <carlos_odonell@mentor.com>
1864
1865 * manual/install.texi (Configuring and compiling): Update
1866 description about files modified in the source directory.
1867 * INSTALL: Regenerated.
1868
1869 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1870
1871 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1872 value. Use "or" to set return value to -1.
1873 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1874 negate return value.
1875
1876 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1877
1878 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1879 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1880 failure if the compiler has Graphite support disabled.
1881 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1882 Likewise.
1883 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1884 CFLAGS-memmove.c): Likewise.
1885 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1886 Likewise.
1887
1888 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1889
1890 * sysdeps/x86_64/x32/_itoa.h: New file.
1891
1892 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1893 getdents system call only if kernel and user dirents have the
1894 same d_ino and d_off.
1895
1896 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1897 LLONG_MAX != LONG_MAX.
1898 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1899 (_fitoa_word): Likewise.
1900
1901 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1902 years.
1903 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1904 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1905 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1906
1907 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1908 include <bits/wordsize.h>. Check __x86_64__ instead of
1909 __WORDSIZE.
1910 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1911 if __x86_64__ is defined. Use anonymous union on fpstate.
1912
1913 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1914 anonymous union.
1915
1916 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1917
1918 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1919 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1920 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1921 Refer to _rtld_local_ro instead of _rtld_global_ro.
1922 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1923 Likewise.
1924 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1925 Likewise.
1926 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1927 Likewise.
1928 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1929 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1930 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1931
1932 * sysdeps/powerpc/powerpc32/dl-machine.c
1933 (__elf_machine_runtime_setup) [PROF]: Don't reference
1934 _dl_prof_resolve.
1935
1936 2012-05-18 Andreas Jaeger <aj@suse.de>
1937
1938 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1939 function only available for GCCs before 3.4 since GCC 3.4
1940 introduced a builtin.
1941 (lrint): Likewise.
1942 (llrintf): Likewise.
1943 (llrint): Likewise.
1944 (fmaxf): Likewise.
1945 (fmax): Likewise.
1946 (fminf): Likewise.
1947 (fmin): Likewise.
1948 (rint): Likewise.
1949 (rintf): Likewise.
1950 (nearbyint): Likewise.
1951 (nearbyintf): Likewise.
1952 (ceil): Likewise.
1953 (ceilf): Likewise.
1954 (floor): Likewise.
1955 (floorf): Likewise.
1956
1957 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1960 on both fields and cast pointer to __syscall_ulong_t.
1961
1962 * bits/types.h (__fsword_t): New type.
1963 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1964 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1965 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1966 (__FSWORD_T_TYPE): Likewise.
1967 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1968 (__FSWORD_T_TYPE): Likewise.
1969 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1970 (__FSWORD_T_TYPE): Likewise.
1971 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1972 (__FSWORD_T_TYPE): Likewise.
1973 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1974 __SWORD_TYPE with __fsword_t.
1975 (statfs64): Likewise.
1976
1977 2012-05-17 David S. Miller <davem@davemloft.net>
1978
1979 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1980
1981 2012-05-17 Andreas Jaeger <aj@suse.de>
1982
1983 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1984 warning.
1985
1986 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1987
1988 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1989
1990 2012-05-17 Andreas Jaeger <aj@suse.de>
1991
1992 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1993 when it is used.
1994
1995 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1996
1997 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1998
1999 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2000
2001 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2002 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2003
2004 2012-05-17 Andreas Jaeger <aj@suse.de>
2005 Carlos O'Donell <carlos_odonell@mentor.com>
2006
2007 [BZ #14059]
2008 * sysdeps/x86_64/multiarch/init-arch.h
2009 (bit_YMM_Usable): Rename to...
2010 (bit_AVX_Usable): ... this.
2011 (bit_FMA4_Usable): New macro.
2012 (bit_XMM_state): New macro.
2013 (bit_YMM_state): New macro.
2014 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2015 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2016 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2017 (CPUID_OSXSAVE): New macro.
2018 (CPUID_AVX): New macro.
2019 (CPUID_FMA4): New macro.
2020 (index_YMM_Usable): Rename to...
2021 (index_AVX_Usable): ... this.
2022 (HAS_AVX): Use HAS_ARCH_FEATURE.
2023 (HAS_FMA4): Likewise.
2024 (HAS_YMM_USABLE): Remove.
2025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2026 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2027 are present.
2028 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2029 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2030 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2031 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2032 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2033
2034 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2035
2036 * math/libm-test.c: Support platforms without multiple rounding modes.
2037 * math/bug-nextafter.c: Support platforms without FP exceptions.
2038 * math/bug-nexttoward.c: Likewise.
2039 * math/test-fenv.c: Likewise.
2040 * math/test-misc.c: Likewise.
2041 * stdlib/bug-getcontext.c: Likewise.
2042
2043 2012-05-17 Andreas Jaeger <aj@suse.de>
2044
2045 * manual/examples/search.c (critter_cmp): Change signature to
2046 avoid warnings.
2047 * manual/string.texi (Collation Functions): Likewise.
2048
2049 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * bits/types.h: Fold copyright years.
2052 * bits/typesizes.h: Likewise.
2053 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2054 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2056 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2057 * time/time.h: Likewise.
2058
2059 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2060
2061 [BZ #208]
2062 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2063 in instead of returning them. Return void.
2064 (__libc_mallinfo): Accumulate over all arenas.
2065 (__malloc_stats): Adjust for change in int_mallinfo interface.
2066
2067 2012-05-16 Roland McGrath <roland@hack.frob.com>
2068
2069 [BZ #10375]
2070 * configure.in (NM): Add AC_CHECK_TOOL for it.
2071 (libc_extra_cflags): New substituted variable.
2072 Check for -fstack-protector being used implicitly.
2073 * configure: Regenerated.
2074 * config.make.in (config-extra-cflags): New variable,
2075 gets @libc_extra_cflags@.
2076 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2077
2078 [BZ #10375]
2079 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2080 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2081 * configure: Regenerated.
2082 * config.make.in (CPPUNDEFS): New substituted variable.
2083 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2084 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2085 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2086
2087 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2088
2089 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2090 (mq_attr): Use __syscall_slong_t.
2091
2092 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2093
2094 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2095 Check __x86_64__ instead of __WORDSIZE.
2096 (_STAT_VER_LINUX): Likewise.
2097 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2098 __syscall_ulong_t and __syscall_slong_t.
2099 (stat64): Likewise.
2100
2101 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2102
2103 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2104
2105 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2106
2107 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2108
2109 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2110
2111 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2112 __syscall_ulong_t.
2113
2114 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2115 include <bits/wordsize.h>. Check __x86_64__ instead of
2116 __WORDSIZE.
2117 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2118 defined.
2119 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2120
2121 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2122 include <bits/wordsize.h>. Check __x86_64__ instead of
2123 __WORDSIZE.
2124 (user_regs_struct): Use "__extension__ unsigned long long"
2125 instead of "unsigned long" if __x86_64__ is defined.
2126 (user): Likewise. Pad after pointer field if __ILP32__ is
2127 defined.
2128
2129 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2130
2131 * configure.in (makeinfo): Require version 4.5 or later. Allow
2132 versions 5 to 9.
2133 * configure: Regenerated.
2134 * manual/install.texi (texinfo): Increase version requirement to
2135 4.5 or later.
2136 * INSTALL: Regenerated.
2137
2138 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2139
2140 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2143
2144 * sysdeps/x86_64/x32/ffs.c: New file.
2145
2146 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2147 __syscall_ulong_t.
2148 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2149 defined. Use __syscall_ulong_t.
2150 (shminfo): Use __syscall_ulong_t.
2151 (shm_info): Likewise.
2152
2153 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2154 __syscall_ulong_t.
2155
2156 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2157 <bits/wordsize.h>.
2158 (msgqnum_t): Use __syscall_ulong_t.
2159 (msglen_t): Likewise.
2160 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2161 __syscall_ulong_t.
2162
2163 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2164 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2165
2166 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2167
2168 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2169 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2170
2171 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2172 __syscall_slong_t.
2173
2174 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2175 include <bits/wordsize.h>. Check __x86_64__ instead of
2176 __WORDSIZE.
2177
2178 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2179 "unsigned long long int" if __x86_64__ is defined.
2180 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2181
2182 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2183 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2184 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2185
2186 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2187 <stdint.h>.
2188 (GET_PC): Cast to uintptr_t first.
2189 (GET_FRAME): Likewise.
2190 (GET_STACK): Likewise.
2191
2192 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2193 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2194 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2195 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2196 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2197 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2198 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2199 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2200 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2201 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2202 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2203 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2204 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2205 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2206 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2207 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2208 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2209 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2210 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2211 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2212 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2213 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2214 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2215 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2216 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2217 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2218 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2219 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2220 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2221
2222 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2223
2224 * Makerules (+depfiles): Also collect depfiles from .oS in
2225 $(extra-objs).
2226 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2227 .oS, $(libnldbl-routines)).
2228
2229 * Makerules (native-compile-mkdep-flags): Define.
2230 * sunrpc/Makefile (extra-objs): Add $(addprefix
2231 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2232 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2233 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2234 calling $(make-target-directory).
2235
2236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2237
2238 * bits/types.h (__snseconds_t): Removed.
2239 * time/time.h (struct timespec): Replace __snseconds_t with
2240 __syscall_slong_t.
2241 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2242 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2243 Likewise.
2244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2245 (__SNSECONDS_T_TYPE): Likewise.
2246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2247 (__SNSECONDS_T_TYPE): Likewise.
2248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2249 (__SNSECONDS_T_TYPE): Likewise.
2250
2251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2252
2253 * sysdeps/mach/hurd/bits/typesizes.h
2254 (__SYSCALL_SLONG_TYPE): New macro.
2255 (__SYSCALL_ULONG_TYPE): Likewise.
2256
2257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2258
2259 * bits/types.h (__syscall_slong_t): New type.
2260 (__syscall_ulong_t): Likewise.
2261
2262 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2263 (__SYSCALL_ULONG_TYPE): Likewise.
2264 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2265 (__SYSCALL_SLONG_TYPE): Likewise.
2266 (__SYSCALL_ULONG_TYPE): Likewise.
2267 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2268 (__SYSCALL_SLONG_TYPE): Likewise.
2269 (__SYSCALL_ULONG_TYPE): Likewise.
2270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2271 (__SYSCALL_SLONG_TYPE): Likewise.
2272 (__SYSCALL_ULONG_TYPE): Likewise.
2273
2274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2277 Add sigaltstack-offsets.sym.
2278 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2279 <sigaltstack-offsets.h>.
2280 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2281 longjmp_msg pointer.
2282 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2283 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2284 signal stack.
2285 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2286
2287 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2288
2289 * elf/stackguard-macros.h: Remove file.
2290 * sysdeps/generic/stackguard-macros.h: New file.
2291 * sysdeps/i386/stackguard-macros.h: Likewise.
2292 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2293 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2294 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2295 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2296 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2297 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2298 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2299 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2300 <elf/stackguard-macros.h>.
2301
2302 [BZ #14109]
2303 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2304 __aligned__ in attribute.
2305 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2306 (gregset_t): Likewise.
2307
2308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2311 * sysdeps/x86_64/64/Implies-after: Here. New file.
2312 * sysdeps/x86_64/x32/Implies-after: New file.
2313
2314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2315
2316 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2317 and access return value for _dl_profile_fixup. Use R10_LP to
2318 load frame size.
2319
2320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2321
2322 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2323
2324 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2327 * sysdeps/x86_64/x32/sysdep.h: New file.
2328
2329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2330
2331 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2332 * sysdeps/x86_64/setjmp.S: Likewise.
2333
2334 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335
2336 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2337 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2338 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2339 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2340 remove unused global constant.
2341
2342 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2343
2344 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2345 include of <not-cancel.h>.
2346
2347 2012-05-15 Roland McGrath <roland@hack.frob.com>
2348
2349 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2350
2351 2012-05-15 Jeff Law <law@redhat.com>
2352 Andreas Jaeger <aj@suse.de>
2353
2354 [BZ #13594]
2355 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2356 out from...
2357 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2358 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2359 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2360 code changing __hst_map_handle.map.
2361
2362 2012-05-15 Roland McGrath <roland@hack.frob.com>
2363
2364 * configure.in (sysnames): Look for Implies-before and Implies-after
2365 files.
2366 * configure: Regenerated.
2367
2368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2369
2370 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2371 8-byte data alignment with LP_SIZE alignment.
2372
2373 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2374
2375 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2376 into R10_LP.
2377
2378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2381
2382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2383
2384 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2385 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2386 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2387 Likewise.
2388 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2389
2390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2391
2392 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2393 (stackinfo_sub_sp): Likewise.
2394
2395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2396
2397 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2398 RAX_LP.
2399
2400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2403 into R*_LP.
2404
2405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2406
2407 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2408 sizes into R*_LP.
2409
2410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2411
2412 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2413
2414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2415
2416 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2417 into R11_LP and load __x86_64_shared_cache_size_half into
2418 R8_LP.
2419
2420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2421
2422 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2423 R8_LP.
2424
2425 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2426
2427 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2428 logb for POWER7.
2429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2430 logbf for POWER7.
2431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2432 logbl for POWER7.
2433 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2434 powerpc32/power7/fpu/s_logb.c via #include.
2435 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2436 powerpc32/power7/fpu/s_logbf.c via #include.
2437 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2438 powerpc32/power7/fpu/s_logbl.c via #include.
2439
2440 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2441
2442 * README.libm: Remove file.
2443
2444 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2445
2446 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2447 count for x32. Use R*_LP and omit operand-size suffix.
2448
2449 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2452 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2453 * sysdeps/x86_64/x32/shlib-versions: New file.
2454
2455 2012-05-14 Roland McGrath <roland@hack.frob.com>
2456
2457 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2458 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2459 Use _dl_fatal_printf instead.
2460
2461 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2462
2463 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2464 set if not set by the user. Do not allow for being unset.
2465 * sysdeps/unix/sysv/linux/configure: Regenerated.
2466
2467 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2468
2469 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2470 the `q' suffix from lea and replace .quad with ASM_ADDR.
2471
2472 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2475 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2476 instead of $17.
2477 (PTR_DEMANGLE): Likewise.
2478
2479 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2480
2481 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2482 (LP_OP): Likewise.
2483 (ASM_ADDR): Likewise.
2484 (RAX_LP): Likewise.
2485 (RBP_LP): Likewise.
2486 (RBX_LP): Likewise.
2487 (RCX_LP): Likewise.
2488 (RDI_LP): Likewise.
2489 (RSI_LP): Likewise.
2490 (RSP_LP): Likewise.
2491 (R8_LP): Likewise.
2492 (R9_LP): Likewise.
2493 (R10_LP): Likewise.
2494 (R10_LP): Likewise.
2495 (R11_LP): Likewise.
2496 (R12_LP): Likewise.
2497 (R13_LP): Likewise.
2498 (R14_LP): Likewise.
2499 (R15_LP): Likewise.
2500
2501 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2502
2503 * sysdeps/x86_64/x32/dl-machine.h: New file.
2504
2505 2012-05-14 Andreas Jaeger <aj@suse.de>
2506
2507 * manual/Makefile (subdir): Remove export of subdir.
2508 (all): Remove target.
2509 (.PHONY): Remove all from list.
2510 (mkinstalldirs): Remove.
2511 (.PHONY): Remove installdirs from list.
2512 ($(inst_infodir)/libc.info): Use make-target-directory.
2513 (installdirs): Remove.
2514 (subdir_%): Remove.
2515 (glibc-targets): Remove.
2516 (lib): Remove.
2517 (stubs): Remove.
2518 ($(objpfx)stubs ../po/manual.pot): Remove.
2519 ($(objpfx)stamp%): Remove.
2520 (make-target-directory): Remove.
2521 (subdir_install): Remove.
2522 (routines): Remove.
2523 (aux): Remove.
2524 (sources): Remove.
2525 (objects): Remove.
2526 (headers): Remove.
2527
2528 [BZ #13750]
2529 * manual/.gitignore: Remove, it's not needed anymore.
2530 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2531 all files in it.
2532 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2533 directory.
2534 (texis): Renamed to $(objpfx)texis.
2535 (texis-path): New, contains path to generated files.
2536 (chapters.%): Use texis-path for complete path, add extra argument
2537 libc-texinfo.sh.
2538 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2539 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2540 (summary,texi, stamp-summary): Use complete path of
2541 files. Generate files in build dir.
2542 (dir-add.texi): Build in build dir.
2543 (libm-err.texi,stamp-libm-err): Likewise.
2544 (version.texi, stamp-version): Likewise.
2545 (.%c.texi): Likewise.
2546 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2547 (mostlyclean): Remove target.
2548 (realclean): Remove target.
2549 (generated): Add new variable with contents from mostlyclean and
2550 realclean, remove entries duplicated in common-mostlyclean, add
2551 stamp-libm-err and stamp-version.
2552 (generated-dirs): Add libc directory.
2553 ($(inst_infodir)/libc.info): Install files from build dir.
2554
2555 * manual/install.texi (Configuring and compiling): Adjust since
2556 the info files are not part of the tar ball anymore.
2557
2558 2012-05-14 Andreas Jaeger <aj@suse.de>
2559
2560 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2561 variable.
2562
2563 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2564
2565 [BZ #13717]
2566 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2567 to 2.2.0 where earlier.
2568 * sysdeps/unix/sysv/linux/configure: Regenerated.
2569 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2570 Remove conditional code.
2571 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2572 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2573 Remove conditional code.
2574 [!__NR_lchown]: Likewise.
2575 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2576 [__NR_lchown]: Likewise.
2577 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2578 comment referencing __ASSUME_LCHOWN_SYSCALL.
2579 * sysdeps/unix/sysv/linux/i386/sigaction.c
2580 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2581 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2582 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2583 Remove conditional code.
2584 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2585 (__protocol_available): Remove #if 0 code.
2586 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2587 conditional code.
2588 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2589 * sysdeps/unix/sysv/linux/kernel-features.h
2590 (__ASSUME_GETCWD_SYSCALL): Don't define.
2591 (__ASSUME_REALTIME_SIGNALS): Likewise.
2592 (__ASSUME_PREAD_SYSCALL): Likewise.
2593 (__ASSUME_PWRITE_SYSCALL): Likewise.
2594 (__ASSUME_POLL_SYSCALL): Likewise.
2595 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2596 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2597 non-SPARC.
2598 (__ASSUME_SIOCGIFNAME): Don't define.
2599 (__ASSUME_MSG_NOSIGNAL): Likewise.
2600 (__ASSUME_SENDFILE): Define unconditionally.
2601 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2602 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2603 conditional code.
2604 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2605 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2606 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2607 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2608 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2609 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2610 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2612 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2613 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2615 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2616 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2618 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2619 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2621 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2622 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2624 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2627 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2628 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2630 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2633 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2634 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2635 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2636 Remove conditional code.
2637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2638 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2639 Remove conditional code.
2640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2641 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2642 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2643 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2644 Remove conditional code.
2645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2646 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2647 Remove conditional code.
2648 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2649 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2650 Remove conditional code.
2651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2652 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2653 Remove conditional code.
2654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2655 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2656 Remove conditional code.
2657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2658 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2659 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2660 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2661 * sysdeps/unix/sysv/linux/sigaction.c
2662 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2663 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2664 * sysdeps/unix/sysv/linux/sigpending.c
2665 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2666 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2667 * sysdeps/unix/sysv/linux/sigprocmask.c
2668 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2669 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2670 * sysdeps/unix/sysv/linux/sigsuspend.c
2671 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2672 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2673 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2674 (__libc_missing_rt_sigs): Remove.
2675 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2676 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2677 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2678 Remove conditional code.
2679 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2680 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2681 return 1.
2682 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2683 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2684 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2685 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2686
2687 2012-05-14 Andreas Jaeger <aj@suse.de>
2688
2689 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2690 it's not used in glibc.
2691 (__coshm1): Likewise.
2692 (__acosh1p): Likewise.
2693 (__sgn): Likewise.
2694
2695 * manual/string.texi (Copying and Concatenation): Add missing
2696 variable in concat example.
2697 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2698
2699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 [BZ #14103]
2702 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2703 __builtin_clzl with __builtin_clzll.
2704
2705 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2706
2707 [BZ #14104]
2708 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2709 libc_freeres_ptr.
2710
2711 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2712
2713 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2714 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2715 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2716 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2717
2718 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2719
2720 * NEWS: Update ia64 info.
2721
2722 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2723
2724 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2725 used as bcopy.
2726
2727 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2728
2729 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2730 * sysdeps/unix/syscalls.list (dup3): Likewise.
2731 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2732 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2733
2734 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2735
2736 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2737 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2738
2739 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2740
2741 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2742 thread pointer.
2743 (TLS_IE): Use mov/add instead of movq/addq to load thread
2744 pointer.
2745 (TLS_GD_PREFIX): New.
2746 (TLS_GD): Use it.
2747
2748 2012-05-11 David S. Miller <davem@davemloft.net>
2749
2750 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2751 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2752 (_FPU_SETCW): Likewise.
2753
2754 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2755
2756 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2757 is 32-byte aligned.
2758
2759 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2760
2761 [BZ #11837]
2762 * iconvdata/gb18030.c: Update tables.
2763 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2764 characters specially.
2765 (BODY for TO_LOOP): Add encoding of missing ranges.
2766
2767 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2768
2769 [BZ #13673]
2770 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2771 * sysdeps/mach/hurd/dup3.c: Likewise.
2772 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2773 * sysdeps/powerpc/memmove.c:: Likewise.
2774
2775 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2776
2777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2778 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2779
2780 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2781
2782 * elf/elf.h (R_X86_64_RELATIVE64): New.
2783 (R_X86_64_NUM): Updated.
2784 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2785 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2786 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2787 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2788 tst-quad1pie tst-quad2pie
2789 (modules-names): Add tst-quadmod1 tst-quadmod2.
2790 ($(objpfx)tst-quad1): New dependency.
2791 ($(objpfx)tst-quad2): Likewise.
2792 ($(objpfx)tst-quad1pie): Likewise.
2793 ($(objpfx)tst-quad2pie): Likewise.
2794 * sysdeps/x86_64/tst-quad1.c: New file.
2795 * sysdeps/x86_64/tst-quad1pie.c: New file.
2796 * sysdeps/x86_64/tst-quad2.c: Likewise.
2797 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2798 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2799 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2800 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2801 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2802
2803 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2804
2805 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2806 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2807 * streams/stropts.h (t_scalar_t): Define type.
2808
2809 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2810 (_PATH_PRESERVE): Set to "/var/lib".
2811 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2812
2813 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2814 instead of int.
2815
2816 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2817 if __dir_mkfile succeeded.
2818
2819 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2820 checking for _hurd_dtablesize. Unlock it right after having
2821 finished _hurd_dtable allocation.
2822
2823 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2824
2825 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2826 * sysdeps/mach/hurd/configure: Regenerated.
2827 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2828 special-casing to...
2829 * sysdeps/gnu/configure.in: ... this new file.
2830 * sysdeps/unix/sysv/linux/configure: Regenerated.
2831 * sysdeps/gnu/configure: New generated file.
2832
2833 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2834 for Linux: use nsec instead of usec, as well as:
2835 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2836 members of type struct timespec.
2837 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2838 New macros.
2839 (struct stat64): Likewise.
2840 (_STATBUF_ST_NSEC): New macro.
2841 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2842
2843 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2844 __strtoul_internal rather than strtoul.
2845
2846 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2847
2848 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2849 and reject them.
2850
2851 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2852
2853 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2854 which preserves existing values.
2855 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2856
2857 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2858
2859 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2860 TIMEOUT values. Return EINVAL for NFDS values either negative or
2861 greater than FD_SETSIZE.
2862
2863 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2864
2865 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2866 allocated, call __vm_protect to finish enabling the existing space, and
2867 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2868 allocate the remainder.
2869
2870 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2871
2872 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2873 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2874
2875 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2876
2877 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2878 sysdeps/mach/hurd/readlink.c.
2879
2880 * posix/tst-sysconf.c (posix_options): Only use
2881 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2882 _POSIX_SYNCHRONIZED_IO when they are defined
2883 * sysdeps/mach/hurd/bits/posix_opt.h:
2884 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2885 (_XOPEN_REALTIME): Undefine macro.
2886 (_XOPEN_REALTIME_THREADS): Undefine macro.
2887 (_XOPEN_SHM): Undefine macro.
2888 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2889 macro to -1.
2890 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2891 macro to -1.
2892 (_POSIX_ASYNC_IO): Undefine macro.
2893 (_POSIX_PRIORITIZED_IO): Undefine macro.
2894 (_POSIX_SPIN_LOCKS): Define macro to -1.
2895
2896 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2897 SA_NODEFER, SA_RESETHAND.
2898 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2899 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2900 F_DUPFD_CLOEXEC.
2901
2902 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2903
2904 * elf/Makefile (pldd-modules): Define unconditionally.
2905
2906 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2907
2908 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2909
2910 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2911
2912 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2913 Return ENOENT when name is empty.
2914 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2915
2916 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2917
2918 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2919
2920 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2921
2922 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2923
2924 Fix mlock in all cases except non-readable pages.
2925 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2926 instead of VM_PROT_ALL as parameter to __vm_wire function.
2927
2928 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2929 (__mkdir): When path is `/', just fail with EEXIST.
2930 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2931
2932 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2933
2934 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2935 <sys/uio.h> (for writev).
2936 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2937 and <sys/param.h> (for MIN).
2938
2939 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2940
2941 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2942 REQUESTED_TIME. Properly set the remaining time and return EINTR
2943 if interrupted.
2944
2945 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2946
2947 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2948 Depend on against $(link-rpcuserlibs).
2949
2950 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2951
2952 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2953 (__libc_stack_end): Do not use attribute_relro.
2954 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2955 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2956 to libthread-provided value.
2957 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2958 attribute_relro.
2959
2960 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2961
2962 [BZ #3748]
2963 * bits/libc-lock.h (__libc_once_get): New macro.
2964 * sysdeps/mach/bits/libc-lock.h: Likewise.
2965 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2966 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2967 instead of using implementation details.
2968
2969 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2970 * libio/freopen.c: Likewise.
2971 * libio/freopen64.c: Likewise.
2972 * misc/syslog.c: Likewise.
2973 * nscd/connections.c: Likewise.
2974 * nscd/netgroupcache.c: Likewise.
2975 * sysdeps/posix/getcwd.c: Likewise.
2976
2977 2012-05-10 Roland McGrath <roland@hack.frob.com>
2978
2979 * math/w_ilogbf.c: Add #include <limits.h>.
2980
2981 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2982
2983 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2984 path instead of returning without unlocking.
2985
2986 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2987 immediate-write ioctls.
2988 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2989
2990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2991
2992 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2993 __builtin_frame_address instead of making assumptions about the
2994 location of the return address relative to DATA. Force early load of
2995 the return address.
2996 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2997 __builtin_frame_address.
2998
2999 dup3 for GNU Hurd.
3000 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3001 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3002 implement dup3 and do some further code clean-ups.
3003 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3004 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3005
3006 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3007
3008 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3009
3010 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3011 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3012 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3013 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3014 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3015 d->port.lock.
3016
3017 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3018 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3019 when handler == SIG_ERR, not when handler != SIG_ERR.
3020
3021 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3022
3023 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3024 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3025 definitions.
3026
3027 accept4 for GNU Hurd.
3028 * include/sys/socket.h (__libc_accept4): New prototype.
3029 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3030 to implement __libc_accept4.
3031 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3032 __libc_accept4.
3033 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3034
3035 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3036 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3037 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3038 signal-defines.sym.
3039
3040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3041
3042 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3043
3044 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3045
3046 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3047 assertion on O_CLOEXEC flag.
3048 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3049 * hurd/intern-fd.c: Likewise.
3050 * hurd/port2fd.c: Likewise.
3051
3052 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3053
3054 [BZ #3906]
3055 * bits/in.h (IPV6_PKTINFO): Define new macro.
3056 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3057
3058 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3059
3060 [BZ #13954]
3061 [BZ #13955]
3062 [BZ #13956]
3063 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3064 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3065 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3066 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3067 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3068 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3069 * math/libm-test.inc (logb_test) : Additional logb tests.
3070
3071 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3072 Andreas Jaeger <aj@suse.de>
3073
3074 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3075 * configure: Regenerated.
3076 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3077 * config.make.in (link-obsolete-rpc): New substituted variable.
3078 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3079 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3080 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3081 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3082 so that libc.a contains the symbols.
3083 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3084 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3085 * sunrpc/auth_none.c: Likewise.
3086 * sunrpc/auth_unix.c: Likewise.
3087 * sunrpc/authdes_prot.c: Likewise.
3088 * sunrpc/authuxprot.c: Likewise.
3089 * sunrpc/clnt_gen.c: Likewise.
3090 * sunrpc/clnt_perr.c: Likewise.
3091 * sunrpc/clnt_raw.c: Likewise.
3092 * sunrpc/clnt_simp.c: Likewise.
3093 * sunrpc/clnt_tcp.c: Likewise.
3094 * sunrpc/clnt_udp.c: Likewise.
3095 * sunrpc/clnt_unix.c: Likewise.
3096 * sunrpc/des_crypt.c: Likewise.
3097 * sunrpc/des_soft.c: Likewise.
3098 * sunrpc/get_myaddr.c: Likewise.
3099 * sunrpc/key_call.c: Likewise.
3100 * sunrpc/key_prot.c: Likewise.
3101 * sunrpc/netname.c: Likewise.
3102 * sunrpc/pm_getmaps.c: Likewise.
3103 * sunrpc/pm_getport.c: Likewise.
3104 * sunrpc/pmap_clnt.c: Likewise.
3105 * sunrpc/pmap_prot.c: Likewise.
3106 * sunrpc/pmap_prot2.c: Likewise.
3107 * sunrpc/pmap_rmt.c: Likewise.
3108 * sunrpc/publickey.c: Likewise.
3109 * sunrpc/rpc_cmsg.c: Likewise.
3110 * sunrpc/rpc_common.c: Likewise.
3111 * sunrpc/rpc_dtable.c: Likewise.
3112 * sunrpc/rpc_prot.c: Likewise.
3113 * sunrpc/rpc_thread.c: Likewise.
3114 * sunrpc/rtime.c: Likewise.
3115 * sunrpc/svc.c: Likewise.
3116 * sunrpc/svc_auth.c: Likewise.
3117 * sunrpc/svc_raw.c: Likewise.
3118 * sunrpc/svc_run.c: Likewise.
3119 * sunrpc/svc_tcp.c: Likewise.
3120 * sunrpc/svc_udp.c: Likewise.
3121 * sunrpc/svc_unix.c: Likewise.
3122 * sunrpc/svcauth_des.c: Likewise.
3123 * sunrpc/xcrypt.c: Likewise.
3124 * sunrpc/xdr.c: Likewise.
3125 * sunrpc/xdr_array.c: Likewise.
3126 * sunrpc/xdr_float.c: Likewise.
3127 * sunrpc/xdr_intXX_t.c: Likewise.
3128 * sunrpc/xdr_mem.c: Likewise.
3129 * sunrpc/xdr_rec.c: Likewise.
3130 * sunrpc/xdr_ref.c: Likewise.
3131 * sunrpc/xdr_sizeof.c: Likewise.
3132 * sunrpc/xdr_stdio.c: Likewise.
3133
3134 2012-05-10 Roland McGrath <roland@hack.frob.com>
3135
3136 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3137 change. Update copyright years.
3138
3139 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3140
3141 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3142
3143 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3144 Joseph Myers <joseph@codesourcery.com>
3145 Paul Pluzhnikov <ppluzhnikov@google.com>
3146
3147 [BZ #14012]
3148 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3149 requiring rpcgen.
3150 [cross-compiling] (extra-libs): Likewise.
3151 [cross-compiling] (extra-libs-others): Likewise.
3152 [cross-compiling] (librpcsvc-routines): Likewise.
3153 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3154 [cross-compiling] (omit-deps): Likewise.
3155 (sunrpc-CPPFLAGS): New variable.
3156 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3157 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3158 (cross-rpcgen-objs): New variable.
3159 (extra-objs): Append $(cross-rpcgen-objs).
3160 ($(cross-rpcgen-objs)): New rule.
3161 ($(objpfx)cross-rpcgen): Likewise.
3162 (rpcgen-cmd): Define to use $(built-program-file). Expand
3163 comment.
3164 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3165 ($(objpfx)x%.stmp): Likewise.
3166 * sunrpc/proto.h [IS_IN_build] (_): Define.
3167 [IS_IN_build] (_libc_intl_domainname): Likewise.
3168
3169 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3170
3171 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3172 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3173 and R_X86_64_TPOFF64.
3174
3175 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3176
3177 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3178 sysdeps/unix/sysv/syscalls.list.
3179 (stime): Likewise.
3180 (utime): Likewise.
3181 * sysdeps/unix/sysv/syscalls.list: Remove file.
3182
3183 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3184
3185 [BZ #3440]
3186 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3187 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3188 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3189 (__LC_IDENTIFICATION): Make these macros useful in #if
3190 expressions, as required by C99.
3191
3192 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3193
3194 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3195 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3196 after this.
3197
3198 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3199
3200 * stdlib/longlong.h: Updated from GCC.
3201
3202 2012-05-09 Andreas Jaeger <aj@suse.de>
3203
3204 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3205 default is first entry.
3206 (run_mode): Set type.
3207 (main): Remove informal message about syslog.
3208 (options): Fix typo.
3209
3210 [BZ #14053]
3211 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3212 to asm.
3213 (lrint): Likewise.
3214 (llrintf): Likewise.
3215 (llrint): Likewise.
3216 (rint): Likewise.
3217 (rintf): Likewise.
3218 (nearbyint): Likewise.
3219 (nearbyintf): Likewise.
3220
3221 2012-05-09 Andreas Jaeger <aj@suse.de>
3222 Pedro Alves <palves@redhat.com>
3223
3224 * nscd/nscd.c (run_mode): Use enum.
3225 (main): Cleanup coding style issue.
3226
3227 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3228 Andreas Jaeger <aj@suse.de>
3229
3230 * nscd/nscd.c (go_background): Replaced with...
3231 (run_mode): ... this.
3232 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3233 (options): Add -F --foreground.
3234 (main): Implement it.
3235 (parse_opt): Parse it.
3236
3237 2012-05-09 Andreas Jaeger <aj@suse.de>
3238
3239 [BZ #14083]
3240 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3241 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3242 -Wconversion warning.
3243 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3244 Likewise.
3245
3246 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3247
3248 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3249 == 0.
3250 (LC_ALL): Use macro-int-constant.
3251 (LC_COLLATE): Likewise.
3252 (LC_CTYPE): Likewise.
3253 (LC_MESSAGES): Likewise.
3254 (LC_MONETARY): Likewise.
3255 (LC_NUMERIC): Likewise.
3256 (LC_TIME): Likewise.
3257 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3258 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3259 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3260 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3261 Specify type.
3262 [C99-based standards] (float_t): Expect type.
3263 [C99-based standards] (double_t): Expect type.
3264 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3265 type.
3266 [C99-based standards] (HUGE_VALL): Likewise.
3267 [C99-based standards] (INFINITY): Likewise.
3268 [C99-based standards] (NAN): Likewise.
3269 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3270 [C99-based standards] (FP_NAN): Likewise.
3271 [C99-based standards] (FP_NORMAL): Likewise.
3272 [C99-based standards] (FP_SUBNORMAL): Likewise.
3273 [C99-based standards] (FP_ZERO): Likewise.
3274 [C99-based standards] (FP_FAST_FMA): Use
3275 optional-macro-int-constant. Specify type. Require == 1.
3276 [C99-based standards] (FP_FAST_FMAF): Likewise.
3277 [C99-based standards] (FP_FAST_FMAL): Likewise.
3278 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3279 [C99-based standards] (FP_ILOGBNAN): Likewise.
3280 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3281 Specify type.
3282 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3283 [C99-based standards] (math_errhandling): Specify type.
3284 [ISO99 || ISO11] (signgam): Do not allow.
3285 [non-C99-based standards] (copysignf): Do not allow.
3286 [non-C99-based standards] (exp2f): Likewise.
3287 [non-C99-based standards] (log2f): Likewise.
3288 [non-C99-based standards] (modff): Allow.
3289 [non-C99-based standards] (erff): Do not allow.
3290 [non-C99-based standards] (erfcf): Likewise.
3291 [non-C99-based standards] (gammaf): Likewise.
3292 [non-C99-based standards] (hypotf): Likewise.
3293 [non-C99-based standards] (j0f): Likewise.
3294 [non-C99-based standards] (j1f): Likewise.
3295 [non-C99-based standards] (jnf): Likewise.
3296 [non-C99-based standards] (lgammaf): Likewise.
3297 [non-C99-based standards] (tgammaf): Likewise.
3298 [non-C99-based standards] (y0f): Likewise.
3299 [non-C99-based standards] (y1f): Likewise.
3300 [non-C99-based standards] (ynf): Likewise.
3301 [non-C99-based standards] (isnanf): Likewise.
3302 [non-C99-based standards] (acoshf): Likewise.
3303 [non-C99-based standards] (asinhf): Likewise.
3304 [non-C99-based standards] (atanhf): Likewise.
3305 [non-C99-based standards] (cbrtf): Likewise.
3306 [non-C99-based standards] (expm1f): Likewise.
3307 [non-C99-based standards] (ilogbf): Likewise.
3308 [non-C99-based standards] (log1pf): Likewise.
3309 [non-C99-based standards] (logbf): Likewise.
3310 [non-C99-based standards] (nextafterf): Likewise.
3311 [non-C99-based standards] (remainderf): Likewise.
3312 [non-C99-based standards] (rintf): Likewise.
3313 [non-C99-based standards] (scalbf): Likewise.
3314 [non-C99-based standards] (copysignl): Likewise.
3315 [non-C99-based standards] (exp2l): Likewise.
3316 [non-C99-based standards] (log2l): Likewise.
3317 [non-C99-based standards] (modfl): Allow.
3318 [non-C99-based standards] (erfl): Do not allow.
3319 [non-C99-based standards] (erfcl): Likewise.
3320 [non-C99-based standards] (gammal): Likewise.
3321 [non-C99-based standards] (hypotl): Likewise.
3322 [non-C99-based standards] (j0l): Likewise.
3323 [non-C99-based standards] (j1l): Likewise.
3324 [non-C99-based standards] (jnl): Likewise.
3325 [non-C99-based standards] (lgammal): Likewise.
3326 [non-C99-based standards] (tgammal): Likewise.
3327 [non-C99-based standards] (y0l): Likewise.
3328 [non-C99-based standards] (y1l): Likewise.
3329 [non-C99-based standards] (ynl): Likewise.
3330 [non-C99-based standards] (isnanl): Likewise.
3331 [non-C99-based standards] (acoshl): Likewise.
3332 [non-C99-based standards] (asinhl): Likewise.
3333 [non-C99-based standards] (atanhl): Likewise.
3334 [non-C99-based standards] (cbrtl): Likewise.
3335 [non-C99-based standards] (expm1l): Likewise.
3336 [non-C99-based standards] (ilogbl): Likewise.
3337 [non-C99-based standards] (log1pl): Likewise.
3338 [non-C99-based standards] (logbl): Likewise.
3339 [non-C99-based standards] (nextafterl): Likewise.
3340 [non-C99-based standards] (remainderl): Likewise.
3341 [non-C99-based standards] (rintl): Likewise.
3342 [non-C99-based standards] (scalbl): Likewise.
3343 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3344 [non-C99-based standards] (FP_*): Do not allow.
3345 [C99-based standards] (FP_*): Change to
3346 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3347 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3348 allow.
3349 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3350 (SIG_ERR): Likewise.
3351 [X/Open-based standards] (SIG_HOLD): Likewise.
3352 (SIG_IGN): Likewise.
3353 (SIGABRT): Use macro-int-constant. Specify type. Require
3354 positive value.
3355 (SIGFPE): Likewise.
3356 (SIGILL): Likewise.
3357 (SIGINT): Likewise.
3358 (SIGSEGV): Likewise.
3359 (SIGTER): Likewise.
3360 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3361 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3362 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3363 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3364 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3365 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3366 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3367 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3368 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3369 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3370 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3371 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3372 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3373 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3374 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3375 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3376 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3377 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3378 [X/Open-based standards] (SIGTRAP): Likewise.
3379 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3380 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3381 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3382 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3383 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3384 allow.
3385
3386 2012-05-08 Ian Wienand <ianw@vmware.com>
3387
3388 [BZ #14080]
3389 * time/tzset.c (__tzset_parse_tz): Update default rules for
3390 daylight time changes in the Energy Policy Act of 2005.
3391
3392 2012-05-09 Andreas Jaeger <aj@suse.de>
3393
3394 [BZ #13983]
3395 * elf/ldconfig.c (parse_conf): Change string to make clear that
3396 ldconfig only issued a warning if ld.so.conf does not exist.
3397
3398 2012-05-08 David S. Miller <davem@davemloft.net>
3399
3400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3401 movxtod instead of popping the value on the stack.
3402
3403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3404
3405 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3406
3407 * config.h.in: Add HAVE_ARM_PCS_VFP.
3408
3409 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3410
3411 [BZ #13979]
3412 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3413 checking but the checks are disabled for any reason.
3414
3415 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3416
3417 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3418 and ELF64_R_TYPE with ELFW(R_TYPE).
3419
3420 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3421
3422 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3423 (ulimit): Likewise.
3424
3425 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3426 (settimeofday): Likewise.
3427
3428 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3429
3430 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3431 a struct th_u2 inside the union, and move tu_block/tu_code into
3432 a new th_u3 union of tu_block/tu_code inside of that. Move
3433 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3434 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3435 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3436 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3437 (th_stuff): Change to th_u1.tu_stuff.
3438 (th_data): Define.
3439 (th_msg): Change to th_u1.th_u2.tu_data.
3440
3441 2012-05-07 David S. Miller <davem@davemloft.net>
3442
3443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3444
3445 [BZ #14074]
3446 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3447 (SETUP_PIC_REG): Use it.
3448 (SETUP_PIC_REG_LEAF): Use it.
3449
3450 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3451
3452 [BZ #13885]
3453 [BZ #13923]
3454 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3455 USE_AS_EXPM1L.
3456 (EXPL_FINITE): Likewise.
3457 (FLDLOG): Likewise.
3458 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3459 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3460 e_expl.S.
3461 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3462 USE_AS_EXPM1L.
3463 (EXPL_FINITE): Likewise.
3464 (FLDLOG): Likewise.
3465 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3466 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3467 e_expl.S.
3468 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3469 test of -max_value argument for long double.
3470 * sysdeps/i386/fpu/libm-test-ulps: Update.
3471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3472
3473 2012-05-06 David S. Miller <davem@davemloft.net>
3474
3475 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3476 quad soft-float symbols whose references which are compiler
3477 generated.
3478 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3479
3480 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3481
3482 [BZ #13884]
3483 [BZ #13914]
3484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3485 USE_AS_EXP10L.
3486 (EXPL_FINITE): Likewise.
3487 (FLDLOG): Likewise.
3488 (c0): Likewise.
3489 (c1): Likewise.
3490 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3491 Adjust comments for base varying.
3492 (__expl_finite): Change alias to EXPL_FINITE.
3493 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3494 e_expl.S.
3495 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3496 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3497 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3498 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3499 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3500 USE_AS_EXP10L.
3501 (EXPL_FINITE): Likewise.
3502 (FLDLOG): Likewise.
3503 (c0): Likewise.
3504 (c1): Likewise.
3505 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3506 Adjust comments for base varying.
3507 (__expl_finite): Change alias to EXPL_FINITE.
3508 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3509 tests for bugs.
3510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3511
3512 [BZ #14064]
3513 * math/libm-test.inc (check_float_internal): Correct ulp
3514 calculation for subnormal expected results.
3515
3516 2012-05-06 Andreas Jaeger <aj@suse.de>
3517
3518 * Makeconfig (+math-flags): New, set to -frounding-math.
3519 (+cflags): Add +math-flags so that all of glibc gets compiled with
3520 it.
3521
3522 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3523
3524 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3525
3526 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3527 Disable one test.
3528
3529 [BZ #13787]
3530 [BZ #13922]
3531 [BZ #14036]
3532 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3533 (__ieee754_expl): Allow for and saturate large arguments.
3534 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3535 (u_threshold): Likewise.
3536 (__exp): Call __ieee754_exp before checking for overflow and
3537 underflow.
3538 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3539 (u_threshold): Likewise.
3540 (__expf): Call __ieee754_expf before checking for overflow and
3541 underflow.
3542 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3543 (u_threshold): Likewise.
3544 (__expl): Call __ieee754_expl before checking for overflow and
3545 underflow.
3546 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3547 (__ieee754_expl): Allow for and saturate large arguments.
3548 * math/libm-test.inc (exp_test): Add another test. Do not allow
3549 missing overflow exception on overflow.
3550 (expm1_test): Do not allow missing overflow exception on overflow.
3551
3552 * sysdeps/i386/fpu/e_expl.c: Move to ...
3553 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3554 rather than using inline asm.
3555 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3556 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3557 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3558
3559 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3560 (nice): Likewise.
3561 (poll): Likewise.
3562 (signal): Likewise.
3563 (time): Likewise.
3564 (times): Likewise.
3565
3566 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3567
3568 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3569 sysdeps/unix/common/syscalls.list.
3570 (fchmod): Likewise.
3571 (fchown): Likewise.
3572 (ftruncate): Likewise.
3573 (getrusage): Likewise.
3574 (gettimeofday): Likewise.
3575 (setpgid): Likewise.
3576 (setregid): Likewise.
3577 (setreuid): Likewise.
3578 (sigaction): Likewise.
3579 (truncate): Likewise.
3580 (vhangup): Likewise.
3581 * sysdeps/unix/common/syscalls.list: Remove file.
3582 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3583 * sysdeps/unix/sysv/linux/Implies: Likewise.
3584
3585 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3589 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3590 Moved to ...
3591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3592 Here.
3593 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3594 to ...
3595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3596 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3597 to ...
3598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3599 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3600 to ...
3601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3602 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3603 to ...
3604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3605 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3606 to ...
3607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3608 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3609 to ...
3610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3611 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3612 to ...
3613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3614 Here.
3615 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3616 to ...
3617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3618 Here.
3619 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3620 to ...
3621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3622 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3623 Moved to ...
3624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3625 Here.
3626 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3627 to ...
3628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3629
3630 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3631
3632 * sysdeps/unix/common/bits/dirent.h: Remove file.
3633 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3634
3635 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3636 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3637 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3638 * sysdeps/unix/bsd/isatty.c: Likewise.
3639 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3640 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3641 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3642
3643 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3644
3645 [BZ #13563]
3646 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3647 long double comparison inaccuracies.
3648 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3650
3651 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3652
3653 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3654 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3655
3656 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3657
3658 [BZ #14049]
3659 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3660 nonzero digits before rounding a hex value.
3661 * stdlib/tst-strtod.c (tests): Add another test.
3662
3663 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3664
3665 * sysdeps/s390/fpu/libm-test-ulps: Update.
3666
3667 2012-05-03 Andreas Jaeger <aj@suse.de>
3668
3669 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3670 does not get optimized out.
3671 (malloc_opt_barrier): New.
3672
3673 2012-05-03 Andreas Jaeger <aj@suse.de>
3674 Roland McGrath <roland@hack.frob.com>
3675
3676 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3677 intermediate file deletion.
3678 (generated): Add .symlist files.
3679
3680 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3681
3682 [BZ #13775]
3683 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3684 Redirect under this condition.
3685 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3686 [__USE_GNU] (__dprintf_chk): Not under this condition.
3687 [__USE_GNU] (__vdprintf_chk): Likewise.
3688 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3689 under this condition.
3690 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3691 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3692 [__USE_XOPEN2K8] (vdprintf): Likewise.
3693 [__USE_GNU] (__dprintf_chk): Not under this condition.
3694 [__USE_GNU] (__vdprintf_chk): Likewise.
3695 [__USE_GNU] (dprintf): Likewise.
3696 [__USE_GNU] (vdprintf): Likewise.
3697
3698 2012-05-03 Roland McGrath <roland@hack.frob.com>
3699
3700 * elf/Makefile (common-generated): Set this instead of generated for
3701 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3702 $(all-built-dso)-derived lists.
3703
3704 2012-05-03 Andreas Jaeger <aj@suse.de>
3705
3706 * sysdeps/i386/fpu/libm-test-ulps: Update.
3707
3708 * FAQ: Removed.
3709 * FAQ.in: Likewise.
3710 * scripts/gen-FAQ.pl: Likewise.
3711 * manual/install.texi (Installation): Point to online location of
3712 FAQ.
3713 * Makefile (files-for-dist): Remove FAQ.
3714 (FAQ): Remove.
3715
3716 2012-05-02 Allan McRae <allan@archlinux.org>
3717
3718 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3719 (LDFLAGS-reldepmod5.so): Likewise.
3720 (LDFLAGS-reldep6mod1.so): Likewise.
3721 (LDFLAGS-reldep6mod4.so): Likewise.
3722 (LDFLAGS-reldep8mod3.so): Likewise.
3723 (LDFLAGS-unload4mod1.so): Likewise.
3724 (LDFLAGS-unload4mod2.so): Likewise.
3725 (LDFLAGS-tst-initorder): Likewise.
3726 (LDFLAGS-tst-initordera2.so): Likewise.
3727 (LDFLAGS-tst-initordera3.so): Likewise.
3728 (LDFLAGS-tst-initordera4.so): Likewise.
3729 (LDFLAGS-tst-initorderb2.so): Likewise.
3730 (LDFLAGS-noload): Likewise.
3731 (LDFLAGS-next): Likewise.
3732 (LDFLAGS-order2mod1.so): Likewise.
3733 (LDFLAGS-order2mod2.so): Likewise.
3734 (LDFLAGS-tst-initorder2): Likewise.
3735 (LDFLAGS-tst-initorder2a.so): Likewise.
3736 (LDFLAGS-tst-initorder2b.so): Likewise.
3737 (LDFLAGS-tst-initorder2c.so): Likewise.
3738 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3739
3740 2012-05-02 David S. Miller <davem@davemloft.net>
3741
3742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3743
3744 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3745
3746 [BZ #14055]
3747 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3748
3749 2012-05-02 Andreas Jaeger <aj@suse.de>
3750
3751 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3752 since we manipulate rounding mode.
3753 (CPPFLAGS-test-idouble.c): Likewise.
3754 (CPPFLAGS-test-ifloat.c): Likewise.
3755 (CFLAGS-test-ldouble.c): Likewise.
3756 (CFLAGS-test-double.c): Likewise.
3757 (CFLAGS-test-float.c): Likewise.
3758 (CFLAGS-test-misc.c): Likewise.
3759 (CFLAGS-test-test-fenv.c): Likewise.
3760
3761 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3762
3763 [BZ #2550]
3764 [BZ #2570]
3765 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3766 comparisons to determine direction to adjust input.
3767
3768 2012-05-01 Roland McGrath <roland@hack.frob.com>
3769
3770 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3771 output to the target.
3772
3773 * scripts/localplt.awk: New file.
3774 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3775 (check-localplt-CFLAGS): Variable removed.
3776 ($(all-built-dso:=.jmprel)): New static pattern rule.
3777 (generated): Add those targets.
3778 (localplt-built-dso): New variable.
3779 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3780
3781 * elf/check-localplt.c: File removed.
3782
3783 * scripts/check-execstack.awk: New file.
3784 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3785 (check-execstack-CFLAGS): Variable removed.
3786 ($(objpfx)check-execstack.h): Target removed.
3787 ($(objpfx)execstack-default): New target.
3788 (generated): Add that instead of check-execstack.h.
3789 ($(all-built-dso:=.phdr)): New static pattern rule.
3790 (generated): Add those targets.
3791 * elf/check-execstack.c: File removed.
3792
3793 * scripts/check-textrel.awk: New file.
3794 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3795 (check-textrel-CFLAGS): Variable removed.
3796 (all-built-dso): Use := to define.o
3797 ($(all-built-dso:=.dyn)): New static pattern rule.
3798 (generated): Add those targets.
3799 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3800 * config.make.in (READELF): New substituted variable.
3801 * elf/check-textrel.c: File removed.
3802
3803 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3804
3805 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3806 allow.
3807 * conform/data/ctype.h-data [C99-based standards] (isblank):
3808 Expect function.
3809 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3810 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3811 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3812 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3813 Specify type. Require positive value.
3814 (EILSEQ): Likewise.
3815 (ERANGE): Likewise.
3816 [ISO || POSIX] (EILSEQ): Do not expect.
3817 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3818 Specify type. Require positive value.
3819 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3820 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3821 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3822 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3823 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3824 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3825 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3826 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3827 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3828 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3829 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3830 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3831 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3832 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3833 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3834 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3835 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3836 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3837 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3838 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3839 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3840 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3841 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3842 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3843 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3844 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3845 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3846 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3847 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3848 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3849 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3850 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3851 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3852 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3853 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3854 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3855 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3856 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3857 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3858 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3859 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3860 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3861 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3862 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3863 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3864 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3865 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3866 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3867 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3868 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3869 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3870 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3871 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3872 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3873 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3874 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3875 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3876 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3877 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3878 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3880 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3882 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3883 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3884 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3885 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3886 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3887 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3888 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3889 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3890 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3891 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3892 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3893 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3894 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3895 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3896 Require >= 2.
3897 (FLT_ROUNDS): Expect as macro, not constant.
3898 (FLT_MANT_DIG): Use macro-int-constant.
3899 (DBL_MANT_DIG): Likewise.
3900 (LDBL_MANT_DIG): Likewise.
3901 (FLT_DIG): Likewise.
3902 (DBL_DIG): Likewise.
3903 (LDBL_DIG): Likewise.
3904 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3905 (DBL_MIN_EXP): Likewise.
3906 (LDBL_MIN_EXP): Likewise.
3907 (FLT_MAX_EXP): Use macro-int-constant.
3908 (DBL_MAX_EXP): Likewise.
3909 (LDBL_MAX_EXP): Likewise.
3910 (FLT_MAX_10_EXP): Likewise.
3911 (DBL_MAX_10_EXP): Likewise.
3912 (LDBL_MAX_10_EXP): Likewise.
3913 (FLT_MAX): Use macro-constant.
3914 (DBL_MAX): Likewise.
3915 (LDBL_MAX): Likewise.
3916 (FLT_EPSILON): Use macro-constant. Give upper bound.
3917 (DBL_EPSILON): Likewise.
3918 (LDBL_EPSILON): Likewise.
3919 (FLT_MIN): Likewise.
3920 (DBL_MIN): Likewise.
3921 (LDBL_MIN): Likewise.
3922 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3923 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3924 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3925 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3926 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3927 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3928 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3929 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3930 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3931 [ISO11] (FLT_TRUE_MIN): Likewise.
3932 [ISO11] (LDBL_TRUE_MIN): Likewise.
3933 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3934 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3935 (SCHAR_MIN): Use macro-int-constant. Specify type.
3936 (SCHAR_MAX): Likewise.
3937 (UCHAR_MAX): Likewise.
3938 (CHAR_MIN): Likewise.
3939 (CHAR_MAX): Likewise.
3940 (MB_LEN_MAX): Use macro-int-constant.
3941 (SHRT_MIN): Use macro-int-constant. Specify type.
3942 (SHRT_MAX): Likewise.
3943 (USHRT_MAX): Likewise.
3944 (INT_MAX): Likewise.
3945 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3946 bound negative.
3947 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3948 bound with "U".
3949 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3950 bound with "L".
3951 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3952 bound negative. Suffix upper bound with "L".
3953 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3954 bound with "UL".
3955 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3956 Specify type.
3957 [C99-based standards] (LLONG_MAX): Likewise.
3958 [C99-based standards] (ULLONG_MAX): Likewise.
3959 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3960 == 0.
3961 [ISO11] (max_align_t): Require type.
3962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3963
3964 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3965 from $CFLAGS, without defining away __attribute__ calls.
3966 (checknamespace): Use $CFLAGS_namespace.
3967
3968 * conform/conformtest.pl (@keywords): Only include C99 keywords
3969 for standards based on C99 or C11.
3970
3971 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3972 Disable tests.
3973 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3974 UNIX98]: Likewise.
3975
3976 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3977 usability of symbols in #if.
3978
3979 * conform/conformtest.pl: If macro or constant types start
3980 "promoted:", expect the symbol to be of the following type
3981 promoted by the integer promotions.
3982
3983 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3984 in one place. Also handle "macro-constant".
3985
3986 * conform/conformtest.pl: Only accept expected macro values with
3987 "==". Parse all "macro" lines in one place.
3988 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3989
3990 * conform/conformtest.pl: Handle braced types on "constant" lines
3991 instead of handling "typed-constant".
3992 * conform/data/signal.h-data: Use "constant" instead of
3993 "typed-constant".
3994
3995 * conform/conformtest.pl: Handle "optional-" at start of lines in
3996 one place rather than duplicating several cases. Handle each
3997 format of "macro" line with initial "optional-".
3998
3999 * conform/conformtest.pl: Only accept expected constant or
4000 optional-constant values with "==". Parse all "constant" lines in
4001 one place. Parse all "optional-constant" lines in one place.
4002 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4003 * conform/data/fmtmsg.h-data: Likewise.
4004 * conform/data/netinet/in.h-data: Likewise.
4005 * conform/data/tar.h-data: Likewise.
4006 * conform/data/limits.h-data: Use "==" form on "constant" and
4007 "optional-constant" lines.
4008
4009 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4010 Use -std=c99 for XOPEN2K.
4011 (@knownproblems): Remove.
4012 (newtoken): Don't check %isknown.
4013
4014 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4015 Do not expect macro.
4016 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4017 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4018 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4019 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4020 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4021 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4022 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4023 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4024 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4025 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4026 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4027 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4028 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4029 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4030 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4031 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4032 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4033 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4034 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4035 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4036 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4037 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4038 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4039 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4040 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4041 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4042 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4043 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4044 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4045 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4046 [XPG3] (acosh): Likewise.
4047 [XPG3] (asinh): Likewise.
4048 [XPG3] (atanh): Likewise.
4049 [XPG3] (cbrt): Likewise.
4050 [XPG3] (expm1): Likewise.
4051 [XPG3] (ilogb): Likewise.
4052 [XPG3] (log1p): Likewise.
4053 [XPG3] (logb): Likewise.
4054 [XPG3] (nextafter): Likewise.
4055 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4056 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4057 [XPG3] (remainder): Likewise.
4058 [XPG3] (rint): Likewise.
4059 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4062 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4063 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4066 [UNIX98 || XOPEN2K] (scalb): Expect.
4067 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4068 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4082 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4083 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4087 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4088 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4089 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4090 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4096 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4100 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4101 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4102 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4103 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4104 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4105 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4106 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4107 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4108 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4111 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4112 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4116 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4117 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4118 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4119 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4120 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4121 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4122 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4123 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4124 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4125 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4126 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4127 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4128 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4129 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4130 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4131 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4132 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4134 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4135 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4136 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4137 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4138 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4139 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4140 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4141 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4143 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4144 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4145 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4146 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4147 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4148 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4149 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4150 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4151 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4152 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4153 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4154 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4156 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4157 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4164 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4165 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4166 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4167 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4168 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4169 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4170 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4171 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4173 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4174 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4175 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4176 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4177 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4178 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4179 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4180 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4184 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4185 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4186 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4187 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4188 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4189 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4190 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4192 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4204
4205 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4206 _XOPEN_SOURCE_EXTENDED for XPG4.
4207
4208 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4209
4210 * Makeconfig (localtime): Remove variable.
4211 (inst_localtime-file): Likewise.
4212
4213 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4214
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4216 Update.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4218 Update.
4219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4220 Update.
4221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4222 Update.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4224 Update.
4225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4226 Update.
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4228 Update.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4230 Update.
4231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4232 Update.
4233
4234 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4235
4236 [BZ #2550]
4237 [BZ #2570]
4238 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4239 comparisons to determine direction to adjust input.
4240 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4241 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4242 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4243 Likewise.
4244 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4245 Likewise.
4246 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4247 Likewise.
4248 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4249 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4250 Likewise.
4251 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4252 Likewise.
4253 * math/libm-test.inc (nexttoward_test): Add more tests.
4254
4255 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4256
4257 [BZ #14040]
4258 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4259 in version GLIBC_2.1, not GLIBC_2.0.
4260 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4261 Likewise.
4262
4263 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4264
4265 [BZ #13942]
4266 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4267 (1 - x) * (1 + x).
4268 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4269 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4270 * math/libm-test.inc (acos_test): Add more tests.
4271 (asin_test): Likewise.
4272 * sysdeps/i386/fpu/libm-test-ulps: Update.
4273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4274
4275 [BZ #14034]
4276 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4277 of square root.
4278 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4279 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4280 * math/libm-test.inc (acos_test_tonearest): New function.
4281 (acos_test_towardzero): Likewise.
4282 (acos_test_downward): Likewise.
4283 (acos_test_upward): Likewise.
4284 (asin_test_tonearest): Likewise.
4285 (asin_test_towardzero): Likewise.
4286 (asin_test_downward): Likewise.
4287 (asin_test_upward): Likewise.
4288 (main): Call the new functions.
4289 * sysdeps/i386/fpu/libm-test-ulps: Update.
4290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4291
4292 [BZ #13884]
4293 [BZ #13924]
4294 * math/e_exp10.c: Include <float.h>.
4295 (__ieee754_exp10): Handle underflow here rather than multiplying
4296 large negative argument by M_LN10.
4297 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4298 of __ieee754_expf.
4299 * math/e_exp10l.c: Include <float.h>.
4300 (__ieee754_exp10l): Handle underflow here rather than multiplying
4301 large negative argument by M_LN10l.
4302 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4303 spurious overflow exception on underflow.
4304
4305 2012-04-29 Marek Polacek <polacek@redhat.com>
4306
4307 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4308 (__fortify_function): New macro.
4309 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4310 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4311 __extern_always_inline.
4312 * libio/bits/stdio2.h: Likewise.
4313 * libio/bits/stdio.h: Likewise.
4314 * string/string.h: Likewise.
4315 * string/bits/string3.h: Likewise.
4316 * include/stdio.h: Likewise.
4317 * stdlib/bits/stdlib.h: Likewise.
4318 * stdlib/stdlib.h: Likewise.
4319 * rt/bits/mqueue2.h: Likewise.
4320 * rt/mqueue.h: Likewise.
4321 * posix/bits/unistd.h: Likewise.
4322 * posix/unistd.h: Likewise.
4323 * io/bits/poll2.h: Likewise.
4324 * io/bits/fcntl2.h: Likewise.
4325 * io/fcntl.h: Likewise.
4326 * io/sys/poll.h: Likewise.
4327 * misc/bits/syslog.h: Likewise.
4328 * misc/bits/syslog-ldbl.h: Likewise.
4329 * misc/sys/syslog.h: Likewise.
4330 * socket/bits/socket2.h: Likewise.
4331 * socket/sys/socket.h: Likewise.
4332 * debug/tst-chk1.c: Likewise.
4333 * wcsmbs/bits/wchar2.h: Likewise.
4334 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4335 * wcsmbs/wchar.h: Likewise.
4336
4337 2012-04-29 Andreas Jaeger <aj@suse.de>
4338
4339 * Makerules (tests): Remove enable-check-abi protection.
4340 (check-abi-warn): Remove.
4341 (check-abi-%): Remove check-abi-warn usage.
4342
4343 * configure.in: Remove check-abi configure option.
4344 * configure: Regenerated.
4345 * config.make.in (enable-check-abi): Remove.
4346
4347 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4348
4349 [BZ #14033]
4350 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4351 double functions to double *_finite functions.
4352
4353 [BZ #13941]
4354 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4355 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4356 LDBL_MIN_EXP.
4357 * stdio-common/Makefile (tests): Add tst-sprintf3.
4358 * stdio-common/tst-sprintf3.c: New file.
4359
4360 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4361 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4362
4363 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4364
4365 * conform/conformtest.pl: Remove duplicate typed-constant
4366 handling.
4367
4368 2012-04-28 David S. Miller <davem@davemloft.net>
4369
4370 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4371 (check-abi-%): Remove AWK script prerequisite and explicit
4372 abilist directory.
4373 (check-abi): Rewrite to just diff the symlist with the abilist.
4374 (config-tls, config-abi-config): Delete, no longer used.
4375 (update-abi-%): Remove AWK script and explicit abilist directory.
4376 (update-abi): Rewrite to simply compare and conditionally copy the
4377 symlist and the sysdep abilist file. Remove update-abi-config
4378 checks.
4379 * abilist/ld.abilist: Remove.
4380 * abilist/libBrokenLocale.abilist: Remove.
4381 * abilist/libanl.abilist: Remove.
4382 * abilist/libcrypt.abilist: Remove.
4383 * abilist/libdl.abilist: Remove.
4384 * abilist/librt.abilist: Remove.
4385 * abilist/libthread_db.abilist: Remove.
4386 * abilist/libutil.abilist: Remove.
4387 * scripts/extract-abilist.awk: Remove.
4388 * scripts/merge-abilist.awk: Remove.
4389 * sysdeps/generic/libcidn.abilist: New file.
4390 * sysdeps/generic/libnss_compat.abilist: New file.
4391 * sysdeps/generic/libnss_db.abilist: New file.
4392 * sysdeps/generic/libnss_dns.abilist: New file.
4393 * sysdeps/generic/libnss_files.abilist: New file.
4394 * sysdeps/generic/libnss_hesiod.abilist: New file.
4395 * sysdeps/generic/libnss_nis.abilist: New file.
4396 * sysdeps/generic/libnss_nisplus.abilist: New file.
4397 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4398 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4399 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4400 file.
4401 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4402 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4403 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4404 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4405 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4406 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4407 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4408 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4409 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4410 file.
4411 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4412 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4413 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4414 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4415 file.
4416 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4417 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4418 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4419 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4420 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4421 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4422 file.
4423 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4424 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4425 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4426 file.
4427 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4429 New file.
4430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4431 New file.
4432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4433 New file.
4434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4435 New file.
4436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4437 New file.
4438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4439 New file.
4440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4441 New file.
4442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4443 New file.
4444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4445 New file.
4446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4447 New file.
4448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4449 New file.
4450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4451 New file.
4452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4453 New file.
4454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4455 file.
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4457 New file.
4458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4459 New file.
4460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4461 file.
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4463 New file.
4464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4465 New file.
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4467 file.
4468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4469 New file.
4470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4471 New file.
4472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4473 New file.
4474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4475 New file.
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4477 New file.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4479 New file.
4480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4482 file.
4483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4484 New file.
4485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4486 file.
4487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4488 file.
4489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4490 file.
4491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4492 file.
4493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4494 file.
4495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4496 New file.
4497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4498 file.
4499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4500 file.
4501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4502 New file.
4503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4504 file.
4505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4507 file.
4508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4509 New file.
4510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4511 file.
4512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4513 file.
4514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4515 file.
4516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4517 file.
4518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4519 file.
4520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4521 New file.
4522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4523 file.
4524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4525 file.
4526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4527 New file.
4528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4529 file.
4530 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4531 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4532 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4533 file.
4534 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4535 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4536 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4537 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4538 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4539 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4540 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4541 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4542 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4543 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4546 file.
4547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4548 New file.
4549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4550 file.
4551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4552 file.
4553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4554 file.
4555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4556 file.
4557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4558 file.
4559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4560 New file.
4561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4562 New file.
4563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4564 file.
4565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4566 New file.
4567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4568 file.
4569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4571 file.
4572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4573 New file.
4574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4575 file.
4576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4577 file.
4578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4579 file.
4580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4581 file.
4582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4583 file.
4584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4585 New file.
4586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4587 New file.
4588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4589 file.
4590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4591 New file.
4592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4593 file.
4594
4595 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4596
4597 * conform/conformtest.pl: Fix typo in handling typed-constant from
4598 allow-header.
4599
4600 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4601
4602 * README: Cut down references to pre-2.6 Linux kernels and
4603 Linuxthreads. Update lists of configurations in libc and ports
4604 and sort alphabetically. Say "or newer" with Linux kernel version
4605 requirements.
4606
4607 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4608
4609 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4610
4611 [BZ #887]
4612 * math/libm-test.inc (logb_test_downward): New test to expose
4613 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4614 rounding mode.
4615
4616 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4617
4618 [BZ #14027]
4619 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4620 to be done.
4621 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4622 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4623
4624 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4625
4626 * sysdeps/unix/i386/brk.S: Remove file.
4627 * sysdeps/unix/i386/dl-brk.S: Likewise.
4628 * sysdeps/unix/i386/pipe.S: Likewise.
4629 * sysdeps/unix/i386/sigreturn.S: Likewise.
4630 * sysdeps/unix/i386/syscall.S: Likewise.
4631 * sysdeps/unix/i386/vfork.S: Likewise.
4632 * sysdeps/unix/i386/wait.S: Likewise.
4633
4634 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4635 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4636
4637 * configure.in (arm*-none*): Do not allow without
4638 --enable-hacker-mode.
4639 (netbsd*): Remove case setting base_os.
4640 (386bsd*): Likewise.
4641 (freebsd*): Likewise.
4642 (bsdi*): Likewise.
4643 (osf*): Likewise.
4644 (sunos*): Likewise.
4645 (ultrix*): Likewise.
4646 (newsos*): Likewise.
4647 (dynix*): Likewise.
4648 (*bsd*): Likewise.
4649 (sysv*): Likewise.
4650 (isc*): Likewise.
4651 (esix*): Likewise.
4652 (sco*): Likewise.
4653 (minix*): Likewise.
4654 (irix4*): Likewise.
4655 (irix6*): Likewise.
4656 (solaris[2-9]*): Likewise.
4657 (none): Likewise.
4658 * configure: Regenerated.
4659
4660 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4661
4662 [BZ #11521]
4663 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4664 overflow or cancellation in calculating denominator.
4665 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4667 down expression to avoid unexpected rounding in newer GCCs.
4668 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4669
4670 2012-04-26 David S. Miller <davem@davemloft.net>
4671
4672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4673 long-double compat symbols.
4674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4687
4688 2012-04-25 David S. Miller <davem@davemloft.net>
4689
4690 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4691 HWCAP_* values only after the memory barriers have been defined.
4692 (atomic_full_barrier): Define.
4693 (atomic_read_barrier): Define.
4694 (atomic_write_barrier): Define.
4695
4696 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4697
4698 * shlib-versions: Add libgcc_s version information.
4699 * sysdeps/generic/libgcc_s.h: Remove.
4700 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4701 libgcc_s.h.
4702 * sysdeps/gnu/unwind-resume.c: Likewise.
4703 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4704
4705 2012-04-25 David S. Miller <davem@davemloft.net>
4706
4707 * sysdeps/unix/sparc/brk.S: Delete.
4708 * sysdeps/unix/sparc/dl-brk.S: Delete.
4709 * sysdeps/unix/sparc/pipe.S: Delete.
4710 * sysdeps/unix/sparc/sysdep.S: Delete.
4711 * sysdeps/unix/sparc/sysdep.h: Delete.
4712 * sysdeps/unix/sparc/vfork.S: Delete.
4713 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4714 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4716 ret_ERRVAL, r0, r1, MOVE): Define.
4717 (JUMPTARGET): Remove.
4718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4719 sysdeps/unix/sparc/sysdep.h
4720 (ENTRY, END): Remove.
4721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4722
4723 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4724
4725 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4726 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4727 -DIS_IN_build.
4728
4729 * timezone/README: Update upstream location and email address for
4730 tzcode and tzdata.
4731 * timezone/zdump.c: Update from tzcode 2012b.
4732 * timezone/zic.c: Likewise.
4733
4734 * configure.in (libc_cv_as_needed): Remove test.
4735 * configure: Regenerated.
4736 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4737 conditional definition.
4738 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4739 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4740 * config.make.in (have-as-needed): Remove variable.
4741
4742 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4743 Paul Pluzhnikov <ppluzhnikov@google.com>
4744
4745 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4746 strings correctly.
4747
4748 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4749
4750 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4751 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4752 * sysdeps/sh/strlen.S: Likewise.
4753
4754 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4755
4756 * sysdeps/unix/fork.S: Remove file.
4757 * sysdeps/unix/i386/fork.S: Likewise.
4758 * sysdeps/unix/sparc/fork.S: Likewise.
4759
4760 * sysdeps/unix/system.c: Remove file.
4761 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4762
4763 * sysdeps/unix/getegid.S: Remove file.
4764 * sysdeps/unix/geteuid.S: Likewise.
4765
4766 2012-04-24 Roland McGrath <roland@hack.frob.com>
4767
4768 * scripts/check-localplt.awk: New file.
4769 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4770 of diff.
4771 * scripts/data/localplt-generic.data: Add a comment.
4772
4773 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4774 NODE when __dir_mkfile failed.
4775 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4776 Reported by Ludovic Courtès <ludo@gnu.org>.
4777
4778 2012-04-24 Andreas Jaeger <aj@suse.de>
4779
4780 * Makerules (common-clean): Also remove gen-as-const-headers
4781 files.
4782
4783 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4784
4785 * Makerules (native-compile): Do not change working directory for
4786 build. Use $(OUTPUT_OPTION) in command.
4787 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4788
4789 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4790
4791 [BZ #13886]
4792 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4793 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4794 * math/libm-test.inc (floor_test): Add more tests.
4795 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4796
4797 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4798
4799 * sysdeps/unix/getdents.c: Remove file.
4800 * sysdeps/unix/sysv/getdents.c: Likewise.
4801 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4802
4803 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4804 sysdeps/unix/mman/syscalls.list.
4805 (mmap): Likewise.
4806 (mprotect): Likewise.
4807 (msync): Likewise.
4808 (munmap): Likewise.
4809 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4810 * sysdeps/unix/mman/syscalls.list: Remove.
4811 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4812
4813 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4814 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4815 * configure: Regenerated.
4816 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4817 $(libgcc_s_suffix).
4818 * config.make.in (libgcc_s_suffix): Remove variable.
4819
4820 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4821
4822 * sysdeps/unix/sysv/gethostname.c: Move to ...
4823 * sysdeps/posix/gethostname.c: ... here.
4824
4825 * sysdeps/unix/execve.S: Remove file.
4826
4827 * sysdeps/unix/_exit.S: Remove file.
4828
4829 2012-04-23 Andreas Jaeger <aj@suse.de>
4830
4831 [BZ #13739]
4832 * manual/Makefile: Remove make dist support, there's no
4833 need for a stand-alone documentation tar ball.
4834 (TEXI2DVI): Define always, it's not in Makeconfig.
4835 (dist): Removed.
4836 (tar-it): Removed.
4837 (edition): Removed.
4838 (glibc-doc-$(edition).tar): Removed
4839 (%.Z): Removed.
4840 (%.gz): Removed.
4841 (%.uu): Removed.
4842 (ETAGS): Remove, it's in Makeconfig.
4843 (move-if-change): Remove, it's in Makeconfig.
4844
4845 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4846
4847 [BZ #13970]
4848 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4849 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4850 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4851 (strtod_l, strtof_l, strtold_l): Remove __wur.
4852 It is not necessarily an error to ignore strtol's return value.
4853 One can reliably look at the stored endptr to decide whether
4854 the number had valid syntax.
4855
4856 2012-04-21 Andreas Jaeger <aj@suse.de>
4857
4858 [BZ #13739]
4859 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4860
4861 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4862
4863 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4864 * sysdeps/unix/sysv/Versions: Remove file.
4865
4866 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4867
4868 [BZ #13927]
4869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4870
4871 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4872
4873 [BZ #7064]
4874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4875 version from __vm86.
4876
4877 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4878
4879 * sysdeps/unix/common/lxstat.c: Remove file.
4880 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4881
4882 * sysdeps/unix/sysv/Makefile: Remove file.
4883
4884 * sysdeps/unix/sysv/direct.h: Remove file.
4885
4886 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4887 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4888 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4889 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4890 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4891 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4892 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4893
4894 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4895
4896 * sysdeps/unix/xmknod.c: Remove file.
4897 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4898
4899 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4900
4901 * sysdeps/unix/sysv/i386/time.S: Remove file.
4902
4903 * sysdeps/unix/fxstat.c: Remove file.
4904 * sysdeps/unix/xstat.c: Likewise.
4905 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4906
4907 * sysdeps/unix/sysv/sigaction.c: Remove file.
4908
4909 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4910 (sysdep_headers): Remove variable.
4911 [termio.h not in sysdep_headers] (generated): Likewise.
4912 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4913 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4914 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4915 * sysdeps/unix/sysv/tcflow.c: Likewise.
4916 * sysdeps/unix/sysv/tcflush.c: Likewise.
4917 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4918 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4919 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4920 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4921 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4922
4923 * sysdeps/unix/siglist.c: Remove file.
4924
4925 * sysdeps/unix/getppid.S: Remove file.
4926
4927 * sysdeps/unix/mkdir.c: Remove file.
4928 * sysdeps/unix/rmdir.c: Likewise.
4929
4930 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4931
4932 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4933 ERR_MAX value.
4934 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4935 errlist-compat value.
4936
4937 2012-04-18 David S. Miller <davem@davemloft.net>
4938
4939 * sysdeps/generic/memcopy.h (reg_char): Delete.
4940 * debug/strcat_chk.c: Use char, not reg_char.
4941 * debug/strcpy_chk.c: Likewise.
4942 * debug/strncat_chk.c: Likewise.
4943 * debug/strncpy_chk.c: Likewise.
4944 * string/memchr.c: Likewise.
4945 * string/memrchr.c: Likewise.
4946 * string/rawmemchr.c: Likewise.
4947 * string/strcat.c: Likewise.
4948 * string/strchr.c: Likewise.
4949 * string/strchrnul.c: Likewise.
4950 * string/strcmp.c: Likewise.
4951 * string/strcpy.c: Likewise.
4952 * string/strncat.c: Likewise.
4953 * string/strncmp.c: Likewise.
4954 * string/strncpy.c: Likewise.
4955
4956 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4957
4958 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4959 __builtin_memcopy is called when src and dest ranges are known to not
4960 overlap.
4961
4962 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4963
4964 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4965 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4966 fwd_align_merge macro call.
4967 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4968 bwd_align_merge macro call.
4969 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4970
4971 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4972
4973 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4974 bwd_align_merge macros.
4975 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4976 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4977 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4978
4979 2012-04-18 David S. Miller <davem@davemloft.net>
4980
4981 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4982
4983 2012-04-18 Andreas Jaeger <aj@suse.de>
4984
4985 [BZ# 6794]
4986 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4987 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4988 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4989
4990 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4991 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4992 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4993
4994 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4995 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4996 Adjust for changed ldbl-128 files.
4997
4998 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4999 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5000 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5001
5002 2012-04-17 David S. Miller <davem@davemloft.net>
5003
5004 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5005
5006 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5007
5008 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5009 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5010 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5011 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5012 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5013 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5014
5015 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5016
5017 [BZ #6794]
5018 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5019 * math/libm-test.inc: Add ilogb errno and exception tests.
5020 * math/w_ilogb.c: New file: ilogb wrapper.
5021 * math/w_ilogbf.c: New file: ilogbf wrapper.
5022 * math/w_ilogbl.c: New file: ilogbl wrapper.
5023 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5024 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5025 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5026 exception being thrown with 0.0 as argument.
5027 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5028 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5029 exception being thrown with 0.0 as argument.
5030 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5031 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5032 exception being thrown with 0.0 as argument.
5033 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5034 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5035 exception being thrown with 0.0 as argument.
5036 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5037 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5038 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5039 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5040 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5041 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5042 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5043 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5044 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5045
5046 2012-04-17 Petr Baudis <pasky@ucw.cz>
5047
5048 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5049 with altivec.
5050
5051 2012-04-16 Marek Polacek <polacek@redhat.com>
5052
5053 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5054
5055 2012-04-16 Marek Polacek <polacek@redhat.com>
5056
5057 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5058 operands of fdivp instruction.
5059
5060 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5061
5062 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5063 * elf/tst-auditmod3b.c: Likewise.
5064 * elf/tst-auditmod4b.c: Likewise.
5065 * elf/tst-auditmod5b.c: Likewise.
5066 * elf/tst-auditmod6b.c: Likewise.
5067 * elf/tst-auditmod6c.c: Likewise.
5068 * elf/tst-auditmod7b.c: Likewise.
5069 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5070 * sysdeps/x86_64/preconfigure.in: Likewise.
5071 * sysdeps/x86_64/preconfigure: Regenerated.
5072
5073 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5074
5075 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5076 __ILP32__.
5077
5078 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
5079
5080 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5081 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5082
5083 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5084
5085 [BZ #13973]
5086 * locale/iso-639.def: Fix gl language name. Spotted by
5087 Yaron Shahrabani.
5088
5089 2012-04-12 Roland McGrath <roland@hack.frob.com>
5090
5091 [BZ #2074]
5092 * libio/libio.h (__io_write_fn): Update comment.
5093
5094 2012-04-12 Petr Baudis <pasky@ucw.cz>
5095
5096 [BZ #2074]
5097 * stdio.texi (Hook Functions): The user provided writer function
5098 is not allowed to return -1.
5099
5100 2012-04-11 David S. Miller <davem@davemloft.net>
5101
5102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5103
5104 2012-04-11 Mike Frysinger <vapier@gentoo.org>
5105
5106 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5107 Add a leading slash to rtkaio.
5108
5109 2012-04-11 Jim Meyering <meyering@redhat.com>
5110
5111 [BZ #11959]
5112 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5113 It is not necessarily an error to ignore fwrite's return
5114 value. One can reliably use ferror to test for errors after
5115 the fact.
5116
5117 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5118
5119 * bits/types.h (__snseconds_t): New type.
5120 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5121
5122 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5124 (__SNSECONDS_T_TYPE): Likewise.
5125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5126 (__SNSECONDS_T_TYPE): Likewise.
5127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5128 (__SNSECONDS_T_TYPE): Likewise.
5129
5130 2012-04-10 Andreas Jaeger <aj@suse.de>
5131
5132 [BZ #2636]
5133 * manual/time.texi (Processor Time): Return type of times is
5134 elapsed real time since an arbitrary point in the past.
5135 (CPU Time): Move CLK_TCK from here...
5136 (Processor Time): ...to here. Correct description.
5137 * manual/conf.texi (Constants for Sysconf): Correct description of
5138 _SC_CLK_TCK.
5139
5140 2012-04-10 David S. Miller <davem@davemloft.net>
5141
5142 [BZ #13967]
5143 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5144 where the is a gap between DT_REL(A) and DT_JMPREL.
5145
5146 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5147
5148 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5149 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5150 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5151
5152 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5153
5154 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5155 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5156 (dl_main): Handle --inhibit-cache.
5157 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5158 _dl_inhibit_cache.
5159 * elf/dl-load.c (_dl_map_object): Use it.
5160 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5161
5162 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5163
5164 [BZ #13872]
5165 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5166 (__ieee754_powl): Saturate large exponents rather than testing for
5167 overflow of y*log2(x).
5168 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5169 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5170 exceptions.
5171
5172 [BZ #11521]
5173 * math/s_ctan.c: Include <float.h>.
5174 (__ctan): Avoid internal overflow or cancellation in calculating
5175 denominator.
5176 * math/s_ctanf.c: Likewise.
5177 * math/s_ctanl.c: Likewise.
5178 * math/s_ctanh.c: Likewise.
5179 * math/s_ctanhf.c: Likewise.
5180 * math/s_ctanhl.c: Likewise.
5181 * math/libm-test.inc (ctan_test): Add more tests.
5182 (ctanh_test): Likewise.
5183 * sysdeps/i386/fpu/libm-test-ulps: Update.
5184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5185
5186 2012-04-09 Andreas Jaeger <aj@suse.de>
5187
5188 [BZ #6894]
5189 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5190 is an optional BSD extension.
5191
5192 [BZ #10254]
5193 * manual/stdio.texi (Opening Streams): Document additional fopen
5194 parameters.
5195
5196 2012-04-09 Roland McGrath <roland@hack.frob.com>
5197
5198 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5199 %eax without telling the compiler.
5200
5201 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5202
5203 [BZ # 13963]
5204 * manual/install.texi: Use sourceware.org.
5205
5206 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5207
5208 [BZ #13873]
5209 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5210 (__ieee754_pow): Generate overflow and underflow using huge*huge
5211 and tiny*tiny rather than just returning constant infinity or zero
5212 for large exponents.
5213 * math/libm-test.inc (pow_test): Require overflow exceptions for
5214 applicable cases of large exponents.
5215
5216 [BZ #706]
5217 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5218 (__ieee754_pow): Use iterative multiplication algorithm only for
5219 integer exponents with absolute value below 1024. Check for odd
5220 integer exponents when using algorithm for real exponents.
5221 * math/libm-test.inc (pow_test): Add more tests.
5222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5223
5224 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5225
5226 [BZ #13705]
5227 * math/libm-test.inc (exp_test): Do not allow overflow exception
5228 on underflow test.
5229
5230 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5231
5232 [BZ #13705]
5233 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5234 instead of __kernel_standard_f.
5235
5236 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5237
5238 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5239 * sysdeps/x86_64/memset_chk.S: Likewise.
5240
5241 2012-04-08 Andreas Jaeger <aj@suse.de>
5242
5243 [BZ #10153]
5244 * manual/startup.texi (Environment Access): Describe return value
5245 for putenv and setenv.
5246
5247 [BZ #6895]
5248 * manual/filesys.texi (Directory Entries): Add description for
5249 DT_LNK.
5250
5251 [BZ #6890]
5252 * manual/filesys.texi (Directory Entries): Clarify that it's file
5253 system not operating system in the description of DT_UNKNOWN.
5254
5255 [BZ #6578]
5256 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5257
5258 2012-04-08 Stephen Compall <s11@member.fsf.org>
5259
5260 [BZ #6649]
5261 * manual/llio.texi (Opening and Closing Files): Add cross
5262 reference to explain mode argument.
5263
5264 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5265
5266 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5267 * sysdeps/x86_64/memset_chk.S: Likewise.
5268
5269 2012-04-07 David S. Miller <davem@davemloft.net>
5270
5271 * elf/elf.h (R_SPARC_WDISP10): Define.
5272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5273 R_SPARC_SIZE32.
5274 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5275 R_SPARC_SIZE64 and R_SPARC_H34.
5276
5277 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5278
5279 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5280 conditions and remove no longer applicable assertion.
5281
5282 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5283
5284 * bits/byteswap.h: Include <features.h>.
5285 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5286 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5287
5288 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5289
5290 * bits/byteswap.h (__bswap_16): Removed.
5291 Include <bits/byteswap-16.h> to get __bswap_16.
5292 * sysdeps/i386/bits/byteswap.h: Likewise.
5293 * sysdeps/s390/bits/byteswap.h: Likewise.
5294 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5295 * bits/byteswap-16.h: New file.
5296 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5297 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5298 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5299 * string/Makefile (headers): Add bits/byteswap-16.h.
5300
5301 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5302
5303 [BZ #13895]
5304 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5305 extra indirection.
5306 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5307 * nss/tst-nss-static.c: New.
5308
5309 2012-04-06 Robert Millan <rmh@gnu.org>
5310
5311 [BZ #6486]
5312 * manual/llio.texi (File Position Primitive): lseek
5313 refers to WHENCE when it really means OFFSET.
5314
5315 2012-04-06 Andreas Jaeger <aj@suse.de>
5316
5317 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5318 strncmp declarations.
5319
5320 * abilist/libc.abilist: Add __poll and __ppoll.
5321
5322 2012-04-05 David S. Miller <davem@davemloft.net>
5323
5324 * scripts/check-local-headers.sh: Accept a host triplet in the
5325 path matched by the exclude regexp.
5326
5327 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5328 definition.
5329 * sysdeps/powerpc/powerpc32/dl-machine.h
5330 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5331 * sysdeps/s390/s390-32/dl-machine.h
5332 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5333 * sysdeps/sparc/sparc32/dl-machine.h
5334 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5335 * sysdeps/sparc/sparc64/dl-machine.h
5336 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5337
5338 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5339 lazy binding.
5340 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5341 undefined symbol errors.
5342
5343 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5344 DT_NEEDED entries.
5345
5346 2012-04-05 Michael Matz <matz@suse.de>
5347
5348 [BZ #13592]
5349 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5350
5351 2012-04-05 Andreas Jaeger <aj@suse.de>
5352
5353 [BZ #13908]
5354 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5355 comment.
5356
5357 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5358
5359 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5360 which ROUND is no valid rounding mode.
5361
5362 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5363
5364 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5365 read again.
5366 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5367
5368 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5369
5370 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5371 an exception using FPU order intentionally.
5372
5373 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5374
5375 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5376 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5377 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5378 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5379
5380 2012-04-05 Simon Josefsson <simon@josefsson.org>
5381
5382 [BZ #12340]
5383 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5384 EINVAL when BUFLEN is too smal.
5385
5386 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5387
5388 [BZ #13553]
5389 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5390 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5391
5392 2012-04-03 Andreas Jaeger <aj@suse.de>
5393
5394 [BZ #13938]
5395 * manual/setjmp.texi (System V contexts): Fix sentence.
5396
5397 [BZ #13926]
5398 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5399 New macro for this case.
5400 [!__GNUC__] (__bswap_64): New inline function for this case.
5401 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5402 * bits/byteswap.h: Likewise.
5403 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5404 ull, guard with __GLIBC_HAVE_LONG_LONG.
5405
5406 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5407 __GLIBC_HAVE_LONG_LONG.
5408
5409 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5410 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5411
5412 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5413
5414 [BZ #13691]
5415 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5416 inptr and inend, rather than using last_ch.
5417
5418 2012-04-02 David S. Miller <davem@davemloft.net>
5419
5420 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5421 * stdio-common/printf-parse.h (read_int): Change return type to
5422 'int', return -1 on INT_MAX overflow.
5423 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5424 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5425 overflows INT_MAX. Check for overflow of in-format-string precision
5426 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5427 SIZE_MAX not INT_MAX for integer overflow test.
5428 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5429 skip the construct in the format string but do not record anything.
5430 * stdio-common/bug22.c: Adjust to test both width/prevision
5431 INT_MAX overflow as well as total length INT_MAX overflow. Check
5432 explicitly for proper errno values.
5433
5434 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5435
5436 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5437 CHAR_MAX.
5438 * string/test-strcmp.c [! WIDE]: Likewise.
5439 * time/tst-mktime2.c: Likewise for INT_MAX.
5440 * string/test-string.h: #include <sys/param.h> for MIN.
5441
5442 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5443 * sysdeps/i386/init-first.c (init): Likewise.
5444 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5445 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5446 * sysdeps/sh/init-first.c (init): Likewise.
5447
5448 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5449
5450 * po/ru.po: Update from translation team.
5451 * po/vi.po: Likewise.
5452
5453 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5454
5455 * resolv/nss_dns/dns-host.c: Merge copyright years.
5456
5457 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5458
5459 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5460 Optimize memcpy with prefetch if
5461 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5462 src, dst pointers have unequal 16 byte alignments.
5463
5464 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5465
5466 [BZ #13928]
5467 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5468 from a CNAME entry and return the minimum ttl for the query.
5469 (gaih_getanswer_slice): Likewise.
5470
5471 2012-03-30 Jeff Law <law@redhat.com>
5472
5473 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5474 due to long keys.
5475 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5476 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5477
5478 * resolv/nss_dns/dns-host.c: Update copyright year.
5479
5480 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5481
5482 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5483 requests to save a system call. Fix check that all bytes are sent.
5484
5485 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5486 comments for sendmmsg.
5487
5488 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5489
5490 [BZ #13691]
5491 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5492 with only 1 character between 0x0041 and 0x01b0.
5493 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5494 * wcsmbs/tst-mbsnrtowcs.c: New file.
5495
5496 2012-03-29 David S. Miller <davem@davemloft.net>
5497
5498 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5499 small copies by hand.
5500
5501 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5502
5503 [BZ #13761]
5504 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5505 _nss_compat_initgroups_dyn): Fall back to malloc/free
5506 for large group memberships.
5507
5508 2012-03-28 David S. Miller <davem@davemloft.net>
5509
5510 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5511 that branches into memcpy.
5512 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5513 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5514 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5515 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5516 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5517 bits.
5518 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5519 implementation too.
5520 * sysdeps/sparc/mempcpy.S: New file.
5521
5522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5523 the IFUNC routine in the libc case.
5524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5525
5526 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5527 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5528 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5529 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5530 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5531 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5532 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5533 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5534
5535 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5536 loop to 256 bytes instead of 64 bytes and fix test signedness.
5537
5538 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5539 * sysdeps/sparc/sparc32/Makefile: rather than here...
5540 * sysdeps/sparc/sparc64/Makefile: and here.
5541
5542 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5543
5544 * malloc/mallocbug.c: Avoid warnings about unused variables.
5545
5546 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5547
5548 [BZ #13760]
5549 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5550 in the right place. Discard and retry query if response is
5551 larger than input buffer size.
5552
5553 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5554
5555 [BZ #369]
5556 [BZ #2678]
5557 [BZ #3866]
5558 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5559 x for large integer exponent.
5560 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5561 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5562 sign of result as needed afterwards.
5563 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5564 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5565 result for underflowing pow the same as for overflow.
5566 (__kernel_standard_l): Handle powl overflow and underflow here
5567 rather than calling __kernel_standard.
5568 * math/libm-test.inc (pow_test): Add more tests.
5569
5570 [BZ #3868]
5571 [BZ #13879]
5572 [BZ #13910]
5573 [BZ #13911]
5574 [BZ #13912]
5575 [BZ #13913]
5576 [BZ #13915]
5577 [BZ #13916]
5578 [BZ #13917]
5579 [BZ #13918]
5580 [BZ #13919]
5581 [BZ #13920]
5582 [BZ #13921]
5583 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5584 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5585 (__kernel_standard_l): New function.
5586 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5587 __kernel_standard.
5588 * math/w_acosl.c (__acosl): Likewise.
5589 * math/w_asinl.c (__asinl): Likewise.
5590 * math/w_atan2l.c (__atan2l): Likewise.
5591 * math/w_atanhl.c (__atanhl): Likewise.
5592 * math/w_coshl.c (__coshl): Likewise.
5593 * math/w_exp10l.c (__exp10l): Likewise.
5594 * math/w_exp2l.c (__exp2l): Likewise.
5595 * math/w_fmodl.c (__fmodl): Likewise.
5596 * math/w_hypotl.c (__hypotl): Likewise.
5597 * math/w_j0l.c (__j0l, __y0l): Likewise.
5598 * math/w_j1l.c (__j1l, __y1l): Likewise.
5599 * math/w_jnl.c (__jnl, __ynl): Likewise.
5600 * math/w_lgammal.c (__lgammal): Likewise.
5601 * math/w_log10l.c (__log10l): Likewise.
5602 * math/w_log2l.c (__log2l): Likewise.
5603 * math/w_logl.c (__logl): Likewise.
5604 * math/w_powl.c (__powl): Likewise.
5605 * math/w_remainderl.c (__remainderl): Likewise.
5606 * math/w_scalbl.c (sysv_scalbl): Likewise.
5607 * math/w_sinhl.c (__sinhl): Likewise.
5608 * math/w_sqrtl.c (__sqrtl): Likewise.
5609 * math/w_tgammal.c (__tgammal): Likewise.
5610 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5611 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5612 * math/libm-test.inc (acos_test): Add more tests.
5613 (acosh_test): Likewise.
5614 (asin_test): Likewise.
5615 (atanh_test): Likewise.
5616 (exp_test): Likewise.
5617 (exp10_test): Likewise.
5618 (exp2_test): Likewise.
5619 (expm1_test): Likewise.
5620 (lgamma_test): Likewise.
5621 (log_test): Likewise.
5622 (log10_test): Likewise.
5623 (log1p_test): Likewise.
5624 (log2_test): Likewise.
5625 (pow_test): Do not allow some spurious overflow exceptions.
5626 (sqrt_test): Add more tests.
5627 (tgamma_test): Likewise.
5628 (y0_test): Likewise.
5629 (y1_test): Likewise.
5630 (yn_test): Likewise.
5631
5632 2012-03-27 Anton Blanchard <anton@samba.org>
5633
5634 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5635 MAP_HUGETLB.
5636 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5637 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5639
5640 2012-03-27 David S. Miller <davem@davemloft.net>
5641
5642 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5643
5644 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5645 have-as-vis3 check.
5646
5647 2012-03-27 Andreas Jaeger <aj@suse.de>
5648
5649 * sysdeps/x86_64/elf/configure.in: Moved to ...
5650 * sysdeps/x86_64/configure.in: ... here.
5651 * sysdeps/x86_64/elf/start.S: Moved to ...
5652 * sysdeps/x86_64/start.S: ... here.
5653 * sysdeps/x86_64/elf/configure: Delete.
5654
5655 * sysdeps/x86_64/configure.in: Merge contents from
5656 sysdeps/i386/configure.in (without i686 check).
5657
5658 * sysdeps/i386/elf/Versions: Merge into ...
5659 * sysdeps/i386/Versions: ... this.
5660 * sysdeps/i386/elf/Versions: Delete file.
5661 * sysdeps/i386/elf/start.S: Moved to ...
5662 * sysdeps/i386/start.S: ...here.
5663 * sysdeps/i386/elf/configure.in: Merge into...
5664 * sysdeps/i386/configure.in: ...here.
5665 * sysdeps/i386/elf/configure.in: Delete file.
5666 * sysdeps/i386/elf/configure: Delete file.
5667
5668 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5669 * debug/backtracesyms.c: ... here.
5670 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5671 * debug/backtracesymsfd.c: ... here.
5672 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5673 * sysdeps/generic/ifunc-sel.h: ... here.
5674
5675 * sysdeps/unix/i386/start.c: Delete file.
5676 * sysdeps/unix/sparc/start.c: Delete file.
5677 * sysdeps/unix/start.c: Delete file.
5678
5679 * sysdeps/sh/elf/configure.in: Moved to ...
5680 * sysdeps/sh/configure.in: ... here.
5681 * sysdeps/sh/elf/start.S: Moved to ...
5682 * sysdeps/sh/start.S: ... here.
5683 * sysdeps/sh/elf/configure: Delete file.
5684
5685 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5686 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5687 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5688 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5689 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5690 * sysdeps/powerpc/powerpc64/start.S: here.
5691 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5692 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5693 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5694 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5695 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5696
5697 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5698 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5699 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5700 * sysdeps/powerpc/powerpc32/start.S: ... here.
5701 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5702 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5703 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5704
5705 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5706 * sysdeps/powerpc/ifunc-sel.h: ... here.
5707 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5708 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5709
5710 * sysdeps/sparc/elf/configure.in: Moved to ...
5711 * sysdeps/sparc/configure.in: ... here.
5712 * sysdeps/sparc/elf/configure: Delete file.
5713 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5714 * sysdeps/sparc/sparc32/start.S: ... here.
5715 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5716 * sysdeps/sparc/sparc64/start.S: ... here.
5717 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5718 * sysdeps/sparc/sparc32/Makefile: ... this.
5719 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5720 * sysdeps/sparc/sparc64/Makefile: ... this.
5721
5722 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5723 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5724 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5725 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5726 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5727 * sysdeps/s390/s390-32/setjmp.S: ... here.
5728 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5729 * sysdeps/s390/s390-32/configure.in: ... here.
5730 * sysdeps/s390/s390-32/elf/configure: Delete file.
5731 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5732 * sysdeps/s390/s390-32/start.S: ... here.
5733
5734 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5735 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5736 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5737 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5738 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5739 * sysdeps/s390/s390-64/setjmp.S: ... here.
5740 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5741 * sysdeps/s390/s390-64/configure.in: ... here
5742 * sysdeps/s390/s390-64/elf/configure: Delete file.
5743 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5744 * sysdeps/s390/s390-64/start.S: ... here.
5745 * sysdeps/s390/s390-64/elf/configure: Delete.
5746
5747 * configure.in: Remove support for elf directories in sysdeps.
5748
5749 * configure: Regenerated.
5750 * sysdeps/i386/configure: Regenerated.
5751 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5752 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5753 * sysdeps/s390/s390-32/configure: Regenerated.
5754 * sysdeps/s390/s390-64/configure: Regenerated.
5755 * sysdeps/sh/configure: Regenerated.
5756 * sysdeps/sparc/configure: Regenerated.
5757 * sysdeps/x86_64/configure: Regenerated.
5758
5759 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5760
5761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5762
5763 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5764 denormal result into account.
5765
5766 2012-03-25 Roland McGrath <roland@hack.frob.com>
5767
5768 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5769 Reported by Allan McRae <allan@archlinux.org>.
5770
5771 2012-03-23 Jeff Law <law@redhat.com>
5772
5773 * nss/getnssent.c (__nss_getent): Fix typo.
5774
5775 2012-03-23 David S. Miller <davem@davemloft.net>
5776
5777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5778
5779 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5780
5781 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5782 to pad to uint64_t for each field.
5783 (dl_tls_index): Replace unsigned long with uint64_t.
5784
5785 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5786 Paul Pluzhnikov <ppluzhnikov@google.com>
5787
5788 [BZ #6528]
5789 * grp/Makefile (otherlibs): Don't set it.
5790 * inet/Makefile (otherlibs): Likewise.
5791 * login/Makefile (otherlibs): Likewise.
5792 * nscd/Makefile (otherlibs): Likewise.
5793 * posix/Makefile (otherlibs): Likewise.
5794 * pwd/Makefile (otherlibs): Likewise.
5795 * rt/Makefile (otherlibs): Likewise.
5796 * sunrpc/Makefile (otherlibs): Likewise.
5797 * nss/Makefile (otherlibs): Likewise.
5798 Add libnss_files to routines and static-only-routines.
5799 ($(objpfx)getent): Remove rule.
5800 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5801 static-only-routines.
5802
5803 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5804
5805 [BZ #13892]
5806 * math/s_cexp.c: Include <float.h>.
5807 (__cexp): Handle exp result overflowing not necessarily
5808 overflowing both real and imaginary parts of result.
5809 * math/s_cexpf.c: Likewise.
5810 * math/s_cexpl.c: Likewise.
5811 * math/libm-test.inc (cexp_test): Add more tests.
5812 * sysdeps/i386/fpu/libm-test-ulps: Update.
5813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5814
5815 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5816
5817 * include/link.h (ELFW): New macro.
5818 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5819 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5820
5821 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5822
5823 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5824 with uint64_t.
5825
5826 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5827
5828 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5829 declaration.
5830 (struct La_x32_retval): Likewise.
5831
5832 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5833
5834 * sysdeps/x86_64/preconfigure.in: New file.
5835 * sysdeps/x86_64/preconfigure: New generated file.
5836
5837 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5838
5839 [BZ #13824]
5840 * math/e_exp2l.c: Include <float.h>.
5841 (__ieee754_exp2l): Handle overflow and underflow cases
5842 separately. Only pass fractional part of argument to
5843 __ieee754_expl.
5844 * math/libm-test.inc (exp2_test): Add more tests.
5845
5846 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5847 negating x to take absolute value.
5848 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5849 Likewise.
5850 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5851 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5852 Likewise.
5853 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5854 computing low part if x was negated.
5855 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5856
5857 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5858
5859 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5860 la_x32_gnu_pltexit.
5861 (pltexit): Cast int_retval to ptrdiff_t.
5862 * elf/tst-auditmod3b.c: Likewise.
5863 * elf/tst-auditmod4b.c: Likewise.
5864 * elf/tst-auditmod5b.c: Likewise.
5865 * elf/tst-auditmod6b.c: Likewise.
5866 * elf/tst-auditmod6c.c: Likewise.
5867 * elf/tst-auditmod7b.c: Likewise.
5868
5869 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5870 and x32_gnu_pltexit.
5871
5872 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5873 __ELF_NATIVE_CLASS.
5874 (La_x32_regs): New macro.
5875 (La_x32_retval): Likewise.
5876 (la_x32_gnu_pltenter): New function prototype.
5877 (la_x32_gnu_pltexit): Likewise.
5878
5879 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5880
5881 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5882 exponent.
5883
5884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5885
5886 * configure.in (libc_cv_cc_nofma): Check for option to disable
5887 generation of FMA instructions.
5888 * configure: Regenerate.
5889 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5890 * sysdeps/ieee754/dbl-64/Makefile: New file.
5891 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5892 Remove brandred-fma4.
5893 (CFLAGS-brandred-fma4.c): Remove.
5894 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5895 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5896 define.
5897 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5898 define.
5899
5900 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5901
5902 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5903 LLONG_MAX != LONG_MAX.
5904 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5905 (_fitoa_word): Likewise.
5906 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5907 LLONG_MAX != LONG_MAX.
5908 * stdio-common/_itowa.h: Include <_itoa.h>.
5909 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5910 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5911 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5912 only if not defined.
5913 (_ITOA_WORD_TYPE): Likewise.
5914 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5915 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5916
5917 2012-03-21 David S. Miller <davem@davemloft.net>
5918
5919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5920
5921 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5922
5923 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5924 of x86_64 when setting libc_cv_slibdir, libdir and
5925 libc_cv_localedir.
5926 * sysdeps/unix/sysv/linux/configure: Regenerated.
5927
5928 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5929
5930 * manual/lang.texi (Old Varargs): Remove section.
5931 (How Variadic): Update menu.
5932 (va_start): Do not mention varargs.h.
5933
5934 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5935 Joseph Myers <joseph@codesourcery.com>
5936
5937 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5938 link test.
5939 * configure: Regenerated.
5940
5941 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5942
5943 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5944 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5945 conformtest.pl
5946
5947 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5948
5949 * NOTES: Remove.
5950 * Makefile (files-for-dist): Remove NOTES.
5951 (NOTES): Remove rule.
5952 * README: Don't refer to NOTES.
5953 * manual/creature.texi: Don't include macros.texi.
5954 * manual/intro.texi (creature.texi): Remove comment referring to
5955 NOTES.
5956
5957 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5958 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5959 * configure: Regenerated.
5960 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5961 LIBC_TRY_CC_OPTION.
5962 (libc_cv_as_i686): Likewise.
5963 (libc_cv_cc_avx): Likewise.
5964 (libc_cv_cc_sse2avx): Likewise.
5965 (libc_cv_cc_fma4): Likewise.
5966 (libc_cv_cc_novzeroupper): Likewise.
5967 * sysdeps/i386/configure: Regenerated.
5968
5969 [BZ #13883]
5970 * sysdeps/i386/fpu/s_cexp.S: Remove.
5971 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5972 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5973 * math/libm-test.inc (cexp_test): Add more tests.
5974 * sysdeps/i386/fpu/libm-test-ulps: Update.
5975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5976
5977 2012-03-21 Allan McRae <allan@archlinux.org>
5978
5979 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5980
5981 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5982
5983 [BZ #13871]
5984 * math/w_exp2.c: Do not include <float.h>.
5985 (o_threshold, u_threshold): Remove.
5986 (__exp2): Calculate result before checking finiteness and calling
5987 __kernel_standard.
5988 * math/w_exp2f.c: Likewise.
5989 * math/w_exp2l.c: Likewise.
5990 * math/libm-test.inc (exp2_test): Require overflow exception for
5991 1e6 input.
5992
5993 [BZ #3866]
5994 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5995 range of signed 64-bit integers before using fistpll. Remove
5996 checks for whether integers fit in mantissa bits.
5997 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5998 the range of signed 32-bit integers before using fistpl. Remove
5999 checks for whether integers fit in mantissa bits.
6000 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6001 (__ieee754_powl): Test for y outside the range of signed 64-bit
6002 integers before using fistpll. Reduce 64-bit values to 63-bit
6003 ones as needed.
6004 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6005 divide-by-zero is raised for zero to large negative powers.
6006 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6007 (__ieee754_powl): Test for y outside the range of signed 64-bit
6008 integers before using fistpll. Reduce 64-bit values to 63-bit
6009 ones as needed.
6010 * math/libm-test.inc (pow_test): Add more tests.
6011
6012 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6013
6014 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6015 <stdio-common/_itoa.h>.
6016 * debug/segfault.c: Likewise.
6017 * elf/dl-cache.c: Likewise.
6018 * elf/dl-minimal.c: Likewise.
6019 * elf/dl-misc.c: Likewise.
6020 * elf/dl-sysdep.c: Likewise.
6021 * elf/dl-version.c: Likewise.
6022 * elf/rtld.c: Likewise.
6023 * hurd/hurdsock.c: Likewise.
6024 * hurd/lookup-retry.c: Likewise.
6025 * malloc/malloc.c: Likewise.
6026 * malloc/mtrace.c: Likewise.
6027 * nscd/nscd_getgr_r.c: Likewise.
6028 * nscd/nscd_getpw_r.c: Likewise.
6029 * nscd/nscd_getserv_r.c: Likewise.
6030 * posix/getopt_init.c: Likewise.
6031 * posix/wordexp.c: Likewise.
6032 * stdio-common/_itoa.c: Likewise.
6033 * stdio-common/printf_fphex.c: Likewise.
6034 * stdio-common/vfprintf.c: Likewise.
6035 * string/_strerror.c: Likewise.
6036 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6037 * sysdeps/i386/i686/hp-timing.h: Likewise.
6038 * sysdeps/mach/_strerror.c: Likewise.
6039 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6040 * sysdeps/mach/hurd/sethostid.c: Likewise.
6041 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6042 * sysdeps/mach/xpg-strerror.c: Likewise.
6043 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6045 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6046 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6047 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6048 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6049 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6050 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6051 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6052 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6053 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6054 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6055 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6056 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6057 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6058 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6059 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6060 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6061 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6062 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6063 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6064
6065 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6066
6067 * stdio-common/_itoa.h: Moved to ...
6068 * sysdeps/generic/_itoa.h: Here.
6069
6070 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6071
6072 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6073 instead of "_itoa.h" and "_itowa.h".
6074 * stdio-common/vfprintf.: Likewise.
6075
6076 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6077
6078 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6079 <bits/wordsize.h>.
6080 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6081 (__signbit): Likwise.
6082 (llrintf): Likwise.
6083 (llrint): Likwise.
6084
6085 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6086
6087 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6088 __WORDSIZE != 64.
6089
6090 2012-03-20 Joseph Myers <joseph@codesourcery.com>
6091
6092 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6093 OVERFLOW_EXCEPTION_OK.
6094 * math/libm-test.inc ("Philosophy"): Update comment about
6095 exception testing.
6096 (OVERFLOW_EXCEPTION): Define.
6097 (OVERFLOW_EXCEPTION_OK): Likewise.
6098 (INVALID_EXCEPTION_OK): Renumber.
6099 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6100 (IGNORE_ZERO_INF_SIGN): Likewise.
6101 (test_exceptions): Handle FE_OVERFLOW.
6102 (exp10_test): Expect overflow exceptions.
6103 (exp2_test): Likewise.
6104 (expm1_test): Likewise.
6105 (nextafter_test): Likewise.
6106 (pow_test): Likewise.
6107 (scalbn_test): Likewise.
6108 (scalbln_test): Likewise.
6109
6110 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6111
6112 * sysdeps/x86_64/bits/atomic.h
6113 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6114 64bit integer.
6115 (atomic_exchange_acq): Likewise.
6116 (__arch_exchange_and_add_body): Likewise.
6117 (__arch_add_body): Likewise.
6118 (atomic_add_negative): Likewise.
6119 (atomic_add_zero): Likewise.
6120
6121 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6122
6123 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6124 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6125
6126 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6127
6128 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6129 Check __x86_64__ instead of __WORDSIZE.
6130
6131 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6132
6133 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6134
6135 2012-03-19 David S. Miller <davem@davemloft.net>
6136
6137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6138
6139 * sysdeps/sparc/fpu/fenv_private.h: New file.
6140 * sysdeps/sparc/fpu/math_private.h: Use it.
6141 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6142 Remove.
6143 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6144 (libc_feholdexcept_setroundl): Remove.
6145 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6146 Remove.
6147 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6148 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6149
6150 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6151
6152 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6153 int64_t instead of long int.
6154 (INSERT_WORDS64): Likwise.
6155
6156 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6157
6158 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6159 _Unwind_GetCFA return to _Unwind_Ptr first.
6160
6161 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6162
6163 [BZ #13629]
6164 * math/s_clog.c: Include <float.h>.
6165 (__clog): Scale large or subnormal inputs.
6166 * math/s_clogf.c: Likewise.
6167 * math/s_clogl.c: Likewise.
6168 * math/s_clog10.c: Include <float.h>.
6169 (M_LOG10_2): Define.
6170 (__clog10): Scale large or subnormal inputs.
6171 * math/s_clog10f.c: Likewise.
6172 * math/s_clog10l.c: Likewise.
6173 * math/libm-test.inc (clog_test): Add more tests.
6174 (clog10_test): Likewise.
6175 * sysdeps/i386/fpu/libm-test-ulps: Update.
6176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6177
6178 [BZ #11451]
6179 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6180 x and y.
6181 * math/libm-test.inc (atan2_test): Add another test.
6182
6183 * Makerules (common-objdir-compile): Remove.
6184 * sysdeps/unix/Makefile (config-generated): Do not add
6185 $(unix-generated) to variable.
6186 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6187 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6188 Remove rule.
6189 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6190 Likewise.
6191 [generic bits/local_lim.h] (before-compile): Do not append to
6192 variable.
6193 [generic bits/local_lim.h] (common-generated): Likewise.
6194 [generic sys/param.h] (before-compile): Do not append to variable.
6195 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6196 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6197 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6198 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6199 include.
6200 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6201 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6202 [generic sys/param.h] ($(addprefix
6203 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6204 [generic sys/param.h] (common-generated): Do not append to
6205 variable.
6206 [generic sys/param.h] (sysdep_headers): Likewise.
6207 [generic bits/errno.h] (before-compile): Do not append to
6208 variable.
6209 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6210 rule.
6211 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6212 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6213 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6214 [generic bits/errno.h] (common-generated): Do not append to
6215 variable.
6216 [generic bits/ioctls.h] (before-compile): Do not append to
6217 variable.
6218 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6219 rule.
6220 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6221 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6222 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6223 rule.
6224 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6225 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6226 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6227 [generic bits/ioctls.h] (common-generated): Do not append to
6228 variable.
6229 [generic sys/syscall.h] (syscall.h): Remove variable.
6230 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6231 rule.
6232 [generic sys/syscall.h] (before-compile): Do not append to
6233 variable.
6234 [generic sys/syscall.h] (common-generated): Likewise.
6235 * sysdeps/unix/errnos-tmpl.c: Remove file.
6236 * sysdeps/unix/errnos.awk: Likewise.
6237 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6238 * sysdeps/unix/ioctls.awk: Likewise.
6239 * sysdeps/unix/mk-local_lim.c: Likewise.
6240 * sysdeps/unix/snarf-ioctls: Likewise.
6241
6242 2012-03-19 Richard Henderson <rth@twiddle.net>
6243
6244 * sysdeps/i386/fpu/fenv_private.h: New file.
6245 * sysdeps/i386/fpu/math_private.h: Use it.
6246 (math_opt_barrier, math_force_eval): Remove.
6247 (libc_feholdexcept_setround_53bit): Remove.
6248 (libc_feupdateenv_53bit): Remove.
6249 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6250 (math_opt_barrier, math_force_eval): Remove.
6251 (libc_feholdexcept): Remove.
6252 (libc_feholdexcept_setround): Remove.
6253 (libc_fetestexcept, libc_fesetenv): Remove.
6254 (libc_feupdateenv_test): Remove.
6255 (libc_feupdateenv, libc_feholdsetround): Remove.
6256 (libc_feresetround): Remove.
6257
6258 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6259 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6260
6261 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6262 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6263 (libc_feupdateenv_testl): New.
6264 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6265 (libc_feupdateenv_testf): New.
6266 (libc_feupdateenv): Use libc_feupdateenv_test.
6267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6268 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6269
6270 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6271 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6272 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6273 (libc_feresetround_noex): New.
6274 (libc_feresetround_noexf): New.
6275 (libc_feresetround_noexl): New.
6276 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6277 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6278 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6279 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6280 SET_RESTORE_ROUND.
6281 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6283 (__cos): Likewise.
6284 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6285 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6286 SET_RESTORE_ROUND_NOEX.
6287 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6288 SET_RESTORE_ROUND_NOEXF.
6289 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6290 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6291 (libc_feholdsetroundf): New.
6292 (libc_feresetround, libc_feresetroundf): New.
6293
6294 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6295 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6296 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6297
6298 * sysdeps/generic/math_private.h: Include <fenv.h>.
6299 (default_libc_feholdexcept): New.
6300 (default_libc_feholdexcept_setround): New.
6301 (default_libc_fesetenv, default_libc_feupdateenv): New.
6302 (libc_feholdexcept): Only define if undefined.
6303 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6304 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6305 (libc_feholdexcept_setroundl): Likewise.
6306 (libc_feholdexcept_setround_53bit): Likewise.
6307 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6308 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6309 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6310 (libc_feupdateenv_53bit): Likewise.
6311 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6312 (libc_feholdexcept): Convert from macro to inline function.
6313 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6314 (libc_fesetenv, libc_feupdateenv): Likewise.
6315
6316 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6317 not previously defined.
6318 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6319 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6320 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6321 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6322 * sysdeps/ieee754/flt-32/math_private.h: New file.
6323 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6324 math_private.h below SET_FLOAT_WORD.
6325 (__isnan, __isinf_ns, __finite): Remove.
6326 (__isnanf, __isinf_nsf, __finitef): Remove.
6327
6328 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6329
6330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6331
6332 2012-03-17 David S. Miller <davem@davemloft.net>
6333
6334 [BZ #6471]
6335 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6336 for 2.16.
6337
6338 2012-03-16 David S. Miller <davem@davemloft.net>
6339
6340 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6341 warnings.
6342
6343 [BZ #6471]
6344 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6345 properly.
6346 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6347 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6348 sysdep_routines when subdir is sysvipc.
6349 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6350 __getshmlba helper.
6351
6352 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6353
6354 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6355
6356 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6357 [__LP64__].
6358
6359 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6360
6361 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6362 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6363 (__lround): Renamed to ...
6364 (__llround): This. Replace long int with long long int.
6365 Define lround functions as aliases of llround functions.
6366 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6367
6368 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6369
6370 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6371 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6372 adresses to uintptr_t. Replace "long int" and "unsigned long
6373 int" with "greg_t" on va_arg.
6374
6375 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6376
6377 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6378 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6379
6380 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6381 Move e_machine check before EI_CLASS check. Handle x32
6382 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6383 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6384 SKIP_EM_IA_64 and include
6385 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6386
6387 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6388 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6389 (add_system_dir): New macro.
6390
6391 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6392 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6393
6394 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6395
6396 [BZ #2551]
6397 [BZ #2552]
6398 [BZ #2553]
6399 [BZ #2554]
6400 [BZ #2562]
6401 [BZ #2563]
6402 [BZ #2565]
6403 [BZ #2566]
6404 [BZ #2576]
6405 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6406 (y0): Likewise.
6407 * math/w_j0f.c (j0f): Likewise.
6408 (y0f): Likewise.
6409 * math/w_j0l.c (__j0l): Likewise.
6410 (__y0l): Likewise.
6411 * math/w_j1.c (j1): Likewise.
6412 (y1): Likewise.
6413 * math/w_j1f.c (j1f): Likewise.
6414 (y1f): Likewise.
6415 * math/w_j1l.c (__j1l): Likewise.
6416 (__y1l): Likewise.
6417 * math/w_jn.c (jn): Likewise.
6418 (yn): Likewise.
6419 * math/w_jnf.c (jnf): Likewise.
6420 (ynf): Likewise.
6421 * math/w_jnl.c (__jnl): Likewise.
6422 (__ynl): Likewise.
6423 * math/libm-test.inc (j0_test): Add more tests.
6424 (j1_test): Likewise.
6425 (jn_test): Likewise. Add trailing semicolon to existing test.
6426 (y0_test): Likewise.
6427 (y1_test): Likewise.
6428 * sysdeps/i386/fpu/libm-test-ulps: Update.
6429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6430
6431 [BZ #13851]
6432 [BZ #13854]
6433 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6434 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6435 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6436 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6437 (__tanl): Set errno for infinite argument.
6438 * sysdeps/i386/fpu/mptan.c: Remove.
6439 * sysdeps/i386/fpu/s_tan.S: Likewise.
6440 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6441 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6442 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6443 * math/libm-test.inc (tan_test): Add more tests and enable more
6444 tests for double and long double.
6445 * sysdeps/i386/fpu/libm-test-ulps: Update.
6446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6447
6448 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6449
6450 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6451 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6452
6453 2012-03-16 Roland McGrath <roland@hack.frob.com>
6454
6455 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6456 * configure.in: Use it for both main tree and add-ons.
6457 * configure: Regenerated.
6458
6459 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6460
6461 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6462
6463 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6464
6465 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6466 in comment.
6467
6468 [BZ #13851]
6469 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6470 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6474 infinite argument.
6475 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6476 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6477 != 0 for prec == 2.
6478 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6479 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6480 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6481 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6482 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6483 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6484 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6485 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6486 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6487 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6488 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6489 * math/libm-test.inc (cos_test): Add more tests and enable more
6490 tests for long double.
6491 (sin_test): Likewise.
6492 (sincos_test): Likewise.
6493 * sysdeps/i386/fpu/libm-test-ulps: Update.
6494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6495
6496 2012-03-16 David S. Miller <davem@davemloft.net>
6497
6498 * sysdeps/sparc/fpu/math_private.h: New file.
6499
6500 2012-03-15 David S. Miller <davem@davemloft.net>
6501
6502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6503 file.
6504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6506 file.
6507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6513 sysdep routines.
6514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6515
6516 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6517 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6518
6519 * sysdeps/sparc/sparc-ifunc.h: New file.
6520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6521 sparc-ifunc.h
6522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6524 Likewise.
6525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6526 Likewise.
6527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6531 Likewise.
6532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6537 Likewise.
6538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6539 Likewise.
6540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6546 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6547 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6559 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6561 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6562 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6563 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6564
6565 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6566
6567 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6568 scaling.
6569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6570
6571 2012-03-15 Andreas Jaeger <aj@suse.de>
6572
6573 [BZ #13852]
6574 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6575 ieee754/flt-32 implementation for sin, cos and sincos.
6576 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6577 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6578 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6579 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6580 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6581 ieee754/flt-32 implementation for tan.
6582
6583 * math/libm-test.inc (cos_test): Enable some large input tests for
6584 float as well
6585 (sin_test): Likewise.
6586 (sincos_test): Likewise.
6587 (tan_test): Add tests for large input.
6588
6589 * sysdeps/i386/fpu/libm-test-ulps: Update.
6590
6591 2012-03-15 Andreas Jaeger <aj@suse.de>
6592
6593 [BZ #13658]
6594 * math/libm-test.inc (cos_test): Add more test cases.
6595 (sin_test): Likewise.
6596 (sincos_test): Likewise.
6597
6598 2012-03-15 Andreas Jaeger <aj@suse.de>
6599
6600 [BZ #13837]
6601 * math/libm-test.inc (cos_test): Add a test case for large input
6602 value.
6603 (sin_test): Likewise.
6604 (sincos_test): Likewise.
6605
6606 2012-03-15 Andreas Jaeger <aj@suse.de>,
6607 Joseph Myers <joseph@codesourcery.com>
6608
6609 [BZ #13658]
6610 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6611 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6612 * sysdeps/i386/fpu/branred.c: Likewise.
6613 * sysdeps/i386/fpu/dosincos.c: Likewise.
6614 * sysdeps/i386/fpu/mpa.c: Likewise.
6615 * sysdeps/i386/fpu/s_cos.S: Likewise.
6616 * sysdeps/i386/fpu/s_sin.S: Likewise.
6617 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6618 * sysdeps/i386/fpu/sincos32.c: Likewise.
6619
6620 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6621 Define.
6622 (libc_feupdateenv_53bit): Define.
6623 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6624 Define.
6625 (libc_feupdateenv_53bit): Define.
6626
6627 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6628 53 bit (without extend i386 double precision).
6629
6630 * math/libm-test.inc (sincos_test): Add tests for large input.
6631 (sin): Likewise.
6632 (cos): Likewise.
6633
6634 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6635
6636 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6637
6638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6639
6640 2012-03-15 David S. Miller <davem@davemloft.net>
6641
6642 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6643 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6644 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6645 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6658 file.
6659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6661 file.
6662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6664 file.
6665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6667 file.
6668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6669 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6670 fmin/fmax sysdep routines.
6671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6672
6673 2012-03-14 David S. Miller <davem@davemloft.net>
6674
6675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6681 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6682 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6686 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6695 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6696 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6697 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6698 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6700 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6701 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6702 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6704 routines.
6705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6706 file.
6707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6709 file.
6710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6712 file.
6713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6715 file.
6716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6718 file.
6719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6721 file.
6722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6723 file.
6724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6725 file.
6726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6727 file.
6728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6729 New file.
6730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6731 file.
6732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6733 file.
6734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6736 file.
6737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6739 file.
6740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6742 file.
6743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6745 VIS3 routines.
6746
6747 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6748 New file.
6749
6750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6751
6752 * sysdeps/sparc/configure.in: New file.
6753 * sysdeps/sparc/configure: Generate.
6754 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6755 * configure: Regenerate.
6756 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6757 * config.make.in (have-as-vis3): New.
6758 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6759 available use -Av9d instead of -Av9a.
6760 * sysdeps/sparc/sparc64/Makefile: Likewise.
6761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6763 New file.
6764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6765 file.
6766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6767 New file.
6768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6769 file.
6770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6771 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6772 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6773 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6774 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6775
6776 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6777 fzeros/fnegs to load 0x80000000 into a float register instead of
6778 using the stack.
6779 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6780
6781 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6782
6783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6784 bits/syscall.h.
6785 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6786 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6787 ($(inst_includedir)/bits/syscall.h): Remove rule.
6788 ($(objpfx)bits/syscall.d): Include instead of
6789 $(objpfx)syscall-list.d.
6790 (generated): Change syscall-list.h and syscall-list.d to
6791 bits/syscall.h and bits/syscall.d.
6792
6793 2012-03-14 Roland McGrath <roland@hack.frob.com>
6794
6795 [BZ #13846]
6796 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6797
6798 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6799
6800 [BZ #13841]
6801 * math/s_csqrt.c: Include <float.h>.
6802 (__csqrt): Scale large or subnormal inputs.
6803 * math/s_csqrtf.c: Likewise.
6804 * math/s_csqrtl.c: Likewise.
6805 * math/libm-test.inc (csqrt_test): Add more tests.
6806 * sysdeps/i386/fpu/libm-test-ulps: Update.
6807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6808
6809 [BZ #13840]
6810 * math/libm-test.inc (hypot_test): Add more tests.
6811
6812 2012-03-13 David S. Miller <davem@davemloft.net>
6813
6814 [BZ #13840]
6815 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6816 double-precision for the calculation instead of scaling.
6817
6818 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6819
6820 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6821 manipulate bits before adding and subtracting TWO52[sx].
6822 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6823 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6824 Likewise.
6825 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6826
6827 2012-03-13 David S. Miller <davem@davemloft.net>
6828
6829 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6830 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6831 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6832 rtld-global-offsets.h
6833 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6834
6835 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6836 large parameters.
6837
6838 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6839
6840 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6841 'err' in the ifdef scope in which it is actually used.
6842
6843 * nss/nss_db/db-init.c: Include string.h
6844
6845 2012-03-12 David S. Miller <davem@davemloft.net>
6846
6847 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6848 masking out of the most significant byte of random value used.
6849 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6850 Fix coding style in previous change.
6851
6852 * sysdeps/unix/sysv/linux/kernel-features.h
6853 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6854 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6855 expression.
6856 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6857 later.
6858
6859 2012-03-11 David S. Miller <davem@davemloft.net>
6860
6861 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6862 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6863 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6864 for 'resultvar' otherwise things get truncated on 64-bit.
6865
6866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6867 Fix masking out of the most significant byte of random value used.
6868
6869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6870
6871 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6872
6873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6874
6875 2012-03-09 David S. Miller <davem@davemloft.net>
6876
6877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6878 variables with appropriate CPP guards.
6879 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6880 frame pointer, not the stack pointer. Correct layout comments. Fix test
6881 on resulting framesize and the management of the outregs buffer for pltexit.
6882 Preserve floating point return values across _dl_call_pltexit call.
6883 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6884 framesize and the management of the outregs buffer for pltexit.
6885 Preserve floating point return values across _dl_call_pltexit
6886 call.
6887 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6888 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6889 (print_exit): Fix format string for return register value.
6890
6891 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6892
6893 * sunrpc/Makefile (others): Add rpcgen.
6894 ($(objpfx)rpcgen): Remove special build rule and dependency on
6895 libc.
6896 * sunrpc/rpcgen.c: New file.
6897
6898 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6899
6900 [BZ #13673]
6901 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6902 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6903 * sysdeps/i386/crti.S: Likewise.
6904 * sysdeps/i386/crtn.S: Likewise.
6905 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6906 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6907 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6908 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6909 * sysdeps/sh/crti.S: Likewise.
6910 * sysdeps/sh/crtn.S: Likewise.
6911 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6912
6913 [BZ #13673]
6914 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6915 with URL.
6916 * locale/programs/locfile-kw.gperf: Likewise.
6917 * locale/programs/charmap-kw.h: Regenerated.
6918 * locale/programs/locfile-kw.h: Likewise.
6919
6920 [BZ #13673]
6921 * intl/plural.y: Replace FSF snail mail address with URL.
6922 * intl/plural.c: Regenerated.
6923
6924 2012-03-09 Richard Henderson <rth@twiddle.net>
6925
6926 * include/math_private.h: Remove file.
6927 * math/math_private.h: Move file ...
6928 * sysdeps/generic/math_private.h: ... here.
6929
6930 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6931 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6932 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6933
6934 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6935 and <math_private.h>.
6936 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6937 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6938 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6939 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6940 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6941 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6942 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6943 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6944 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6945 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6947 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6948 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6949 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6950 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6951 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6952 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6953 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6954 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6955 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6957 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6958 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6959 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6960 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6961 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6962 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6963 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6964 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6966 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6968 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6969 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6970 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6971 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6972 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6973 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6974 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6975 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6976 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6977 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6978 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6979 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6981 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6982 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6983 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6985 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6988 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7024 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7025 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7026 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7027 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7028 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7029 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7030 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7031 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7032 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7033 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7034 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7035 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7036 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7037 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7038 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7039 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7040 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7041 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7042 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7043 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7044 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7045 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7046 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7047 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7048 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7049 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7050 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7051 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7052 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7053 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7054 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7055 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7056 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7057 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7058 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7059 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7060 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7061 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7062 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7063 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7064 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7065 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7066 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7067 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7068 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7069 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7070 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7071 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7072 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7073 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7074 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7075 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7076 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7077 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7078 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7079 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7080 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7082 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7083 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7084 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7085 * sysdeps/ieee754/k_standard.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7201 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7205 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7206 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7208 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7209 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7213 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7214 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7218 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7223 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7232 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7234 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7235 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7236 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7239 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7240 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7241 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7243 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7244 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7246 * sysdeps/ieee754/s_lib_version.c: Likewise.
7247 * sysdeps/ieee754/s_matherr.c: Likewise.
7248 * sysdeps/ieee754/s_signgam.c: Likewise.
7249 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7250 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7251 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7252 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7253 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7254 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7255 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7256 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7257 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7258 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7259 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7260 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7261 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7262 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7263 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7264 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7265 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7266 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7267 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7268 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7269 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7270
7271 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7272
7273 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7274 * sunrpc/rpc_main.c: Likewise.
7275 * sunrpc/rpc_svcout.c: Likewise.
7276
7277 2012-03-09 David S. Miller <davem@davemloft.net>
7278
7279 * include/math_private.h: New file.
7280
7281 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7282
7283 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7284 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7285 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7286 from <bits/socket_type.h>.
7287 (enum __socket_type): Don't define here.
7288 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7290 bits/socket_type.h.
7291
7292 [BZ #13566]
7293 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7294 checking __USE_GNU.
7295
7296 * Makerules ($(inst_includedir)/%.h): New rule.
7297 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7298 (install-others): Remove variable setting.
7299 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7300
7301 2012-03-08 Richard Henderson <rth@twiddle.net>
7302
7303 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7304 from macro to inline function; merge with the
7305 !__LIBC_INTERNAL_MATH_INLINES version.
7306 (__ieee754_sqrtf): Likewise.
7307
7308 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7309 to inline function.
7310 (__rintf, __floor, __floorf): Likewise.
7311
7312 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7313 macro to inline function.
7314 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7315
7316 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7317 not <math/math_private.h>.
7318
7319 2012-03-08 David S. Miller <davem@davemloft.net>
7320
7321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7322 copyright year.
7323 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7324
7325 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7326
7327 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7328 normalization.
7329 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7330 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7331
7332 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7333
7334 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7335 be defined individually, they must be defined as a block. Define
7336 S for printing a string instead of hidint the different by using a
7337 macro for adding the 'l'.
7338 * stdio-common/tst-fphex-wide.c: Adjust.
7339
7340 2012-03-07 Marek Polacek <polacek@redhat.com>
7341
7342 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7343
7344 2012-03-08 Marek Polacek <polacek@redhat.com>
7345
7346 [BZ #13806]
7347 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7348 * stdio-common/tst-fphex.c: Define a few macros to make the
7349 test reusable. Use them.
7350 * stdio-common/tst-fphex-wide.c: New file.
7351
7352 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7353
7354 [BZ #6911]
7355 * manual/macros.texi (gnusystems): New macro.
7356 (nongnusystems): Likewise.
7357 (gnulinuxhurdsystems): Likewise.
7358 (gnuhurdsystems): Likewise..
7359 (gnulinuxsystems): Likewise.
7360 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7361 variants of the GNU system, not "GNU system".
7362 * manual/conf.texi: Likewise.
7363 * manual/errno.texi: Likewise. Update example of errno macro
7364 expansion.
7365 * manual/filesys.texi: Likewise.
7366 (getumask): Document as specific to GNU/Hurd.
7367 * manual/install.texi: Likewise. Reword some references to
7368 GNU/Linux.
7369 * manual/intro.texi: Likewise.
7370 * manual/io.texi: Likewise.
7371 (File Name Portability): Detail which constraints are inapplicable
7372 to all GNU systems and which are only inapplicable to GNU/Hurd.
7373 * manual/job.texi: Likewise.
7374 * manual/llio.texi: Likewise.
7375 (O_NOCTTY): Document as present on GNU/Linux.
7376 * manual/maint.texi: Likewise.
7377 * manual/memory.texi: Likewise.
7378 * manual/pattern.texi: Likewise.
7379 * manual/pipe.texi: Likewise.
7380 * manual/process.texi: Likewise.
7381 * manual/resource.texi: Likewise.
7382 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7383 child on GNU/Hurd.
7384 * manual/setjmp.texi: Likewise.
7385 * manual/signal.texi: Likewise.
7386 * manual/startup.texi: Likewise.
7387 * manual/stdio.texi: Likewise.
7388 * manual/terminal.texi: Likewise.
7389 (ONLCR): Document as POSIX.
7390 (OXTABS): Document availability on GNU/Linux as XTABS.
7391 (ONOEOT): Document availability separately from other bits.
7392 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7393 * manual/time.texi: Likewise.
7394 * manual/users.texi: Likewise.
7395 * INSTALL: Regenerated.
7396 * sysdeps/gnu/errlist.c: Regenerated.
7397
7398 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7399 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7400 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7401 puts.
7402 * configure: Regenerated.
7403
7404 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7405
7406 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7407 default includes instead of AC_HEADER_CHECK.
7408 * sysdeps/i386/configure: Regenerated.
7409
7410 [BZ #10716]
7411 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7412 * math/s_cacoshf.c (__cacoshf): Likewise.
7413 * math/s_cacoshl.c (__cacoshl): Likewise.
7414 * math/s_casinh.c (__casinh): Set signs of result from argument.
7415 * math/s_casinhf.c (__casinhf): Likewise.
7416 * math/s_casinhl.c (__casinhl): Likewise.
7417 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7418 (casinh_test): Add more tests.
7419 * sysdeps/i386/fpu/libm-test-ulps: Update.
7420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7421
7422 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7423
7424 * po/zh_TW.po: Update from translation team.
7425
7426 * login/Makefile (distribute): Remove variable.
7427 * catgets/Makefile: Likewise.
7428 * mach/Makefile: Likewise.
7429 * malloc/Makefile: Likewise.
7430 * misc/Makefile: Likewise.
7431 * iconv/Makefile: Likewise.
7432 * nscd/Makefile: Likewise.
7433 * hurd/Makefile: Likewise.
7434 * manual/Makefile: Likewise.
7435 * locale/Makefile: Likewise.
7436 * intl/Makefile: Likewise.
7437 * conform/Makefile: Likewise.
7438 * nss/Makefile: Likewise.
7439 * time/Makefile: Likewise.
7440 * soft-fp/Makefile: Likewise.
7441 * dirent/Makefile: Likewise.
7442 * gmon/Makefile: Likewise.
7443 * po/Makefile: Likewise.
7444 * rt/Makefile: Likewise.
7445 * socket/Makefile: Likewise.
7446 * math/Makefile: Likewise.
7447 * signal/Makefile: Likewise.
7448 * debug/Makefile: Likewise.
7449 * elf/Makefile: Likewise.
7450 * timezone/Makefile: Likewise.
7451 * stdlib/Makefile: Likewise.
7452 * iconvdata/Makefile: Likewise.
7453 * sunrpc/Makefile: Likewise.
7454 * io/Makefile: Likewise.
7455 * argp/Makefile: Likewise.
7456 * inet/Makefile: Likewise.
7457 * hesiod/Makefile: Likewise.
7458 * grp/Makefile: Likewise.
7459 * csu/Makefile: Likewise.
7460 * wctype/Makefile: Likewise.
7461 * crypt/Makefile: Likewise.
7462 * libio/Makefile: Likewise.
7463 * string/Makefile: Likewise.
7464 * nis/Makefile: Likewise.
7465 * resolv/Makefile: Likewise.
7466 * stdio-common/Makefile: Likewise.
7467 * wcsmbs/Makefile: Likewise.
7468 * dlfcn/Makefile: Likewise.
7469 * posix/Makefile: Likewise.
7470
7471 [BZ #6959]
7472 * timezone/Makefile: Don't install timezone files, just the programs
7473 and scripts.
7474
7475 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7476
7477 * nss/databases.def: Add missing gshadow entry.
7478
7479 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7480
7481 2012-03-06 Marek Polacek <polacek@redhat.com>
7482
7483 [BZ #13726]
7484 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7485 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7486 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7487 * stdio-common/tst-long-dbl-fphex.c: New file.
7488
7489 2012-03-06 David S. Miller <davem@davemloft.net>
7490
7491 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7492 (set_obp_int): New function.
7493 (get_obp_int): New function.
7494 (__get_clockfreq_via_dev_openprom): Likewise.
7495 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7496 Avoid unused variable warnings on 'val' and use builtin_expect.
7497 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7498 __builtin_expect.
7499 (INLINE_CLONE_SYSCALL): Likewise.
7500
7501 2012-03-05 David S. Miller <davem@davemloft.net>
7502
7503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7504
7505 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7506
7507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7508
7509 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7510 only for |x| >= 40.
7511 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7512
7513 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7514
7515 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7516 Replace gettimeofday with __vdso_gettimeofday.
7517
7518 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7519 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7520 __vdso_clock_gettime and __vdso_getcpu.
7521
7522 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7523 time with __vdso_time.
7524
7525 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7526
7527 * manual/lang.texi (size_t): Note types to which size_t may be
7528 equivalent with the GNU C Library, but do not describe when
7529 differences between them are significant.
7530
7531 2012-03-05 Andreas Jaeger <aj@suse.de>
7532
7533 * sysdeps/i386/fpu/libm-test-ulps: Update.
7534
7535 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7536
7537 [BZ #3976]
7538 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7539 (__ieee754_pow): Save and restore rounding mode and use
7540 round-to-nearest for main computations.
7541 * math/libm-test.inc (pow_test_tonearest): New function.
7542 (pow_test_towardzero): Likewise.
7543 (pow_test_downward): Likewise.
7544 (pow_test_upward): Likewise.
7545 (main): Call the new functions.
7546 * sysdeps/i386/fpu/libm-test-ulps: Update.
7547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7548
7549 [BZ #3976]
7550 * math/libm-test.inc (cosh_test_tonearest): New function.
7551 (cosh_test_towardzero): Likewise.
7552 (cosh_test_downward): Likewise.
7553 (cosh_test_upward): Likewise.
7554 (sinh_test_tonearest): Likewise.
7555 (sinh_test_towardzero): Likewise.
7556 (sinh_test_downward): Likewise.
7557 (sinh_test_upward): Likewise.
7558 (main): Call the new functions.
7559 * sysdeps/i386/fpu/libm-test-ulps: Update.
7560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7561
7562 2012-03-05 Tom de Vries <tom@codesourcery.com>
7563
7564 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7565 default stack guard is set in last bytes.
7566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7567
7568 2012-03-05 Kees Cook <keescook@chromium.org>
7569
7570 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7571
7572 [BZ #13656]
7573 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7574 possibly allocate from heap instead of stack.
7575 * stdio-common/bug-vfprintf-nargs.c: New file.
7576 * stdio-common/Makefile (tests): Add nargs overflow test.
7577
7578 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7579
7580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7581
7582 2012-03-03 Marek Polacek <polacek@redhat.com>
7583
7584 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7585 * math/math_private.h: Likewise.
7586 * stdlib/tst-strtod.c: Likewise.
7587 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7588 * sysdeps/x86_64/bits/atomic.h: Likewise.
7589
7590 2012-03-02 David S. Miller <davem@davemloft.net>
7591
7592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7596 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7597 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7598 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7599 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7600
7601 2012-03-02 Roland McGrath <roland@hack.frob.com>
7602
7603 [BZ #13792]
7604 * manual/examples/README: New file, says the example source files
7605 can be used under GPL>=2.
7606 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7607 line containing just "*/".
7608 * manual/examples/add.c: Add copyright header (GPL>=2).
7609 * manual/examples/argp-ex1.c: Likewise.
7610 * manual/examples/argp-ex2.c: Likewise.
7611 * manual/examples/argp-ex3.c: Likewise.
7612 * manual/examples/argp-ex4.c: Likewise.
7613 * manual/examples/atexit.c: Likewise.
7614 * manual/examples/db.c: Likewise.
7615 * manual/examples/dir.c: Likewise.
7616 * manual/examples/dir2.c: Likewise.
7617 * manual/examples/execinfo.c: Likewise.
7618 * manual/examples/filecli.c: Likewise.
7619 * manual/examples/filesrv.c: Likewise.
7620 * manual/examples/fmtmsgexpl.c: Likewise.
7621 * manual/examples/genpass.c: Likewise.
7622 * manual/examples/inetcli.c: Likewise.
7623 * manual/examples/inetsrv.c: Likewise.
7624 * manual/examples/isockad.c: Likewise.
7625 * manual/examples/longopt.c: Likewise.
7626 * manual/examples/memopen.c: Likewise.
7627 * manual/examples/memstrm.c: Likewise.
7628 * manual/examples/mkfsock.c: Likewise.
7629 * manual/examples/mkisock.c: Likewise.
7630 * manual/examples/mygetpass.c: Likewise.
7631 * manual/examples/pipe.c: Likewise.
7632 * manual/examples/popen.c: Likewise.
7633 * manual/examples/rprintf.c: Likewise.
7634 * manual/examples/search.c: Likewise.
7635 * manual/examples/select.c: Likewise.
7636 * manual/examples/setjmp.c: Likewise.
7637 * manual/examples/sigh1.c: Likewise.
7638 * manual/examples/sigusr.c: Likewise.
7639 * manual/examples/stpcpy.c: Likewise.
7640 * manual/examples/strdupa.c: Likewise.
7641 * manual/examples/strftim.c: Likewise.
7642 * manual/examples/strncat.c: Likewise.
7643 * manual/examples/subopt.c: Likewise.
7644 * manual/examples/swapcontext.c: Likewise.
7645 * manual/examples/termios.c: Likewise.
7646 * manual/examples/testopt.c: Likewise.
7647 * manual/examples/testpass.c: Likewise.
7648 * manual/examples/timeval_subtract.c: Likewise.
7649
7650 [BZ #13792]
7651 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7652 function to ...
7653 * manual/timeval_subtract.c.texi: ... here, new file.
7654
7655 2012-03-02 David S. Miller <davem@davemloft.net>
7656
7657 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7658
7659 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7660
7661 [BZ #3976]
7662 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7663 (__sin): Save and restore rounding mode and use round-to-nearest
7664 for all computations.
7665 (__cos): Save and restore rounding mode and use round-to-nearest
7666 for all computations.
7667 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7668 <fenv.h>.
7669 (tan): Save and restore rounding mode and use round-to-nearest for
7670 all computations.
7671 * math/libm-test.inc (cos_test_tonearest): New function.
7672 (cos_test_towardzero): Likewise.
7673 (cos_test_downward): Likewise.
7674 (cos_test_upward): Likewise.
7675 (sin_test_tonearest): Likewise.
7676 (sin_test_towardzero): Likewise.
7677 (sin_test_downward): Likewise.
7678 (sin_test_upward): Likewise.
7679 (tan_test_tonearest): Likewise.
7680 (tan_test_towardzero): Likewise.
7681 (tan_test_downward): Likewise.
7682 (tan_test_upward): Likewise.
7683 (main): Call the new functions.
7684 * sysdeps/i386/fpu/libm-test-ulps: Update.
7685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7686
7687 [BZ #10135]
7688 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7689 small n, then large n, before computing and testing k+n.
7690 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7692 Likewise.
7693 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7694 Likewise.
7695 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7696 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7697 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7698 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7699 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7700 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7701 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7702 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7703 * math/libm-test.inc (scalbn_test): Add more tests.
7704 (scalbln_test): Likewise.
7705
7706 * manual/filesys.texi (mode_t): Describe constraints on size and
7707 signedness, not exact equivalence to a particular type.
7708 (ino_t): Likewise.
7709 (ino64_t): Likewise.
7710 (dev_t): Likewise.
7711 (nlink_t): Likewise.
7712 (blkcnt_t): Likewise.
7713 (blkcnt64_t): Likewise.
7714 * manual/llio.texi (off_t): Likewise.
7715
7716 [BZ #3976]
7717 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7718 (__ieee754_exp): Save and restore rounding mode and use
7719 round-to-nearest for all computations.
7720 * math/libm-test.inc (exp_test_tonearest): New function.
7721 (exp_test_towardzero): Likewise.
7722 (exp_test_downward): Likewise.
7723 (exp_test_upward): Likewise.
7724 (main): Call the new functions.
7725 * sysdeps/i386/fpu/libm-test-ulps: Update.
7726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7727
7728 2012-03-01 Chris Demetriou <cgd@google.com>
7729
7730 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7731 have predictable order.
7732
7733 2012-03-01 David S. Miller <davem@davemloft.net>
7734
7735 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7736
7737 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7738 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7739 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7740 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7741
7742 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7743 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7744 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7746 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7747 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7748 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7749 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7751
7752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7753
7754 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7755 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7756 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7757
7758 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7759 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7760 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7761 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7762 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7763 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7764 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7765 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7766 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7767 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7768 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7769 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7771 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7772 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7774 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7775 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7776 * sysdeps/sparc/elf/configure: Regenerated.
7777
7778 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7779
7780 * configure.in (AS, LD): Require binutils 2.20 or later.
7781 * configure: Regenerated.
7782 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7783 as required minimum version.
7784 * INSTALL: Regenerated.
7785
7786 [BZ #2541]
7787 [BZ #4108]
7788 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7789 before squaring exponent.
7790 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7791 bottom long double and 27 bits of top long double before squaring
7792 exponent.
7793 * math/libm-test.inc (erfc_test): Add more tests.
7794 * sysdeps/i386/fpu/libm-test-ulps: Update.
7795 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7797
7798 2012-03-01 Kai Tietz <ktietz@redhat.com>
7799
7800 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7801 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7802 containing bit-fields.
7803 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7804 * soft-fp/single.h (_FP_UNION_S): Likewise.
7805 * soft-fp/double.h (_FP_UNION_D): Likewise.
7806
7807 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7808
7809 [BZ #13786]
7810 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7811 not include ../strcmp.S.
7812 [USE_AS_STRNCASECMP_L]: Likewise.
7813 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7814 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7815 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7816 (__strncasecmp_l_ia32): Define as alias to
7817 __strncasecmp_l_nonascii.
7818
7819 [BZ #5794]
7820 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7821 * sysdeps/i386/fpu/libm-test-ulps: Update.
7822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7823
7824 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7826
7827 2012-02-29 Jeff Law <law@redhat.com>
7828
7829 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7830 out of bounds read.
7831
7832 2012-02-29 Marek Polacek <polacek@redhat.com>
7833
7834 [BZ #13706]
7835 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7836 * elf/Makefile: Add rules to run tst-unused-dep.out.
7837
7838 2012-02-28 David S. Miller <davem@davemloft.net>
7839
7840 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7841 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7843 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7844 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7845 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7846
7847 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7848
7849 * math/libm-test.inc (llround_test): Move one test from
7850 lround_test. Use TEST_f_L in moved test.
7851 (lround_test): Move misplaced test to llround_test. Add testcase
7852 from bug 2561.
7853
7854 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7855
7856 * sysdeps/x86_64/fpu/e_expf.S: New file.
7857 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7858
7859 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7860
7861 [BZ #13637]
7862 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7863 of remain_len that may cause incomplete multi-byte character and
7864 false match.
7865 * posix/bug-regex33.c: New file.
7866 * posix/Makefile (tests): Add bug-regex33.
7867
7868 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7869
7870 * manual/macros.texi: New file.
7871 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7872 * manual/libc.texinfo: Include macros.texi.
7873 * manual/creatute.texi: Likewise.
7874 * manual/install.texi: Likewise.
7875 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7876 @glibcadj{} in references to the GNU C Library.
7877 * manual/charset.texi: Likewise.
7878 * manual/conf.texi: Likewise.
7879 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7880 when not using those macros.
7881 * manual/creature.texi: Likewise.
7882 * manual/crypt.texi: Likewise.
7883 * manual/errno.texi: Likewise.
7884 * manual/filesys.texi: Likewise.
7885 * manual/header.texi: Likewise.
7886 * manual/install.texi: Likewise.
7887 * manual/intro.texi: Likewise.
7888 * manual/io.texi: Likewise.
7889 * manual/job.texi: Likewise.
7890 * manual/lang.texi: Likewise.
7891 * manual/libc.texiinfo: Likewise.
7892 * manual/llio.texi: Likewise.
7893 * manual/locale.texi: Likewise.
7894 * manual/maint.texi: Likewise.
7895 * manual/math.texi: Likewise.
7896 * manual/memory.texi: Likewise.
7897 * manual/message.texi: Likewise.
7898 * manual/nss.texi: Likewise.
7899 * manual/pattern.texi: Likewise.
7900 * manual/process.texi: Likewise.
7901 * manual/resource.texi: Likewise.
7902 * manual/search.texi: Likewise.
7903 * manual/setjmp.texi: Likewise.
7904 * manual/signal.texi: Likewise.
7905 * manual/socket.texi: Likewise.
7906 * manual/startup.texi: Likewise.
7907 * manual/stdio.texi: Likewise.
7908 * manual/string.texi: Likewise.
7909 * manual/sysinfo.texi: Likewise.
7910 * manual/syslog.texi: Likewise.
7911 * manual/terminal.texi: Likewise.
7912 * manual/time.texi: Likewise.
7913 * manual/users.texi: Likewise.
7914 * INSTALL: Regenerated.
7915 * NOTES: Regenerated.
7916 * sysdeps/gnu/errlist.c: Regenerated.
7917
7918 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7919
7920 * include/dirent.h: Include <dirstream.h> before
7921 <dirent/dirent.h>.
7922
7923 2012-02-28 David S. Miller <davem@davemloft.net>
7924
7925 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7926 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7927 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7928 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7929
7930 2012-02-27 David S. Miller <davem@davemloft.net>
7931
7932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7934 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7935 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7936
7937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7938 frame pointer instead of stack pointer relative arg slot.
7939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7940 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7941 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7942
7943 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7944
7945 [BZ #3992]
7946 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7947
7948 2012-02-27 David S. Miller <davem@davemloft.net>
7949
7950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7954 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7955 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7956 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7957 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7958
7959 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7960
7961 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7962 later. Allow versions 5-9.
7963 * configure: Regenerated.
7964 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7965 required minimum version and 4.6 as recommended version. Do not
7966 mention bugs in GCC 2.7 and 2.8.
7967 * INSTALL: Regenerated.
7968
7969 2012-02-27 David S. Miller <davem@davemloft.net>
7970
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7975 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7976 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7977 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7978 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7979
7980 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7981 manipulate bits before adding and subtracting TWO112[sx].
7982 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7983
7984 2012-02-27 Roland McGrath <roland@hack.frob.com>
7985
7986 [BZ #13775]
7987 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7988 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7989 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7990 being in POSIX, because they are in 1003.1-2008.
7991
7992 * rt/tst-aio.c: Include <fcntl.h>.
7993 * rt/tst-aio7.c: Likewise.
7994 * rt/tst-aio64.c: Likewise.
7995
7996 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7997
7998 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7999
8000 * manual/install.texi (--with-headers): Describe headers as
8001 interface headers, not private headers.
8002 (Specific advice for GNU/Linux systems): Describe use of headers
8003 from "make headers_install", not private headers from older
8004 kernels.
8005 * INSTALL: Regenerated.
8006 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8007 Change to 2.6.19.
8008 * sysdeps/unix/sysv/linux/configure: Regenerated.
8009
8010 * manual/llio.texi (fclean): Remove documentation.
8011
8012 * manual/Makefile (libc-texi-generated): New variable. Include
8013 version.texi.
8014 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8015 $(libc-texi-generated), not duplicated list of files.
8016 (version.texi, stamp-version): New rules.
8017 (realclean): Remove $(libc-texi-generated), not individual files
8018 from that list. Do not remove dir-add.texinfo.
8019 * manual/libc.texinfo: Comment out uses of edition numbers and
8020 references to printed manual. Remove last-updated dates.
8021 (EDITION): Comment out.
8022 (ISBN): Likewise.
8023 (VERSION, UPDATED): Remove.
8024 (version.texi): Include.
8025
8026 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8027
8028 * sysdeps/posix/spawni.c: Include <signal.h>.
8029 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8030 * sysdeps/pthread/aio_fsync.c: Likewise.
8031
8032 2012-02-26 Ulrich Drepper <drepper@gmail.com>
8033
8034 * conform/Makefile (tests): Run only when not cross-compiling and
8035 when fast-check is not defined.
8036
8037 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8038 * conform/data/limits.h-data: Fixes for POSIX2008.
8039 * conform/run-conformtest.sh: Run all tests.
8040 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8041 headers.
8042 * include/bits/dlfcn.h: Likewise.
8043 * include/langinfo.h: Likewise.
8044 * include/monetary.h: Likewise.
8045 * include/sys/poll.h: Likewise.
8046
8047 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8048 for __USE_GNU.
8049 * posix/spawn.h: Define __need_sigset_t.
8050 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8051 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8052 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8053 to get sigevent_t only.
8054 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8055 only for __USE_GNU.
8056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8057 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8058 process_vm_writev only for __USE_GNU.
8059 * termios/termios.h: Declare tcgetsid also for POSIX2008.
8060
8061 * conform/Makefile: For now ignore errors from run-conformtest.
8062 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8063 POSIX to avoid namespace pollution. Don't prepend headers.
8064 * conform/data/aio.h-data: Fixes for POSIX testing.
8065 * conform/data/fcntl.h-data: Likewise.
8066 * conform/data/glob.h-data: Likewise.
8067 * conform/data/grp.h-data: Likewise.
8068 * conform/data/pthread.h-data: Likewise.
8069 * conform/data/pwd.h-data: Likewise.
8070 * conform/data/signal.h-data: Likewise.
8071 * conform/data/spawn.h-data: Likewise.
8072 * conform/data/stdio.h-data: Likewise.
8073 * conform/data/stdlib.h-data: Likewise.
8074 * conform/data/stropts.h-data: Likewise.
8075 * conform/data/sys/mman.h-data: Likewise.
8076 * conform/data/sys/stat.h-data: Likewise.
8077 * conform/data/sys/types.h-data: Likewise.
8078 * conform/data/sys/wait.h-data: Likewise.
8079 * conform/data/time.h-data: Likewise.
8080 * conform/data/unistd.h-data: Likewise.
8081 * conform/data/utime.h-data: Likewise.
8082
8083 * io/sys/stat.h: fchmod was always in POSIX.
8084 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8085 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8086 * rt/aio.h: Define __need_timespec before including <time.h>.
8087 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8088 struct. Add forward declaration of pthread_attr_t and use it in
8089 sigevent.
8090 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8091 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8092 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8093 always remove CLK_TCK definition.
8094
8095 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8096
8097 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8098
8099 2012-02-25 Ulrich Drepper <drepper@gmail.com>
8100
8101 * conform/run-conformtest.sh: New file.
8102 * conform/Makefile: Run run-conformtest for tests.
8103 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8104 support.
8105
8106 * conform/data/uchar.h-data: New file.
8107 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8108 * conform/data/arpa/inet.h-data: Likewise.
8109 * conform/data/assert.h-data: Likewise.
8110 * conform/data/complex.h-data: Likewise.
8111 * conform/data/cpio.h-data: Likewise.
8112 * conform/data/ctype.h-data: Likewise.
8113 * conform/data/dirent.h-data: Likewise.
8114 * conform/data/dlfcn.h-data: Likewise.
8115 * conform/data/errno.h-data: Likewise.
8116 * conform/data/fcntl.h-data: Likewise.
8117 * conform/data/float.h-data: Likewise.
8118 * conform/data/fmtmsg.h-data: Likewise.
8119 * conform/data/fnmatch.h-data: Likewise.
8120 * conform/data/ftw.h-data: Likewise.
8121 * conform/data/glob.h-data: Likewise.
8122 * conform/data/grp.h-data: Likewise.
8123 * conform/data/iconv.h-data: Likewise.
8124 * conform/data/inttypes.h-data: Likewise.
8125 * conform/data/langinfo.h-data: Likewise.
8126 * conform/data/libgen.h-data: Likewise.
8127 * conform/data/limits.h-data: Likewise.
8128 * conform/data/locale.h-data: Likewise.
8129 * conform/data/math.h-data: Likewise.
8130 * conform/data/monetary.h-data: Likewise.
8131 * conform/data/mqueue.h-data: Likewise.
8132 * conform/data/ndbm.h-data: Likewise.
8133 * conform/data/net/if.h-data: Likewise.
8134 * conform/data/netdb.h-data: Likewise.
8135 * conform/data/netinet/in.h-data: Likewise.
8136 * conform/data/nl_types.h-data: Likewise.
8137 * conform/data/poll.h-data: Likewise.
8138 * conform/data/pthread.h-data: Likewise.
8139 * conform/data/pwd.h-data: Likewise.
8140 * conform/data/regex.h-data: Likewise.
8141 * conform/data/sched.h-data: Likewise.
8142 * conform/data/search.h-data: Likewise.
8143 * conform/data/semaphore.h-data: Likewise.
8144 * conform/data/setjmp.h-data: Likewise.
8145 * conform/data/signal.h-data: Likewise.
8146 * conform/data/spawn.h-data: Likewise.
8147 * conform/data/stdarg.h-data: Likewise.
8148 * conform/data/stdio.h-data: Likewise.
8149 * conform/data/stdlib.h-data: Likewise.
8150 * conform/data/string.h-data: Likewise.
8151 * conform/data/strings.h-data: Likewise.
8152 * conform/data/stropts.h-data: Likewise.
8153 * conform/data/sys/ipc.h-data: Likewise.
8154 * conform/data/sys/mman.h-data: Likewise.
8155 * conform/data/sys/msg.h-data: Likewise.
8156 * conform/data/sys/resource.h-data: Likewise.
8157 * conform/data/sys/select.h-data: Likewise.
8158 * conform/data/sys/sem.h-data: Likewise.
8159 * conform/data/sys/shm.h-data: Likewise.
8160 * conform/data/sys/socket.h-data: Likewise.
8161 * conform/data/sys/stat.h-data: Likewise.
8162 * conform/data/sys/statvfs.h-data: Likewise.
8163 * conform/data/sys/time.h-data: Likewise.
8164 * conform/data/sys/timeb.h-data: Likewise.
8165 * conform/data/sys/times.h-data: Likewise.
8166 * conform/data/sys/types.h-data: Likewise.
8167 * conform/data/sys/uio.h-data: Likewise.
8168 * conform/data/sys/un.h-data: Likewise.
8169 * conform/data/sys/utsname.h-data: Likewise.
8170 * conform/data/sys/wait.h-data: Likewise.
8171 * conform/data/syslog.h-data: Likewise.
8172 * conform/data/tar.h-data: Likewise.
8173 * conform/data/termios.h-data: Likewise.
8174 * conform/data/utime.h-data: Likewise.
8175 * conform/data/utmpx.h-data: Likewise.
8176 * conform/data/varargs.h-data: Likewise.
8177 * conform/data/wchar.h-data: Likewise.
8178 * conform/data/wctype.h-data: Likewise.
8179 * conform/data/wordexp.h-data: Likewise.
8180
8181 * include/stropts.h: New file.
8182 * include/uchar.h: New file.
8183 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8184 * include/assert.h: Likewise.
8185 * include/ctype.h: Likewise.
8186 * include/dirent.h: Likewise.
8187 * include/dlfcn.h: Likewise.
8188 * include/fcntl.h: Likewise.
8189 * include/fnmatch.h: Likewise.
8190 * include/glob.h: Likewise.
8191 * include/grp.h: Likewise.
8192 * include/libio.h: Likewise.
8193 * include/locale.h: Likewise.
8194 * include/math.h: Likewise.
8195 * include/net/if.h: Likewise.
8196 * include/netdb.h: Likewise.
8197 * include/netinet/in.h: Likewise.
8198 * include/pthread.h: Likewise.
8199 * include/pwd.h: Likewise.
8200 * include/regex.h: Likewise.
8201 * include/sched.h: Likewise.
8202 * include/search.h: Likewise.
8203 * include/setjmp.h: Likewise.
8204 * include/signal.h: Likewise.
8205 * include/stdio.h: Likewise.
8206 * include/stdlib.h: Likewise.
8207 * include/string.h: Likewise.
8208 * include/sys/cdefs.h: Likewise.
8209 * include/sys/mman.h: Likewise.
8210 * include/sys/msg.h: Likewise.
8211 * include/sys/resource.h: Likewise.
8212 * include/sys/select.h: Likewise.
8213 * include/sys/socket.h: Likewise.
8214 * include/sys/stat.h: Likewise.
8215 * include/sys/statvfs.h: Likewise.
8216 * include/sys/time.h: Likewise.
8217 * include/sys/times.h: Likewise.
8218 * include/sys/uio.h: Likewise.
8219 * include/sys/utsname.h: Likewise.
8220 * include/sys/wait.h: Likewise.
8221 * include/termios.h: Likewise.
8222 * include/time.h: Likewise.
8223 * include/ulimit.h: Likewise.
8224 * include/unistd.h: Likewise.
8225 * include/utime.h: Likewise.
8226 * include/wchar.h: Likewise.
8227 * include/wctype.h: Likewise.
8228 * include/wordexp.h: Likewise.
8229
8230 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8231
8232 * time/time.h: TIME_UTC must be a macro.
8233 Make timespec_get available for ISO C11 only as well.
8234
8235 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8236
8237 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8238 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8239
8240 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8241
8242 * configure.in: Use -o not -a in test for unsupported multi-arch.
8243
8244 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8245
8246 * manual/texinfo.tex: Update to version 2012-01-19.16.
8247
8248 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8249
8250 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8251
8252 2012-02-24 Roland McGrath <roland@hack.frob.com>
8253
8254 [BZ #13738]
8255 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8256 * manual/fdl-1.3.texi: New file.
8257 * manual/fdl-1.1.texi: File removed.
8258
8259 [BZ #13738]
8260 * manual/libc.texinfo (FDL_VERSION): New @set.
8261 Use it for mention of FDL in cover text.
8262 (Documentation License): Use it in @include file name.
8263
8264 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8265 Roland McGrath <roland@hack.frob.com>
8266
8267 [BZ #5461]
8268 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8269 not LONG_LONG_MAX and LONG_LONG_MIN.
8270 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8271 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8272 name.
8273 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8274
8275 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8276
8277 [BZ #2547]
8278 [BZ #11365]
8279 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8280 manipulate bits before adding and subtracting TWO23[sx].
8281 * math/libm-test.inc (nearbyint_test): Add more tests.
8282
8283 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8284
8285 [BZ #2548]
8286 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8287 bits before adding and subtracting TWO23[sx].
8288 * math/libm-test.inc (rint_test): Add more tests.
8289 (rint_test_tonearest): Likewise.
8290 (rint_test_towardzero): Likewise.
8291 (rint_test_downward): Likewise.
8292 (rint_test_upward: Likewise.
8293
8294 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8295
8296 [BZ #10110]
8297 * include/stdc-predef.h: New file. Extracted from features.h.
8298 * include/features.h: Include stdc-predef.h.
8299 * Makefile (headers): Add stdc-predef.h.
8300 * CONFORMANCE (Compiler limitations): Update.
8301
8302 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8303
8304 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8305
8306 2012-02-21 David S. Miller <davem@davemloft.net>
8307
8308 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8309 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8310
8311 2012-02-20 David S. Miller <davem@davemloft.net>
8312
8313 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8314 using a normal save/restore sequence, rather than allocating a
8315 dummy stack frame just to store a frame pointer and restore.
8316 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8317
8318 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8319
8320 * manual/install.texi: Fix stray word in line-wrapped comment.
8321
8322 2012-02-20 David S. Miller <davem@davemloft.net>
8323
8324 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8325 both binutils and gcc support GOTDATA.
8326
8327 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8328 "rd %pc" in the PIC register setup sequences.
8329
8330 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8331 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8332 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8333 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8334 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8335 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8336 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8339 (SYSCALL_ERROR_HANDLER): Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8341 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8342 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8343 (SYSCALL_ERROR_HANDLER): Likewise.
8344
8345 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8346 (HAVE_GCC_GOTDATA): New.
8347 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8348 relocation support in both binutils and gcc.
8349 * sysdeps/sparc/elf/configure: Regenerate.
8350
8351 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8352 * sysdeps/sparc/sparc32/elf/configure: Delete.
8353 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8354 * sysdeps/sparc/sparc64/elf/configure: Delete.
8355 * sysdeps/sparc/elf/configure.in: New file.
8356 * sysdeps/sparc/elf/configure: Generate.
8357
8358 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8359 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8360 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8361 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8362 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8363
8364 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8365
8366 * manual/install.texi: Do not mention specific glibc version
8367 numbers.
8368 * manual/libc.texinfo (VERSION, UPDATED): Update.
8369 (@copying): Use @copyright{} and range of years.
8370
8371 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8372
8373 [BZ #13695]
8374 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8375 [crti.S not in sysdirs] (generated): Do not append.
8376 [crti.S not in sysdirs] (omit-deps): Likewise.
8377 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8378 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8379 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8380 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8381 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8382 Likewise.
8383 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8384 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8385 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8386 * csu/defs.awk: Remove file.
8387 * sysdeps/generic/initfini.c: Likewise.
8388 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8389 variable.
8390 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8391 Likewise.
8392
8393 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8394
8395 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8396 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8397 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8398 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8399 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8400 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8401 <bits/epoll.h>.
8402 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8403 (__EPOLL_PACKED): Define to empty if not defined by
8404 <bits/epoll.h>.
8405 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8407 bits/epoll.h.
8408
8409 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8410
8411 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8412 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8413 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8414 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8415 <bits/timerfd.h>.
8416 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8418 bits/timerfd.h.
8419
8420 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8421
8422 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8423 in C locale.
8424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8425 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8426 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8428
8429 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8430
8431 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8432 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8433
8434 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8435
8436 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8437 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8438 defined.
8439 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8440 Likewise.
8441 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8442 entry for 2.16.
8443
8444 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8445
8446 * math/w_acos.c: Use non-signaling floating-point comparisons.
8447 * math/w_acosf.c: Likewise.
8448 * math/w_acosh.c: Likewise.
8449 * math/w_acoshf.c: Likewise.
8450 * math/w_acoshl.c: Likewise.
8451 * math/w_acosl.c: Likewise.
8452 * math/w_asin.c: Likewise.
8453 * math/w_asinf.c: Likewise.
8454 * math/w_asinl.c: Likewise.
8455 * math/w_atanh.c: Likewise.
8456 * math/w_atanhf.c: Likewise.
8457 * math/w_atanhl.c: Likewise.
8458 * math/w_exp2.c: Likewise.
8459 * math/w_exp2f.c: Likewise.
8460 * math/w_exp2l.c: Likewise.
8461 * math/w_j0.c: Likewise.
8462 * math/w_j0f.c: Likewise.
8463 * math/w_j0l.c: Likewise.
8464 * math/w_j1.c: Likewise.
8465 * math/w_j1f.c: Likewise.
8466 * math/w_j1l.c: Likewise.
8467 * math/w_jn.c: Likewise.
8468 * math/w_jnf.c: Likewise.
8469 * math/w_log.c: Likewise.
8470 * math/w_log10.c: Likewise.
8471 * math/w_log10f.c: Likewise.
8472 * math/w_log10l.c: Likewise.
8473 * math/w_log2.c: Likewise.
8474 * math/w_log2f.c: Likewise.
8475 * math/w_log2l.c: Likewise.
8476 * math/w_logf.c: Likewise.
8477 * math/w_logl.c: Likewise.
8478 * math/w_sqrt.c: Likewise.
8479 * math/w_sqrtf.c: Likewise.
8480 * math/w_sqrtl.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8483 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8484 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8485 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8486
8487 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8488
8489 [BZ #9739]
8490 * manual/string.texi (strnlen): Use correct parameter name in
8491 equivalent expression.
8492
8493 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8494
8495 [BZ #11174]
8496 * manual/users.texi (seteuid): Consistently use neweuid for
8497 argument name.
8498
8499 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8500
8501 [BZ #13704]
8502 * manual/nss.texi (Services in the NSS configuration): Correct
8503 list of services in example configuration file.
8504
8505 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8506
8507 [BZ #11322]
8508 * manual/arith.texi: Remove statements about negative zero
8509 behaving identically to zero.
8510
8511 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8512
8513 [BZ #5993]
8514 * manual/install.texi: Do not document upgrading from libc5.
8515
8516 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8517
8518 [BZ #4596]
8519 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8520
8521 2012-02-18 David S. Miller <davem@davemloft.net>
8522
8523 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8524 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8525 %o7 across the call.
8526 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8527 instead.
8528 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8529 SETUP_PIC_REG_LEAF.
8530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8531 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8532 * sysdeps/sparc/crtn.S: Likewise.
8533
8534 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8535
8536 * aout/Makefile: Remove.
8537
8538 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8539
8540 [BZ #13058]
8541 * manual/examples/argp-ex1.c (main): Format definition in GNU
8542 style.
8543 * manual/examples/argp-ex2.c (main): Likewise.
8544 * manual/examples/argp-ex3.c (main): Likewise.
8545 * manual/examples/argp-ex4.c (main): Likewise.
8546 * manual/examples/longopt.c (main): Use new-style prototype
8547 definition.
8548 * manual/examples/strncat.c (main): Specify return type and use
8549 (void) for arguments.
8550 * manual/examples/subopt.c (main): Use char **argv argument.
8551
8552 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8553
8554 [BZ #5077]
8555 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8556 rounding modes.
8557
8558 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8559
8560 [BZ #6907]
8561 * manual/string.texi (strchr): Change when strchrnul is
8562 recommended.
8563
8564 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8565
8566 [BZ #174]
8567 * manual/locale.texi (setlocale): Document LOCPATH.
8568
8569 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8570
8571 [BZ #10210]
8572 * manual/process.texi (execle): Move @dots{} before last argument.
8573
8574 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8575
8576 [BZ #12047]
8577 * manual/charset.texi (Generic Charset Conversion): Fix typo
8578 (LC_TYPE -> LC_CTYPE).
8579
8580 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8581
8582 [BZ #5805]
8583 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8584 (scalbnf): Likewise.
8585 (scalbnl): Likewise.
8586 (scalbln): Likewise.
8587 (scalblnf): Likewise.
8588 (scalblnl): Likewise.
8589 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8590 (vwarnx): Likewise.
8591 (verr): Likewise.
8592 (verrx): Likewise.
8593 * manual/filesys.texi (telldir): Use braces around return type.
8594 * manual/llio.texi (mmap): Add space after comma.
8595 (mmap64): Likewise.
8596 * manual/math.texi (jn): Use @var{} on parameter names.
8597 (jnf): Likewise.
8598 (jnl): Likewise.
8599 (yn): Likewise.
8600 (ynf): Likewise.
8601 (ynl): Likewise.
8602 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8603 line.
8604 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8605 "...".
8606 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8607 (sched_get_priority_max): Likewise.
8608 * manual/signal.texi (sigvec): Add space after comma.
8609 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8610 names.
8611 (if_indextoname): Likewise.
8612 (if_freenameindex): Likewise.
8613 (sendto): Use ',' instead of '.' in prototype.
8614 * manual/startup.texi (syscall): Use @dots{} instead of literal
8615 "...".
8616 * manual/stdio.texi (__fpending): Separate initial words of
8617 paragraph from @deftypefun line.
8618 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8619 "...".
8620 (vsyslog): Use @var{} on parameter names.
8621 * manual/terminal.texi (stty): Use @var{} on parameter names.
8622 * manual/users.texi (getutmp): Use @var{} on parameter names.
8623 (getutmpx): Likewise.
8624
8625 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8626
8627 [BZ #6884]
8628 * manual/stdio.texi (fopen): Fix typos in description of
8629 ",ccs=STRING".
8630
8631 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8632
8633 [BZ #4026]
8634 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8635 get clock_id definition.
8636
8637 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8638
8639 [BZ #4822]
8640 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8641 (madvise): Cast every argument to void on its own.
8642
8643 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8644
8645 [BZ #9902]
8646 * manual/startup.texi (Exit Status): Fix typo.
8647
8648 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8649
8650 [BZ #10140]
8651 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8652 * manual/examples/argp-ex2.c: Likewise.
8653 * manual/examples/argp-ex3.c: Likewise.
8654
8655 2012-02-16 Richard Henderson <rth@redhat.com>
8656
8657 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8658 * sysdeps/s390/s390-32/initfini.c: Remove.
8659 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8660 * sysdeps/s390/s390-64/initfini.c: Remove.
8661
8662 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8663
8664 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8665 compiler output for sysdeps/generic/initfini.c.
8666 * sysdeps/sh/elf/initfini.c: Remove file.
8667
8668 2012-02-16 David S. Miller <davem@davemloft.net>
8669
8670 [BZ #11494]
8671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8672
8673 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8674 * sysdeps/sparc/crti.S: New file.
8675 * sysdeps/sparc/crtn.S: New file.
8676 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8677 * sysdeps/sparc/sparc64/Makefile: Likewise.
8678
8679 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8680
8681 [BZ #3335]
8682 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8683
8684 2012-02-15 Roland McGrath <roland@hack.frob.com>
8685
8686 [BZ #4822]
8687 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8688
8689 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8690 (write, read, close): Likewise.
8691 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8692
8693 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8694
8695 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8696 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8697 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8698 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8699 <bits/signalfd.h>.
8700 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8702 bits/signalfd.h.
8703
8704 2012-02-14 Marek Polacek <polacek@redhat.com>
8705
8706 * sysdeps/x86_64/crti.S: New file.
8707 * sysdeps/x86_64/crtn.S: New file.
8708 * sysdeps/x86_64/elf/initfini.c: Remove file.
8709
8710 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8711
8712 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8713 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8714 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8715 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8716 <bits/inotify.h>.
8717 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8719 bits/inotify.h.
8720
8721 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8722
8723 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8724 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8725 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8726 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8727 <bits/eventfd.h>.
8728 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8730 bits/eventfd.h.
8731
8732 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8733
8734 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8735 __feraiseexcept instead of feraiseexcept.
8736
8737 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8738 nanosleep invocations.
8739 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8740 strings, and add error checking for a nanosleep invocations.
8741
8742 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8743
8744 Replace FSF snail mail address with URLs, as per GNU coding standards.
8745 Most of the snail mail addresses were wrong anyway, and omitting
8746 them makes the source code easier to maintain. Almost all of the
8747 changes are to license notices and to locale LC_IDENTIFICATION
8748 addresses, except for this one:
8749 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8750 not its snail mail address.
8751
8752 2012-02-09 Richard Henderson <rth@twiddle.net>
8753
8754 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8755 of kernel-features.h.
8756
8757 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8758
8759 2012-02-08 Marek Polacek <polacek@redhat.com>
8760
8761 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8762 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8763 * sysdeps/gnu/_G_config.h: Likewise.
8764 * sysdeps/generic/_G_config.h: Likewise.
8765
8766 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8767
8768 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8769 tests.
8770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8771
8772 * sysdeps/powerpc/powerpc32/crti.S: New file.
8773 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8774 * sysdeps/powerpc/powerpc64/crti.S: New file.
8775 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8776
8777 * Makeconfig (have-initfini): Don't set.
8778 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8779 * configure.in (nopic_initfini): Don't substitute.
8780 * config.h.in (HAVE_INITFINI): Don't #undef.
8781 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8782 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8783
8784 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8785
8786 Support crti.S and crtn.S provided directly by architectures.
8787 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8788 [crti.S in sysdirs] (omit-deps): Likewise.
8789 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8790 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8791 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8792 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8793 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8794 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8795 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8796 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8797 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8798 compiler output for sysdeps/generic/initfini.c.
8799 * sysdeps/i386/elf/Makefile: Remove file.
8800 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8801
8802 2012-02-07 Marek Polacek <polacek@redhat.com>
8803
8804 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8805 * sysdeps/gnu/_G_config.h: Likewise.
8806 * sysdeps/mach/hurd/_G_config.h: Likewise.
8807
8808 2012-02-07 Marek Polacek <polacek@redhat.com>
8809
8810 * math/Makefile (tests): Add tst-CMPLX2.
8811 * math/tst-CMPLX2.c: New file.
8812
8813 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8814
8815 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8816
8817 * math/libm-test.inc (jn_test): Add missing L suffix.
8818
8819 2012-02-06 Marek Polacek <polacek@redhat.com>
8820
8821 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8822 * sysdeps/i386/fpu/e_powf.S: Likewise.
8823 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8824 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8825 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8826 * sysdeps/i386/fpu/e_pow.S: Likewise.
8827 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8829 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8830 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8831 * sysdeps/i386/fpu/e_log2.S: Likewise.
8832 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8833 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8834 * sysdeps/i386/fpu/e_powl.S: Likewise.
8835 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8836 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8837 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8838 * sysdeps/i386/fpu/e_logl.S: Likewise.
8839 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8840 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8841 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8842 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8843 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8844 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8845 * sysdeps/i386/fpu/e_log.S: Likewise.
8846 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8847 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8848 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8849 * sysdeps/i386/fpu/e_logf.S: Likewise.
8850 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8851 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8852 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8853 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8854 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8855 * sysdeps/i386/fpu/e_log10.S: Likewise.
8856 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8857 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8858 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8859 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8860 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8861 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8862 * sysdeps/i386/asm-syntax.h: Likewise.
8863 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8864 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8865 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8866 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8867 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8868 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8869 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8870 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8871 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8872 * sysdeps/powerpc/sysdep.h: Likewise.
8873 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8874 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8875
8876 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8877
8878 [BZ #411]
8879 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8880
8881 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8882
8883 * sysdeps/i386/sysdep.h: Include <features.h>.
8884 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8885 version.
8886
8887 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8888
8889 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8890 Define.
8891 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8892 LOAD_PIC_REG_STR.
8893
8894 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8895
8896 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8897 (SETUP_PIC_REG): Use GET_PC_THUNK.
8898 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8899 macro.
8900
8901 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8902
8903 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8904 for non-PIC compilation.
8905 (SETUP_PIC_REG): Add .p2align directive.
8906 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8907 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8908 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8909 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8910 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8911 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8912 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8913 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8914 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8915 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8916 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8917 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8918 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8919 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8920 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8921 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8922 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8923 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8924 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8925 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8926 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8927 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8928 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8929 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8930 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8932 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8933 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8934 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8935 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8936 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8937 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8938 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8939 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8940 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8941 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8942 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8943 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8944 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8945 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8946 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8947
8948 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8949
8950 * math/tst-CMPLX.c: Include <stdio.h>.
8951
8952 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8953
8954 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8955 float.
8956 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8957 * sysdeps/sparc/bits/mathdef.h: Likewise.
8958
8959 2012-01-31 Marek Polacek <polacek@redhat.com>
8960
8961 * libio/libio.h: Don't define _PARAMS.
8962 * locale/programs/config.h: Don't define PARAMS.
8963 * stdlib/strtol_l.c: Likewise.
8964 (__strtol_l): Remove PARAMS from the prototype.
8965
8966 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8967
8968 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8969 names. Just use the correct names. Remove unnecessary wrapper
8970 functions.
8971 * malloc/arena.c: Likewise.
8972 * malloc/hooks.c: Likewise.
8973
8974 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8975 ARENA_TEST says not to. Simplify test for creation of a new arena.
8976 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8977
8978 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8979
8980 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8981 into tail calls.
8982 (update_get_addr): New function.
8983 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8984 GET_ADDR_MODULE parameter.
8985
8986 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8987
8988 * crypt/cert.c: Remove __STDC__ conditionals.
8989 * crypt/crypt-entry.c: Likewise.
8990 * crypt/crypt_util.c: Likewise.
8991 * libio/filedoalloc.c: Likewise.
8992 * libio/fileops.c: Likewise.
8993 * libio/genops.c: Likewise.
8994 * libio/iofclose.c: Likewise.
8995 * libio/iofdopen.c: Likewise.
8996 * libio/iofopen.c: Likewise.
8997 * libio/iofopen64.c: Likewise.
8998 * libio/iogetdelim.c: Likewise.
8999 * libio/iopopen.c: Likewise.
9000 * libio/obprintf.c: Likewise.
9001 * libio/oldfileops.c: Likewise.
9002 * libio/oldiofclose.c: Likewise.
9003 * libio/oldiofdopen.c: Likewise.
9004 * libio/oldiofopen.c: Likewise.
9005 * libio/oldiopopen.c: Likewise.
9006 * libio/wfiledoalloc.c: Likewise.
9007 * libio/wgenops.c: Likewise.
9008 * locale/programs/xmalloc.c: Likewise.
9009 * misc/syslog.c: Likewise.
9010 * stdio-common/xbug.c: Likewise.
9011 * string/memchr.c: Likewise.
9012 * string/memcmp.c: Likewise.
9013 * string/memrchr.c: Likewise.
9014 * string/rawmemchr.c: Likewise.
9015 * sysdeps/posix/getcwd.c: Likewise.
9016 * time/strftime_l.c: Likewise.
9017
9018 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9019
9020 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9021 * config.make.in (config-cflags-sse2avx): Define.
9022 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9023 Fix typo.
9024
9025 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9026
9027 * scripts/config.guess: Update from upstream config git repository.
9028 * scripts/config.sub: Likewise.
9029
9030 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9031
9032 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9033 (EM_NUM): Update.
9034 (R_TILEPRO_*, R_TILEGX_*): New macros.
9035
9036 * scripts/firstversions.awk: Fix bug in version range handling.
9037
9038 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9039
9040 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9041
9042 * include/sys/epoll.h: New file.
9043 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9044 libc_hidden_def.
9045
9046 2012-01-28 Ulrich Drepper <drepper@gmail.com>
9047
9048 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9049 Avoid unnecessary __WORDSIZE == 64 test.
9050 (fmaxf): Use VEX format if possible.
9051 (fmax): Likewise.
9052 (fminf): Likewise.
9053 (fmin): Likewise.
9054
9055 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9056 * math/math_private.h: Remove libc_fegetround* and
9057 libc_fesetround*.
9058 * sysdeps/i386/configure.in: Check for -msse2avx.
9059 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9060 also if SSE2AVX is defined.
9061 Remove libc_fegetround* and libc_fesetround*.
9062 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9063 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9064 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9065 of HAS_YMM_USABLE.
9066 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9067 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9068 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9069 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9070 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9071
9072 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9073
9074 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9075
9076 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9077 size is not set.
9078 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9079
9080 2012-01-27 Ulrich Drepper <drepper@gmail.com>
9081
9082 [BZ #13618]
9083 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9084 relocation.
9085 * Makeconfig (libm): Define.
9086 * elf/Makefile: Add rules to build and run tst-relsort1.
9087 * elf/tst-relsort1.c: New file.
9088 * elf/tst-relsort1mod1.c: New file.
9089 * elf/tst-relsort1mod2.c: New file.
9090
9091 2012-01-27 Joseph Myers <joseph@codesourcery.com>
9092
9093 * math/s_ldexp.c: Remove __STDC__ conditionals.
9094 * math/s_ldexpf.c: Likewise.
9095 * math/s_ldexpl.c: Likewise.
9096 * math/s_nextafter.c: Likewise.
9097 * math/s_nexttowardf.c: Likewise.
9098 * math/s_significand.c: Likewise.
9099 * math/s_significandf.c: Likewise.
9100 * math/s_significandl.c: Likewise.
9101 * math/w_jnl.c: Likewise.
9102 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9103 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9104 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9105 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9106 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9108 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9109 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9121 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9122 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9123 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9124 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9125 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9126 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9127 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9128 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9129 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9130 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9131 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9132 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9133 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9134 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9135 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9136 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9137 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9138 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9139 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9140 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9141 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9142 * sysdeps/ieee754/k_standard.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9204 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9217 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9218 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9222 * sysdeps/ieee754/s_matherr.c: Likewise.
9223 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9224 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9225 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9226 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9227
9228 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9229
9230 * crypt/md5.h: Remove __STDC__ conditionals.
9231 * libio/libioP.h: Likewise.
9232 * locale/programs/config.h: Likewise.
9233 * sysdeps/generic/sysdep.h: Likewise.
9234 * sysdeps/i386/asm-syntax.h: Likewise.
9235 * sysdeps/s390/asm-syntax.h: Likewise.
9236 * sysdeps/unix/sysdep.h: Likewise.
9237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9239
9240 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9241
9242 * libio/libio.h: Remove __STDC__ conditionals.
9243 * malloc/obstack.h: Likewise.
9244 * math/complex.h: Likewise.
9245 * math/math.h: Likewise.
9246 * sysdeps/generic/_G_config.h: Likewise.
9247 * sysdeps/gnu/_G_config.h: Likewise.
9248 * sysdeps/mach/hurd/_G_config.h: Likewise.
9249 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9250 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9251 * sysdeps/sparc/bits/mathdef.h: Likewise.
9252
9253 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9254
9255 [BZ #13583]
9256 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9257 Clean up HAS_* macros.
9258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9259 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9260 possible.
9261 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9262 HAS_AVX.
9263 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9264 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9265 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9266 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9267 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9268
9269 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9270
9271 * elf/tst-unique3.cc (gets): Remove declaration.
9272 * elf/tst-unique3lib.cc (gets): Likewise.
9273 * elf/tst-unique3lib2.cc (gets): Likewise.
9274 * elf/tst-unique4.cc (gets): Likewise.
9275
9276 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9277
9278 * include/stdio.h: Add C++ protection. Add gets declarations and
9279 definitions.
9280 * debug/tst-chk1.c: Don't declare gets here.
9281 * stdio-common/tst-gets.c: Likewise.
9282
9283 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9284
9285 * posix/glob: Remove directory.
9286
9287 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9288
9289 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9290
9291 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9292
9293 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9294 of the non-standard EPFNOSUPPORT.
9295
9296 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9297
9298 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9299 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9300 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9301
9302 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9303
9304 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9305
9306 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9307
9308 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9309 transient errors.
9310 * nscd/grpcache.c (cache_addgr): Likewise.
9311 * nscd/hstcache.c (cache_addhst): Likewise.
9312 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9313 * nscd/pwdcache.c (cache_addpw): Likewise.
9314 * nscd/servicescache.c (cache_addserv): Likewise.
9315
9316 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9317
9318 * malloc/malloc.c: Various cleanups.
9319 * malloc/hooks.c: Likewise.
9320
9321 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9322 * stdlib/bug-fmtmsg1.c: New file.
9323
9324 * stdlib/fmtmsg.c (init): Add missing unlock.
9325 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9326
9327 2012-01-12 Marek Polacek <polacek@redhat.com>
9328
9329 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9330 and _GNU_SOURCE.
9331
9332 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9333
9334 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9335 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9336 macro to ensure uniqueness of label name.
9337 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9338 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9339
9340 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9341
9342 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9343
9344 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9345 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9346 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9348
9349 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9350
9351 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9352
9353 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9354 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9355 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9356
9357 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9358
9359 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9360 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9361 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9362 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9363
9364 * math/bits/math-finite.h: Add ldexp support.
9365
9366 2012-01-10 Marek Polacek <polacek@redhat.com>
9367
9368 * locale/programs/localedef.h (show_archive_content): Add noreturn
9369 attribute.
9370
9371 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9372
9373 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9374
9375 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9376
9377 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9378
9379 * io/Makefile (headers): Add bits/poll2.h.
9380
9381 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9382
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9384 typo #include statement.
9385
9386 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9387
9388 * include/sys/cdefs.h: Define __attribute_alloc_size.
9389 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9390 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9391 * elf/pldd.c: Likewise.
9392 * iconv/iconv_charmap.c: Likewise.
9393 * iconv/iconvconfig.c: Likewise.
9394 * iconv/strtab.c: Likewise.
9395 * locale/programs/locale.c: Likewise.
9396 * locale/programs/localedef.h: Likewise.
9397 * locale/programs/simple-hash.c: Likewise.
9398 * nscd/nscd.h: Likewise.
9399 * nss/makedb.c: Likewise.
9400 * sysdeps/generic/ldconfig.h: Likewise.
9401 * locale/programs/localedef.c: Remove xmalloc prototype.
9402 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9403
9404 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9405
9406 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9407 appropriate.
9408
9409 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9410
9411 * math/Makefile (tests): Add tst-CMPLX.
9412 * math/tst-CMPLX.c: New file.
9413
9414 * math/complex.h (CMPLXL): Fix typo.
9415
9416 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9417 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9418 GLIBC_2.16.
9419 * debug/tst-chk1.c: Add poll and ppoll tests.
9420 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9421 * include/sys/poll.h: Add hidden proto for ppoll.
9422 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9423 * sysdeps/mach/hurd/ppoll.c: Likewise.
9424 * io/ppoll.c: Likewise.
9425 * debug/poll_chk.c: New file.
9426 * debug/ppoll_chk.c: New file.
9427 * include/bits/poll2.h: New file.
9428 * io/bits/poll2.h: New file.
9429
9430 [BZ #1350]
9431 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9432
9433 * configure.in: static is always set to yes. Remove.
9434 * config.make.in: Don't set build-static.
9435 * Makeconfig: Remove use of build-static.
9436 * dlfcn/Makefile: Likewise.
9437 * elf/Makefile: Likewise.
9438 * math/Makefile: Likewise.
9439 * misc/Makefile: Likewise.
9440 * nptl/Makefile: Likewise.
9441 * sysdeps/mach/hurd/Makefile: Likewise.
9442
9443 * configure.in: PWD_P is not used anymore.
9444 * config.make.in: Remove PWD_P entry.
9445
9446 * configure.in: Remove last remnants of RANLIB.
9447 No need to check for signed size_t anymore.
9448 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9449 and IA-64.
9450 Remove __builtin_expect test because we require at least gcc 3.4.
9451 * aclocal.m4: Likewise.
9452
9453 * wcsmbs/mbrtoc16.c: Implement using towc function.
9454 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9455 * wcsmbs/wcsmbsload.c: Likewise.
9456 * iconv/gconv_simple.c: Likewise.
9457 * iconv/gconv_int.h: Likewise.
9458 * iconv/gconv_builtin.h: Likewise.
9459 * iconv/iconv_prog.c: Remove CHAR16 handling.
9460
9461 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9462
9463 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9464
9465 * configure.in: Remove --with-elf and --enable-bounded options.
9466 Dont set base_machine for ia64. More non-ELF conditions removed.
9467 Remove testing and setting of leading underscore information.
9468 * config.make.in (build-bounded): Set to no.
9469 * config.h.in: Remove NO_UNDERSCORES entry.
9470 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9471 them.
9472 * csu/start.c: Remove !NO_UNDERSCORE code.
9473 * locale/localeinfo.h: Likewise.
9474 * sysdeps/generic/machine-gmon.h: Likewise.
9475 * sysdeps/generic/sysdep.h: Likewise.
9476 * sysdeps/i386/sysdep.h: Likewise.
9477 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9478 * sysdeps/mach/sysdep.h: Likewise.
9479 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9480 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9481 * sysdeps/sh/sysdep.h: Likewise.
9482 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9483 * sysdeps/unix/i386/sysdep.S: Likewise.
9484 * sysdeps/unix/sparc/start.c: Likewise.
9485 * sysdeps/unix/sparc/sysdep.S: Likewise.
9486 * sysdeps/unix/sparc/sysdep.h: Likewise.
9487 * sysdeps/unix/start.c: Likewise.
9488 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9489 * sysdeps/x86_64/sysdep.h: Likewise.
9490
9491 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9492
9493 [BZ #13553]
9494 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9495 for non-gcc.
9496 * argp/argp-fmtstream.h: Use const instead __const.
9497 * argp/argp.h: Likewise.
9498 * assert/assert.h: Likewise.
9499 * bits/fenv.h: Likewise.
9500 * bits/sched.h: Likewise.
9501 * bits/sigset.h: Likewise.
9502 * bits/sigthread.h: Likewise.
9503 * catgets/nl_types.h: Likewise.
9504 * conform/data/pthread.h-data: Likewise.
9505 * crypt/crypt-private.h: Likewise.
9506 * crypt/crypt.h: Likewise.
9507 * crypt/crypt_util.c: Likewise.
9508 * ctype/ctype.h: Likewise.
9509 * debug/execinfo.h: Likewise.
9510 * debug/mbsnrtowcs_chk.c: Likewise.
9511 * debug/mbsrtowcs_chk.c: Likewise.
9512 * debug/wcsnrtombs_chk.c: Likewise.
9513 * debug/wcsrtombs_chk.c: Likewise.
9514 * debug/wcstombs_chk.c: Likewise.
9515 * dirent/dirent.h: Likewise.
9516 * dlfcn/dlfcn.h: Likewise.
9517 * elf/neededtest4.c: Likewise.
9518 * grp/grp.h: Likewise.
9519 * gshadow/gshadow.h: Likewise.
9520 * iconv/gconv.h: Likewise.
9521 * iconv/gconv_int.h: Likewise.
9522 * iconv/gconv_simple.c: Likewise.
9523 * iconv/iconv.h: Likewise.
9524 * iconv/loop.c: Likewise.
9525 * iconv/skeleton.c: Likewise.
9526 * include/aio.h: Likewise.
9527 * include/aliases.h: Likewise.
9528 * include/argz.h: Likewise.
9529 * include/arpa/inet.h: Likewise.
9530 * include/assert.h: Likewise.
9531 * include/dirent.h: Likewise.
9532 * include/dlfcn.h: Likewise.
9533 * include/execinfo.h: Likewise.
9534 * include/fcntl.h: Likewise.
9535 * include/fenv.h: Likewise.
9536 * include/glob.h: Likewise.
9537 * include/grp.h: Likewise.
9538 * include/libintl.h: Likewise.
9539 * include/mntent.h: Likewise.
9540 * include/netdb.h: Likewise.
9541 * include/pwd.h: Likewise.
9542 * include/rpc/netdb.h: Likewise.
9543 * include/sched.h: Likewise.
9544 * include/search.h: Likewise.
9545 * include/shadow.h: Likewise.
9546 * include/signal.h: Likewise.
9547 * include/stdio.h: Likewise.
9548 * include/stdlib.h: Likewise.
9549 * include/string.h: Likewise.
9550 * include/sys/socket.h: Likewise.
9551 * include/sys/stat.h: Likewise.
9552 * include/sys/statfs.h: Likewise.
9553 * include/sys/statvfs.h: Likewise.
9554 * include/sys/syslog.h: Likewise.
9555 * include/sys/time.h: Likewise.
9556 * include/sys/uio.h: Likewise.
9557 * include/time.h: Likewise.
9558 * include/unistd.h: Likewise.
9559 * include/utmp.h: Likewise.
9560 * include/wchar.h: Likewise.
9561 * include/wctype.h: Likewise.
9562 * inet/aliases.h: Likewise.
9563 * inet/arpa/inet.h: Likewise.
9564 * inet/netinet/ether.h: Likewise.
9565 * inet/netinet/in.h: Likewise.
9566 * intl/libintl.h: Likewise.
9567 * io/bits/fcntl2.h: Likewise.
9568 * io/fcntl.h: Likewise.
9569 * io/ftw.h: Likewise.
9570 * io/sys/poll.h: Likewise.
9571 * io/sys/stat.h: Likewise.
9572 * io/sys/statfs.h: Likewise.
9573 * io/sys/statvfs.h: Likewise.
9574 * io/utime.h: Likewise.
9575 * libio/bits/stdio.h: Likewise.
9576 * libio/bits/stdio2.h: Likewise.
9577 * libio/libio.h: Likewise.
9578 * libio/libioP.h: Likewise.
9579 * libio/stdio.h: Likewise.
9580 * locale/lc-ctype.c: Likewise.
9581 * locale/locale.h: Likewise.
9582 * login/utmp.h: Likewise.
9583 * malloc/arena.c: Likewise.
9584 * malloc/malloc.c: Likewise.
9585 * malloc/malloc.h: Likewise.
9586 * malloc/mcheck.c: Likewise.
9587 * malloc/mtrace.c: Likewise.
9588 * math/bits/mathcalls.h: Likewise.
9589 * math/fenv.h: Likewise.
9590 * math/math_private.h: Likewise.
9591 * misc/bits/error.h: Likewise.
9592 * misc/bits/syslog.h: Likewise.
9593 * misc/err.h: Likewise.
9594 * misc/error.h: Likewise.
9595 * misc/fstab.h: Likewise.
9596 * misc/mntent.h: Likewise.
9597 * misc/regexp.h: Likewise.
9598 * misc/search.h: Likewise.
9599 * misc/sgtty.h: Likewise.
9600 * misc/sys/mman.h: Likewise.
9601 * misc/sys/syslog.h: Likewise.
9602 * misc/sys/uio.h: Likewise.
9603 * misc/sys/xattr.h: Likewise.
9604 * misc/ttyent.h: Likewise.
9605 * nis/rpcsvc/ypclnt.h: Likewise.
9606 * nss/nss.h: Likewise.
9607 * posix/bits/unistd.h: Likewise.
9608 * posix/fnmatch.h: Likewise.
9609 * posix/glob.h: Likewise.
9610 * posix/sched.h: Likewise.
9611 * posix/spawn.h: Likewise.
9612 * posix/sys/wait.h: Likewise.
9613 * posix/unistd.h: Likewise.
9614 * posix/wordexp.h: Likewise.
9615 * pwd/pwd.h: Likewise.
9616 * resolv/netdb.h: Likewise.
9617 * resource/sys/resource.h: Likewise.
9618 * rt/aio.h: Likewise.
9619 * rt/bits/mqueue2.h: Likewise.
9620 * rt/mqueue.h: Likewise.
9621 * shadow/shadow.h: Likewise.
9622 * signal/signal.h: Likewise.
9623 * socket/send.c: Likewise.
9624 * socket/sendto.c: Likewise.
9625 * socket/sys/socket.h: Likewise.
9626 * stdio-common/printf.h: Likewise.
9627 * stdlib/bits/stdlib.h: Likewise.
9628 * stdlib/fmtmsg.h: Likewise.
9629 * stdlib/monetary.h: Likewise.
9630 * stdlib/stdlib.h: Likewise.
9631 * stdlib/ucontext.h: Likewise.
9632 * streams/stropts.h: Likewise.
9633 * string/argz.h: Likewise.
9634 * string/bits/string2.h: Likewise.
9635 * string/string.h: Likewise.
9636 * string/strings.h: Likewise.
9637 * sunrpc/rpc/auth.h: Likewise.
9638 * sunrpc/rpc/auth_des.h: Likewise.
9639 * sunrpc/rpc/clnt.h: Likewise.
9640 * sunrpc/rpc/netdb.h: Likewise.
9641 * sunrpc/rpc/pmap_clnt.h: Likewise.
9642 * sunrpc/rpc/xdr.h: Likewise.
9643 * sysdeps/generic/inttypes.h: Likewise.
9644 * sysdeps/generic/net/if.h: Likewise.
9645 * sysdeps/generic/sys/swap.h: Likewise.
9646 * sysdeps/gnu/net/if.h: Likewise.
9647 * sysdeps/gnu/utmpx.h: Likewise.
9648 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9649 * sysdeps/i386/i486/bits/string.h: Likewise.
9650 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9651 * sysdeps/s390/bits/string.h: Likewise.
9652 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9653 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9654 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9655 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9656 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9657 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9658 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9659 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9660 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9661 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9662 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9663 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9664 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9665 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9666 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9667 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9668 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9670 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9672 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9673 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9674 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9675 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9676 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9677 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9678 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9679 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9680 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9681 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9682 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9683 * sysvipc/sys/ipc.h: Likewise.
9684 * sysvipc/sys/msg.h: Likewise.
9685 * sysvipc/sys/sem.h: Likewise.
9686 * sysvipc/sys/shm.h: Likewise.
9687 * termios/termios.h: Likewise.
9688 * time/sys/time.h: Likewise.
9689 * time/time.h: Likewise.
9690 * wcsmbs/bits/wchar2.h: Likewise.
9691 * wcsmbs/uchar.h: Likewise.
9692 * wcsmbs/wchar.h: Likewise.
9693 * wctype/wctype.h: Likewise.
9694
9695 [BZ #13551]
9696 * Makeconfig: Remove all but ELF support including AIX support.
9697 * Makerules: Likewise.
9698 * config.h.in: Likewise.
9699 * config.make.in: Likewise.
9700 * configure: Likewise.
9701 * configure.in: Likewise.
9702 * csu/Makefile: Likewise.
9703 * csu/version.c: Likewise.
9704 * debug/Makefile: Likewise.
9705 * dlfcn/Makefile: Likewise.
9706 * elf/Makefile: Likewise.
9707 * extra-lib.mk: Likewise.
9708 * iconv/Makefile: Likewise.
9709 * include/libc-symbols.h: Likewise.
9710 * include/shlib-compat.h: Likewise.
9711 * resolv/Makefile: Likewise.
9712 * resolv/res_libc.c: Likewise.
9713 * rt/Makefile: Likewise.
9714 * sysdeps/i386/asm-syntax.h: Likewise.
9715 * sysdeps/i386/sysdep.h: Likewise.
9716 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9717 * sysdeps/mach/sysdep.h: Likewise.
9718 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9719 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9720 * sysdeps/s390/asm-syntax.h: Likewise.
9721 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9722 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9723 * sysdeps/sh/sysdep.h: Likewise.
9724 * sysdeps/unix/sparc/sysdep.h: Likewise.
9725 * sysdeps/wordsize-32/divdi3.c: Likewise.
9726 * sysdeps/x86_64/sysdep.h: Likewise.
9727
9728 * argp/Versions: Remove _argp_unlock_xxx.
9729
9730 [BZ #13559]
9731 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9732 * abilist/libBrokenLocale.abilist: Likewise.
9733 * abilist/libanl.abilist: Likewise.
9734 * abilist/libc.abilist: Likewise.
9735 * abilist/libcrypt.abilist: Likewise.
9736 * abilist/libdl.abilist: Likewise.
9737 * abilist/libm.abilist: Likewise.
9738 * abilist/libnsl.abilist: Likewise.
9739 * abilist/libpthread.abilist: Likewise.
9740 * abilist/libresolv.abilist: Likewise.
9741 * abilist/librt.abilist: Likewise.
9742 * abilist/libthread_db.abilist: Likewise.
9743 * abilist/libutil.abilist: Likewise.
9744 * abilist/libnss_db.abilist: New file.
9745
9746 * scripts/abilist.awk: Add support for indirect functions.
9747
9748 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9749
9750 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9751
9752 * shlib-versions: Remove entries for ports architectures.
9753
9754 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9755 files in ports.
9756 * elf/stackguard-macros.h: Remove support for IA-64.
9757 * elf/tst-auditmod1.c: Likewise.
9758 * sysdeps/generic/ldsodefs.h: Likewise.
9759
9760 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9761 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9762 configure files.
9763
9764 [BZ #13552]
9765 * configure.in: Remove --enable-omitfp support.
9766 * FAQ.in: Adjust.
9767 * config.make.in: Likewise.
9768 * Makeconfig: Likewise.
9769 * manual/install.texi: Likewise.
9770
9771 In case anyone cares, the IA-64 architecture could move to ports.
9772 * sysdeps/ia64/*: Removed.
9773 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9774 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9775
9776 [BZ #13555]
9777 * configure.in: Remove entries for unsupported architectures.
9778
9779 [BZ #13533]
9780 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9781 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9782 routines.
9783 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9784 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9785 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9786 fall back to using wcrtomb.
9787 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9788 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9789 renaming.
9790 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9791 * wcsmbs/tst-c16c32-1.c: New file.
9792
9793 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9794 local variable.
9795
9796 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9797
9798 * elf/tst-unique3.cc: Add explicit declaration of gets.
9799 * elf/tst-unique3lib.cc: Likewise.
9800 * elf/tst-unique3lib2.cc: Likewise.
9801 * elf/tst-unique4.cc: Likewise.
9802
9803 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9804
9805 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9806
9807 [BZ #13566]
9808 * assert/assert.h (static_assert): Don't define for C++.
9809 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9810 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9811
9812 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9813
9814 * iconv/loop.c (single loop): Fix assertion in storing of
9815 remaining bytes.
9816
9817 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9818
9819 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9820
9821 * posix/getconf.c: Update copyright year.
9822 * nss/getent.c: Likewise.
9823 * nss/makedb.c: Likewise.
9824 * iconv/iconvconfig.c: Likewise.
9825 * iconv/iconv_prog.c: Likewise.
9826 * elf/ldconfig.c: Likewise.
9827 * elf/pldd.c: Likewise.
9828 * elf/sotruss.ksh: Likewise.
9829 * catgets/gencat.c: Likewise.
9830 * csu/version.c: Likewise.
9831 * elf/ldd.bash.in: Likewise.
9832 * elf/sprof.c (print_version): Likewise.
9833 * locale/programs/locale.c: Likewise.
9834 * locale/programs/localedef.c: Likewise.
9835 * login/programs/pt_chown.c: Likewise.
9836 * nscd/nscd.c (print_version): Likewise.
9837 * debug/xtrace.sh: Likewise.
9838 * malloc/memusage.sh: Likewise.
9839 * malloc/mtrace.pl: Likewise.
9840 * debug/catchsegv.sh: Likewise.
9841
9842 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9843
9844 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9845 pure attribute.
9846
9847 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9848
9849 [BZ #13533]
9850 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9851 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9852 transformations.
9853 * iconv/gconv_int.h: Likewise.
9854 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9855 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9856 from libc for GLIBC_2.16.
9857 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9858 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9859 * wcsmbs/uchar.h: Really define mbstate_t.
9860 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9861 * wcsmbs/c16rtomb.c: New file.
9862 * wcsmbs/mbrtoc16.c: New file.
9863 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9864 for C/POSIX locale.
9865 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9866 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9867
9868 * wcsmbs/wchar.h: Add missing __restrict.
9869
9870 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9871
9872 [BZ #13532]
9873 * time/Makefile (routines): Add timespec_get.
9874 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9875 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9876 timespec for ISO C11.
9877 * time/timespec_get.c: New file.
9878 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9879 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9880
9881 [BZ #13531]
9882 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9883 * stdlib/stdlib.h: Declare aligned_alloc.
9884 * Versions.def: Add GLIBC_2.16 for libc.
9885 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9886
9887 [BZ 13527]
9888 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9889 ISO C11.
9890
9891 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9892 code.
9893
9894 [BZ #13528]
9895 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9896
9897 [BZ #13529]
9898 * assert/assert.h (static_assert): Define.
9899
9900 * version.h: Update for 2.16 development version.
9901
9902 [BZ #13526]
9903 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9904 _ISOC11_SOURCE.
9905
9906 * version.h (RELEASE): Bump for 2.15 release.
9907 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9908
9909 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9910 Patch by Marek Polacek <mpolacek@redhat.com>.
9911
9912 * bits/byteswap.h: Protect long long constants with __extension__.
9913 * sysdeps/i386/bits/byteswap.h: Likewise.
9914 * sysdeps/ia64/bits/byteswap.h: Likewise.
9915 * sysdeps/s390/bits/byteswap.h: Likewise.
9916 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9917
9918 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9919
9920 [BZ #13540]
9921 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9922 destination buffer.
9923 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9924
9925 2011-12-23 Marek Polacek <polacek@redhat.com>
9926
9927 * elf/dl-addr.c (determine_info): Add inline keyword.
9928 * elf/tst-auditmod4b.c (check_avx): Likewise.
9929 * elf/tst-auditmod6b.c (check_avx): Likewise.
9930 * elf/tst-auditmod6c.c (check_avx): Likewise.
9931 * elf/tst-auditmod7b.c (check_avx): Likewise.
9932
9933 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9934
9935 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9936 !__SSE_MATH__.
9937
9938 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9939
9940 [BZ #13540]
9941 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9942 processing for last bytes.
9943
9944 2011-08-06 Bruno Haible <bruno@clisp.org>
9945
9946 [BZ #13061]
9947 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9948 U+0385, not to U+1FEE.
9949
9950 [BZ #13062]
9951 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9952 entry for U+00A5 U+0301.
9953
9954 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9955
9956 [BZ #13166]
9957 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9958 buffer for the output is too small.
9959
9960 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9961 optimization.
9962
9963 [BZ #13185]
9964 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9965 SSE flags if possible.
9966
9967 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9968
9969 [BZ #13540]
9970 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9971 processing for last bytes.
9972
9973 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9974
9975 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9976 (syscall-list-default-options, syscall-list-default-condition)
9977 (syscall-list-includes): Define.
9978 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9979 list of ABIs and options and #if conditions for each ABI. Do not
9980 handle common syscalls between ABIs specially.
9981 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9982 Remove.
9983 (syscall-list-variants, syscall-list-32bit-options)
9984 (syscall-list-32bit-condition, syscall-list-64bit-options)
9985 (syscall-list-64bit-condition): Define.
9986 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9987 (syscall-list-variants, syscall-list-32bit-options)
9988 (syscall-list-32bit-condition, syscall-list-64bit-options)
9989 (syscall-list-64bit-condition): Define.
9990 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9991 Remove.
9992 (syscall-list-variants, syscall-list-32bit-options)
9993 (syscall-list-32bit-condition, syscall-list-64bit-options)
9994 (syscall-list-64bit-condition): Define.
9995 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9996 Remove.
9997 (syscall-list-variants, syscall-list-32bit-options)
9998 (syscall-list-32bit-condition, syscall-list-64bit-options)
9999 (syscall-list-64bit-condition): Define.
10000
10001 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10002
10003 * locale/iso-639.def: Add brx entry.
10004
10005 [BZ #13328]
10006 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10007 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10008
10009 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10010 __feraiseexcept_renamed.
10011
10012 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10013
10014 [BZ #13538]
10015 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10016 EPOLLET with unsigned values.
10017 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10018 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10019
10020 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10021 to large cancellation.
10022 * math/s_cacoshf.c: Likewise.
10023 * math/s_cacoshl.c: Likewise.
10024
10025 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10026
10027 [BZ #13305]
10028 [BZ #12786]
10029 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10030 * math/s_cacoshf.c: Likewise.
10031 * math/s_cacoshl.c: Likewise.
10032
10033 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10034
10035 [BZ #13439]
10036 * iconv/gconv.h: Define __GCONV_SWAP.
10037 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10038 * iconvdata/utf-16.c: Likewise.
10039 * iconvdata/utf-32.c: Likewise.
10040
10041 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10042
10043 [BZ #13524]
10044 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10045 numerator after shifting it by one limb.
10046
10047 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10048
10049 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10050 under [__USE_EXTERN_INLINES].
10051
10052 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10053
10054 [BZ #13446]
10055 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10056
10057 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10058
10059 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10060 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10061 optimized code.
10062 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10063 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10064 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10065 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10066 for strncasecmp/strncasecmp_l compilation.
10067 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10068 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10069
10070 2011-12-08 Marek Polacek <mpolacek@redhat.com>
10071
10072 [BZ #13484]
10073 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10074 of __asm__.
10075
10076 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10077
10078 [BZ #13506]
10079 * time/tzfile.c (__tzfile_read): Check values from file header.
10080
10081 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10082
10083 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10084 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10085 * powerpc/powerpc32/dl-start.S: Likewise.
10086 * powerpc/powerpc32/elf/start.S: Likewise.
10087 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10088 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10089 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10090 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10091 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10092 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10093 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10094 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10095 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10096 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10097 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10098 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10099 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10100 * powerpc/powerpc32/memset.S: Likewise.
10101 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10102 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10103 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10104 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10105 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10106 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10107 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10108 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10109 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10110 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10111 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10112 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10113 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10114
10115 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10116
10117 * math/libm-test.inc: Added more nearbyint tests.
10118 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10119 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10120 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10121 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10122
10123 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10124
10125 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10126 FD_CLOEXEC.
10127
10128 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10129
10130 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10131 Add wcscpy-ssse3 wcscpy-c.
10132 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10133 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10134 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10135 * sysdeps/x86_64/wcschr.S: New file.
10136 * sysdeps/x86_64/wcsrchr.S: New file.
10137 * string/test-strcmp.c: Remove checking of wcscmp function for
10138 wrong alignments.
10139 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10140 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10141 wcsrchr-sse2 wcsrchr-c.
10142 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10143 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10144 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10145 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10146 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10147 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10148 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10149 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10150 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10151 * wcsmbc/wcschr.c (WCSCHR): New macro.
10152
10153 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10154
10155 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10156 * wcsmbs/test-wcsrchr.c: New file.
10157 * string/test-strrchr.c: Add wcsrchr support.
10158 (WIDE): New macro.
10159 * wcsmbs/test-wcscpy.c: New file.
10160 * string/test-strcpy.c: Add wcscpy support.
10161 (WIDE): New macro.
10162
10163 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10164
10165 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10166 the inner loop.
10167
10168 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10169
10170 [BZ #13472]
10171 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10172
10173 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10174
10175 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10176 Minor optimizations.
10177
10178 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10179 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10180 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10181
10182 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10183
10184 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10185 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10186 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10187 for gcc to avoid warnings.
10188 * inet/Makefile (tests): Add tst-checks.
10189 * inet/tst-checks.c: New file.
10190
10191 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10192 warning.
10193
10194 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10195 __wmemcmp_sse2.
10196
10197 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10198 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10199
10200 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10201
10202 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10203
10204 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10205 problem.
10206
10207 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10208
10209 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10210
10211 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10212 conditional on GCC version.
10213 (__arch_compare_and_exchange_val_8_acq)
10214 (__arch_compare_and_exchange_val_16_acq)
10215 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10216 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10217 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10218
10219 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10220
10221 * sysdeps/sh/backtrace.c: New file.
10222
10223 2011-12-02 Andreas Schwab <schwab@redhat.com>
10224
10225 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10226 parenthesis.
10227
10228 2011-12-01 Andreas Schwab <schwab@redhat.com>
10229
10230 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10231 falling back to utime.
10232
10233 2011-11-30 Andreas Schwab <schwab@redhat.com>
10234
10235 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10236 expectations for float.
10237
10238 2011-11-29 Andreas Schwab <schwab@redhat.com>
10239
10240 * locale/weight.h (findidx): Add parameter len.
10241 * locale/weightwc.h (findidx): Likewise.
10242 * posix/fnmatch_loop.c (FCT): Adjust caller.
10243 * posix/regcomp.c (build_equiv_class): Likewise.
10244 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10245 * posix/regexec.c (check_node_accept_bytes): Likewise.
10246 * string/strcoll_l.c (STRCOLL): Likewise.
10247 * string/strxfrm_l.c (STRXFRM): Likewise.
10248
10249 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10250
10251 * Makefile.in: Remove CVSOPT handling.
10252 * configure.in: Remove use of AC_REVISION.
10253 * iconvdata/Makefile (distribute): No need to filter out CVS.
10254 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10255 handling.
10256
10257 2011-11-16 Andreas Schwab <schwab@redhat.com>
10258
10259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10260 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10261 [USE_AS_STRNCASECMP_L]: Likewise.
10262 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10263 NO_TLS_DIRECT_SEG_REFS.
10264 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10265 Fix argument offsets for non-PIC.
10266 [USE_AS_STRNCASECMP_L]: Likewise.
10267 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10268 NO_TLS_DIRECT_SEG_REFS.
10269
10270 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10271
10272 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10273 O_CLOEXEC.
10274 * locale/loadlocale.c (_nl_load_locale): Likewise.
10275
10276 2011-11-15 Andreas Schwab <schwab@redhat.com>
10277
10278 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10279 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10280 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10281 (SYSCALL_GETTIME): Set errno on error.
10282
10283 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10284 count references to noai6ai_cached.
10285
10286 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10287
10288 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10289
10290 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10291 FD_CLOEXEC for /proc/self/maps.
10292
10293 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10294 FD_CLOEXEC for /proc/meminfo.
10295
10296 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10297 gai.conf.
10298
10299 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10300 FD_CLOEXEC for given file.
10301
10302 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10303
10304 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10305 FD_CLOEXEC for /etc/hosts.
10306 (_gethtent): Likewise.
10307
10308 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10309
10310 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10311 cancellation and set FD_CLOEXEC for /etc/netgroup.
10312
10313 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10314 reading /etc/publickey.
10315
10316 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10317 allow cancellation when reading /etc/group.
10318
10319 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10320 cancellation.
10321 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10322
10323 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10324 when using data file.
10325
10326 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10327
10328 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10329 (write_nis_obj): Use "c" and "e" in fopen.
10330
10331 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10332
10333 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10334
10335 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10336
10337 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10338
10339 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10340 locale.alias.
10341
10342 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10343
10344 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10345
10346 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10347
10348 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10349 file parsing and set FD_CLOEXEC.
10350
10351 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10352
10353 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10354
10355 2011-11-14 Andreas Schwab <schwab@redhat.com>
10356
10357 * malloc/arena.c (arena_get2): Don't call reused_arena when
10358 _int_new_arena failed.
10359
10360 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10361
10362 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10363 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10364 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10365 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10366 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10367 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10368 to compile strcasecmp and strncasecmp.
10369 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10370 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10371
10372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10373
10374 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10375
10376 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10377 locale-defines.sym to gen-as-const-headers.
10378 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10379 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10381 to compile strcasecmp and strncasecmp.
10382 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10383 strcasecmp_l and strncasecmp_l.
10384 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10385 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10386 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10387 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10388 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10389 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10390 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10391 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10392 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10393 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10394 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10395
10396 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10397
10398 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10399 result of SYSDEP_GETTIME_CPU to retval.
10400 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10401 parameter list to macro. Remove trailing semicolon. Adjust users.
10402
10403 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10404 variable.
10405
10406 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10407 mantissa words.
10408 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10409
10410 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10411 from unused variable.
10412
10413 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10414 DWARF definitions.
10415 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10416 for assembling.
10417
10418 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10419 over namespaces.
10420
10421 * sunrpc/rpc_prot.c (rejected): Fix case value.
10422
10423 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10424 unsigned long long int to avoid warnings in shift.
10425
10426 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10427 of use of trans.
10428 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10429 variable tmp.
10430
10431 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10432 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10433 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10434
10435 * nis/nis_table.c (nis_list): Use variable of correct type for
10436 result of __follow_path call.
10437
10438 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10439
10440 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10441 of math functions ceil, trunc, floor, round, and sqrt, when
10442 avaliable on the platform.
10443 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10444 name clash.
10445 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10446 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10447 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10448
10449 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10450
10451 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10452 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10453
10454 2011-11-11 Roland McGrath <roland@hack.frob.com>
10455
10456 * include/unistd.h: Fix __readlink return type.
10457 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10458
10459 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10460
10461 * stdlib/ucontext.h: Undo last change for makecontext.
10462
10463 2011-11-11 Andreas Schwab <schwab@redhat.com>
10464
10465 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10466
10467 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10468 * setjmp/setjmp.h: Mark functions as non-leaf.
10469 * setjmp/bits/setjmp2.h: Likewise.
10470 * stdlib/ucontext.h: Likewise.
10471
10472 2011-11-10 Andreas Schwab <schwab@redhat.com>
10473
10474 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10475 (reused_arena): Don't check arena limit.
10476 (arena_get2): Atomically check arena limit.
10477
10478 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10479
10480 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10481 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10482
10483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10484 instructions.
10485
10486 2011-11-07 Andreas Schwab <schwab@redhat.com>
10487
10488 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10489 handler when locking.
10490
10491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10492 Fix size of allocated buffer.
10493
10494 2011-11-04 Andreas Schwab <schwab@redhat.com>
10495
10496 [BZ #10103]
10497 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10498 declarations for long double functions.
10499 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10500
10501 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10502
10503 2011-11-03 Andreas Schwab <schwab@redhat.com>
10504
10505 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10506 installed.
10507
10508 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10509 is disabled.
10510
10511 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10512
10513 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10514
10515 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10516
10517 * include/alloca.h (stackinfo_alloca_round): Define.
10518 (extend_alloca): Use it.
10519 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10520 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10521 here.
10522
10523 * scripts/check-local-headers.sh: Ignore libaudit.h.
10524
10525 * nscd/Makefile (extra-objs): Make recursively expanded.
10526
10527 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10528
10529 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10531
10532 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10533 * posix/tst-rfc3484-2.c: Likewise.
10534 * posix/tst-rfc3484-3.c: Likewise.
10535
10536 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10537 process_vm_writev.
10538 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10539 process_vm_writev.
10540 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10541 process_vm_writev from libc using GLIBC_2.15 version.
10542
10543 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10544
10545 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10546
10547 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10548 stack usage.
10549
10550 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10551
10552 [BZ #13367]
10553 * nss/getent.c (initgroups_keys): Show error message in case no group
10554 names are given.
10555
10556 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10557 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10558 __bump_nl_timestamp.
10559 * nscd/connections (nscd_init): When host database is served open
10560 netlink socket and request notification about configuration changes.
10561 (main_loop_poll): Track netlink file descriptor and bump timestamp
10562 in case data becomes available.
10563 (main_loop_epoll): Likewise.
10564 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10565 (database_pers_head): Add extra_data fileds.
10566 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10567 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10568 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10569 Adjust caller.
10570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10571 in6ai data, call __free_in6ai.
10572 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10573 Add -DHAVE_NETLINK.
10574 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10575 interface information. Reuse previous data if netlink timestamp
10576 is not changed.
10577 (__bump_nl_timestamp): New function.
10578 (__free_in6ai): New function.
10579
10580 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10581
10582 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10583 close_not_cancel_no_status here.
10584 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10585
10586 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10587
10588 [BZ #13276]
10589 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10590 return value.
10591
10592 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10593 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10594 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10595
10596 2011-07-03 Andreas Jaeger <aj@suse.de>
10597
10598 [BZ #10709]
10599 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10600 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10601 * math/libm-test.inc (sin_test): Add test case.
10602
10603 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10604
10605 [BZ #13337]
10606 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10607 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10608
10609 * elf/chroot_canon.c (chroot_canon): Cleanups.
10610
10611 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10612
10613 [BZ #13335]
10614 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10615 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10616
10617 * string/test-strchr.c: Make usable for strchrnul testing.
10618 * string/test-strchrnul.c: New file.
10619 * string/Makefile (strop-tests): Add strchrnul.
10620
10621 * po/it.po: Update from translation team.
10622 * po/es.po: Likewise.
10623
10624 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10625
10626 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10627 the three constants needed as parameters. Drop the others.
10628 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10629 __m128i_strloadu_tolower.
10630 Create and initialize variable zero and use it in all the places
10631 where _mm_setzero_si128 was used.
10632
10633 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10634 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10635 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10636 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10637 anymore.
10638 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10639 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10640 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10641 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10642 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10643 __mpranred, __mptan.
10644 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10645 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10646 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10647 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10648 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10649 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10650 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10651 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10652 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10653
10654 2011-10-28 Andreas Schwab <schwab@redhat.com>
10655
10656 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10657 redefine if SHARED.
10658 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10659
10660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10661 wide char related routines to wcsmbs subdir.
10662
10663 2011-10-27 Andreas Schwab <schwab@redhat.com>
10664
10665 [BZ #13344]
10666 * misc/sys/cdefs.h (__THROWNL): Define.
10667 * posix/unistd.h: Use __THREADNL instead of __THREAD
10668 for memory synchronization functions.
10669
10670 2011-10-26 Roland McGrath <roland@hack.frob.com>
10671
10672 [BZ #13349]
10673 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10674 doesn't exist.
10675 * manual/stdio.texi (Obstack Streams): Node removed.
10676
10677 2011-10-26 Andreas Schwab <schwab@redhat.com>
10678
10679 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10680 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10681 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10682
10683 * math/math_private.h (math_force_eval): Allow non-addressable
10684 arguments.
10685 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10686
10687 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10688
10689 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10690 file is not needed.
10691
10692 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10694 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10695 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10696 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10697 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10698 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10699 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10700 Add AVX variants.
10701 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10702 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10703 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10704 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10705 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10706 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10707 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10708 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10709 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10710 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10711 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10712 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10713 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10714 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10715 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10716 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10717 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10718 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10719 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10720
10721 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10722 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10723
10724 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10725 place. Use VEX encoding when compiling for AVX.
10726
10727 2011-10-25 Andreas Schwab <schwab@redhat.com>
10728
10729 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10730 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10731
10732 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10733
10734 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10735
10736 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10737 useless if() expression.
10738 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10739 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10740 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10742 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10747 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10748 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10749 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10750 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10751 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10752 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10753 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10754 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10756 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10757
10758 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10759
10760 2011-10-25 Andreas Schwab <schwab@redhat.com>
10761
10762 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10763 condition.
10764 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10765
10766 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10767
10768 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10769 .text section. Avoid duplicate constants.
10770 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10780 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10782 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10785 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10786 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10787 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10793 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10794 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10795 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10796 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10797 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10798 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10799 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10800 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10801 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10802 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10803 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10804 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10805 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10806 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10807 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10808 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10809 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10810 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10811 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10812 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10813 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10814 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10815
10816 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10817
10818 * sysdeps/x86_64/dla.h: Move to ...
10819 * sysdeps/x86_64/fpu/dla.h: ...here.
10820 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10821 situations. Use __builtin_fma only for gcc 4.6 and up.
10822
10823 * config.make.in: Add have-mfma4 entry.
10824 * configure.in: Substitute libc_cv_cc_fma4.
10825 * math/Makefile (dbl-only-routines): Add sincostab.
10826 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10827 Use __sincostab not sincos.
10828 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10829 name is a macro.
10830 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10831 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10834 using __copysign.
10835 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10836 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10837 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10838 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10839 and __inv.
10840 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10841 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10842 __copysign.
10843 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10844 define aliases when function name is a macro.
10845 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10846 sysdeps/ieee754/dbl-64/sincos.tbl.
10847 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10848 fma4-enabled routines.
10849 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10850 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10851 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10852 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10853 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10854 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10855 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10856 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10858 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10859 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10860 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10861 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10862 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10863 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10864 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10865 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10866 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10867 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10868 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10869 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10870 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10871 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10872 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10874 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10875 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10876 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10877 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10878 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10879
10880 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10881 rename.
10882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10890
10891 2011-10-24 Andreas Schwab <schwab@redhat.com>
10892
10893 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10894
10895 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10896
10897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10898
10899 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10900 prediction.
10901 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10902
10903 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10904 Remove unused variable magic_bits.
10905 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10906
10907 * string/strnlen.c: Define and use STRNLEN macro.
10908 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10909 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10910 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10911 * wcsmbs/wcslen.c: Define and use WCSLEN.
10912 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10913 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10914 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10915 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10916 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10917 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10918 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10919
10920 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10921
10922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10923 strnlen-sse2-no-bsf.
10924 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10926 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10927 Add strnlen support.
10928 (USE_AS_STRNLEN): New macro.
10929 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10930 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10931 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10932 * sysdeps/x86_64/wcslen.S: New file.
10933
10934 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10935
10936 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10937 XMM-moves are used for copying on small sizes.
10938
10939 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10940
10941 * wcsmbs/Makefile (strop-tests): Add wcschr.
10942 * wcsmbs/test-wcschr.c: New file.
10943 * string/test-strchr.c: Update.
10944 Add wcschr support.
10945 (WIDE): New macro.
10946
10947 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10948
10949 * wcsmbs/Makefile (strop-tests): Add wcslen.
10950 * wcsmbs/test-wcslen.c: New file.
10951 * string/test-strlen.c: Update.
10952 Add wcslen support.
10953 (WIDE): New macro.
10954
10955 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10956
10957 * po/it.po: Update from translation team.
10958
10959 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10960
10961 * sysdeps/x86_64/wcscmp.S: Update.
10962 Fix wrong comparison semantics.
10963 wcscmp shall use signed comparison not unsigned.
10964 Don't use substraction to avoid overflow bug.
10965 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10966 * wcsmbc/wcscmp.c: Likewise.
10967 * string/test-strcmp.c: Likewise.
10968 Add new tests to check cases with negative values.
10969
10970 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10971
10972 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10973 * sysdeps/x86_64/dla.h: ...here. New file.
10974 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10975 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10983
10984 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10985
10986 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10987 __ynl_finite aliases.
10988
10989 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10990
10991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10992
10993 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10994 define DLA_FMA.
10995 [DLA_FMA] (EMULV): Use DLA_FMA.
10996 [DLA_FMA] (MUL12): Use EMULV.
10997 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10998 that are not needed.
10999 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11005 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11006
11007 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11008
11009 * math/s_nan.c: Undef __nan.
11010 * math/s_nanf.c: Undef __nanf.
11011 * math/s_nanl.c: Undef __nanl.
11012 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11013 "math_private.h".
11014
11015 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11016
11017 * math/s_catan.c: Add branch predictions.
11018 * math/s_catanf.c: Likewise.
11019 * math/s_catanh.c: Likewise.
11020 * math/s_catanhf.c: Likewise.
11021 * math/s_catanhl.c: Likewise.
11022 * math/s_catanl.c: Likewise.
11023 * math/s_cexp.c: Likewise.
11024 * math/s_cexpf.c: Likewise.
11025 * math/s_cexpl.c: Likewise.
11026 * math/s_clog.c: Likewise.
11027 * math/s_clog10.c: Likewise.
11028 * math/s_clog10f.c: Likewise.
11029 * math/s_clog10l.c: Likewise.
11030 * math/s_clogf.c: Likewise.
11031 * math/s_clogl.c: Likewise.
11032 * math/s_csqrt.c: Likewise.
11033 * math/s_csqrtf.c: Likewise.
11034 * math/s_csqrtl.c: Likewise.
11035 * math/s_ctanf.c: Likewise.
11036 * math/s_ctanh.c: Likewise.
11037 * math/s_ctanhf.c: Likewise.
11038 * math/s_ctanhl.c: Likewise.
11039 * math/s_ctanl.c: Likewise.
11040
11041 * math/math_private.h: Define __nan, __nanf, __nanl.
11042 * math/s_cacosh.c: Include <math_private.h>.
11043 * math/s_cacoshl.c: Likewise.
11044 * math/s_casinh.c: Likewise.
11045 * math/s_casinhf.c: Likewise.
11046 * math/s_casinhl.c: Likewise.
11047 * math/s_ccos.c: Rely entire on ccosh.
11048 * math/s_ccosf.c: Rely entire on ccoshf.
11049 * math/s_ccosl.c: Rely entirely on ccoshl.
11050 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11051 Remove tests for FE_INVALID.
11052 * math/s_ccoshf.c: Likewise.
11053 * math/s_ccoshl.c: Likewise.
11054 * math/s_csin.c: Likewise.
11055 * math/s_csinf.c: Likewise.
11056 * math/s_csinh.c Likewise.
11057 * math/s_csinhf.c: Likewise.
11058 * math/s_csinhl.c: Likewise.
11059 * math/s_csinl.c: Likewise.
11060 * math/s_ctan.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11062 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11063 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11064
11065 2011-10-21 Ulrich Drepper <drepper@gmail.com>
11066
11067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11068 compilation problems.
11069
11070 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11071 __builtin_expect.
11072
11073 2011-10-20 Ulrich Drepper <drepper@gmail.com>
11074
11075 * sysdeps/i386/configure.in: Test for -mfma4 option.
11076 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11077 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11078 COMMON_CPUID_INDEX_80000001.
11079 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11080 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11081 use it if FMA3 is not supported.
11082 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11083
11084 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11085 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11086
11087 2011-10-20 Andreas Schwab <schwab@redhat.com>
11088
11089 [BZ #12892]
11090 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11091 it would create a cycle with a link time dependency.
11092
11093 2011-10-19 Ulrich Drepper <drepper@gmail.com>
11094
11095 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11096 instruction.
11097 * string/Makefile (strop-tests): Add rawmemchr.
11098 * string/test-rawmemchr.c: New file.
11099
11100 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11101 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11102 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11103 when compiling str{,n}casecmp and when AVX is available. Hook up
11104 new optimized code in initializers.
11105
11106 2011-10-19 Andreas Schwab <schwab@redhat.com>
11107
11108 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11109 __feraiseexcept instead of feraiseexcept.
11110
11111 2011-10-18 Ulrich Drepper <drepper@gmail.com>
11112
11113 * math/math_private.h: Define defaults for libc_fetestexcept and
11114 libc_feupdateenv.
11115 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11116 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11117 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11118 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11119 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11120 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11121 libc_fetestexcept and libc_feupdateenv.
11122
11123 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11124 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11125 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11126 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11127 libc_feholdexcept_setround.
11128
11129 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11130 Add s_nearbyint-c and s_nearbyintf-c.
11131 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11132 nearbyintf inlines.
11133 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11134 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11135 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11136 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11137
11138 * math/math_private.h: Define defaults for libc_fegetround,
11139 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11140 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11141 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11142 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11143 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11144 standard functions.
11145 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11146 Remove comments and hacks for old compiler versions.
11147 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11148 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11149 libc_feholdexceptl.
11150
11151 2011-10-18 Andreas Schwab <schwab@redhat.com>
11152
11153 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11154 (__feraiseexcept_renamed): Add __NTH.
11155 (feraiseexcept): Add __NTH. Rename local variables to fix
11156 namespace violations.
11157
11158 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11159
11160 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11161
11162 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11163
11164 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11165 recently added interfaces.
11166 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11167
11168 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11169 about macro parameter expansion.
11170
11171 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11172 __NO_MATH_INLINES is defined. Cleanups.
11173
11174 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11175 and __floorf is target has SSE4.1.
11176 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11177 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11178 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11179 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11180
11181 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11182 name.
11183 (floorf): Likewise.
11184
11185 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11186
11187 2011-10-17 Andreas Schwab <schwab@redhat.com>
11188
11189 * misc/sys/cdefs.h: Fix last change.
11190
11191 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11192 database lookup.
11193
11194 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11195
11196 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11197
11198 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11199 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11204 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11205 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11206 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11207 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11208 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11209 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11210 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11211 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11212 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11213 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11214 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11215 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11216 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11217 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11218 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11219 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11220
11221 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11222 ceil, ceilf, floor, floorf.
11223
11224 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11225 Perform IRELATIVE relocations last.
11226
11227 * elf/do-rel.h: Add another parameter nrelative, replacing the
11228 local variable with the same name. Change name of the function
11229 to end in Rel or Rela (uppercase).
11230 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11231 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11232 elf_dynamic_do_##reloc function.
11233
11234 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11235
11236 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11237 is sufficient, at least on modern CPUs.
11238
11239 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11240
11241 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11242 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11243
11244 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11245 __expl_finite.
11246 * math/bits/math-finite.h: Add entries for exp.
11247 * math/e_expl.c: Add __*_finite alias.
11248 * sysdeps/i386/fpu/e_exp.S: Likewise.
11249 * sysdeps/i386/fpu/e_expf.S: Likewise.
11250 * sysdeps/i386/fpu/e_expl.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11252 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11256 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11257 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11258
11259 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11260 is sufficient, at least on modern CPUs.
11261
11262 * ctype/ctype-info.c (__ctype_init): Define.
11263 * include/ctype.h (__ctype_init): Declare.
11264 (__ctype_b_loc): The variable is always initialized.
11265 (__ctype_toupper_loc): Likewise.
11266 (__ctype_tolower_loc): Likewise.
11267 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11268 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11269
11270 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11271
11272 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11273
11274 * configure.in: Also look in $cxxmachine/include for C++ system
11275 headers.
11276
11277 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11278
11279 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11280 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11281 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11282 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11283 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11284 (USE_AS_WMEMCMP): New macro.
11285 Fixing indents.
11286 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11287 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11288 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11289 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11291 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11292 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11293 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11294 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11295 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11296 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11297 (USE_AS_WMEMCMP): New macro.
11298 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11299 * sysdeps/string/test-memcmp.c: Update.
11300 Fix simple_wmemcmp.
11301 Add new tests.
11302 * wcsmbs/wmemcmp.c: Update.
11303 (WMEMCMP): New macro.
11304 Fix overflow bug.
11305
11306 2011-10-12 Andreas Jaeger <aj@suse.de>
11307
11308 [BZ #13268]
11309 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11310
11311 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11312
11313 * libio/iofwide.c (do_length): Avoid warning.
11314
11315 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11316
11317 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11318
11319 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11320
11321 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11322 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11323 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11324 * sysdeps/i386/i686/fpu/e_log.S: New file.
11325 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11326 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11327
11328 * ctype/ctype.h: Add support for inlined isXXX functions when
11329 compiling C++ code.
11330
11331 2011-10-14 Andreas Schwab <schwab@redhat.com>
11332
11333 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11334
11335 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11336
11337 2011-10-13 Roland McGrath <roland@hack.frob.com>
11338
11339 [BZ #13291]
11340 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11341
11342 2011-10-13 Andreas Schwab <schwab@redhat.com>
11343
11344 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11345 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11346 feraiseexcept.
11347
11348 * sysdeps/x86_64/memrchr.S: Check for zero size.
11349
11350 * string/stratcliff.c: Add memrchr tests.
11351
11352 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11353
11354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11355 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11356 rawmemchr-sse2 rawmemchr-sse2-bsf.
11357 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11358 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11359 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11360 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11361 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11362 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11363 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11364 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11365 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11366 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11367 * string/memrchr.c (MEMRCHR): New macro.
11368
11369 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11370
11371 Add integration with gcc's -ffinite-math-only and optimize wrapper
11372 functions in libm.
11373 * Versions.def: Define GLIBC_2.15 version for libm.
11374 * math/Makefile (headers): Add bits/math-finite.h.
11375 * math/bits/math-finite.h: New file.
11376 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11377 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11378 * math/e_acoshl.c: Add __*_finite alias.
11379 * math/e_acosl.c: Likewise.
11380 * math/e_asinl.c: Likewise.
11381 * math/e_atan2l.c: Likewise.
11382 * math/e_atanhl.c: Likewise.
11383 * math/e_coshl.c: Likewise.
11384 * math/e_exp10.c: Likewise.
11385 * math/e_exp10f.c: Likewise.
11386 * math/e_exp10l.c: Likewise.
11387 * math/e_exp2l.c: Likewise.
11388 * math/e_fmodl.c: Likewise.
11389 * math/e_gammal_r.c: Likewise.
11390 * math/e_hypotl.c: Likewise.
11391 * math/e_j0l.c: Likewise.
11392 * math/e_j1l.c: Likewise.
11393 * math/e_jnl.c: Likewise.
11394 * math/e_lgammal_r.c: Likewise.
11395 * math/e_log10l.c: Likewise.
11396 * math/e_log2l.c: Likewise.
11397 * math/e_logl.c: Likewise.
11398 * math/e_powl.c: Likewise.
11399 * math/e_sinhl.c: Likewise.
11400 * math/e_sqrtl.c: Likewise.
11401 * math/e_scalb.c: Completely rewritten and optimized.
11402 * math/e_scalbf.c: Likewise.
11403 * math/e_scalbl.c: Likewise.
11404 * math/w_acos.c: Likewise.
11405 * math/w_acosf.c: Likewise.
11406 * math/w_acosl.c: Likewise.
11407 * math/w_acosh.c: Likewise.
11408 * math/w_acoshf.c: Likewise.
11409 * math/w_acoshl.c: Likewise.
11410 * math/w_asin.c: Likewise.
11411 * math/w_asinf.c: Likewise.
11412 * math/w_asinl.c: Likewise.
11413 * math/w_atan2.c: Likewise.
11414 * math/w_atan2f.c: Likewise.
11415 * math/w_atan2l.c: Likewise.
11416 * math/w_atanh.c: Likewise.
11417 * math/w_atanhf.c: Likewise.
11418 * math/w_atanhl.c: Likewise.
11419 * math/w_exp10.c: Likewise.
11420 * math/w_exp10f.c: Likewise.
11421 * math/w_exp10l.c: Likewise.
11422 * math/w_fmod.c: Likewise.
11423 * math/w_fmodf.c: Likewise.
11424 * math/w_fmodl.c: Likewise.
11425 * math/w_j0.c: Likewise.
11426 * math/w_j0f.c: Likewise.
11427 * math/w_j0l.c: Likewise.
11428 * math/w_j1.c: Likewise.
11429 * math/w_j1f.c: Likewise.
11430 * math/w_j1l.c: Likewise.
11431 * math/w_jn.c: Likewise.
11432 * math/w_jnf.c: Likewise.
11433 * math/w_log.c: Likewise.
11434 * math/w_logf.c: Likewise.
11435 * math/w_logl.c: Likewise.
11436 * math/w_log10.c: Likewise.
11437 * math/w_log10f.c: Likewise.
11438 * math/w_log10l.c: Likewise.
11439 * math/w_log2.c: Likewise.
11440 * math/w_log2f.c: Likewise.
11441 * math/w_log2l.c: Likewise.
11442 * math/w_pow.c: Likewise.
11443 * math/w_powf.c: Likewise.
11444 * math/w_powl.c: Likewise.
11445 * math/w_remainder.c: Likewise.
11446 * math/w_remainderf.c: Likewise.
11447 * math/w_remainderl.c: Likewise.
11448 * math/w_scalb.c: Likewise.
11449 * math/w_scalbf.c: Likewise.
11450 * math/w_scalbl.c: Likewise.
11451 * math/w_sqrt.c: Likewise.
11452 * math/w_sqrtf.c: Likewise.
11453 * math/w_sqrtl.c: Likewise.
11454 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11455 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11456 used.
11457 * math/math_private.h: Declare __kernel_standard_f.
11458 * math/w_cosh.c: Remove cruft and optimize a bit.
11459 * math/w_coshf.c: Likewise.
11460 * math/w_coshl.c: Likewise.
11461 * math/w_exp2.c: Likewise.
11462 * math/w_exp2f.c: Likewise.
11463 * math/w_exp2l.c: Likewise.
11464 * math/w_hypot.c: Likewise.
11465 * math/w_hypotf.c: Likewise.
11466 * math/w_hypotl.c: Likewise.
11467 * math/w_lgamma.c: Likewise.
11468 * math/w_lgamma_r.c: Likewise.
11469 * math/w_lgammaf.c: Likewise.
11470 * math/w_lgammaf_r.c: Likewise.
11471 * math/w_lgammal.c: Likewise.
11472 * math/w_lgammal_r.c: Likewise.
11473 * math/w_sinh.c: Likewise.
11474 * math/w_sinhf.c: Likewise.
11475 * math/w_sinhl.c: Likewise.
11476 * math/w_tgamma.c: Likewise.
11477 * math/w_tgammaf.c: Likewise.
11478 * math/w_tgammal.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11480 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11481 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11482 Minor optimizations. Pretty printing. Remove cruft.
11483 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11484 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11485 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11486 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11487 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11488 * sysdeps/i386/fpu/e_asin.S: Likewise.
11489 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11490 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11491 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11492 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11493 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11494 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11495 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11496 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11497 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11498 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11499 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11500 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11501 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11502 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11503 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11504 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11505 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11506 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11507 * sysdeps/i386/fpu/e_log.S: Likewise.
11508 * sysdeps/i386/fpu/e_log10.S: Likewise.
11509 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11510 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11511 * sysdeps/i386/fpu/e_log2.S: Likewise.
11512 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11513 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11514 * sysdeps/i386/fpu/e_logf.S: Likewise.
11515 * sysdeps/i386/fpu/e_logl.S: Likewise.
11516 * sysdeps/i386/fpu/e_pow.S: Likewise.
11517 * sysdeps/i386/fpu/e_powf.S: Likewise.
11518 * sysdeps/i386/fpu/e_powl.S: Likewise.
11519 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11520 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11521 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11522 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11523 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11524 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11525 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11526 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11527 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11528 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11529 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11534 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11535 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11548 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11549 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11550 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11551 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11552 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11553 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11554 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11555 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11556 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11557 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11558 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11559 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11560 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11561 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11562 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11563 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11564 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11565 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11566 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11567 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11568 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11569 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11608 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11611 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11613 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11616 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11619 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11620 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11621 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11622 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11623 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11624 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11625 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11626 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11627 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11628 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11629 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11630 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11631 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11632 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11633 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11634 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11635 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11636 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11637 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11638 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11639 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11640 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11641 (__isnanf): Likewise.
11642 (__isinf_ns): Likewise.
11643 (__isinf_nsf): Likewise.
11644 (__finite): Likewise.
11645 (__finitef): Likewise.
11646 (__ieee754_sqrt): Define as macro.
11647 (__ieee754_sqrtf): Define as macro.
11648 (__ieee754_sqrtl): Define as macro.
11649 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11650 inlined copy.
11651 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11652 __FINITE_MATH_ONLY__ consistent.
11653 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11654
11655 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11656
11657 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11658 of rawmemchr.
11659
11660 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11661
11662 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11663
11664 * po/ja.po: Update from translation team.
11665
11666 2011-10-08 Roland McGrath <roland@hack.frob.com>
11667
11668 * locale/programs/locarchive.c (prepare_address_space): New function.
11669 (create_archive, enlarge_archive, open_archive): Use it.
11670
11671 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11672 inside [SHARED], where it is used.
11673
11674 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11675
11676 * nss/getent.c (netgroup_keys): Remove unused variable.
11677 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11678
11679 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11680
11681 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11682 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11684 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11685 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11686 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11687 * math/Makefile (libm-calls): Add s_isinf_ns.
11688 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11689 * math/multc3.c: Likewise.
11690 * math/s_casin.c: Likewise.
11691 * math/s_casinf.c: Likewise.
11692 * math/s_casinl.c: Likewise.
11693 * math/s_ccos.c: Likewise.
11694 * math/s_ccosf.c: Likewise.
11695 * math/s_ccosl.c: Likewise.
11696 * math/s_ctan.c: Likewise.
11697 * math/s_ctanf.c: Likewise.
11698 * math/s_ctanh.c: Likewise.
11699 * math/s_ctanhf.c: Likewise.
11700 * math/s_ctanhl.c: Likewise.
11701 * math/s_ctanl.c: Likewise.
11702 * math/w_fmod.c: Likewise.
11703 * math/w_fmodf.c: Likewise.
11704 * math/w_fmodl.c: Likewise.
11705 * math/w_remainder.c: Likewise.
11706 * math/w_remainderf.c: Likewise.
11707 * math/w_remainderl.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11709 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11710 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11712 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11713 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11714 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11715 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11716
11717 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11718 of the number.
11719 * stdio-common/printf_fphex.c: Likewise.
11720 * stdio-common/printf_size.c: Likewise.
11721
11722 * math/e_exp10.c: Include math_private.h using <...> not "...".
11723 * math/e_exp10f.c: Likewise.
11724 * math/e_exp10l.c: Likewise.
11725 * math/e_exp2l.c: Likewise.
11726 * math/e_j0l.c: Likewise.
11727 * math/e_j1l.c: Likewise.
11728 * math/e_jnl.c: Likewise.
11729 * math/e_lgammal_r.c: Likewise.
11730 * math/e_rem_pio2l.c: Likewise.
11731 * math/e_scalb.c: Likewise.
11732 * math/e_scalbf.c: Likewise.
11733 * math/e_scalbl.c: Likewise.
11734 * math/k_cosl.c: Likewise.
11735 * math/k_sinl.c: Likewise.
11736 * math/k_tanl.c: Likewise.
11737 * math/s_cacoshf.c: Likewise.
11738 * math/s_catan.c: Likewise.
11739 * math/s_catanf.c: Likewise.
11740 * math/s_catanh.c: Likewise.
11741 * math/s_catanhf.c: Likewise.
11742 * math/s_catanhl.c: Likewise.
11743 * math/s_catanl.c: Likewise.
11744 * math/s_ccosh.c: Likewise.
11745 * math/s_ccoshf.c: Likewise.
11746 * math/s_ccoshl.c: Likewise.
11747 * math/s_cexp.c: Likewise.
11748 * math/s_cexpf.c: Likewise.
11749 * math/s_cexpl.c: Likewise.
11750 * math/s_clog.c: Likewise.
11751 * math/s_clog10.c: Likewise.
11752 * math/s_clog10f.c: Likewise.
11753 * math/s_clog10l.c: Likewise.
11754 * math/s_clogf.c: Likewise.
11755 * math/s_clogl.c: Likewise.
11756 * math/s_csin.c: Likewise.
11757 * math/s_csinf.c: Likewise.
11758 * math/s_csinh.c: Likewise.
11759 * math/s_csinhf.c: Likewise.
11760 * math/s_csinhl.c: Likewise.
11761 * math/s_csinl.c: Likewise.
11762 * math/s_csqrt.c: Likewise.
11763 * math/s_csqrtf.c: Likewise.
11764 * math/s_csqrtl.c: Likewise.
11765 * math/s_ctan.c: Likewise.
11766 * math/s_ctanf.c: Likewise.
11767 * math/s_ctanh.c: Likewise.
11768 * math/s_ctanhf.c: Likewise.
11769 * math/s_ctanhl.c: Likewise.
11770 * math/s_ctanl.c: Likewise.
11771 * math/s_ldexp.c: Likewise.
11772 * math/s_ldexpf.c: Likewise.
11773 * math/s_ldexpl.c: Likewise.
11774 * math/s_significand.c: Likewise.
11775 * math/s_significandf.c: Likewise.
11776 * math/s_significandl.c: Likewise.
11777 * math/w_acos.c: Likewise.
11778 * math/w_acosf.c: Likewise.
11779 * math/w_acosh.c: Likewise.
11780 * math/w_acoshf.c: Likewise.
11781 * math/w_acoshl.c: Likewise.
11782 * math/w_acosl.c: Likewise.
11783 * math/w_asin.c: Likewise.
11784 * math/w_asinf.c: Likewise.
11785 * math/w_asinl.c: Likewise.
11786 * math/w_atan2.c: Likewise.
11787 * math/w_atan2f.c: Likewise.
11788 * math/w_atan2l.c: Likewise.
11789 * math/w_atanh.c: Likewise.
11790 * math/w_atanhf.c: Likewise.
11791 * math/w_atanhl.c: Likewise.
11792 * math/w_cosh.c: Likewise.
11793 * math/w_coshf.c: Likewise.
11794 * math/w_coshl.c: Likewise.
11795 * math/w_dremf.c: Likewise.
11796 * math/w_exp10.c: Likewise.
11797 * math/w_exp10f.c: Likewise.
11798 * math/w_exp10l.c: Likewise.
11799 * math/w_exp2.c: Likewise.
11800 * math/w_exp2f.c: Likewise.
11801 * math/w_fmod.c: Likewise.
11802 * math/w_fmodf.c: Likewise.
11803 * math/w_fmodl.c: Likewise.
11804 * math/w_hypot.c: Likewise.
11805 * math/w_hypotf.c: Likewise.
11806 * math/w_hypotl.c: Likewise.
11807 * math/w_j0.c: Likewise.
11808 * math/w_j0f.c: Likewise.
11809 * math/w_j0l.c: Likewise.
11810 * math/w_j1.c: Likewise.
11811 * math/w_j1f.c: Likewise.
11812 * math/w_j1l.c: Likewise.
11813 * math/w_jn.c: Likewise.
11814 * math/w_jnf.c: Likewise.
11815 * math/w_jnl.c: Likewise.
11816 * math/w_lgamma.c: Likewise.
11817 * math/w_lgamma_r.c: Likewise.
11818 * math/w_lgammaf.c: Likewise.
11819 * math/w_lgammaf_r.c: Likewise.
11820 * math/w_lgammal.c: Likewise.
11821 * math/w_lgammal_r.c: Likewise.
11822 * math/w_log.c: Likewise.
11823 * math/w_log10.c: Likewise.
11824 * math/w_log10f.c: Likewise.
11825 * math/w_log10l.c: Likewise.
11826 * math/w_log2.c: Likewise.
11827 * math/w_log2f.c: Likewise.
11828 * math/w_log2l.c: Likewise.
11829 * math/w_logf.c: Likewise.
11830 * math/w_logl.c: Likewise.
11831 * math/w_pow.c: Likewise.
11832 * math/w_powf.c: Likewise.
11833 * math/w_powl.c: Likewise.
11834 * math/w_remainder.c: Likewise.
11835 * math/w_remainderf.c: Likewise.
11836 * math/w_remainderl.c: Likewise.
11837 * math/w_scalb.c: Likewise.
11838 * math/w_scalbf.c: Likewise.
11839 * math/w_scalbl.c: Likewise.
11840 * math/w_sinh.c: Likewise.
11841 * math/w_sinhf.c: Likewise.
11842 * math/w_sinhl.c: Likewise.
11843 * math/w_sqrt.c: Likewise.
11844 * math/w_sqrtf.c: Likewise.
11845 * math/w_sqrtl.c: Likewise.
11846 * math/w_tgamma.c: Likewise.
11847 * math/w_tgammaf.c: Likewise.
11848 * math/w_tgammal.c: Likewise.
11849
11850 * po/ja.po: Update from translation team.
11851
11852 2011-09-29 Andreas Jaeger <aj@suse.de>
11853
11854 [BZ #13179]
11855 * sunrpc/netname.c (netname2host): Fix logic.
11856
11857 [BZ #6779]
11858 [BZ #6783]
11859 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11860 correctly.
11861 * math/w_remainder.c (__remainder): Likewise.
11862 * math/w_remainderf.c (__remainderf): Likewise.
11863 * math/libm-test.inc (remainder_test): Add test cases.
11864
11865 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11866
11867 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11868 sdiv_qrnnd.
11869
11870 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11871
11872 * string/test-memcmp.c: Avoid unncessary #defines.
11873 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11874
11875 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11876
11877 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11878 Use new sse2 version for core i3 - i7 as it's faster
11879 than sse42 version.
11880 (bit_Prefer_PMINUB_for_stringop): New.
11881 * sysdeps/x86_64/rawmemchr.S: Update.
11882 Replace with faster SSE2 version.
11883 * sysdeps/x86_64/memrchr.S: New file.
11884 * sysdeps/x86_64/memchr.S: Update.
11885 Replace with faster SSE2 version.
11886
11887 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11888
11889 * elf/dl-load.c (lose): Add cast to avoid warning.
11890
11891 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11892
11893 * po/ca.po: Update from translation team.
11894
11895 * inet/getnetgrent_r.c: Hook up nscd.
11896 * nscd/Makefile (routines): Add nscd_netgroup.
11897 (nscd-modules): Add netgroupcache.
11898 (CFLAGS-netgroupcache.c): Define.
11899 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11900 (cache_search): Add const to second parameter.
11901 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11902 INNETGR.
11903 (dbs): Add netgrdb entry.
11904 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11905 (verify_persistent_db): Handle netgrdb.
11906 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11907 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11908 GETFDNETGR.
11909 (netgroup_response_header): Define.
11910 (innetgroup_response_header): Define.
11911 (datahead): Add netgroup_response_header and innetgroup_response_header
11912 elements.
11913 * nscd/nscd.conf: Add entries for netgroup cache.
11914 * nscd/nscd.h (dbtype): Add netgrdb.
11915 (_PATH_NSCD_NETGROUP_DB): Define.
11916 (netgroup_iov_disabled): Declare.
11917 (xmalloc, xcalloc, xrealloc): Move declarations here.
11918 (cache_search): Adjust prototype.
11919 Add netgroup-related prototypes.
11920 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11921 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11922 (__nscd_innetgr): Declare.
11923 * nscd/selinux.c (perms): Use access_vector_t as element type and
11924 add netgroup-related initializers.
11925 * nscd/netgroupcache.c: New file.
11926 * nscd/nscd_netgroup.c: New file.
11927 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11928 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11929 For four parameters use innetgr.
11930 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11931 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11932 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11933 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11934
11935 * nscd/connections.c (register_traced_file): Don't register file
11936 for disabled databases.
11937
11938 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11939
11940 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11941
11942 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11943 from tree and freeing node.
11944
11945 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11946
11947 * nss/nsswitch.c (__nss_database_lookup): Handle
11948 nss_parse_service_list out of memory case.
11949
11950 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11951
11952 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11953 out of memory case.
11954
11955 2011-10-04 Andreas Schwab <schwab@redhat.com>
11956
11957 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11958 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11959 pass it down.
11960 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11961 elf_machine_rela, elf_machine_lazy_rel.
11962 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11963 (ELF_DYNAMIC_DO_REL): Likewise.
11964 (ELF_DYNAMIC_DO_RELA): Likewise.
11965 (ELF_DYNAMIC_RELOCATE): Likewise.
11966 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11967 to ELF_DYNAMIC_DO_REL.
11968 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11969 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11970 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11971 elf_machine_rela.
11972 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11973 skip_ifunc, don't call ifunc function if non-zero.
11974 (elf_machine_rela): Likewise.
11975 (elf_machine_lazy_rel): Likewise.
11976 (elf_machine_lazy_rela): Likewise.
11977 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11978 (elf_machine_lazy_rel): Likewise.
11979 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11980 Likewise.
11981 (elf_machine_lazy_rel): Likewise.
11982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11983 Likewise.
11984 (elf_machine_lazy_rel): Likewise.
11985 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11986 (elf_machine_lazy_rel): Likewise.
11987 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11988 (elf_machine_lazy_rel): Likewise.
11989 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11990 (elf_machine_lazy_rel): Likewise.
11991 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11992 (elf_machine_lazy_rel): Likewise.
11993 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11994 (elf_machine_lazy_rel): Likewise.
11995 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11996 (elf_machine_lazy_rel): Likewise.
11997
11998 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11999
12000 * nss/nss_files/files-init.c (_nss_files_init): Use static
12001 initialization for all the *_traced_file variables.
12002
12003 2011-09-28 Andreas Schwab <schwab@redhat.com>
12004
12005 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12006
12007 2011-09-27 Roland McGrath <roland@hack.frob.com>
12008
12009 [BZ #13226]
12010 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12011
12012 2011-09-27 Andreas Schwab <schwab@redhat.com>
12013
12014 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12015 Reread the line before reparsing it.
12016
12017 2011-09-26 Andreas Schwab <schwab@redhat.com>
12018
12019 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12020
12021 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12022 Maxim Kuvyrkov <maxim@codesourcery.com>
12023 Joseph Myers <joseph@codesourcery.com>
12024
12025 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12026 if needed for __stack_chk_guard.
12027
12028 2011-09-19 Roland McGrath <roland@hack.frob.com>
12029
12030 * sysdeps/posix/spawni.c (script_execute): Always define it.
12031 It will be optimized away if unused.
12032 (maybe_script_execute): New function.
12033 (__spawni): Call it.
12034
12035 * Makerules: Don't include tls.make.
12036 (config-tls): Always set to thread.
12037 * tls.make.c: File removed.
12038
12039 2011-09-19 Mike Frysinger <vapier@gentoo.org>
12040
12041 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12042 * config.make.in (CPPFLAGS-config): New substituted variable.
12043
12044 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12045
12046 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12047
12048 [BZ #13192]
12049 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12050 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12051
12052 2011-09-15 Roland McGrath <roland@hack.frob.com>
12053
12054 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12055 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12057 (CALL_FAIL): Likewise.
12058 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12059 (CALL_FAIL): Macro removed.
12060 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12061
12062 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12063
12064 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12065 for __FINITE_MATH_ONLY__ == 1.
12066
12067 2011-09-15 Andreas Schwab <schwab@redhat.com>
12068
12069 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12070 __ieee754_sqrt instead of sqrt.
12071 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12072 __ieee754_sqrtf instead of sqrtf.
12073 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12074 __floorf instead of floorf.
12075 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12076 __floorf, __truncf instead of floorf, truncf.
12077
12078 2011-09-14 Ulrich Drepper <drepper@gmail.com>
12079
12080 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12081
12082 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12083 __extern_always_inline.
12084 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12085 32-bit.
12086
12087 2011-09-14 Andreas Schwab <schwab@redhat.com>
12088
12089 * elf/rtld.c (dl_main): Also relocate in dependency order when
12090 doing symbol dependency testing.
12091
12092 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12093
12094 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12095 Always define `refsym'.
12096
12097 2011-09-13 Andreas Schwab <schwab@redhat.com>
12098
12099 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12100 (__FD_ELT): Renamed from __FDELT.
12101 * misc/bits/select2.h (__FD_ELT): Likewise.
12102 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12103 __FD_MASK instead of __FDELT, __FDMASK.
12104 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12105 Likewise.
12106 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12107 Likewise.
12108
12109 * elf/Makefile (gen-ldd): Fix pattern.
12110
12111 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12112 (init_tls): Likewise.
12113
12114 2011-09-12 Ulrich Drepper <drepper@gmail.com>
12115
12116 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12117
12118 2011-09-12 Andreas Schwab <schwab@redhat.com>
12119
12120 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12121 `struct cmsghdr *' instead of `void *'.
12122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12123 Likewise.
12124
12125 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12126
12127 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12128 if non-absolute.
12129 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12130 ldd_rewrite_script.
12131
12132 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12133
12134 * configure.in: Remove --with-tls option.
12135 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12136 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12137 out in case it is missing.
12138 * sysdeps/ia64/elf/configure.in: Likewise.
12139 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12140 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12141 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12142 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12143 * sysdeps/sh/elf/configure.in: Likewise.
12144 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12145 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12146 * sysdeps/x86_64/elf/configure.in: Likewise.
12147 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12148 * sysdeps/mach/hurd/tls.h: Likewise.
12149
12150 [BZ #13067]
12151 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12152
12153 [BZ #13090]
12154 * configure.in: Fix use of AC_INIT.
12155
12156 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12157
12158 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12159
12160 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12161 __set_errno.
12162 * malloc/hooks.c: Likewise.
12163
12164 [BZ #11929]
12165 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12166 variables statically.
12167 (narenas): Initialize.
12168 (list_lock): Initialize.
12169 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12170 initializtion of main_arena and list_lock. Small cleanups.
12171 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12172 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12173 Add initializers to main_arena and mp_.
12174 (malloc_state): Remove pagesize member. Change all users to use
12175 GLRO(dl_pagesize).
12176
12177 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12178 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12179 is always initialized.
12180
12181 * malloc/malloc.c: Removed unused configurations and dead code.
12182 * malloc/arena.c: Likewise.
12183 * malloc/hooks.c: Likewise.
12184 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12185
12186 * include/tls.h: Removed. USE___THREAD must always be defined.
12187 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12188 * elf/dl-libc.c: Likewise.
12189 * elf/dl-tsd.c: Likewise.
12190 * include/errno.h: Likewise.
12191 * include/netdb.h: Likewise.
12192 * include/resolv.h: Likewise.
12193 * inet/herrno-loc.c: Likewise.
12194 * inet/herrno.c: Likewise.
12195 * malloc/arena.c: Likewise.
12196 * malloc/hooks.c: Likewise.
12197 * malloc/malloc.c: Likewise.
12198 * resolv/res-state.c: Likewise.
12199 * resolv/res_libc.c: Likewise.
12200 * sysdeps/i386/dl-machine.h: Likewise.
12201 * sysdeps/ia64/dl-machine.h: Likewise.
12202 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12203 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12204 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12205 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12206 * sysdeps/sh/dl-machine.h: Likewise.
12207 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12208 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12209 * sysdeps/unix/i386/sysdep.S: Likewise.
12210 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12211 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12212 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12213 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12214 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12215 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12216 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12220 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12221 * sysdeps/x86_64/dl-machine.h: Likewise.
12222 * tls.make.c: Likewise.
12223
12224 * configure.in: Remove --with-__thread option. Make tests for
12225 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12226 tls_model attribute fail if no support is available. Remove
12227 USE_IN_LIBIO.
12228 * Makeconfig: Adjust for dropped configure option. All features are
12229 now mandatory.
12230 * Makerules: Likewise.
12231 * Versions.def: Likewise.
12232 * argp/argp-fmtstream.c: Likewise.
12233 * argp/argp-fmtstream.h: Likewise.
12234 * argp/argp-help.c: Likewise.
12235 * assert/assert.c: Likewise.
12236 * config.h.in: Likewise.
12237 * config.make.in: Likewise.
12238 * configure: Likewise.
12239 * configure.in: Likewise.
12240 * csu/Versions: Likewise.
12241 * csu/init.c: Likewise.
12242 * elf/tst-audit2.c: Likewise.
12243 * elf/tst-tls10.c: Likewise.
12244 * elf/tst-tls10.h: Likewise.
12245 * elf/tst-tls11.c: Likewise.
12246 * elf/tst-tls12.c: Likewise.
12247 * elf/tst-tls14.c: Likewise.
12248 * elf/tst-tlsmod11.c: Likewise.
12249 * elf/tst-tlsmod12.c: Likewise.
12250 * elf/tst-tlsmod13.c: Likewise.
12251 * elf/tst-tlsmod13a.c: Likewise.
12252 * elf/tst-tlsmod14a.c: Likewise.
12253 * elf/tst-tlsmod15b.c: Likewise.
12254 * elf/tst-tlsmod16a.c: Likewise.
12255 * elf/tst-tlsmod16b.c: Likewise.
12256 * elf/tst-tlsmod7.c: Likewise.
12257 * elf/tst-tlsmod8.c: Likewise.
12258 * elf/tst-tlsmod9.c: Likewise.
12259 * gmon/gmon.c: Likewise.
12260 * grp/fgetgrent_r.c: Likewise.
12261 * grp/putgrent.c: Likewise.
12262 * hurd/fopenport.c: Likewise.
12263 * include/libc-symbols.h: Likewise.
12264 * include/tls.h: Likewise.
12265 * intl/gettextP.h: Likewise.
12266 * intl/loadinfo.h: Likewise.
12267 * locale/global-locale.c: Likewise.
12268 * locale/localeinfo.h: Likewise.
12269 * mach/devstream.c: Likewise.
12270 * malloc/arena.c: Likewise.
12271 * malloc/set-freeres.c: Likewise.
12272 * misc/err.c: Likewise.
12273 * misc/getttyent.c: Likewise.
12274 * misc/mntent_r.c: Likewise.
12275 * posix/getopt.c: Likewise.
12276 * posix/wordexp.c: Likewise.
12277 * pwd/fgetpwent_r.c: Likewise.
12278 * resolv/Versions: Likewise.
12279 * resolv/res_hconf.c: Likewise.
12280 * shadow/fgetspent_r.c: Likewise.
12281 * shadow/putspent.c: Likewise.
12282 * stdio-common/printf_fphex.c: Likewise.
12283 * stdio-common/tmpfile.c: Likewise.
12284 * stdlib/abort.c: Likewise.
12285 * stdlib/fmtmsg.c: Likewise.
12286 * sunrpc/auth_unix.c: Likewise.
12287 * sunrpc/clnt_perr.c: Likewise.
12288 * sunrpc/clnt_tcp.c: Likewise.
12289 * sunrpc/clnt_udp.c: Likewise.
12290 * sunrpc/clnt_unix.c: Likewise.
12291 * sunrpc/openchild.c: Likewise.
12292 * sunrpc/svc_simple.c: Likewise.
12293 * sunrpc/svc_tcp.c: Likewise.
12294 * sunrpc/svc_udp.c: Likewise.
12295 * sunrpc/svc_unix.c: Likewise.
12296 * sunrpc/xdr.c: Likewise.
12297 * sunrpc/xdr_array.c: Likewise.
12298 * sunrpc/xdr_rec.c: Likewise.
12299 * sunrpc/xdr_ref.c: Likewise.
12300 * sunrpc/xdr_stdio.c: Likewise.
12301
12302 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12303
12304 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12305
12306 2011-07-03 Andreas Jaeger <aj@suse.de>
12307
12308 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12309 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12310 regenerate with gen-libm-tests.pl.
12311
12312 2010-05-12 Petr Baudis <pasky@suse.cz>
12313
12314 [BZ #11589]
12315 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12316 around j0() zero points by switching to j1().
12317 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12321
12322 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12323
12324 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12325 instead of 0.
12326 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12327 instead of 0. .
12328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12329 Patch in part by Pavel Roskin <proski@gnu.org>.
12330
12331 [BZ #13138]
12332 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12333 realloc.
12334 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12335 Free memory block if necessary.
12336
12337 [BZ #12847]
12338 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12339 be NULL. Don't lock in this case.
12340
12341 2011-09-09 Roland McGrath <roland@hack.frob.com>
12342
12343 * elf/elf.h (ELFOSABI_GNU): New macro.
12344 (ELFOSABI_LINUX): Define to that.
12345
12346 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12347
12348 * string/strncat.c (strncat): Undef the symbol in case it has been
12349 defined in bits/string.h.
12350
12351 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12352
12353 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12354
12355 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12356 link map.
12357
12358 2011-08-17 Andreas Jaeger <aj@suse.de>
12359
12360 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12361
12362 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12363 Ian Lance Taylor <iant@google.com>
12364
12365 * math/libm-test.inc (lround_test): New testcase.
12366 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12367
12368 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12369
12370 * Makefile: Remove support for automatic cvs check-ins.
12371 * Makerules: Likewise.
12372 * config.make.in: Likewise.
12373 * configure.in: Likewise.
12374 * intl/Makefile: Likewise.
12375 * locale/Makefile: Likewise.
12376 * po/Makefile: Likewise.
12377 * posix/Makefile: Likewise.
12378 * sysdeps/gnu/Makefile: Likewise.
12379 * sysdeps/mach/hurd/Makefile: Likewise.
12380 * sysdeps/sparc/sparc32/Makefile: Likewise.
12381
12382 [BZ #13118]
12383 * posix/Makefile (bug-regex32-ENV): Define.
12384 Patch by John Stanley <jpsinthemix@verizon.net>.
12385
12386 * misc/Makefile (headers): Add bits/select2.h.
12387 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12388 * misc/bits/select2.h: New file.
12389 * include/bits/select2.h: New file.
12390 * debug/Makefile (routines): Add fdelt_chk.
12391 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12392 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12393 FD_ISSET.
12394 * debug/fdelt_chk.c: New file.
12395
12396 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12397 * wcsmbs/test-wmemcmp.c: Likewise.
12398 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12399 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12400
12401 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12402
12403 * string/Makefile (strop-tests): Add memcmp.
12404 * string/test-wmemcmp.c: New file.
12405 * string/test-memcmp.c: Add wmemcmp support.
12406
12407 2011-09-08 Roland McGrath <roland@hack.frob.com>
12408
12409 [BZ #13153]
12410 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12411 2011-07-19 change.
12412
12413 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12414 garbage value in a __mach_port_mod_refs call in the cases of the
12415 task-self and thread-self ports.
12416
12417 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12418
12419 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12420
12421 2011-09-08 Andreas Schwab <schwab@redhat.com>
12422
12423 * elf/dl-load.c (lose): Check for non-null L.
12424
12425 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12426
12427 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12428
12429 * elf/dl-libc.c (dlerror_run): Pass back error code from
12430 dl_catch_error.
12431
12432 [BZ #13123]
12433 * elf/dl-load.c (lose): Free l_origin if it is valid.
12434
12435 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12436 names.
12437 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12438 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12440 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12441 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12442 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12443
12444 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12445
12446 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12447 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12448 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12449 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12450 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12451 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12452 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12453 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12454 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12455 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12456
12457 2011-08-15 Alan Modra <amodra@gmail.com>
12458
12459 [BZ #13092]
12460 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12461 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12462 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12463 ppc_mcount to static-only-routines.
12464 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12465 __mcount_internal.
12466 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12467 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12468
12469 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12470
12471 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12472 for finite and infinity parameters.
12473
12474 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12475
12476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12477 and add nop instructions for throughput optimization.
12478 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12479
12480 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12481
12482 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12483 aligned copy for power7 with vector-scalar instructions.
12484 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12485
12486 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12487
12488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12489 AVX check.
12490
12491 2011-09-07 Andreas Schwab <schwab@redhat.com>
12492
12493 [BZ #13144]
12494 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12495 last change.
12496
12497 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12498
12499 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12500 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12501 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12502 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12503 clock_gettime.
12504
12505 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12506
12507 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12508 Forgot to demangle the pointer.
12509
12510 * sysdeps/i386/sysdep.h: Define atom_text_section.
12511 * sysdeps/x86_64/sysdep.h: Likewise.
12512 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12513 section with atom_text_section.
12514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12515 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12516 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12518 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12519
12520 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12521 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12522 already be defined. Change to take two parameters and don't assign
12523 result to variable. Adjust all users.
12524 Define INTERNAL_GETTIME if not already defined.
12525 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12526 call.
12527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12528 HAVE_CLOCK_GETTIME_VSYSCALL.
12529 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12530
12531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12532 gettimeofday vsyscall, just use time.
12533
12534 2011-09-06 Andreas Schwab <schwab@redhat.com>
12535
12536 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12537 <errno.h>.
12538
12539 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12540
12541 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12542 syscall on x86-64.
12543 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12544 syscall.
12545 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12546 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12547 syscall if possible.
12548
12549 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12550
12551 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12552 e_ident. Don't pass to find_mapsXX.
12553 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12554
12555 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12556
12557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12558 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12559 * sysdeps/x86_64/multiarch/strchr.S: Update.
12560 Check bit_slow_BSF bit.
12561 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12562 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12563 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12564
12565 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12566
12567 [BZ #13134]
12568 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12569 before glibc 2.15.
12570 (tryshell): Define.
12571 (__spawni): Change last parameter to be flag. Test
12572 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12573 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12574 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12575 * posix/spawni.c: Likewise.
12576 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12577 * posix/spawnp.c: Likewise. Change normal version to use
12578 SPAWN_XFLAGS_USE_PATH.
12579 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12580 SPAWN_XFLAGS_TRY_SHELL.
12581
12582 [BZ #13150]
12583 * posix/glob.h: Remove gcc 1.x support.
12584
12585 [BZ #13068]
12586 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12587
12588 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12589
12590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12591 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12592 strrchr-sse2-bsf
12593 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12594 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12595 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12596 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12597 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12598 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12599
12600 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12601
12602 * sysdeps/x86_64/wcscmp.S: New file.
12603
12604 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12605 wcscmp-c wcscmp-sse2
12606 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12607 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12608 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12609 * wcsmbs/wcscmp.c: Allow renaming.
12610
12611 2011-09-05 David S. Miller <davem@davemloft.net>
12612
12613 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12614 stack slot, rather than the struct return pointer slot.
12615 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12616 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12618 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12619
12620 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12621
12622 * po/ja.po: Update from translation team.
12623
12624 [BZ #13144]
12625 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12626 kernel in 64-bit binaries.
12627
12628 2011-09-01 David S. Miller <davem@davemloft.net>
12629
12630 * elf/elf.h (HWCAP_SPARC_*): Move to..
12631 * sysdeps/sparc/sysdep.h: this new file and add new values.
12632 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12633 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12634 _DL_HWCAP_COUNT to 24.
12635 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12636 entries.
12637 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12638 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12639 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12641 instead of magic constants.
12642 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12643
12644 2011-08-31 David S. Miller <davem@davemloft.net>
12645
12646 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12647 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12648 Reimplement to do errno handling inline.
12649 (SYSCALL_ERROR_HANDLER): New macro.
12650 (__SYSCALL_STRING): Do not do errno handling in asm.
12651 (__CLONE_SYSCALL_STRING): Delete.
12652 (__INTERNAL_SYSCALL_STRING): Delete.
12653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12654 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12655 (PSEUDO): Reimplement to do errno handling inline.
12656 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12657 (SYSCALL_ERROR_HANDLER): New macro.
12658 (__SYSCALL_STRING): Do not do errno handling in asm.
12659 (__CLONE_SYSCALL_STRING): Delete.
12660 (__INTERNAL_SYSCALL_STRING): Delete.
12661 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12662 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12663 i386.
12664 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12665 (inline_syscall*): Add 'err' argument.
12666 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12667 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12668 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12669 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12670
12671 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12672 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12673
12674 2011-08-30 Andreas Schwab <schwab@redhat.com>
12675
12676 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12677
12678 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12679
12680 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12681 directive.
12682
12683 2011-08-24 David S. Miller <davem@davemloft.net>
12684
12685 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12686
12687 2011-08-24 Andreas Schwab <schwab@redhat.com>
12688
12689 * elf/Makefile: Add rules to build and run unload8 test.
12690 * elf/unload8.c: New file.
12691 * elf/unload8mod1.c: New file.
12692 * elf/unload8mod1x.c: New file.
12693 * elf/unload8mod2.c: New file.
12694 * elf/unload8mod3.c: New file.
12695
12696 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12697 it wasn't used.
12698
12699 2011-08-23 David S. Miller <davem@davemloft.net>
12700
12701 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12702 subtract stack bias.
12703 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12704 %sp not %fp in calculations.
12705 (_JMPBUF_UNWINDS_ADJ): Likewise.
12706
12707 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12708 (aio_suspend): Call it to force an exception region around the
12709 AIO_MISC_WAIT() invocation.
12710
12711 2011-08-23 Andreas Schwab <schwab@redhat.com>
12712
12713 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12714 backslash.
12715
12716 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12717
12718 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12719 protection macro.
12720 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12721 and <dl-machine.h>.
12722 (Elf64_FuncDesc): Remove.
12723
12724 2011-08-22 David S. Miller <davem@davemloft.net>
12725
12726 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12727 sigaltstack check, add missing cfi directives.
12728 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12729 missing cfi directives, and sigaltstack handling.
12730
12731 2011-08-16 Andreas Schwab <schwab@redhat.com>
12732
12733 [BZ #11724]
12734 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12735 object is seen twice.
12736 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12737
12738 * elf/Makefile (distribute): Add tst-initorder2.c.
12739 (tests): Add tst-initorder2.
12740 (modules-names): Add tst-initorder2a tst-initorder2b
12741 tst-initorder2c tst-initorder2d. Add rules to build them.
12742 ($(objpfx)tst-initorder2.out): New rule.
12743 * elf/tst-initorder2.c: New file.
12744 * elf/tst-initorder2.exp: New file.
12745
12746 2011-08-22 Andreas Schwab <schwab@redhat.com>
12747
12748 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12749
12750 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12751 dependencies back to end of function.
12752
12753 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12754 $(elfobjdir)/ld.so.
12755
12756 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12757
12758 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12759 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12760 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12761 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12762 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12763 of __vdso_gettimeofday.
12764 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12765 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12766 attribute_hidden.
12767 (_libc_vdso_platform_setup): Remove initialization of
12768 __vdso_gettimeofday and __vdso_time.
12769
12770 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12771
12772 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12773 and fgetc_unlocked.
12774 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12775 getc_unlocked.
12776
12777 * elf/dl-open.c (add_to_global): Report additions to the global scope
12778 for LD_DEBUG=scopes.
12779 (dl_open_worker): Also print scope of newly loaded dependencies.
12780 (_dl_show_scope): Indicate if there is no scope.
12781
12782 [BZ #13114]
12783 * stdio-common/Makefile (tests): Add bug24.
12784 * stdio-common/bug24.c: New file.
12785
12786 2011-08-19 Andreas Jaeger <aj@suse.de>
12787
12788 [BZ #13114]
12789 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12790 non-existant file when using close-on-exec mode.
12791
12792 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12793
12794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12795 the very first instruction.
12796
12797 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12798 the CFI state in the end.
12799 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12800 inclusion of dl-trampoline.h.
12801 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12802
12803 2011-08-19 Andreas Schwab <schwab@redhat.com>
12804
12805 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12806 expectations for long double.
12807
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12809 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12810
12811 2011-08-14 David S. Miller <davem@davemloft.net>
12812
12813 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12814 artificual limit depends upon the system page size.
12815
12816 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12817
12818 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12819 * resolv/Makefile: Define CFLAGS-libresolv.
12820
12821 2011-08-17 Andreas Schwab <schwab@redhat.com>
12822
12823 * nss/makedb.c (compute_tables): Make variables used in nested
12824 function static.
12825
12826 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12827
12828 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12829 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12830 if buffer was too small.
12831
12832 * elf/pldd.c (main): Attach to all threads in the process.
12833 Rewrite /proc handling to use *at functions.
12834
12835 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12836
12837 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12838 specifies first scope to show.
12839 (dl_open_worker): Update callers. Move printing scope of new
12840 object to before the relocation.
12841 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12842 * sysdeps/generic/ldsodefs.h: Update declaration.
12843
12844 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12845 string for the scope number.
12846
12847 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12848
12849 * nscd/servicescache.c (cache_addserv): Make sure written is always
12850 initialized.
12851
12852 2011-08-14 Roland McGrath <roland@hack.frob.com>
12853
12854 * sysdeps/i386/i486/bits/atomic.h
12855 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12856 statement expression, so as to suppress "set but not used" warning.
12857 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12858
12859 * string/strncat.c (STRNCAT): Use prototype definition.
12860
12861 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12862 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12863 -Iprograms here.
12864 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12865 (localedef-modules): Add localedef.
12866 (locale-modules): Add locale.
12867
12868 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12869 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12870 to avoid a warning.
12871
12872 2011-08-14 David S. Miller <davem@davemloft.net>
12873
12874 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12875 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12876
12877 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12878
12879 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12880 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12881 * elf/rtld.c (dl_main): Set l_name of vDSO.
12882 Call _dl_show_scope when DL_DEBUG_SCOPES.
12883 (process_dl_debug): Recognize scopes flag and also set it for all.
12884 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12885 Declare _dl_show_scope.
12886
12887 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12888 (do_dlopen): Pass caller_dlopen to dl_open.
12889 (__libc_dlopen_mode): Initialize caller_dlopen.
12890
12891 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12892 of libc. Make tolower call locale-independent. Optimize a bit by
12893 using isdigit instead of isalnum.
12894 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12895
12896 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12897
12898 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12899 was a dependency or dynamically loaded.
12900
12901 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12902
12903 * intl/l10nflist.c: Allow architecture-specific pop function.
12904 * sysdeps/x86_64/l10nflist.c: New file.
12905
12906 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12907 classification.
12908
12909 2011-08-10 Andreas Schwab <schwab@redhat.com>
12910
12911 * include/dirent.h: Add libc_hidden_proto for scandirat and
12912 scandirat64. Don't declare __scandirat64.
12913 * dirent/scandirat.c: Add libc_hidden_def.
12914 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12915 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12916
12917 2011-08-10 David S. Miller <davem@davemloft.net>
12918
12919 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12920 enum.
12921 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12922 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12923 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12924
12925 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12926
12927 * Versions.def [libc]: Add GLIBC_2.15.
12928 * dirent/Makefile (routines): Add scandirat and scandirat64.
12929 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12930 GLIBC_2.15.
12931 * dirent/dirent.h: Declare scandirat and scandirat64.
12932 * dirent/scandirat.c: New file.
12933 * dirent/scandirat64.c: New file.
12934 * sysdeps/wordsize-64/scandirat.c: New file.
12935 * sysdeps/wordsize-64/scandirat64.c: New file.
12936 * dirent/opendir.c: Define opendirat.
12937 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12938 using scandirat.
12939 * dirent/scandir64.c: Adjust for scandir.c change.
12940 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12941 __scandirat64, and __scandir_cancel_handler.
12942 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12943 additional parameter and use openat instead of open (outside of ld.so).
12944 Add new __opendir as wrapper around __opendirat.
12945 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12946 here without requiring old scandirat implementation.
12947
12948 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12949
12950 * dirent/scandir.c (cancel_handler): Renamed to
12951 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12952 defined. Adjust users.
12953 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12954 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12955
12956 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12957
12958 * string/test-string.h (IMPL): Use __STRING to expand name and then
12959 stringify it.
12960
12961 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12962 of cleanups.
12963
12964 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12965
12966 * string/Makefile: Update.
12967 (strop-tests): Append strncat.
12968 * string/test-wcscmp.c: New file.
12969 New comprehensive test for wcscmp.
12970 * string/test-strcmp.c: Update.
12971 (WIDE): New define.
12972
12973 2011-07-22 Andreas Schwab <schwab@redhat.com>
12974
12975 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12976 line.
12977
12978 2011-07-26 Andreas Schwab <schwab@redhat.com>
12979
12980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12981 encoding to ACE if AI_IDN.
12982
12983 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12984
12985 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12986 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12987
12988 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12989
12990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12991 Fix overflow bug in strncat.
12992 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12993
12994 * string/test-strncat.c: Update.
12995 Add new tests for checking overflow bugs.
12996
12997 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12998
12999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13000 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13001 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13002 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13003 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13004 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13005 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13006 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13007 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13008
13009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13010 (USE_AS_STRCAT): Define.
13011 Add strcat and strncat support.
13012 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13013
13014 2011-07-25 Andreas Schwab <schwab@redhat.com>
13015
13016 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13017 __n bigger than INT_MAX+1.
13018 (__strncmp_g): Likewise.
13019
13020 2011-07-23 Ulrich Drepper <drepper@gmail.com>
13021
13022 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13023 * libio/stido.h: Likewise.
13024
13025 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13026 (AF_NFC): Define.
13027 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13028 (AF_NFC): Define.
13029
13030 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13031 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13032 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13033 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13034 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13035
13036 [BZ #13021]
13037 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13038 installed.
13039
13040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13041 typo.
13042 (_dl_x86_64_save_sse): Likewise.
13043
13044 2011-07-22 Ulrich Drepper <drepper@gmail.com>
13045
13046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13047 OSXSAVE.
13048 (_dl_x86_64_save_sse): Likewise.
13049
13050 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13051
13052 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13053
13054 2011-07-21 Andreas Schwab <schwab@redhat.com>
13055
13056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13057 change.
13058 (_dl_x86_64_save_sse): Use correct AVX check.
13059
13060 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13061
13062 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13063 bug in strncpy/strncat.
13064 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13065
13066 2011-07-21 Ulrich Drepper <drepper@gmail.com>
13067
13068 * string/tester.c (test_strcat): Add tests for different alignments
13069 of source and destination.
13070 (test_strncat): Likewise.
13071
13072 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13073
13074 [BZ #12852]
13075 * posix/glob.c (glob): Check passed in values before using them in
13076 expressions to avoid some overflows.
13077 (glob_in_dir): Likewise.
13078
13079 [BZ #13007]
13080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13081 check for AVX enablement so that we don't crash with old kernels and
13082 new hardware.
13083 * elf/tst-audit4.c: Add same checks here.
13084 * elf/tst-audit6.c: Likewise.
13085
13086 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13087
13088 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13089
13090 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13091
13092 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13093
13094 * po/cs.po: Update from translation team.
13095 * po/bg.po: Likewise.
13096
13097 2011-07-12 Marek Polacek <mpolacek@redhat.com>
13098
13099 * misc/sys/cdefs.h: Add support for const attribute.
13100 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13101 to gnu_dev_{major,minor,makedev} functions.
13102
13103 2011-07-20 Marek Polacek <mpolacek@redhat.com>
13104
13105 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13106
13107 2011-07-20 Andreas Schwab <schwab@redhat.com>
13108
13109 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13110 strlen results.
13111
13112 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13113
13114 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13115 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13116 register in order to avoid conflicts with the soft frame pointer
13117 being held in r11 when necessary.
13118 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13119 (INTERNAL_VSYSCALL_NCS): Likewise.
13120
13121 2011-07-14 Marek Polacek <mpolacek@redhat.com>
13122
13123 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13124 * elf/dl-fini.c (_dl_fini): Adjust caller.
13125 * elf/dl-close.c (_dl_close_worker): Likewise.
13126 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13127
13128 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13129
13130 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13131 "aux_cache->nlibs < 0".
13132
13133 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13134 in the reload-count case.
13135
13136 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13137
13138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13139 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13140 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13141 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13142 * sysdeps/x86_64/multiarch/strcat.S: New file.
13143 * sysdeps/x86_64/multiarch/strncat.S: New file.
13144 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13145 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13146 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13147 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13148 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13149 (USE_AS_STRCAT): Define.
13150 Add strcat and strncat support.
13151 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13152 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13153 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13154 * string/strncat.c: Update.
13155 (USE_AS_STRNCAT): Define.
13156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13157 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13158 and i7.
13159 * sysdeps/x86_64/multiarch/init-arch.h
13160 (bit_Prefer_PMINUB_for_stringop): New.
13161 (index_Prefer_PMINUB_for_stringop): Likewise.
13162 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13163 bit_Prefer_PMINUB_for_stringop.
13164
13165 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13166
13167 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13168 buffer64.
13169 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13170 of casting of buffer.
13171 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13172 buffer32 and buffer64.
13173 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13174 writes instead of casting of buffer.
13175 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13176 buffer32.
13177 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13178 casting of buffer.
13179
13180 2011-07-19 Andreas Schwab <schwab@redhat.com>
13181
13182 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13183
13184 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13185
13186 * nscd/nscd.c (termination_handler): Don't do anything for a database
13187 if it has not yet been initialized.
13188
13189 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13190
13191 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13192
13193 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13194
13195 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13196
13197 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13198
13199 * po/nl.po: Update from translation team.
13200 * po/sv.po: Likewise.
13201
13202 2011-07-16 Roland McGrath <roland@hack.frob.com>
13203
13204 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13205 now disallowed by GCC.
13206
13207 * configure.in (use-default-link): Default to yes if a test -shared
13208 link meets our qualifications.
13209 * configure: Regenerated.
13210
13211 * config.make.in (output-format): New variable.
13212 * configure.in: Check for ld --print-output-format support.
13213 * configure: Regenerated.
13214 * Makerules ($(common-objpfx)format.lds)
13215 [$(output-format) != unknown]: Just use $(output-format),
13216 instead of the linker-script munging.
13217
13218 2011-07-14 Roland McGrath <roland@hack.frob.com>
13219
13220 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13221 of $(common-objpfx)shlib.lds.
13222 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13223
13224 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13225 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13226
13227 * configure.in (-z relro check): Adjust test code to add a large
13228 writable data section after it.
13229 * configure: Regenerated.
13230
13231 2011-07-11 Roland McGrath <roland@hack.frob.com>
13232
13233 * configure.in (-z relro check): Fix test code to make the variable
13234 truly const.
13235 * configure: Regenerated.
13236
13237 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13238
13239 * nscd/nscd.h (struct traced_file): Define.
13240 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13241 elements. Add traced_files.
13242 (inotify_fd): Declare.
13243 (register_traced_file): Declare.
13244 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13245 (inotify_fd): Export.
13246 (resolv_conf_descr): Remove.
13247 (nscd_init): Move inotify descriptor creation to main.
13248 Don't register files for notification here.
13249 (register_traced_file): New function.
13250 (invalidate_cache): Don't use reset_res to determine whether to call
13251 res_init, go through the list of registered files.
13252 (main_loop_poll): The inotify descriptors are now stored in the
13253 structures for the traced files.
13254 (main_loop_epoll): Likewise
13255 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13256 to __nss_disable_nscd.
13257 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13258 for a database anymore. Check the records for all the registered
13259 files instead.
13260 * nss/Makefile (libnss_files-routines): Add files-init.
13261 (libnss_db-routines): Add db-init.
13262 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13263 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13264 * nss/nss_db/db-init.c: New file.
13265 * nss/nss_files/files-init.c: New file.
13266 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13267 __nss_lookup_function.
13268 (__nss_lookup_function): Call nss_load_library.
13269 (nss_load_all_libraries): New function.
13270 (__nss_disable_nscd): Take parameter with callback function for files
13271 to register. Set is_nscd. Load all the DSOs for the NSS modules
13272 used for the cached services.
13273 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13274 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13275 options for features to all the files in nscd.
13276
13277 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13278
13279 2011-07-10 Roland McGrath <roland@hack.frob.com>
13280
13281 * csu/elf-init.c (__libc_csu_init): Comment typo.
13282
13283 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13284
13285 * po/pl.po: Update from translation team.
13286 * po/ja.po: Likewise.
13287 * po/ru.po: Likewise.
13288 * po/ko.po: Likewise.
13289 * po/fr.po: Likewise.
13290
13291 2011-07-09 Roland McGrath <roland@hack.frob.com>
13292
13293 * configure.in (.ctors/.dtors header and trailer check):
13294 Use an empirical test on a built program.
13295 * configure: Regenerated.
13296
13297 * configure.in (-z relro check): Use an empirical test on a built DSO.
13298 Detect, but do not require, on ia64.
13299 * configure: Regenerated.
13300
13301 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13302 Update tests that use readelf to use $READELF instead.
13303 * configure: Regenerated.
13304
13305 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13306
13307 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13308 if the result is not used.
13309
13310 2011-07-05 Andreas Jaeger <aj@suse.de>
13311
13312 [BZ#9696]
13313 * stdlib/tst-strtod.c: Add testcase.
13314
13315 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13316
13317 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13318 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13319 The latter has a higher limit. Take additional parameter to pass to
13320 the new function.
13321 (__pathconf): Pass file to __statfs_link_max.
13322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13323 __statfs_link_max.
13324 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13325 __statfs_link_max.
13326
13327 [BZ #12868]
13328 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13329 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13330 Handle Lustre.
13331 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13332 (__statfs_filesize_max): Likewise.
13333 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13334
13335 2011-07-05 Andreas Jaeger <aj@suse.de>
13336
13337 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13338
13339 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13340
13341 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13342 `status' variable.
13343 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13344 Likewise.
13345
13346 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13347
13348 * Makefile (strop-tests): Add strncat.
13349 * string/test-strncat.c: New file.
13350
13351 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13352
13353 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13354
13355 2011-06-21 Andreas Jaeger <aj@suse.de>
13356
13357 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13358 Copy rule from iconvdata/Makefile.
13359
13360 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13361
13362 [BZ #12922]
13363 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13364 but no long options are defined, just return 'W'.
13365
13366 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13367
13368 [BZ #9696]
13369 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13370
13371 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13372
13373 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13374 netgroups to read.
13375 (innetgr): Likewise.
13376
13377 2011-07-05 Roland McGrath <roland@hack.frob.com>
13378
13379 * config.make.in (install_root): Default to $(DESTDIR).
13380
13381 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13382
13383 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13384
13385 2011-07-02 Roland McGrath <roland@hack.frob.com>
13386
13387 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13388
13389 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13390 containing directory rather than embedding absolute directory names.
13391
13392 * scripts/check-local-headers.sh: Rewritten using awk.
13393 Match by word, not by line. Print error messages for matches.
13394 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13395
13396 * Makerules [shlib-lds-flags empty]:
13397 ($(common-objpfx)libc_pic.opts): New target.
13398 ($(common-objpfx)libc_pic.os.clean): New target.
13399 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13400
13401 * config.make.in (OBJCOPY): New variable.
13402 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13403 * configure: Regenerated.
13404
13405 * config.make.in (use-default-link): New variable.
13406 * configure.in (use_default_link): Grok --with-default-link to set it.
13407 * configure: Regenerated.
13408 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13409 (shlib-lds, shlib-lds-flags): Define to empty.
13410
13411 * Makerules (shlib-lds): New variable.
13412 (shlib-lds-flags): New variable.
13413 (build-shlib, build-moduile, build-module-asneeded): Use it.
13414 ($(common-objpfx)libc.so): Use $(shlib-lds).
13415 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13416 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13417
13418 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13419 DT_FLAGS/DT_FLAGS_1 with zero flags.
13420
13421 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13422 linker script munging.
13423
13424 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13425
13426 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13427 as 128-bit value.
13428 * crypt/sha512.c (sha512_process_block): Perform total addition using
13429 128-bit if possible.
13430 (__sha512_finish_ctx): Likewise.
13431 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13432 as 64-bit value.
13433 * crypt/sha256.c (SWAP64): Define.
13434 (sha256_process_block): Perform total addition using 64-bit if
13435 possible.
13436 (__sha256_finish_ctx): Likewise.
13437
13438 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13439
13440 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13441 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13442 * nscd/hstcache.c (cache_addhst): Likewise.
13443 * nscd/grpcache.c (cache_addgr): Likewise.
13444 * nscd/aicache.c (addhstaiX): Likewise
13445 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13446
13447 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13448
13449 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13450 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13451 * nscd/hstcache.c (cache_addhst): Likewise.
13452 * nscd/grpcache.c (cache_addgr): Likewise.
13453 * nscd/aicache.c (addhstaiX): Likewise
13454
13455 2011-07-01 Andreas Schwab <schwab@redhat.com>
13456
13457 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13458 domain only when needed.
13459
13460 2011-06-30 Andreas Schwab <schwab@redhat.com>
13461
13462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13463 is always restored.
13464
13465 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13466
13467 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13468 are re-adding the entry.
13469 * nscd/servicescache.c (cache_addserv): Likewise.
13470
13471 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13472
13473 * sysdeps/generic/dl-irel.h: fix protection against multiple
13474 inclusions.
13475 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13476
13477 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13478
13479 [BZ #12935]
13480 * malloc/memusage.sh: Fix quoting in message.
13481 * debug/xtrace.sh: Likewise.
13482
13483 * configure.in: Remove support for --experimental-malloc option, make
13484 it the default.
13485 * config.make.in: Likewise.
13486 * malloc/Makefile: Likewise.
13487
13488 2011-06-27 Andreas Schwab <schwab@redhat.com>
13489
13490 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13491 two-byte characters.
13492
13493 2011-06-27 Roland McGrath <roland@hack.frob.com>
13494
13495 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13496 AC_CACHE_CHECK invocation.
13497 * configure: Regenerated.
13498
13499 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13500
13501 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13502
13503 [BZ #12350]
13504 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13505 bit from old_res_options.
13506
13507 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13508
13509 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13510 value type for setfct.
13511
13512 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13513
13514 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13515 __gettimeofday instead of gettimeofday.
13516
13517 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13518
13519 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13520
13521 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13522
13523 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13524
13525 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13526 info.
13527
13528 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13529
13530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13531 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13532 strcpy-sse2-unaligned strncpy-sse2-unaligned
13533 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13534 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13535 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13536 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13537 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13538 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13539 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13540 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13541 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13542 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13543 (STRCPY): Support SSE2 and SSSE3 versions.
13544
13545 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13546
13547 [BZ #12874]
13548 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13549 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13550 kernels which artificially limit size of requests.
13551
13552 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13553
13554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13555 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13556 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13557 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13558 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13559 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13560 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13561 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13563 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13564 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13565 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13566 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13567 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13568 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13570 Enable unaligned load optimization for Intel Core i3, i5 and i7
13571 processors.
13572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13573 Define.
13574 (index_Fast_Unaligned_Load): Define.
13575 (HAS_FAST_UNALIGNED_LOAD): Define.
13576
13577 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13578
13579 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13580
13581 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13582
13583 [BZ #12907]
13584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13585 until it is clear that the information is realy needed.
13586 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13587
13588 2011-06-22 Andreas Schwab <schwab@redhat.com>
13589
13590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13591
13592 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13593
13594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13595 /sys/devices/system/cpu/online if it is usable.
13596
13597 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13598 reading the information from the /proc filesystem to once a second.
13599
13600 2011-06-21 Andreas Jaeger <aj@suse.de>
13601
13602 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13603 NULL after inclusion of kernel headers.
13604
13605 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13606
13607 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13608 calls to internal_setent.
13609
13610 [BZ #12885]
13611 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13612 addresses using gethostbyname4_r ignore IPv4 addresses.
13613
13614 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13615 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13616
13617 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13618
13619 2011-06-20 David S. Miller <davem@davemloft.net>
13620
13621 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13622 inclusions.
13623 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13624
13625 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13626 (elf_irel): Use it.
13627 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13628 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13629 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13630 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13631 * sysdeps/x86_64/dl-irel.h: Likewise.
13632
13633 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13634 * elf/dl-sym.c: Likewise.
13635
13636 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13637
13638 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13639 need to dereference resplen2.
13640
13641 2011-06-14 Andreas Schwab <schwab@redhat.com>
13642
13643 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13644
13645 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13646
13647 * Makeconfig: Define vardbdir and inst_vardbdir.
13648 * nss/Makefile: Add rules to install db-Makefile.
13649
13650 * nss/nss_db/db-XXX.c: Cleanup.
13651
13652 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13653 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13654 GLIBC_PRIVATE.
13655 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13656 * nss/makedb.c: Implement -g option to specify that value strings
13657 are generated and should not be added to table iterated over for
13658 get*ent calls.
13659 * nss/nss_db/db-initgroups.c: New file.
13660
13661 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13662 interface.
13663
13664 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13665 (internal_getgrouplist): Adjust to name change.
13666 Update use_initgroups_entry if this is not the first call.
13667 * nss/databases.def: Add initgroups entry.
13668
13669 * nss/makedb.c (compute_tables): Check result of multiple hash table
13670 sizes to minimize maximum chain length.
13671
13672 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13673
13674 * Versions.def: Add entry for libnss_db.
13675 * shlib-versions: Likewise.
13676 * nss/Makefile: Add rules to build libnss_db.
13677 * nss/Versions: Add libnss_db information. Organize libnss_files
13678 entries better.
13679 * nss/db-Makefile: Add gshadow support. Change rules for the new
13680 makedb progra. Some minor improvements to generate smaller files.
13681 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13682 here from...
13683 * nss/makedb.c: ...here.
13684 Improve database format to be smaller and require less memory at
13685 runtime.
13686 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13687 db anymore.
13688 * nss/nss_db/db-netgrp.c: Likewise.
13689 * nss/nss_db/db-open.c: Likewise.
13690 * nss/nss_files/flies-XXX.x: Adjust comments.
13691 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13692 * nss/nss_files/files-grp.c: Likewise.
13693 * nss/nss_files/files-hosts.c: Likewise.
13694 * nss/nss_files/files-network.c: Likewise.
13695 * nss/nss_files/files-proto.c: Likewise.
13696 * nss/nss_files/files-pwd.c: Likewise.
13697 * nss/nss_files/files-rpc.c: Likewise.
13698 * nss/nss_files/files-service.c: Likewise.
13699 * nss/nss_files/files-sgrp.c: Likewise.
13700 * nss/nss_files/files-spwd.c: Likewise.
13701 * nss/nss_db/db-alias.c: Removed.
13702 * nss/nss_db/dummy-db.h: Removed.
13703
13704 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13705
13706 * nss/makedb.c: Rewritten to not use database library.
13707 * nss/Makefile: Update to build new makedb program.
13708
13709 2011-06-14 Andreas Jaeger <aj@suse.de>
13710
13711 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13712 memset declaration.
13713
13714 2011-06-10 Andreas Schwab <schwab@redhat.com>
13715
13716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13717 tmpbuf.
13718
13719 2011-06-10 Roland McGrath <roland@hack.frob.com>
13720
13721 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13722 * elf/Makefile ($(objpfx)ld.so): Likewise.
13723
13724 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13725 Don't list ld.so twice in dependencies.
13726
13727 * posix/bug-regex31.c: Include <stdlib.h>.
13728
13729 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13730
13731 * nis/nss_compat/compat-spwd.c
13732 (getspent_next_nss_netgr): Remove unused variable.
13733 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13734
13735 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13736 nonmembers" output to use the right array.
13737
13738 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13739
13740 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13741
13742 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13743 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13744 * catgets/gencat.c (read_input_file): Likewise.
13745 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13746
13747 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13748 variable definition inside #if's controlling its use.
13749
13750 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13751
13752 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13753
13754 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13755
13756 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13757 unreachable code.
13758
13759 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13760
13761 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13762 * configure: Regenerated.
13763
13764 * Makerules: Revert last change.
13765 * elf/Makefile: Likewise.
13766
13767 2011-06-09 Roland McGrath <roland@hack.frob.com>
13768
13769 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13770 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13771 (reloc-link): Likewise.
13772
13773 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13774
13775 * elf/Makefile: Add rules to build pldd.
13776 * elf/pldd.c: New file.
13777 * elf/pldd-xx.c: New file.
13778
13779 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13780
13781 * version.h: Update for 2.15 development version.
13782
13783 2011-06-07 David S. Miller <davem@davemloft.net>
13784
13785 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13786 ifuncs.
13787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13788 elf_machine_lazy_rel): Likewise.
13789 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13790 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13791 elf_machine_lazy_rel): Likewise.
13792 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13793 dl_hwcap via passed in argument.
13794 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13795 Likewise.
13796
13797 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13798
13799 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13800
13801 2011-06-06 Roland McGrath <roland@hack.frob.com>
13802
13803 [BZ #12849]
13804 * manual/fdl-1.1.texi: New file, verbatim from:
13805 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13806 * manual/lgpl-2.1.texi: New file, verbatim from:
13807 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13808 * manual/Makefile (licenses): New variable, list those new file names.
13809 (texis): Use it.
13810 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13811
13812 * manual/fdl.texi: File removed.
13813 * manual/lesser.texi: File removed.
13814 * manual/libc.texinfo (Copying, Documentation License):
13815 Use new @include file names, put @appendix directive before @include.
13816
13817 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13818
13819 [BZ #12841]
13820 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13821 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13822 (mq_open): Add __NTH.
13823
13824 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13825
13826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13827 Assume Intel Core i3/i5/i7 processor if AVX is available.
13828
13829 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13830
13831 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13832 typo.
13833
13834 2011-05-31 Andreas Schwab <schwab@redhat.com>
13835
13836 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13837 memory. Use alloca_account. Fix memory leak when retrying.
13838
13839 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13840
13841 * version.h (RELEASE): Bump for 2.14 release.
13842 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13843
13844 * config.make.in (RANLIB): Remove entry.
13845
13846 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13847
13848 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13849 (libc.pot): Work around missing support for .ksh extension in xgettext.
13850
13851 [BZ #12684]
13852 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13853 if both request failed.
13854 (send_dg): In case of server errors clear resplen or *resplen2.
13855
13856 [BZ #12454]
13857 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13858 when there are multiple maps.
13859 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13860 (_dl_fini): Remove test here.
13861
13862 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13863
13864 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13865
13866 [BZ #12350]
13867 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13868 bit from old_res_options.
13869 (gaih_inet): Likewise.
13870
13871 [BZ #11099]
13872 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13873 as signed.
13874
13875 * resolv/res_init.c (res_setoptions): Make the code more compact.
13876
13877 [BZ #11558]
13878 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13879 set RES_USEVC.
13880
13881 [BZ #11634]
13882 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13883
13884 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13885
13886 [BZ #11781]
13887 * malloc/malloc.h: Declare malloc hook variables as volatile.
13888
13889 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13890 in last patch.
13891
13892 [BZ #11799]
13893 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13894 raise in the comment.
13895 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13896 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13897 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13898
13899 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13900
13901 [BZ #12811]
13902 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13903 grow the buffers more if it already has to be sufficient.
13904 (build_wcs_upper_buffer): Likewise.
13905 * posix/regexec.c (check_matching): Likewise.
13906 (clean_state_log_if_needed): Likewise.
13907 (extend_buffers): Don't enlarge buffers beyond size of the input
13908 buffer.
13909 Patches mostly by Emil Wojak <emil@wojak.eu>.
13910 * posix/bug-regex32.c: New file.
13911 * posix/Makefile (tests): Add bug-regex32.
13912
13913 * locale/findlocale.c (_nl_find_locale): Return right away if
13914 _nl_explode_name failed.
13915 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13916
13917 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13918
13919 * debug/xtrace.sh: Unify messages.
13920 * malloc/memusage.sh: Likewise.
13921
13922 [BZ #12813]
13923 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13924 time symbol from vDSO. Substitute with vsyscall if not available.
13925 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13926 __vdso_time.
13927
13928 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13929 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13930 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13931 Add sendmmsg and internal_sendmmsg.
13932 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13933 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13934 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13935
13936 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13937 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13938 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13939
13940 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13941
13942 [BZ #12813]
13943 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13944 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13945 available.
13946 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13947 __vdso_getcpu.
13948
13949 [BZ #12814]
13950 * iconvdata/Makefile (tests): Add bug-iconv9.
13951 * iconvdata/bug-iconv9.c: New file.
13952
13953 2011-05-27 Andreas Schwab <schwab@redhat.com>
13954
13955 [BZ #12814]
13956 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13957
13958 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13959
13960 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13961 (struct user_regs_struct): Change intcs field back to cs.
13962
13963 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13964
13965 * po/ja.po: Update from translation team.
13966
13967 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13968
13969 [BZ #12795]
13970 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13971 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13972
13973 2011-05-20 Andreas Schwab <schwab@redhat.com>
13974
13975 * stdlib/longlong.h: Update from GCC.
13976
13977 2011-05-23 Andreas Schwab <schwab@redhat.com>
13978
13979 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13980 parameter name.
13981 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13982 Add parameter name.
13983 (__sysconf): Pass it down.
13984
13985 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13986
13987 [BZ #12671]
13988 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13989 some situations.
13990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13991 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13992 add in in __libc_use_alloca calls. Adjust callers.
13993 (glob): Use malloc in some situations.
13994
13995 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13996 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13997 pltexit.
13998
13999 2011-05-21 Ulrich Drepper <drepper@gmail.com>
14000
14001 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14002 and CLOCK_BOOTTIME_ALARM.
14003
14004 [BZ #12782]
14005 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14006 is returned.
14007
14008 * string/_strerror.c (__strerror_r): Print negative errors as signed
14009 numbers.
14010
14011 [BZ #12777]
14012 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14013 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14014 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14015
14016 * configure.in: Fix typo in redirection and correct removal of test
14017 files in two cases.
14018
14019 [BZ #12788]
14020 * locale/setlocale.c (new_composite_name): Fix test to check for
14021 identical name of all categories.
14022
14023 [BZ #12792]
14024 * libio/filedoalloc.c (local_isatty): New function.
14025 (_IO_file_doallocate): Use local_isatty.
14026 * stdio-common/perror.c (perror): In case a new stream is used
14027 forward the stream error.
14028 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14029 error flag.
14030
14031 2011-05-20 Ulrich Drepper <drepper@gmail.com>
14032
14033 [BZ #11869]
14034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14035 alloca.
14036 * include/alloca.h (extend_alloca_account): Define.
14037
14038 [BZ #11857]
14039 * posix/regex.h: Fix comments with documentation of user-accessible
14040 fields after compilation and describe correct free'ing of pattern
14041 after re_compile_pattern.
14042 Patch by Reuben Thomas <rrt@sc3d.org>.
14043
14044 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14045
14046 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14047 and -mno-altivec to prevent the compiler from using Altivec and/or
14048 VSX instructions when the corresponding registers are not available.
14049
14050 2011-05-19 Andreas Schwab <schwab@redhat.com>
14051
14052 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14053
14054 2011-05-19 Ulrich Drepper <drepper@gmail.com>
14055
14056 * libio/freopen.c (freopen): Use __dup2, not dup2.
14057 * libio/freopen64.c (freopen64): Likewise.
14058
14059 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14060
14061 [BZ #12775]
14062 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14063 * math/Makefile (tests): Add test-powl.
14064 (CFLAGS-test-powl.c): Define.
14065 * math/test-powl.c: New file.
14066
14067 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14068
14069 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14070
14071 2011-05-17 Ulrich Drepper <drepper@gmail.com>
14072
14073 [BZ #11837]
14074 * iconvdata/gb18030.c: Update to GB18020-2005.
14075
14076 2011-05-16 Ulrich Drepper <drepper@gmail.com>
14077
14078 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14079 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14080 Patch by Aharon Robbins <arnold@skeeve.com>.
14081
14082 [BZ #11892]
14083 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14084 on the stack.
14085
14086 [BZ #11895]
14087 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14088 through underflows.
14089
14090 [BZ #12766]
14091 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14092 point to strings before performing equality test for error_one_per_line
14093 mode.
14094
14095 [BZ #11697]
14096 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14097
14098 [BZ #11820]
14099 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14100 (struct user_fpregs_struct): Avoid __uint*_t types.
14101
14102 [BZ #6420]
14103 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14104 symbol info. Use it instead of calling _dl_addr locally.
14105 (lock_and_info): New function.
14106 (tr_freehook): Call lock_and_info and pass symbol info as additional
14107 parameter to tr_where.
14108 (tr_mallochook): Likewise.
14109 (tr_reallochook): Likewise.
14110 (tr_memalignhook): Likewise.
14111
14112 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14113 used and couldn't be at all thread-safe.
14114
14115 2011-05-15 Ulrich Drepper <drepper@gmail.com>
14116
14117 * libio/freopen.c (freopen): Don't close old file descriptor
14118 before the new one is opened. Instead dup the new file descriptor
14119 to the old one after the new stream is created.
14120 * libio/freopen64.c (freopen64): Likewise.
14121 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14122 * libio/fileops.c (_IO_new_file_close_it): Handle new
14123 _IO_FLAGS2_NOCLOSE flag.
14124 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14125 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14126 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14127 _IO_FLAGS2_NOCLOSE flag.
14128 * include/unistd.h: Add hidden_proto for dup3.
14129 Define __have_dup3.
14130 * io/dup3.c: Define hidden symbol.
14131 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14132
14133 [BZ #7101]
14134 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14135 when an incomplete long option is used.
14136 * posix/tst-getopt_long1.c: New file.
14137 * posix/Makefile (tests): Add tst-getopt_long1.
14138
14139 [BZ #10138]
14140 * scripts/config.guess: Update from autoconf-2.68.
14141 * scripts/config.sub: Likewise.
14142
14143 [BZ #10157]
14144 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14145 tests into ...
14146 (has_cpuclock): ...this. New function.
14147 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14148 macro here based on has_cpuclock code.
14149
14150 [BZ #10149]
14151 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14152 First byte (not low byte) is now always NUL.
14153 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14154
14155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14156 Use non-cancelable interfaces.
14157
14158 [BZ #9809]
14159 * locale/iso-639.def: Add entry for Sorani.
14160
14161 [BZ #11901]
14162 * include/stdlib.h: Move include protection to the right place.
14163 Define abort_msg_s. Declare __abort_msg with it.
14164 * stdlib/abort.c (__abort_msg): Adjust type.
14165 * assert/assert.c (__assert_fail_base): New function. Majority
14166 of code from __assert_fail. Allocate memory for __abort_msg with
14167 mmap.
14168 (__assert_fail): Now call __assert_fail_base.
14169 * assert/assert-perr.c: Remove bulk of implementation. Use
14170 __assert_fail_base.
14171 * include/assert.hL Declare __assert_fail_base.
14172 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14173 mmap.
14174 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14175
14176 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14177
14178 [BZ #11952]
14179 [BZ #12453]
14180 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14181 until all modules are registered in the DTV.
14182 * elf/Makefile: Add rules to build and run tst-tls19.
14183 * elf/tst-tls19.c: New file.
14184 * elf/tst-tls19mod1.c: New file.
14185 * elf/tst-tls19mod2.c: New file.
14186 * elf/tst-tls19mod3.c: New file.
14187 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14188
14189 [BZ #12083]
14190 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14191 correctly.
14192
14193 [BZ #12601]
14194 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14195 two-byte sequence errors.
14196 * iconvdata/Makefile (tests): Add bug-iconv8.
14197 * iconvdata/bug-iconv8.c: New file.
14198
14199 [BZ #12626]
14200 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14201 buf2 definition.
14202
14203 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14204
14205 [BZ #12432]
14206 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14207 (dummy_getcfa): New function.
14208 (init): Get _Unwind_GetCFA address, use dummy if not found.
14209 (backtrace_helper): In recursion check, also check whether CFA changes.
14210 (__backtrace): Completely initialize arg.
14211
14212 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14213 storing incomplete byte sequence in state object. Avoid testing for
14214 guaranteed too small input if we know there is enough data available.
14215
14216 2011-05-11 Andreas Schwab <schwab@redhat.com>
14217
14218 * Makeconfig (+link-pie): Indent.
14219 * Rules (binaries-pie): Define if $(have-fpie) and
14220 $(build-shared).
14221 (binaries-shared): Also filter out $(binaries-pie).
14222 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14223 * nscd/Makefile (others-pie): Add nscd.
14224 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14225 ($(objpfx)nscd): Remove command override.
14226 * login/Makefile (others-pie): Add pt_chown.
14227 ($(objpfx)pt_chown): Remove command override.
14228 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14229 remove command overrides.
14230
14231 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14232
14233 * libio/tst_putwc.c: Fix error messages.
14234
14235 [BZ #12724]
14236 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14237 currently writing and seek to current position when not.
14238 * libio/Makefile (tests): Add bug-fclose1.
14239 * libio/bug-fclose1.c: New file.
14240
14241 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14242
14243 [BZ #12511]
14244 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14245 don't set DF_1_NODELETE here.
14246 (do_lookup_x): When entering new entry test for copy relocation
14247 and if necessary set DF_1_NODELETE flag.
14248 * elf/tst-unique4.cc: New file.
14249 * elf/tst-unique4.h: New file.
14250 * elf/tst-unique4lib.cc: New file.
14251 * elf/Makefile: Add rules to build and run tst-unique4.
14252 Patch by Piotr Bury <pbury@goahead.com>.
14253
14254 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14255
14256 [BZ #12052]
14257 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14258
14259 [BZ #12625]
14260 * misc/mntent_r.c (addmntent): Flush the stream after the output
14261
14262 [BZ #12393]
14263 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14264 (is_trusted_path_normalize): Skip initial colon. Append slash
14265 to empty buffer. Duplicate is_trusted_path code but allow
14266 constructed patch to be prefix.
14267 (is_dst): Allow $ORIGIN followed by /.
14268 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14269 Correct testing of result of is_trusted_path_normalize
14270 (decompose_rpath): Fix warning.
14271
14272 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14273
14274 [BZ #11257]
14275 * grp/initgroups.c (internal_getgrouplist): When we found the service
14276 list through the initgroups entry in nsswitch.conf do not always
14277 continue on a successful lookup. Don't always use the
14278 __nss_group_database value if it is set.
14279 * nss/nsswitch.conf (initgroups): Change action for successful db
14280 lookup to continue for compatibility.
14281
14282 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14283
14284 [BZ #11532]
14285 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14286 and CP774 modules.
14287 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14288 and CP774 modules.
14289 * iconvdata/tst-tables.sh: Likewise.
14290 * iconvdata/cp770.c: New file.
14291 * iconvdata/cp771.c: New file.
14292 * iconvdata/cp772.c: New file.
14293 * iconvdata/cp773.c: New file.
14294 * iconvdata/cp774.c: New file.
14295 * iconvdata/testdata/CP770: New file.
14296 * iconvdata/testdata/CP770..UTF8: New file.
14297 * iconvdata/testdata/CP771: New file.
14298 * iconvdata/testdata/CP771..UTF8: New file.
14299 * iconvdata/testdata/CP772: New file.
14300 * iconvdata/testdata/CP772..UTF8: New file.
14301 * iconvdata/testdata/CP773: New file.
14302 * iconvdata/testdata/CP773..UTF8: New file.
14303 * iconvdata/testdata/CP774: New file.
14304 * iconvdata/testdata/CP774..UTF8: New file.
14305
14306 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14307 END CHARMAP line.
14308 * iconvdata/gen-8bit-gap.sh: Likewise.
14309 * iconvdata/gen-8bit.sh: Likewise.
14310
14311 * locale/iso-639.def: Add ary entry.
14312
14313 [BZ #11258]
14314 * locale/C-translit.h.in: Add U20A1 transliteration.
14315
14316 [BZ #12178]
14317 * locale/iso-639.def: Add wae entry.
14318 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14319
14320 [BZ #12545]
14321 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14322 for n.
14323
14324 [BZ #12711]
14325 * locale/C-translit.h.in: Add entry for U20B9.
14326 Patch by pravin.d.s@gmail.com.
14327
14328 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14329
14330 [BZ #12713]
14331 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14332 ENAMETOOLONG use generic getcwd.
14333 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14334 in rtld. Use *stat64.
14335 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14336 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14337 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14338 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14339 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14340 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14341 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14342 __fstatat64 macros.
14343 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14344 * dirent/rewinddir.c: Add libc_hidden_def.
14345 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14346 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14347
14348 * include/dirent.h (__alloc_dir): Add flags parameter.
14349 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14350 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14351 __alloc_dir.
14352 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14353 from fdopendir if O_CLOEXEC is already set.
14354
14355 2011-03-15 Alan Modra <amodra@gmail.com>
14356
14357 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14358 l_tls_firstbyte_offset non-zero. Save padding offset in
14359 l_tls_firstbyte_offset for later use.
14360 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14361 freeing static tls block.
14362
14363 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14364
14365 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14366 where #ifdef was intended. The intent is to prevent ARG_MAX from
14367 being defined by the kernel headers.
14368
14369 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14370
14371 [BZ #12734]
14372 * resolv/resolv.h: Define RES_NOTLDQUERY.
14373 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14374 no-tld-query and set RES_NOTLDQUERY.
14375 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14376 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14377 modern BIND to search name as TLD unless forbidden.
14378
14379 2011-05-07 Petr Baudis <pasky@suse.cz>
14380 Ulrich Drepper <drepper@gmail.com>
14381
14382 [BZ #12393]
14383 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14384 (is_trusted_path): ...to here.
14385 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14386 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14387 using is_trusted_path_normalize() in setuid scripts.
14388
14389 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14390
14391 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14392 __BEGIN/__END_DECLS.
14393
14394 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14395
14396 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14397 NSS_STATUS_NOTFOUND if no record was found.
14398
14399 2011-05-05 Andreas Schwab <schwab@redhat.com>
14400
14401 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14402 (headers-not-in-tirpc): Remove rpc/netdb.h
14403 * resolv/netdb.h: Revert last change.
14404
14405 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14406
14407 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14408 circular dependency between libgcc.a and libc.a.
14409
14410 2011-05-05 Andreas Schwab <schwab@redhat.com>
14411
14412 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14413 * nis/Makefile: Don't install rpcsvc/*.
14414 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14415 instead of <rpc/types.h>.
14416 (MAXHOSTNAMELEN): Define.
14417
14418 2011-05-03 Andreas Schwab <schwab@redhat.com>
14419
14420 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14421
14422 2011-04-28 Maciej Babinski <mbabinski@google.com>
14423
14424 [BZ #12714]
14425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14426 gethostbyname4_r when IPv6 results are possible.
14427
14428 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14429
14430 [BZ #12723]
14431 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14432 _PC_PIPE_BUF handling.
14433
14434 2011-04-30 Bruno Haible <bruno@clisp.org>
14435
14436 [BZ #12717]
14437 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14438 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14439 to 'int'.
14440 * inet/getnameinfo.c (getnameinfo): Likewise.
14441
14442 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14443
14444 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14445 to groups setting in database lookup.
14446 * nss/nsswitch.conf: Add initgroups entry.
14447
14448 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14449
14450 [BZ #12685]
14451 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14452 mode string.
14453 Patch by Eric Blake <eblake@redhat.com>.
14454
14455 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14456
14457 * sunrpc/Makefile (need-export-routines): Add svc_run.
14458 (routines): Remove svc_run.
14459 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14460 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14461 * sunrpc/svc_run.c (svc_run): Likewise.
14462 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14463
14464 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14465
14466 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14467 problem in reallocation in last patch.
14468
14469 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14470
14471 * sunrpc/Makefile: Move inclusion of Rules.
14472
14473 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14474
14475 * nss/nss_files/files-initgroups.c: New file.
14476 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14477 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14478 _nss_files_initgroups_dyn.
14479
14480 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14481
14482 * elf/elf.h (R_ARM_IRELATIVE): Define.
14483
14484 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14485
14486 * po/ru.po: Update from translation team.
14487
14488 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14489
14490 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14491 dependencies.
14492
14493 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14494
14495 [BZ #12653]
14496 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14497 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14498 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14499 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14500 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14501
14502 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14503
14504 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14505 differing bytes.
14506 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14507 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14509
14510 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14511
14512 [BZ #12420]
14513 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14514 storing it.
14515 * stdlib/bug-getcontext.c: New file.
14516 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14517
14518 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14519
14520 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14521 instructions into .machine "z9-109".
14522 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14523 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14524
14525 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14526
14527 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14528 between environment variables and auxiliary vector.
14529
14530 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14531
14532 * Makefile: Add rules to build linkobj/libc.so.
14533 * include/libc-symbols.h: Define libc_hidden_nolink.
14534 * include/rpc/auth.h: Mark functions which are to be hidden.
14535 * include/rpc/auth_des.h: Likewise.
14536 * include/rpc/auth_unix.h: Likewise.
14537 * include/rpc/clnt.h: Likewise.
14538 * include/rpc/des_crypt.h: Likewise.
14539 * include/rpc/key_prot.h: Likewise.
14540 * include/rpc/pmap_clnt.h: Likewise.
14541 * include/rpc/pmap_prot.h: Likewise.
14542 * include/rpc/pmap_rmt.h: Likewise.
14543 * include/rpc/rpc_msg.h: Likewise.
14544 * include/rpc/svc.h: Likewise.
14545 * include/rpc/svc_auth.h: Likewise.
14546 * include/rpc/xdr.h: Likewise.
14547 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14548 * nss/Makefile: Likewise.
14549 * sunrpc/Makefile: Don't install headers. Build library with normal
14550 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14551 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14552 for the compat linking library. Remove use of INTDEF/INTUSE.
14553 * sunrpc/auth_none.c: Likewise.
14554 * sunrpc/auth_unix.c: Likewise.
14555 * sunrpc/authdes_prot.c: Likewise.
14556 * sunrpc/authuxprot.c: Likewise.
14557 * sunrpc/clnt_gen.c: Likewise.
14558 * sunrpc/clnt_perr.c: Likewise.
14559 * sunrpc/clnt_raw.c: Likewise.
14560 * sunrpc/clnt_simp.c: Likewise.
14561 * sunrpc/clnt_tcp.c: Likewise.
14562 * sunrpc/clnt_udp.c: Likewise.
14563 * sunrpc/clnt_unix.c: Likewise.
14564 * sunrpc/des_crypt.c: Likewise.
14565 * sunrpc/des_soft.c: Likewise.
14566 * sunrpc/get_myaddr.c: Likewise.
14567 * sunrpc/key_call.c: Likewise.
14568 * sunrpc/key_prot.c: Likewise.
14569 * sunrpc/netname.c: Likewise.
14570 * sunrpc/pm_getmaps.c: Likewise.
14571 * sunrpc/pm_getport.c: Likewise.
14572 * sunrpc/pmap_clnt.c: Likewise.
14573 * sunrpc/pmap_prot.c: Likewise.
14574 * sunrpc/pmap_prot2.c: Likewise.
14575 * sunrpc/pmap_rmt.c: Likewise.
14576 * sunrpc/publickey.c: Likewise.
14577 * sunrpc/rpc_cmsg.c: Likewise.
14578 * sunrpc/rpc_common.c: Likewise.
14579 * sunrpc/rpc_dtable.c: Likewise.
14580 * sunrpc/rpc_prot.c: Likewise.
14581 * sunrpc/rpc_thread.c: Likewise.
14582 * sunrpc/rtime.c: Likewise.
14583 * sunrpc/svc.c: Likewise.
14584 * sunrpc/svc_auth.c: Likewise.
14585 * sunrpc/svc_authux.c: Likewise.
14586 * sunrpc/svc_raw.c: Likewise.
14587 * sunrpc/svc_run.c: Likewise.
14588 * sunrpc/svc_simple.c: Likewise.
14589 * sunrpc/svc_tcp.c: Likewise.
14590 * sunrpc/svc_udp.c: Likewise.
14591 * sunrpc/svc_unix.c: Likewise.
14592 * sunrpc/svcauth_des.c: Likewise.
14593 * sunrpc/xcrypt.c: Likewise.
14594 * sunrpc/xdr.c: Likewise.
14595 * sunrpc/xdr_array.c: Likewise.
14596 * sunrpc/xdr_float.c: Likewise.
14597 * sunrpc/xdr_intXX_t.c: Likewise.
14598 * sunrpc/xdr_mem.c: Likewise.
14599 * sunrpc/xdr_rec.c: Likewise.
14600 * sunrpc/xdr_ref.c: Likewise.
14601 * sunrpc/xdr_sizeof.c: Likewise.
14602 * sunrpc/xdr_stdio.c: Likewise.
14603
14604 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14605
14606 [BZ #12650]
14607 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14608 * sysdeps/ia64/dl-tls.h: Likewise.
14609 * sysdeps/powerpc/dl-tls.h: Likewise.
14610 * sysdeps/s390/dl-tls.h: Likewise.
14611 * sysdeps/sh/dl-tls.h: Likewise.
14612 * sysdeps/sparc/dl-tls.h: Likewise.
14613 * sysdeps/x86_64/dl-tls.h: Likewise.
14614 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14615
14616 2011-03-14 Andreas Schwab <schwab@redhat.com>
14617
14618 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14619 rpath element also skip the following colon.
14620 (expand_dynamic_string_token): Add is_path parameter and pass
14621 down to DL_DST_REQUIRED and _dl_dst_substitute.
14622 (decompose_rpath): Call expand_dynamic_string_token with
14623 non-zero is_path. Ignore empty rpaths.
14624 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14625 with zero is_path.
14626
14627 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14628
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14630 Make cancelable.
14631
14632 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14633
14634 [BZ #12655]
14635 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14636 Patch by Filipe David Manana <fdmanana@apache.org>.
14637
14638 2011-04-07 Andreas Schwab <schwab@redhat.com>
14639
14640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14641 Maintain aligned stack.
14642 (CHECK_RSP): Remove unused macro.
14643
14644 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14645
14646 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14647 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14648
14649 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14650
14651 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14652
14653 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14654
14655 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14656
14657 [BZ #12518]
14658 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14659 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14660 * sysdeps/x86_64/memmove.c: New file.
14661 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14662 (memcpy): Renamed to ...
14663 (__new_memcpy): This.
14664 (memcpy): Provide GLIBC_2_14 memcpy.
14665 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14666 (memcpy): Provide GLIBC_2_2_5 memcpy.
14667
14668 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14669
14670 [BZ #12631]
14671 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14672
14673 2011-03-30 Andreas Schwab <schwab@redhat.com>
14674
14675 * misc/syncfs.c: New file.
14676 * misc/Makefile (routines): Add syncfs.
14677 * posix/unistd.h: Declare syncfs.
14678 * sysdeps/unix/syscalls.list: Add syncfs.
14679
14680 2011-04-01 Andreas Schwab <schwab@redhat.com>
14681
14682 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14683 open_by_handle_at.
14684 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14685 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14687 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14689 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14691
14692 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14693
14694 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14695 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14696 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14700 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14701
14702 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14703 sync_file_range.c with -fexceptions.
14704 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14705 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14706 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14707 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14708 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14709 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14711 sync_file_range as cancellation point
14712 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14713 now a wrapper around __call_sync_file_range with cancellation handling.
14714 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14715 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14716 function name to __call_sync_file_range.
14717 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14718 Add call_sync_file_range.
14719
14720 2011-04-01 Andreas Schwab <schwab@redhat.com>
14721
14722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14723 bits/timex.h.
14724
14725 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14726
14727 * iconv/iconv.h: Fix typo in comment.
14728 * io/fcntl.h: Likewise.
14729 * libio/stdio.h: Likewise.
14730 * posix/spawn.h: Likewise.
14731 * posix/unistd.h: Likewise.
14732 * stdlib/stdlib.h: Likewise.
14733 * time/time.h: Likewise.
14734 * wcsmbs/wchar.h: Likewise.
14735
14736 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14737 open_by_handle): Add.
14738 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14739 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14740 Augment a few comments.
14741 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14743 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14745 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14746 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14747 open_by_handle.
14748
14749 * io/fcntl.h (AT_EMPTY_PATH): Define.
14750
14751 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14752
14753 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14754 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14755 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14756 to...
14757 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14758 * Versions.def: Add GLIBC_2.14.
14759 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14760 Export.
14761
14762 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14763
14764 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14765 round counter.
14766 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14767
14768 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14769
14770 [BZ #12597]
14771 * string/test-strncmp.c (do_page_test): New function.
14772 (check2): Likewise.
14773 (test_main): Call check2.
14774 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14775
14776 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14777
14778 [BZ #12587]
14779 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14780 Handle cache information in CPU leaf 4.
14781 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14782
14783 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14784
14785 [BZ #12583]
14786 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14787 character representation.
14788 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14789
14790 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14791
14792 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14793 END(__isnan) to END(__isnanf) to match function entry point/label
14794 EALIGN(__isnanf,...).
14795
14796 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14797
14798 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14799
14800 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14801
14802 [BZ #12510]
14803 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14804 copy from the symbol referenced in the relocation to initialize the
14805 used variable.
14806 Patch by Piotr Bury <pbury@goahead.com>.
14807 * elf/Makefile: Add rules to build and tst-unique3.
14808 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14809 * elf/tst-unique3.cc: New file.
14810 * elf/tst-unique3.h: New file.
14811 * elf/tst-unique3lib.cc: New file.
14812 * elf/tst-unique3lib2.cc: New file.
14813
14814 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14815
14816 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14817
14818 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14819 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14820 to _start.
14821
14822 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14823
14824 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14825 to-be-loaded object along a path to loader is ld.so.
14826
14827 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14828 Ulrich Drepper <drepper@gmail.com>
14829
14830 * sysdeps/x86_64/memset.S: After aligning destination, code
14831 branches to different locations depending on the value of
14832 misalignment, when multiarch is enabled. Fix this.
14833
14834 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14835
14836 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14837 Set _x86_64_preferred_memory_instruction for AMD processsors.
14838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14839 Set bit_Prefer_SSE_for_memop for AMD processors.
14840
14841 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14842
14843 * libio/fmemopen.c (fmemopen): Optimize a bit.
14844
14845 2011-03-03 Andreas Schwab <schwab@redhat.com>
14846
14847 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14848
14849 2011-03-03 Roland McGrath <roland@redhat.com>
14850
14851 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14852
14853 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14854
14855 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14856 __bzero_ultra1 instead of __memset_ultra1.
14857
14858 2011-02-23 Andreas Schwab <schwab@redhat.com>
14859 Ulrich Drepper <drepper@gmail.com>
14860
14861 [BZ #12509]
14862 * include/link.h (struct link_map): Add l_orig_initfini.
14863 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14864 returning unsuccessfully.
14865 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14866 close of a file loaded at startup, restore the original l_initfini
14867 list.
14868 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14869 list, store the pointer.
14870 * elf/Makefile ($(objpfx)noload-mem): New rule.
14871 (noload-ENV): Define.
14872 (tests): Add $(objpfx)noload-mem.
14873 * elf/noload.c: Include <memcheck.h>.
14874 (main): Call mtrace. Close all opened handles.
14875
14876 2011-02-17 Andreas Schwab <schwab@redhat.com>
14877
14878 [BZ #12454]
14879 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14880 dependencies are missing.
14881
14882 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14883
14884 Fix __if_freereq crash: Unlike the generic version which uses free,
14885 Hurd needs munmap.
14886 * sysdeps/mach/hurd/ifreq.h: New file.
14887
14888 2011-01-27 Petr Baudis <pasky@suse.cz>
14889 Ulrich Drepper <drepper@gmail.com>
14890
14891 [BZ 12445]#
14892 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14893 to extend_alloca().
14894 * stdio-common/bug23.c: New file.
14895 * stdio-common/Makefile (tests): Add bug23.
14896
14897 2010-09-28 Andreas Schwab <schwab@redhat.com>
14898 Ulrich Drepper <drepper@gmail.com>
14899
14900 [BZ #12489]
14901 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14902 before performing relro protection. At old place add assertion
14903 to make sure nothing changed.
14904
14905 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14906 Glauber de Oliveira Costa <glommer@gmail.com>
14907
14908 * elf/elf.h: Add new ARM TLS relocs.
14909
14910 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14911
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14913 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14914 cast from r3.
14915 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14916 'tests' variable.
14917 * sysdeps/wordsize-64/tst-writev.c: New file.
14918
14919 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14920
14921 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14922 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14923 insns in _dl_start to prevent a TOC reference before relocs are
14924 resolved.
14925
14926 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14927
14928 [BZ #12469]
14929 * Makeconfig: Remove RANLIB definition.
14930 * Makerules: Don't use RANLIB.
14931 * aclocal.m4: Remove ranlib test.
14932 * configure.in: No need to check for ranlib.
14933 * elf/rtld-Rules: Don't use RANLIB.
14934
14935 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14936
14937 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14938 protection macro.
14939 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14940 inclusion protection macro.
14941
14942 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14943 SIGRTMIN and SIGRTMAX and print information in that case only when
14944 SIGRTMIN is defined.
14945
14946 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14947
14948 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14949 arginfo fn returning -1.
14950
14951 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14952 and thousands string is zero terminated.
14953
14954 2011-02-03 Andreas Schwab <schwab@redhat.com>
14955
14956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14957 sysdeps/unix/sysv/linux/bits/socket.h.
14958
14959 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14960
14961 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14962 (__CPU_COUNT): Remove old macros.
14963 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14964 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14965 (__CPU_ALLOC, __CPU_FREE): Add macros.
14966 (__sched_cpualloc, __sched_cpufree): Add declarations.
14967
14968 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14969
14970 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14971 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14972 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14973 (readdhstai): Return value of addhstaiX call.
14974 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14975 (addgrbyX): Return value returned by cache_addgr.
14976 (readdgrbyname): Return value returned by addgrbyX.
14977 (readdgrbygid): Likewise.
14978 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14979 (addpwbyX): Return value returned by cache_addpw.
14980 (readdpwbyname): Return value returned by addhstbyX.
14981 (readdpwbyuid): Likewise.
14982 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14983 (addservbyX): Return value returned by cache_addserv.
14984 (readdservbyname): Return value returned by addservbyX:
14985 (readdservbyport): Likewise.
14986 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14987 (addhstbyX): Return value returned by cache_addhst.
14988 (readdhstbyname): Return value returned by addhstbyX.
14989 (readdhstbyaddr): Likewise.
14990 (readdhstbynamev6): Likewise.
14991 (readdhstbyaddrv6): Likewise.
14992 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14993 (readdinitgroups): Return value returned by addinitgroupsX.
14994 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14995 (prune_cache): Keep track of timeout value of re-added entries.
14996 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14997 * nscd/nscd.h: Adjust prototypes of readd* functions.
14998
14999 2011-02-04 Roland McGrath <roland@redhat.com>
15000
15001 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15002 (nis_stats): Likewise.
15003 * nis/nis_modify.c (nis_modify): Likewise.
15004 * nis/nis_remove.c (nis_remove): Likewise.
15005 * nis/nis_add.c (nis_add): Likewise.
15006
15007 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15008
15009 * posix/fnmatch_loop.c: Add some consts.
15010
15011 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15012
15013 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15014
15015 [BZ #12460]
15016 * config.make.in (config-cflags-novzeroupper): Define.
15017 * configure.in: Substitute libc_cv_cc_novzeroupper.
15018 * elf/Makefile (AVX-CFLAGS): Define.
15019 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15020 (CFLAGS-tst-auditmod4a.c): Likewise.
15021 (CFLAGS-tst-auditmod4b.c): Likewise.
15022 (CFLAGS-tst-auditmod6b.c): Likewise.
15023 (CFLAGS-tst-auditmod6c.c): Likewise.
15024 (CFLAGS-tst-auditmod7b.c): Likewise.
15025 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15026
15027 2011-02-02 Ulrich Drepper <drepper@gmail.com>
15028
15029 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15030 function to the callback.
15031 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15032
15033 2011-02-02 Andreas Schwab <schwab@redhat.com>
15034
15035 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15036 of errno.
15037
15038 2011-01-19 Ulrich Drepper <drepper@gmail.com>
15039
15040 [BZ #11724]
15041 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15042 of constructors.
15043 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15044 of destructors.
15045 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15046
15047 [BZ #11724]
15048 * elf/Makefile: Add rules to build and run new test.
15049 * elf/tst-initorder.c: New file.
15050 * elf/tst-initorder.exp: New file.
15051 * elf/tst-initordera1.c: New file.
15052 * elf/tst-initordera2.c: New file.
15053 * elf/tst-initordera3.c: New file.
15054 * elf/tst-initordera4.c: New file.
15055 * elf/tst-initorderb1.c: New file.
15056 * elf/tst-initorderb2.c: New file.
15057 * elf/tst-order-a1.c: New file.
15058 * elf/tst-order-a2.c: New file.
15059 * elf/tst-order-a3.c: New file.
15060 * elf/tst-order-a4.c: New file.
15061 * elf/tst-order-b1.c: New file.
15062 * elf/tst-order-b2.c: New file.
15063 * elf/tst-order-main.c: New file.
15064 New test case by George Gensure <werkt0@gmail.com>.
15065
15066 2010-10-01 Andreas Schwab <schwab@redhat.com>
15067
15068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15069 decoding ACE if AI_CANONIDN.
15070
15071 2011-01-18 Ulrich Drepper <drepper@gmail.com>
15072
15073 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15074
15075 2011-01-17 Ulrich Drepper <drepper@gmail.com>
15076
15077 * version.h (RELEASE): Bump for 2.13 release.
15078 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15079
15080 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15081
15082 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15083 MADV_NOHUGEPAGE.
15084 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15085 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15086 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15087 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15088 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15089 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15090
15091 * posix/getconf.c: Update copyright year.
15092 * catgets/gencat.c: Likewise.
15093 * csu/version.c: Likewise.
15094 * debug/catchsegv.sh: Likewise.
15095 * debug/xtrace.sh: Likewise.
15096 * elf/ldconfig.c: Likewise.
15097 * elf/ldd.bash.in: Likewise.
15098 * elf/sprof.c (print_version): Likewise.
15099 * iconv/iconv_prog.c: Likewise.
15100 * iconv/iconvconfig.c: Likewise.
15101 * locale/programs/locale.c: Likewise.
15102 * locale/programs/localedef.c: Likewise.
15103 * malloc/memusage.sh: Likewise.
15104 * malloc/mtrace.pl: Likewise.
15105 * nscd/nscd.c (print_version): Likewise.
15106 * nss/getent.c: Likewise.
15107
15108 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15109 PF_CAIF, and PF_ALG.
15110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15111
15112 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15113
15114 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15115 (modules-names): Use them.
15116 (ifunc-test-modules, ifunc-pie-tests): Define.
15117 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15118 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15119 (test-extras): Likewise.
15120 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15121 $(compile-command.c).
15122 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15123 (all-built-dso): Define.
15124 (check-textrel.out, check-execstack.out): Depend on it.
15125
15126 * configure.in: Don't override --enable-multi-arch.
15127
15128 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15129
15130 [BZ #6812]
15131 * nscd/hstcache.c (tryagain): Define.
15132 (cache_addhst): Return tryagain not notfound for temporary errors.
15133 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15134 failed.
15135
15136 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15137
15138 [BZ #10563]
15139 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15140 to make the syscall.
15141 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15142
15143 [BZ #12378]
15144 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15145 and fall back to matching as normal character if the string ends before
15146 the matching ']' is found. This is what POSIX requires.
15147 * posix/testfnm.c: Adjust test result.
15148 * posix/globtest.sh: Adjust test result. Add new test.
15149 * posix/tst-fnmatch.input: Likewise.
15150 * posix/tst-fnmatch2.c: Add new test.
15151
15152 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15153
15154 * elf/Makefile (check-execstack): Revert last change. Depend on
15155 check-execstack.h.
15156 (check-execstack.h): New target.
15157 (generated): Add check-execstack.h.
15158 * elf/check-execstack.c: Include "check-execstack.h".
15159 (main): Revert last change.
15160 (handle_file): Return zero if GNU_STACK is absent and
15161 DEFAULT_STACK_PERMS doesn't include PF_X.
15162
15163 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15164
15165 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15166 in child fails because the descriptor is already closed.
15167 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15168 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15169 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15170
15171 [BZ #12397]
15172 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15173 syscall.
15174
15175 [BZ #10484]
15176 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15177 temporary buffer used to handle multi lookups locally.
15178 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15179
15180 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15181
15182 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15183 loader is ld.so.
15184
15185 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15186
15187 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15188 alignment for SSE2.
15189
15190 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15191
15192 [BZ #12394]
15193 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15194 characters. When rounding increased number of integer digits recompute
15195 number of groups.
15196 * stdio-common/tst-grouping.c: New file.
15197 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15198
15199 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15200
15201 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15202 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15203
15204 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15205 void.
15206 * bits/select.h: Likewise.
15207
15208 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15209
15210 * po/ja.po: Update from translation team.
15211
15212 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15213
15214 [BZ #11155]
15215 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15216 implementation just like for lxstat, fxstatat, et al.
15217
15218 2010-12-27 Jim Meyering <meyering@redhat.com>
15219
15220 [BZ #12348]
15221 * posix/regexec.c (build_trtable): Return failure indication upon
15222 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15223
15224 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15225
15226 [BZ #12201]
15227 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15228 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15229 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15230 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15231
15232 [BZ #12207]
15233 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15234
15235 [BZ #12204]
15236 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15237 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15238
15239 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15240
15241 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15242 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15243 script has SORT_BY_INIT_PRIORITY.
15244 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15245 NO_CTORS_DTORS_SECTIONS is defined.
15246 * elf/soinit.c: Likewise.
15247 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15248 NO_CTORS_DTORS_SECTIONS is defined.
15249 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15250 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15251 * sysdeps/sh/init-first.c: Likewise.
15252 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15253
15254 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15255
15256 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15257 always use the slow path.
15258
15259 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15260
15261 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15262 similar rule which adds the sysdep directories to the header search in
15263 order to pick up the correct platform stackinfo.h.
15264 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15265 perform test if it is, otherwise return successfully without testing.
15266 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15267 DEFAULT_STACK_PERMS define in stackinfo.h.
15268 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15269 defined in stackinfo.h.
15270 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15271 DEFAULT_STACK_PERMS defined in stackinfo.h.
15272 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15273 * sysdeps/ia64/stackinfo.h: Likewise.
15274 * sysdeps/s390/stackinfo.h: Likewise.
15275 * sysdeps/sh/stackinfo.h: Likewise.
15276 * sysdeps/sparc/stackinfo.h: Likewise.
15277 * sysdeps/x86_64/stackinfo.h: Likewise.
15278 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15279 PF_X for powerpc64. Retain PF_X for powerpc32.
15280
15281 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15282
15283 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15284 accurately.
15285 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15286 GETDENTS_64BIT_ALIGNED.
15287
15288 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15289
15290 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15291
15292 2010-12-10 Andreas Schwab <schwab@redhat.com>
15293
15294 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15295 _GNU_SOURCE.
15296
15297 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15298 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15299 Remove __restrict.
15300 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15301 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15302
15303 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15304
15305 [BZ #11655]
15306 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15307 are initialized.
15308
15309 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15310
15311 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15312
15313 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15314
15315 * po/it.po: Update from translation team.
15316
15317 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15318
15319 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15320 unused codes.
15321
15322 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15323
15324 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15325
15326 2010-11-24 Andreas Schwab <schwab@redhat.com>
15327
15328 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15329 specially.
15330 (gaih_getanswer_slice): Likewise.
15331
15332 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15333
15334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15335
15336 2010-05-31 Petr Baudis <pasky@suse.cz>
15337
15338 [BZ #11149]
15339 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15340 silently even in the chroot mode.
15341
15342 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15343
15344 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15345 last patch a bit. Pretty printing
15346
15347 2010-05-31 Petr Baudis <pasky@suse.cz>
15348
15349 [BZ #10085]
15350 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15351 initialization of skip_initgroups_dyn.
15352
15353 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15354
15355 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15356 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15357
15358 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15359
15360 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15361
15362 2010-11-11 Andreas Schwab <schwab@redhat.com>
15363
15364 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15365 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15366 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15367 ($(objpfx)tst-fnmatch-mem): New rule.
15368 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15369 * posix/tst-fnmatch.c (main): Call mtrace.
15370
15371 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15372
15373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15374 Support Intel processor model 6 and model 0x2c.
15375
15376 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15377
15378 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15379 signed comparison.
15380
15381 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15382
15383 [BZ #12205]
15384 * string/test-strncasecmp.c (check_result): New function.
15385 (do_one_test): Use it.
15386 (check1): New function.
15387 (test_main): Use it.
15388 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15389 Support strcasecmp and strncasecmp.
15390
15391 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15392
15393 [BZ #12194]
15394 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15395 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15396
15397 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15398
15399 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15400 IFUNC support.
15401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15402 memset-x86-64.
15403 * sysdeps/x86_64/multiarch/bzero.S: New file.
15404 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15405 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15406 * sysdeps/x86_64/multiarch/memset.S: New file.
15407 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15409 Set bit_Prefer_SSE_for_memop for Intel processors.
15410 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15411 Define.
15412 (index_Prefer_SSE_for_memop): Define.
15413 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15414
15415 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15416
15417 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15418 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15419
15420 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15421
15422 [BZ #12191]
15423 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15424 (__x86_64_raw_data_cache_size_half): Likewise.
15425 (__x86_64_raw_shared_cache_size): Likewise.
15426 (__x86_64_raw_shared_cache_size_half): Likewise.
15427
15428 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15429 (__x86_64_raw_data_cache_size_half): Likewise.
15430 (__x86_64_raw_shared_cache_size): Likewise.
15431 (__x86_64_raw_shared_cache_size_half): Likewise.
15432 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15433 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15434 and __x86_64_raw_shared_cache_size_half. Round
15435 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15436 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15437 to multiple of 256 bytes.
15438
15439 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15440
15441 [BZ #12167]
15442 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15443 of inacessible symlinks. Verify result of symlink before returning it.
15444 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15445 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15446
15447 2010-10-28 Erich Ritz <erichritz@gmail.com>
15448
15449 * math/math.h (isinf): Fix typo in comment.
15450
15451 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15452
15453 * po/da.po: Update from translation team.
15454
15455 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15456
15457 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15458 is added to the list.
15459
15460 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15461 Ulrich Drepper <drepper@gmail.com>
15462
15463 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15464 the global list here. Move code to...
15465 (_dl_add_to_namespace_list): ...here. New function.
15466 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15467 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15468 * elf/dl-load.c (lose): Don't remove the element from the list.
15469 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15470 (_dl_map_object): Likewise.
15471
15472 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15473
15474 [BZ #12159]
15475 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15476 into all bytes of SSE register.
15477 Patch by Richard Li <richardpku@gmail.com>.
15478
15479 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15480
15481 [BZ #12140]
15482 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15483 perturbing.
15484
15485 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15486
15487 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15488 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15489 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15490 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15492 submachine.
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15494
15495 2010-10-22 Andreas Schwab <schwab@redhat.com>
15496
15497 * include/dlfcn.h (__RTLD_SECURE): Define.
15498 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15499 mode & __RTLD_SECURE instead.
15500 (open_path): Rename preloaded parameter to secure.
15501 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15502 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15503 * elf/dl-deps.c (openaux): Likewise.
15504 * elf/rtld.c (struct map_args): Remove is_preloaded.
15505 (map_doit): Don't use it.
15506 (dl_main): Likewise.
15507 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15508 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15509
15510 2010-09-09 Andreas Schwab <schwab@redhat.com>
15511
15512 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15513 (sysd-rules-targets): Remove duplicates.
15514 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15515 rtld-%.$o dependency.
15516
15517 2010-10-18 Andreas Schwab <schwab@redhat.com>
15518
15519 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15520 _dl_map_object do it.
15521
15522 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15523
15524 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15525 fast fma builtins, define the macros in the C99 standard.
15526 (FP_FAST_FMAF): Likewise.
15527 (FP_FAST_FMAL): Likewise.
15528 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15529
15530 * bits/mathdef.h: Update copyright year.
15531 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15532
15533 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15534
15535 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15536 builtins, define the macros in the C99 standard.
15537 (FP_FAST_FMAF): Likewise.
15538 (FP_FAST_FMAL): Likewise.
15539 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15540 multiply/add.
15541 (FP_FAST_FMAF): Likewise.
15542
15543 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15544
15545 [BZ #3268]
15546 * math/libm-test.inc (fma_test): Some new testcases.
15547 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15548 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15549 y and infinite z. Do multiplication by C already in long double.
15550 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15552 y and infinite z. Do bitwise or of inexact bit into u.d.
15553 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15554 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15555 * sysdeps/i386/fpu/s_fma.S: Removed.
15556 * sysdeps/i386/fpu/s_fmal.S: Removed.
15557
15558 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15559
15560 [BZ #3268]
15561 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15562 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15563 computation is not scheduled after fetestexcept. Fix value
15564 of minimum denormal long double.
15565
15566 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15567
15568 [BZ #3268]
15569 * math/libm-test.inc (fma_test): Add some more tests.
15570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15571 correctly.
15572
15573 2010-10-15 Andreas Schwab <schwab@redhat.com>
15574
15575 * scripts/data/localplt-s390-linux-gnu.data: New file.
15576 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15577
15578 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15579
15580 [BZ #3268]
15581 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15582 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15583 instead of dbl-64.
15584 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15585 inlines.
15586 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15588 if one of x and y is very large and the other is subnormal.
15589 * sysdeps/s390/fpu/s_fmaf.c: New file.
15590 * sysdeps/s390/fpu/s_fma.c: New file.
15591 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15592 * sysdeps/powerpc/fpu/s_fma.S: New file.
15593 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15594 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15595 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15596
15597 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15598
15599 [BZ #3268]
15600 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15601 fma tests.
15602 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15603 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15604 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15605 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15606 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15607 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15609
15610 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15611
15612 [BZ #12078]
15613 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15614 * posix/bug-regex31.input: Add test case.
15615
15616 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15617
15618 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15619 * posix/bug-regex31.input: New file.
15620
15621 [BZ #12078]
15622 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15623 (parse_sub_exp): Fix last change, use postorder.
15624
15625 * posix/bug-regex31.c: New file.
15626 * posix/Makefile: Add rules to build and run bug-regex31.
15627
15628 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15629
15630 [BZ #12078]
15631 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15632
15633 [BZ #12108]
15634 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15635 to have entries in sys_siglist.
15636
15637 [BZ #12093]
15638 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15639 be NULL.
15640
15641 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15642
15643 [BZ #3268]
15644 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15645 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15646 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15647 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15648 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15649 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15650 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15651 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15652 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15653 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15654 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15655 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15656 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15657 * math/ftestexcept.c (fetestexcept): Likewise.
15658 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15659 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15660 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15661 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15662 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15663 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15664 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15665
15666 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15667
15668 [BZ #12107]
15669 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15670 newline.
15671
15672 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15673
15674 * string/bug-strstr1.c: New file.
15675 * string/Makefile: Add rules to build and run bug-strstr1.
15676
15677 2010-10-05 Eric Blake <eblake@redhat.com>
15678
15679 [BZ #12092]
15680 * string/str-two-way.h (two_way_long_needle): Always clear memory
15681 when skipping input due to the shift table.
15682
15683 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15684
15685 [BZ #12005]
15686 * malloc/mcheck.c: Handle large requests.
15687
15688 [BZ #12077]
15689 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15690 for strncmp and strncasecmp.
15691 * string/stratcliff.c: Add tests for strcmp and strncmp.
15692 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15693
15694 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15695
15696 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15697 __set_fpscr.
15698
15699 2010-09-30 Andreas Jaeger <aj@suse.de>
15700
15701 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15702 (CGROUP_SUPER_MAGIC): Define.
15703 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15704 Handle btrfs and cgroup file systems.
15705 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15706 Likewise.
15707
15708 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15709
15710 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15711 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15712
15713 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15714
15715 [BZ #12067]
15716 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15717 trying to locate the ELF header.
15718
15719 2010-09-27 Andreas Schwab <schwab@redhat.com>
15720
15721 [BZ #11611]
15722 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15723 Mask out sign-bit copies when constructing f_fsid.
15724
15725 2010-09-24 Petr Baudis <pasky@suse.cz>
15726
15727 * debug/stack_chk_fail_local.c: Add missing licence exception.
15728 * debug/warning-nop.c: Likewise.
15729
15730 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15731
15732 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15733 implementing getdents64 using getdents syscall, set d_type if
15734 __ASSUME_GETDENTS32_D_TYPE.
15735
15736 2010-09-16 Andreas Schwab <schwab@redhat.com>
15737
15738 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15739 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15740
15741 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15742
15743 [BZ #12037]
15744 * posix/unistd.h: Undo change of feature selection for ftruncate from
15745 2010-01-11.
15746
15747 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15748
15749 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15750 detection.
15751
15752 2010-09-20 Andreas Schwab <schwab@redhat.com>
15753
15754 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15755 fanotify_mark.
15756 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15757
15758 2010-09-14 Andreas Schwab <schwab@redhat.com>
15759
15760 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15761 variables after CHECK_SP call.
15762 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15763
15764 2010-09-13 Andreas Schwab <schwab@redhat.com>
15765 Ulrich Drepper <drepper@redhat.com>
15766
15767 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15768 re-relocationg ld.so.
15769 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15770 _dl_init_paths call.
15771 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15772 here anymore.
15773
15774 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15775
15776 * resolv/res_init.c (__res_vinit): Count the default server we added.
15777
15778 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15779 Ulrich Drepper <drepper@redhat.com>
15780
15781 [BZ #11968]
15782 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15783 (____longjmp_chk): Use %ebx for saving value across system call.
15784 Add unwind info.
15785
15786 2010-09-06 Andreas Schwab <schwab@redhat.com>
15787
15788 * manual/Makefile: Don't mix pattern rules with normal rules.
15789
15790 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15791
15792 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15793 operation.
15794 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15795 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15796 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15797 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15798 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15799 Likewise.
15800
15801 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15802
15803 [BZ #11979]
15804 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15805 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15806
15807 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15808
15809 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15810 * sysdeps/x86_64/addmul_1.S: Likewise.
15811 * sysdeps/x86_64/lshift.S: Likewise.
15812 * sysdeps/x86_64/mul_1.S: Likewise.
15813 * sysdeps/x86_64/rshift.S: Likewise.
15814 * sysdeps/x86_64/sub_n.S: Likewise.
15815 * sysdeps/x86_64/submul_1.S: Likewise.
15816
15817 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15818
15819 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15820 Define __sched_param instead of SCHED_* and sched_param when
15821 <bits/sched.h> is included with __need_schedparam defined.
15822 * bits/sched.h [__need_schedparam]
15823 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15824 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15825 (__defined_schedparam): Define to 1.
15826 (__sched_param): New structure, identical to sched_param.
15827 (__need_schedparam): Undefine.
15828
15829 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15830
15831 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15832 (epoll_create1): Declare.
15833
15834 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15835
15836 2010-08-31 Andreas Schwab <schwab@redhat.com>
15837
15838 [BZ #7066]
15839 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15840 shifting retval into place.
15841
15842 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15843
15844 * nis/rpcsvc/nis.h: Update copyright notice.
15845 * nis/rpcsvc/nis.x: Likewise.
15846 * nis/rpcsvc/nis_callback.h: Likewise.
15847 * nis/rpcsvc/nis_callback.x: Likewise.
15848 * nis/rpcsvc/nis_object.x: Likewise.
15849 * nis/rpcsvc/nis_tags.h: Likewise.
15850 * nis/rpcsvc/yp.h: Likewise.
15851 * nis/rpcsvc/yp.x: Likewise.
15852 * nis/rpcsvc/ypupd.h: Likewise.
15853 * nis/yp_xdr.c: Likewise.
15854 * nis/ypupdate_xdr.c: Likewise.
15855
15856 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15857 mainly the body of pmap_getport. Add parameters to specify timeouts.
15858 (pmap_getport): Use __libc_rpc_getport.
15859 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15860 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15861 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15862
15863 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15864
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15866 fanotify_mark.
15867
15868 2010-08-27 Roland McGrath <roland@redhat.com>
15869
15870 * sysdeps/i386/i686/multiarch/Makefile
15871 (CFLAGS-varshift.c): New variable.
15872
15873 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15874
15875 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15876 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15877
15878 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15879
15880 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15881
15882 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15883
15884 * sysdeps/x86_64/strlen.S: Unroll the loop.
15885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15886 strlen-sse2 strlen-sse2-bsf.
15887 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15888 __strlen_no_bsf if bit_Slow_BSF is set.
15889 (__strlen_sse42): Removed.
15890 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15891 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15892
15893 2010-08-25 Roland McGrath <roland@redhat.com>
15894
15895 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15896 * sysdeps/x86_64/multiarch/varshift.c: New file.
15897 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15898 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15899 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15900 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15901
15902 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15903
15904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15905 strlen-sse2 strlen-sse2-bsf.
15906 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15907 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15908 (__strlen_sse2): Removed.
15909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15910 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15912 bit_Slow_BSF for Atom.
15913 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15914 (index_Slow_BSF): Define.
15915 (HAS_SLOW_BSF): Define.
15916
15917 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15918
15919 [BZ #10851]
15920 * resolv/res_init.c (__res_vinit): When no server address at all
15921 is given default to loopback.
15922
15923 2010-08-24 Roland McGrath <roland@redhat.com>
15924
15925 * configure.in: Remove config-name.h generation.
15926 * configure: Regenerated.
15927 * config-name.in: File removed.
15928 * scripts/config-uname.sh: New file.
15929 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15930 ($(objdir)config-name.h): New target.
15931
15932 * sunrpc/rpc_parse.h: Avoid nested comment.
15933
15934 2010-08-24 Richard Henderson <rth@redhat.com>
15935 Ulrich Drepper <drepper@redhat.com>
15936 H.J. Lu <hongjiu.lu@intel.com>
15937
15938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15940 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15941 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15942 _mm_alignr_epi8 with _mm_loadu_si128.
15943 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15944 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15945 (__m128i_shift_right): Removed.
15946 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15947 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15948 * sysdeps/x86_64/multiarch/varshift.h: New file.
15949 * sysdeps/x86_64/multiarch/varshift.S: New file.
15950
15951 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15952
15953 * configure.in: Move assembler checks to before sysdep dir checking.
15954
15955 2010-08-20 Petr Baudis <pasky@suse.cz>
15956
15957 * LICENSES: Sync the sunrpc license.
15958
15959 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15960
15961 * sunrpc/auth_des.c: Update copyright notice once again.
15962 * sunrpc/auth_none.c: Likewise.
15963 * sunrpc/auth_unix.c: Likewise.
15964 * sunrpc/authdes_prot.c: Likewise.
15965 * sunrpc/authuxprot.c: Likewise.
15966 * sunrpc/bindrsvprt.c: Likewise.
15967 * sunrpc/clnt_gen.c: Likewise.
15968 * sunrpc/clnt_perr.c: Likewise.
15969 * sunrpc/clnt_raw.c: Likewise.
15970 * sunrpc/clnt_simp.c: Likewise.
15971 * sunrpc/clnt_tcp.c: Likewise.
15972 * sunrpc/clnt_udp.c: Likewise.
15973 * sunrpc/clnt_unix.c: Likewise.
15974 * sunrpc/des_crypt.c: Likewise.
15975 * sunrpc/des_soft.c: Likewise.
15976 * sunrpc/get_myaddr.c: Likewise.
15977 * sunrpc/getrpcport.c: Likewise.
15978 * sunrpc/key_call.c: Likewise.
15979 * sunrpc/key_prot.c: Likewise.
15980 * sunrpc/openchild.c: Likewise.
15981 * sunrpc/pm_getmaps.c: Likewise.
15982 * sunrpc/pm_getport.c: Likewise.
15983 * sunrpc/pmap_clnt.c: Likewise.
15984 * sunrpc/pmap_prot.c: Likewise.
15985 * sunrpc/pmap_prot2.c: Likewise.
15986 * sunrpc/pmap_rmt.c: Likewise.
15987 * sunrpc/rpc/auth.h: Likewise.
15988 * sunrpc/rpc/auth_unix.h: Likewise.
15989 * sunrpc/rpc/clnt.h: Likewise.
15990 * sunrpc/rpc/des_crypt.h: Likewise.
15991 * sunrpc/rpc/key_prot.h: Likewise.
15992 * sunrpc/rpc/netdb.h: Likewise.
15993 * sunrpc/rpc/pmap_clnt.h: Likewise.
15994 * sunrpc/rpc/pmap_prot.h: Likewise.
15995 * sunrpc/rpc/pmap_rmt.h: Likewise.
15996 * sunrpc/rpc/rpc.h: Likewise.
15997 * sunrpc/rpc/rpc_des.h: Likewise.
15998 * sunrpc/rpc/rpc_msg.h: Likewise.
15999 * sunrpc/rpc/svc.h: Likewise.
16000 * sunrpc/rpc/svc_auth.h: Likewise.
16001 * sunrpc/rpc/types.h: Likewise.
16002 * sunrpc/rpc/xdr.h: Likewise.
16003 * sunrpc/rpc_clntout.c: Likewise.
16004 * sunrpc/rpc_cmsg.c: Likewise.
16005 * sunrpc/rpc_common.c: Likewise.
16006 * sunrpc/rpc_cout.c: Likewise.
16007 * sunrpc/rpc_dtable.c: Likewise.
16008 * sunrpc/rpc_hout.c: Likewise.
16009 * sunrpc/rpc_main.c: Likewise.
16010 * sunrpc/rpc_parse.c: Likewise.
16011 * sunrpc/rpc_parse.h: Likewise.
16012 * sunrpc/rpc_prot.c: Likewise.
16013 * sunrpc/rpc_sample.c: Likewise.
16014 * sunrpc/rpc_scan.c: Likewise.
16015 * sunrpc/rpc_scan.h: Likewise.
16016 * sunrpc/rpc_svcout.c: Likewise.
16017 * sunrpc/rpc_tblout.c: Likewise.
16018 * sunrpc/rpc_util.c: Likewise.
16019 * sunrpc/rpc_util.h: Likewise.
16020 * sunrpc/rpcinfo.c: Likewise.
16021 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16022 * sunrpc/rpcsvc/key_prot.x: Likewise.
16023 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16024 * sunrpc/rpcsvc/mount.x: Likewise.
16025 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16026 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16027 * sunrpc/rpcsvc/rex.x: Likewise.
16028 * sunrpc/rpcsvc/rstat.x: Likewise.
16029 * sunrpc/rpcsvc/rusers.x: Likewise.
16030 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16031 * sunrpc/rpcsvc/spray.x: Likewise.
16032 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16033 * sunrpc/rtime.c: Likewise.
16034 * sunrpc/svc.c: Likewise.
16035 * sunrpc/svc_auth.c: Likewise.
16036 * sunrpc/svc_authux.c: Likewise.
16037 * sunrpc/svc_raw.c: Likewise.
16038 * sunrpc/svc_run.c: Likewise.
16039 * sunrpc/svc_simple.c: Likewise.
16040 * sunrpc/svc_tcp.c: Likewise.
16041 * sunrpc/svc_udp.c: Likewise.
16042 * sunrpc/svc_unix.c: Likewise.
16043 * sunrpc/svcauth_des.c: Likewise.
16044 * sunrpc/xcrypt.c: Likewise.
16045 * sunrpc/xdr.c: Likewise.
16046 * sunrpc/xdr_array.c: Likewise.
16047 * sunrpc/xdr_float.c: Likewise.
16048 * sunrpc/xdr_mem.c: Likewise.
16049 * sunrpc/xdr_rec.c: Likewise.
16050 * sunrpc/xdr_ref.c: Likewise.
16051 * sunrpc/xdr_sizeof.c: Likewise.
16052 * sunrpc/xdr_stdio.c: Likewise.
16053
16054 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16055 handling.
16056
16057 2010-08-19 Andreas Schwab <schwab@redhat.com>
16058
16059 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16060
16061 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
16062
16063 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16064 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16065 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16066 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16067 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16068 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16069 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16070 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16071 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16072 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16073 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16074 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16075 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16076 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16077
16078 2010-07-26 Anton Blanchard <anton@samba.org>
16079
16080 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16081 * malloc/arena.c (heap_trim): Likewise.
16082
16083 2010-08-16 Ulrich Drepper <drepper@redhat.com>
16084
16085 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16086 here. Not...
16087 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16088 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16089
16090 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16091
16092 * sysdeps/i386/elf/Makefile: New file.
16093
16094 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16095
16096 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16097 from fanotify_init.
16098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16099 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16100
16101 2010-08-15 Ulrich Drepper <drepper@redhat.com>
16102
16103 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16104 of strncasecmp_l.
16105 * sysdeps/multiarch/strcmp.S: Likewise.
16106
16107 2010-08-14 Ulrich Drepper <drepper@redhat.com>
16108
16109 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16110 strncase_l-nonascii.
16111 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16112 Add strncase_l-ssse3.
16113 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16114 * sysdeps/x86_64/strcmp.S: Likewise.
16115 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16116 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16117 * sysdeps/x86_64/strncase.S: New file.
16118 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16119 * sysdeps/x86_64/strncase_l.S: New file.
16120 * string/Makefile (strop-tests): Add strncasecmp.
16121 * string/test-strncasecmp.c: New file.
16122
16123 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16124 warning.
16125
16126 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16127 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16128
16129 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16130
16131 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16132
16133 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16134
16135 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16136 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16137 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16138
16139 2010-05-01 Alan Modra <amodra@gmail.com>
16140
16141 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16142 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16143 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16144 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16145 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16146 tidying. Don't tail-call __sigjmp_save for static lib.
16147 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16148 save location.
16149 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16150 (CALL_MCOUNT): Add eh info, and nop after bl.
16151 (TAIL_CALL_SYSCALL_ERROR): New macro.
16152 (PSEUDO_RET): Use it.
16153 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16154 Correct save location of integer regs and cr.
16155 (_dl_profile_resolve): Correct cr save location. Delete nops
16156 after bl when SHARED. Reduce cfi size a little by better
16157 placement of cfi directives.
16158 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16159 make a stack frame. Instead use parm save area as a temp.
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16161 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16163 Don't make a stack frame for parent, use parm save area.
16164 Increase child stack frame to 112 bytes. Don't save unused reg,
16165 and adjust reg usage. Set up cfi on error recovery and
16166 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16168 (__makecontext): Add dummy nop after jump to exit.
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16170 Use correct parm save area and cr save, reduce stack frame.
16171 Correct cfi for possible PSEUDO_RET frame setup.
16172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16173 Branch to local label emitted by PSEUDO_RET rather than
16174 __syscall_error.
16175
16176 2010-08-12 Andreas Schwab <schwab@redhat.com>
16177
16178 [BZ #11904]
16179 * locale/programs/locale.c (print_assignment): New function.
16180 (show_locale_vars): Use it.
16181
16182 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16183
16184 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16185 field.
16186 (struct statfs64): Likewise.
16187 (_STATFS_F_FLAGS): Define.
16188 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16189 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16190 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16191 (ST_VALID): Define locally.
16192 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16193 __statvfs_getflags, use the provided value.
16194 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16195 __ASSUME_STATFS_F_FLAGS.
16196
16197 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16198
16199 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16200 Add sys/fanotify.h.
16201 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16202 fanotify_mask for GLIBC_2.13.
16203 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16204 fanotify_init and fanotify_mark.
16205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16206 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16207
16208 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16209 Add prlimit.
16210 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16211 prlimit64 for GLIBC_2.13.
16212 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16213 prlimit64.
16214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16215 syscall.
16216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16217 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16218 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16219 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16220 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16221 add prlimit alias.
16222 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16223
16224 [BZ #11903]
16225 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16226 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16227
16228 * nss/Makefile: Add rules to build and run tst-nss-test1.
16229 * shlib-versions: Add entry for libnss_test1.
16230 * nss/nss_test1.c: New file.
16231 * nss/tst-nss-test1.c: New file.
16232
16233 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16234 (__nss_configure_lookup): Set appropriate entry in
16235 __nss_configure_lookup to true.
16236 * nss/nsswitch.h: Define enum with indeces of databases in
16237 databases and __nss_database_custom arrays. Declare
16238 __nss_database_custom.
16239 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16240 to avoid using nscd when custom rules are installed.
16241 * nss/getXXbyYY_r.c: Likewise.
16242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16243
16244 * nss/nss_files/files-parse.c: Whitespace fixes.
16245
16246 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16247
16248 [BZ #11883]
16249 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16250 * posix/fnmatch_loop.c: Likewise.
16251
16252 2010-07-17 Andi Kleen <ak@linux.intel.com>
16253
16254 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16255 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16256 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16257 * Versions.def [GLIBC_2.13]: Add.
16258
16259 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16260
16261 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16262 Also fail if tpwd after pwuid call is NULL.
16263
16264 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16265
16266 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16267 when converting to ms.
16268
16269 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16270
16271 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16272 EOPNOTSUPP errors with ENOTTY.
16273 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16274 EOPNOTSUPP errors with ENOTTY.
16275
16276 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16277
16278 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16279 Add strcasecmp_l-ssse3.
16280 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16281 strcasecmp.
16282 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16283 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16284 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16285
16286 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16287
16288 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16289
16290 * string/Makefile (strop-tests): Add strcasecmp.
16291 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16292 strcasecmp_l-nonascii.
16293 (gen-as-const-headers): Add locale-defines.sym.
16294 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16295 * sysdeps/x86_64/strcasecmp.S: New file.
16296 * sysdeps/x86_64/strcasecmp_l.S: New file.
16297 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16298 * sysdeps/x86_64/locale-defines.sym: New file.
16299 * string/test-strcasecmp.c: New file.
16300
16301 * string/test-strcasestr.c: Test both ends of the range of characters.
16302 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16303
16304 2010-07-29 Roland McGrath <roland@redhat.com>
16305
16306 [BZ #11856]
16307 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16308
16309 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16310
16311 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16312 for ld.so.
16313
16314 2010-07-27 Andreas Schwab <schwab@redhat.com>
16315
16316 * manual/memory.texi (Malloc Tunable Parameters): Document
16317 M_PERTURB.
16318
16319 2010-07-26 Roland McGrath <roland@redhat.com>
16320
16321 [BZ #11840]
16322 * configure.in (-fgnu89-inline check): Set and substitute
16323 gnu89_inline, not libc_cv_gnu89_inline.
16324 * configure: Regenerated.
16325 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16326
16327 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16328
16329 * string/test-strnlen.c: New file.
16330 * string/Makefile (strop-tests): Add strnlen.
16331 * string/tester.c (test_strnlen): Add a few more test cases.
16332 * string/tst-strlen.c: Better error reporting.
16333
16334 * sysdeps/x86_64/strnlen.S: New file.
16335
16336 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16337
16338 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16339 lower-latency instructions.
16340
16341 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16342
16343 * string/test-strcasestr.c: New file.
16344 * string/test-strstr.c: New file.
16345 * string/Makefile (strop-tests): Add strstr and strcasestr.
16346 * string/str-two-way.h: Don't undefine MAX.
16347 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16348
16349 2010-07-21 Andreas Schwab <schwab@redhat.com>
16350
16351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16352 strcasestr-nonascii.
16353 (CFLAGS-strcasestr-nonascii.c): Define.
16354 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16355 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16356 Remove unused attribute.
16357
16358 2010-07-20 Roland McGrath <roland@redhat.com>
16359
16360 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16361 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16362 ld.so.cache was broken. With it, there is no way to disable dsocaps
16363 like LD_HWCAP_MASK can disable hwcaps.
16364
16365 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16366
16367 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16368
16369 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16370
16371 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16372 call in strcasestr.
16373 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16374 __strcasestr_sse42_nonascii.
16375 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16376 strcasestr-nonascii.c.
16377 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16378
16379 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16380
16381 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16382 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16383 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16384 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16385
16386 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16387
16388 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16389 fcntl.
16390
16391 2010-07-06 Andreas Schwab <schwab@redhat.com>
16392
16393 [BZ #11577]
16394 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16395 dl_signal_cerror.
16396
16397 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16398
16399 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16400 _PC_PIPE_BUF using F_GETPIPE_SZ.
16401
16402 2010-07-05 Roland McGrath <roland@redhat.com>
16403
16404 * manual/arith.texi (Rounding Functions): Fix rint description
16405 implicit in round description.
16406
16407 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16408
16409 * elf/Makefile: Fix linking for a few tests to make recent linker
16410 happy.
16411
16412 2010-06-30 Andreas Schwab <schwab@redhat.com>
16413
16414 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16415 $(common-objpfx)libc_nonshared.a.
16416
16417 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16418
16419 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16420 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16421 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16422 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16423 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16424 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16425 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16426 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16441 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16442 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16443 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16444 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16445 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16446 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16447 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16448 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16449 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16450 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16451 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16452 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16467
16468 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16469
16470 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16471 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16472 * string/memmove.c (memmove): Renamed to ...
16473 (MEMMOVE): ...this. Default to memmove.
16474 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16475 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16476 (END_CHK): Define.
16477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16478 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16479 mempcpy-ssse3-back memmove-ssse3-back.
16480 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16481 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16482 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16483 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16484 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16485 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16486 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16487 * sysdeps/x86_64/multiarch/memmove.c: New file.
16488 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16489 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16490 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16491 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16492 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16493 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16494 Define.
16495 (index_Fast_Copy_Backward): Define.
16496 (HAS_ARCH_FEATURE): Define.
16497 (HAS_FAST_REP_STRING): Define.
16498 (HAS_FAST_COPY_BACKWARD): Define.
16499
16500 2010-06-21 Andreas Schwab <schwab@redhat.com>
16501
16502 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16503 Restore proper fallback handling.
16504
16505 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16506
16507 [BZ #11701]
16508 * posix/group_member.c (__group_member): Correct checking loop.
16509
16510 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16511 OOM in getpwuid_r correctly. Return error number when the caller
16512 should return, otherwise -1.
16513 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16514 call returning > 0 value.
16515 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16516
16517 2010-06-07 Andreas Schwab <schwab@redhat.com>
16518
16519 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16520 libc_nonshared.a from targets in modules-names.
16521
16522 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16523
16524 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16525 requires it.
16526
16527 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16528
16529 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16530 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16533
16534 2010-06-02 Andreas Schwab <schwab@redhat.com>
16535
16536 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16537
16538 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16539
16540 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16541 and F_GETPIPE_SZ.
16542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16543 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16547 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16548
16549 2010-06-14 Roland McGrath <roland@redhat.com>
16550
16551 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16552
16553 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16554
16555 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16556 __REDIRECT followed by __THROW.
16557 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16558 * posix/getopt.h (getopt): Likewise.
16559
16560 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16561
16562 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16563 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16564 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16565 in AT_FLAGS.
16566 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16567 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16568
16569 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16570
16571 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16572
16573 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16574
16575 [BZ #11640]
16576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16577 Properly check family and model.
16578
16579 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16580
16581 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16582
16583 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16584
16585 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16586
16587 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16588
16589 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16590 symbol reference.
16591
16592 2010-05-19 Andreas Schwab <schwab@redhat.com>
16593
16594 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16595 symbol reference.
16596
16597 2010-05-21 Andreas Schwab <schwab@redhat.com>
16598
16599 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16600 and internal_recvmmsg.
16601 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16602 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16603 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16604 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16605
16606 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16607 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16608 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16609
16610 2010-05-20 Andreas Schwab <schwab@redhat.com>
16611
16612 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16613
16614 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16615
16616 POWER7 optimizations.
16617 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16618 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16619
16620 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16621
16622 * version.h: Update for 2.13 development version.
16623
16624 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16625
16626 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16627 exceptions. Return 0.
16628
16629 2010-05-07 Roland McGrath <roland@redhat.com>
16630
16631 * elf/ldconfig.c (main): Add a const.
16632
16633 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16634
16635 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16636 (args_options): Add no-idn option.
16637 (ahosts_keys_int): Add idn_flags to ai_flags.
16638 (parse_option): Handle 'i' option to clear idn_flags.
16639
16640 * malloc/malloc.c (_int_free): Possible race in the most recently
16641 added check. Only act on the data if no current modification
16642 happened.
16643
16644 See ChangeLog.17 for earlier changes.