793bc73e71a90cb978604770ef127b7782cf5ca6
[platform/upstream/glibc.git] / ChangeLog
1 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4
5 2012-05-17  Andreas Jaeger  <aj@suse.de>
6
7         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8         when it is used.
9
10 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
11
12         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13
14 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15
16         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17         * sysdeps/x86_64/tst-mallocalign1.c: New file.
18
19 2012-05-17  Andreas Jaeger  <aj@suse.de>
20             Carlos O'Donell  <carlos_odonell@mentor.com>
21
22         [BZ #14059]
23         * sysdeps/x86_64/multiarch/init-arch.h
24         (bit_YMM_Usable): Rename to...
25         (bit_AVX_Usable): ... this.
26         (bit_FMA4_Usable): New macro.
27         (bit_XMM_state): New macro.
28         (bit_YMM_state): New macro.
29         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32         (CPUID_OSXSAVE): New macro.
33         (CPUID_AVX): New macro.
34         (CPUID_FMA4): New macro.
35         (index_YMM_Usable): Rename to...
36         (index_AVX_Usable): ... this.
37         (HAS_AVX): Use HAS_ARCH_FEATURE.
38         (HAS_FMA4): Likewise.
39         (HAS_YMM_USABLE): Remove.
40         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42         are present.
43         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45         * sysdeps/x86_64/multiarch/Makefile: Likewise.
46         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48
49 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
50
51         * math/libm-test.c: Support platforms without multiple rounding modes.
52         * math/bug-nextafter.c: Support platforms without FP exceptions.
53         * math/bug-nexttoward.c: Likewise.
54         * math/test-fenv.c: Likewise.
55         * math/test-misc.c: Likewise.
56         * stdlib/bug-getcontext.c: Likewise.
57
58 2012-05-17  Andreas Jaeger  <aj@suse.de>
59
60         * manual/examples/search.c (critter_cmp): Change signature to
61         avoid warnings.
62         * manual/string.texi (Collation Functions): Likewise.
63
64 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65
66         * bits/types.h: Fold copyright years.
67         * bits/typesizes.h: Likewise.
68         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
69         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
72         * time/time.h: Likewise.
73
74 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75
76         [BZ #208]
77         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78         in instead of returning them.  Return void.
79         (__libc_mallinfo): Accumulate over all arenas.
80         (__malloc_stats): Adjust for change in int_mallinfo interface.
81
82 2012-05-16  Roland McGrath  <roland@hack.frob.com>
83
84         [BZ #10375]
85         * configure.in (NM): Add AC_CHECK_TOOL for it.
86         (libc_extra_cflags): New substituted variable.
87         Check for -fstack-protector being used implicitly.
88         * configure: Regenerated.
89         * config.make.in (config-extra-cflags): New variable,
90         gets @libc_extra_cflags@.
91         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
92
93         [BZ #10375]
94         * configure.in: Check for _FORTIFY_SOURCE being predefined.
95         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
96         * configure: Regenerated.
97         * config.make.in (CPPUNDEFS): New substituted variable.
98         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
99         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
100         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
101
102 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
103
104         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
105         (mq_attr): Use __syscall_slong_t.
106
107 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
108
109         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
110         Check __x86_64__ instead of __WORDSIZE.
111         (_STAT_VER_LINUX): Likewise.
112         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
113         __syscall_ulong_t and __syscall_slong_t.
114         (stat64): Likewise.
115
116 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
117
118         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
119
120 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
121
122         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
123
124 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
125
126         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
127         __syscall_ulong_t.
128
129         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
130         include <bits/wordsize.h>.  Check __x86_64__ instead of
131         __WORDSIZE.
132         (greg_t): Use "__extension__ long long int" if __x86_64__ is
133         defined.
134         (mcontext_t): Replace "unsigned long" with "unsigned long long".
135
136         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
137         include <bits/wordsize.h>.  Check __x86_64__ instead of
138         __WORDSIZE.
139         (user_regs_struct): Use "__extension__ unsigned long long"
140         instead of "unsigned long" if __x86_64__ is defined.
141         (user): Likewise.  Pad after pointer field if __ILP32__ is
142         defined.
143
144 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
145
146         * configure.in (makeinfo): Require version 4.5 or later.  Allow
147         versions 5 to 9.
148         * configure: Regenerated.
149         * manual/install.texi (texinfo): Increase version requirement to
150         4.5 or later.
151         * INSTALL: Regenerated.
152
153         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
154
155 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
156
157         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
158
159         * sysdeps/x86_64/x32/ffs.c: New file.
160
161         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
162         __syscall_ulong_t.
163         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
164         defined.  Use __syscall_ulong_t.
165         (shminfo): Use __syscall_ulong_t.
166         (shm_info): Likewise.
167
168         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
169         __syscall_ulong_t.
170
171         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
172         <bits/wordsize.h>.
173         (msgqnum_t): Use __syscall_ulong_t.
174         (msglen_t): Likewise.
175         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
176         __syscall_ulong_t.
177
178         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
179         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
180
181         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
182
183         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
184         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
185
186         * sysvipc/sys/msg.h (msgbuf): Replace long int with
187         __syscall_slong_t.
188
189         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
190         include <bits/wordsize.h>.  Check __x86_64__ instead of
191         __WORDSIZE.
192
193         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
194         "unsigned long long int" if __x86_64__ is defined.
195         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
196
197         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
198         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
199         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
200
201         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
202         <stdint.h>.
203         (GET_PC): Cast to uintptr_t first.
204         (GET_FRAME): Likewise.
205         (GET_STACK): Likewise.
206
207         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
208         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
209         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
210         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
211         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
212         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
213         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
214         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
215         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
216         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
217         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
218         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
219         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
220         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
221         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
222         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
223         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
224         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
225         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
226         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
227         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
228         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
229         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
230         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
231         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
232         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
233         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
234         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
235         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
236
237 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
238
239         * Makerules (+depfiles): Also collect depfiles from .oS in
240         $(extra-objs).
241         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
242         .oS, $(libnldbl-routines)).
243
244         * Makerules (native-compile-mkdep-flags): Define.
245         * sunrpc/Makefile (extra-objs): Add $(addprefix
246         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
247         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
248         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
249         calling $(make-target-directory).
250
251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
252
253         * bits/types.h (__snseconds_t): Removed.
254         * time/time.h (struct timespec): Replace __snseconds_t with
255         __syscall_slong_t.
256         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
257         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
258         Likewise.
259         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
260         (__SNSECONDS_T_TYPE): Likewise.
261         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
262         (__SNSECONDS_T_TYPE): Likewise.
263         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
264         (__SNSECONDS_T_TYPE): Likewise.
265
266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
267
268         * sysdeps/mach/hurd/bits/typesizes.h
269         (__SYSCALL_SLONG_TYPE): New macro.
270         (__SYSCALL_ULONG_TYPE): Likewise.
271
272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
273
274         * bits/types.h (__syscall_slong_t): New type.
275         (__syscall_ulong_t): Likewise.
276
277         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
278         (__SYSCALL_ULONG_TYPE): Likewise.
279         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
280         (__SYSCALL_SLONG_TYPE): Likewise.
281         (__SYSCALL_ULONG_TYPE): Likewise.
282         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
283         (__SYSCALL_SLONG_TYPE): Likewise.
284         (__SYSCALL_ULONG_TYPE): Likewise.
285         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
286         (__SYSCALL_SLONG_TYPE): Likewise.
287         (__SYSCALL_ULONG_TYPE): Likewise.
288
289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
290
291         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
292         Add sigaltstack-offsets.sym.
293         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
294         <sigaltstack-offsets.h>.
295         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
296         longjmp_msg pointer.
297         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
298         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
299         signal stack.
300         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
301
302 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
303
304         * elf/stackguard-macros.h: Remove file.
305         * sysdeps/generic/stackguard-macros.h: New file.
306         * sysdeps/i386/stackguard-macros.h: Likewise.
307         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
308         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
309         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
310         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
311         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
312         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
313         * sysdeps/x86_64/stackguard-macros.h: Likewise.
314         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
315         <elf/stackguard-macros.h>.
316
317         [BZ #14109]
318         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
319         __aligned__ in attribute.
320         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
321         (gregset_t): Likewise.
322
323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
324
325         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
326         * sysdeps/x86_64/64/Implies-after: Here.  New file.
327         * sysdeps/x86_64/x32/Implies-after: New file.
328
329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
330
331         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
332         and access return value for _dl_profile_fixup.  Use R10_LP to
333         load frame size.
334
335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
336
337         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
338
339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
340
341         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
342         * sysdeps/x86_64/x32/sysdep.h: New file.
343
344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
345
346         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
347         * sysdeps/x86_64/setjmp.S: Likewise.
348
349 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
350
351         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
352         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
353         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
354         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
355         remove unused global constant.
356
357 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
358
359         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
360         include of <not-cancel.h>.
361
362 2012-05-15  Roland McGrath  <roland@hack.frob.com>
363
364         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
365
366 2012-05-15  Jeff Law  <law@redhat.com>
367             Andreas Jaeger  <aj@suse.de>
368
369         [BZ #13594]
370         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
371         out from...
372         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
373         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
374         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
375         code changing __hst_map_handle.map.
376
377 2012-05-15  Roland McGrath  <roland@hack.frob.com>
378
379         * configure.in (sysnames): Look for Implies-before and Implies-after
380         files.
381         * configure: Regenerated.
382
383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
384
385         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
386         8-byte data alignment with LP_SIZE alignment.
387
388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
389
390         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
391         into R10_LP.
392
393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
394
395         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
396
397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
398
399         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
400         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
401         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
402         Likewise.
403         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
404
405 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
406
407         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
408         (stackinfo_sub_sp): Likewise.
409
410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
411
412         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
413         RAX_LP.
414
415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
416
417         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
418         into R*_LP.
419
420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
421
422         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
423         sizes into R*_LP.
424
425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
426
427         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
428
429 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
430
431         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
432         into R11_LP and load __x86_64_shared_cache_size_half into
433         R8_LP.
434
435 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
436
437         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
438         R8_LP.
439
440 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
441
442         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
443         logb for POWER7.
444         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
445         logbf for POWER7.
446         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
447         logbl for POWER7.
448         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
449         powerpc32/power7/fpu/s_logb.c via #include.
450         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
451         powerpc32/power7/fpu/s_logbf.c via #include.
452         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
453         powerpc32/power7/fpu/s_logbl.c via #include.
454
455 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
456
457         * README.libm: Remove file.
458
459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
460
461         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
462         count for x32.  Use R*_LP and omit operand-size suffix.
463
464 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
465
466         * shlib-versions: Move x86_64-.*-linux.* entries to ...
467         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
468         * sysdeps/x86_64/x32/shlib-versions: New file.
469
470 2012-05-14  Roland McGrath  <roland@hack.frob.com>
471
472         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
473         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
474         Use _dl_fatal_printf instead.
475
476 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
477
478         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
479         set if not set by the user.  Do not allow for being unset.
480         * sysdeps/unix/sysv/linux/configure: Regenerated.
481
482 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
483
484         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
485         the `q' suffix from lea and replace .quad with ASM_ADDR.
486
487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
488
489         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
490         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
491         instead of $17.
492         (PTR_DEMANGLE): Likewise.
493
494 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
495
496         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
497         (LP_OP): Likewise.
498         (ASM_ADDR): Likewise.
499         (RAX_LP): Likewise.
500         (RBP_LP): Likewise.
501         (RBX_LP): Likewise.
502         (RCX_LP): Likewise.
503         (RDI_LP): Likewise.
504         (RSI_LP): Likewise.
505         (RSP_LP): Likewise.
506         (R8_LP): Likewise.
507         (R9_LP): Likewise.
508         (R10_LP): Likewise.
509         (R10_LP): Likewise.
510         (R11_LP): Likewise.
511         (R12_LP): Likewise.
512         (R13_LP): Likewise.
513         (R14_LP): Likewise.
514         (R15_LP): Likewise.
515
516 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
517
518         * sysdeps/x86_64/x32/dl-machine.h: New file.
519
520 2012-05-14  Andreas Jaeger  <aj@suse.de>
521
522         * manual/Makefile (subdir): Remove export of subdir.
523         (all): Remove target.
524         (.PHONY): Remove all from list.
525         (mkinstalldirs): Remove.
526         (.PHONY): Remove installdirs from list.
527         ($(inst_infodir)/libc.info): Use make-target-directory.
528         (installdirs): Remove.
529         (subdir_%): Remove.
530         (glibc-targets): Remove.
531         (lib): Remove.
532         (stubs): Remove.
533         ($(objpfx)stubs ../po/manual.pot): Remove.
534         ($(objpfx)stamp%): Remove.
535         (make-target-directory): Remove.
536         (subdir_install): Remove.
537         (routines): Remove.
538         (aux): Remove.
539         (sources): Remove.
540         (objects): Remove.
541         (headers): Remove.
542
543         [BZ #13750]
544         * manual/.gitignore: Remove, it's not needed anymore.
545         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
546         all files in it.
547         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
548         directory.
549         (texis): Renamed to $(objpfx)texis.
550         (texis-path): New, contains path to generated files.
551         (chapters.%): Use texis-path for complete path, add extra argument
552         libc-texinfo.sh.
553         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
554         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
555         (summary,texi, stamp-summary): Use complete path of
556         files. Generate files in build dir.
557         (dir-add.texi): Build in build dir.
558         (libm-err.texi,stamp-libm-err): Likewise.
559         (version.texi, stamp-version): Likewise.
560         (.%c.texi): Likewise.
561         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
562         (mostlyclean): Remove target.
563         (realclean): Remove target.
564         (generated): Add new variable with contents from mostlyclean and
565         realclean, remove entries duplicated in common-mostlyclean, add
566         stamp-libm-err and stamp-version.
567         (generated-dirs): Add libc directory.
568         ($(inst_infodir)/libc.info): Install files from build dir.
569
570         * manual/install.texi (Configuring and compiling): Adjust since
571         the info files are not part of the tar ball anymore.
572
573 2012-05-14  Andreas Jaeger  <aj@suse.de>
574
575         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
576         variable.
577
578 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
579
580         [BZ #13717]
581         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
582         to 2.2.0 where earlier.
583         * sysdeps/unix/sysv/linux/configure: Regenerated.
584         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
585         Remove conditional code.
586         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
587         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
588         Remove conditional code.
589         [!__NR_lchown]: Likewise.
590         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
591         [__NR_lchown]: Likewise.
592         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
593         comment referencing __ASSUME_LCHOWN_SYSCALL.
594         * sysdeps/unix/sysv/linux/i386/sigaction.c
595         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
596         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
597         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
598         Remove conditional code.
599         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
600         (__protocol_available): Remove #if 0 code.
601         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
602         conditional code.
603         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
604         * sysdeps/unix/sysv/linux/kernel-features.h
605         (__ASSUME_GETCWD_SYSCALL): Don't define.
606         (__ASSUME_REALTIME_SIGNALS): Likewise.
607         (__ASSUME_PREAD_SYSCALL): Likewise.
608         (__ASSUME_PWRITE_SYSCALL): Likewise.
609         (__ASSUME_POLL_SYSCALL): Likewise.
610         (__ASSUME_LCHOWN_SYSCALL): Likewise.
611         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
612         non-SPARC.
613         (__ASSUME_SIOCGIFNAME): Don't define.
614         (__ASSUME_MSG_NOSIGNAL): Likewise.
615         (__ASSUME_SENDFILE): Define unconditionally.
616         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
617         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
618         conditional code.
619         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
620         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
621         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
622         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
623         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
624         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
625         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
627         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
628         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
630         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
631         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
633         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
634         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
636         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
637         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
639         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
640         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
642         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
643         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
645         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
646         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
648         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
649         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
650         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
651         Remove conditional code.
652         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
653         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
654         Remove conditional code.
655         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
656         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
657         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
658         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
659         Remove conditional code.
660         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
661         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
662         Remove conditional code.
663         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
664         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
665         Remove conditional code.
666         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
667         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
668         Remove conditional code.
669         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
670         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
671         Remove conditional code.
672         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
673         * sysdeps/unix/sysv/linux/sh/pwrite64.c
674         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
675         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
676         * sysdeps/unix/sysv/linux/sigaction.c
677         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
678         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
679         * sysdeps/unix/sysv/linux/sigpending.c
680         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
681         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
682         * sysdeps/unix/sysv/linux/sigprocmask.c
683         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
684         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
685         * sysdeps/unix/sysv/linux/sigsuspend.c
686         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
687         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
688         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
689         (__libc_missing_rt_sigs): Remove.
690         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
691         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
692         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
693         Remove conditional code.
694         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
695         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
696         return 1.
697         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
698         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
699         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
700         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
701
702 2012-05-14  Andreas Jaeger  <aj@suse.de>
703
704         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
705         it's not used in glibc.
706         (__coshm1): Likewise.
707         (__acosh1p): Likewise.
708         (__sgn): Likewise.
709
710         * manual/string.texi (Copying and Concatenation): Add missing
711         variable in concat example.
712         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
713
714 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
715
716         [BZ #14103]
717         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
718         __builtin_clzl with __builtin_clzll.
719
720 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
721
722         [BZ #14104]
723         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
724         libc_freeres_ptr.
725
726 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
727
728         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
729         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
730         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
731         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
732
733 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
734
735         * NEWS: Update ia64 info.
736
737 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
738
739         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
740         used as bcopy.
741
742 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
743
744         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
745         * sysdeps/unix/syscalls.list (dup3): Likewise.
746         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
747         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
748
749 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
750
751         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
752         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
753
754 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
755
756         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
757         thread pointer.
758         (TLS_IE): Use mov/add instead of movq/addq to load thread
759         pointer.
760         (TLS_GD_PREFIX): New.
761         (TLS_GD): Use it.
762
763 2012-05-11  David S. Miller  <davem@davemloft.net>
764
765         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
766         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
767         (_FPU_SETCW): Likewise.
768
769 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
770
771         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
772         is 32-byte aligned.
773
774 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
775
776         [BZ #11837]
777         * iconvdata/gb18030.c: Update tables.
778         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
779         characters specially.
780         (BODY for TO_LOOP): Add encoding of missing ranges.
781
782 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
783
784         [BZ #13673]
785         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
786         * sysdeps/mach/hurd/dup3.c: Likewise.
787         * sysdeps/mach/hurd/readlinkat.c: Likewise.
788         * sysdeps/powerpc/memmove.c:: Likewise.
789
790 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
791
792         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
793         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
794
795 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
796
797         * elf/elf.h (R_X86_64_RELATIVE64): New.
798         (R_X86_64_NUM): Updated.
799         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
800         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
801         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
802         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
803         tst-quad1pie tst-quad2pie
804         (modules-names): Add tst-quadmod1 tst-quadmod2.
805         ($(objpfx)tst-quad1): New dependency.
806         ($(objpfx)tst-quad2): Likewise.
807         ($(objpfx)tst-quad1pie): Likewise.
808         ($(objpfx)tst-quad2pie): Likewise.
809         * sysdeps/x86_64/tst-quad1.c: New file.
810         * sysdeps/x86_64/tst-quad1pie.c: New file.
811         * sysdeps/x86_64/tst-quad2.c: Likewise.
812         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
813         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
814         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
815         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
816         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
817
818 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
819
820         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
821         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
822         * streams/stropts.h (t_scalar_t): Define type.
823
824         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
825         (_PATH_PRESERVE): Set to "/var/lib".
826         (_PATH_RWHODIR): Set to "/var/spool/rwho".
827
828         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
829         instead of int.
830
831         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
832         if __dir_mkfile succeeded.
833
834         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
835         checking for _hurd_dtablesize.  Unlock it right after having
836         finished _hurd_dtable allocation.
837
838 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
839
840         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
841         * sysdeps/mach/hurd/configure: Regenerated.
842         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
843         special-casing to...
844         * sysdeps/gnu/configure.in: ... this new file.
845         * sysdeps/unix/sysv/linux/configure: Regenerated.
846         * sysdeps/gnu/configure: New generated file.
847
848         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
849         for Linux: use nsec instead of usec, as well as:
850         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
851         members of type struct timespec.
852         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
853         New macros.
854         (struct stat64): Likewise.
855         (_STATBUF_ST_NSEC): New macro.
856         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
857
858         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
859         __strtoul_internal rather than strtoul.
860
861 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
862
863         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
864         and reject them.
865
866 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
867
868         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
869         which preserves existing values.
870         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
871
872 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
873
874         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
875         TIMEOUT values.  Return EINVAL for NFDS values either negative or
876         greater than FD_SETSIZE.
877
878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
879
880         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
881         allocated, call __vm_protect to finish enabling the existing space, and
882         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
883         allocate the remainder.
884
885 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
886
887         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
888         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
889
890 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
891
892         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
893         sysdeps/mach/hurd/readlink.c.
894
895         * posix/tst-sysconf.c (posix_options): Only use
896         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
897         _POSIX_SYNCHRONIZED_IO when they are defined
898         * sysdeps/mach/hurd/bits/posix_opt.h:
899         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
900         (_XOPEN_REALTIME): Undefine macro.
901         (_XOPEN_REALTIME_THREADS): Undefine macro.
902         (_XOPEN_SHM): Undefine macro.
903         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
904         macro to -1.
905         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
906         macro to -1.
907         (_POSIX_ASYNC_IO): Undefine macro.
908         (_POSIX_PRIORITIZED_IO): Undefine macro.
909         (_POSIX_SPIN_LOCKS): Define macro to -1.
910
911         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
912         SA_NODEFER, SA_RESETHAND.
913         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
914         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
915         F_DUPFD_CLOEXEC.
916
917 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
918
919         * elf/Makefile (pldd-modules): Define unconditionally.
920
921 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
922
923         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
924
925 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
926
927         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
928         Return ENOENT when name is empty.
929         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
930
931 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
932
933         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
934
935         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
936
937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
938
939         Fix mlock in all cases except non-readable pages.
940         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
941         instead of VM_PROT_ALL as parameter to __vm_wire function.
942
943         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
944         (__mkdir): When path is `/', just fail with EEXIST.
945         * sysdeps/mach/hurd/mkdirat.c: Likewise.
946
947 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
948
949         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
950         <sys/uio.h> (for writev).
951         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
952         and <sys/param.h> (for MIN).
953
954 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
955
956         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
957         REQUESTED_TIME.  Properly set the remaining time and return EINTR
958         if interrupted.
959
960 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
961
962         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
963         Depend on against $(link-rpcuserlibs).
964
965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
966
967         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
968         (__libc_stack_end): Do not use attribute_relro.
969         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
970         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
971         to libthread-provided value.
972         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
973         attribute_relro.
974
975 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
976
977         [BZ #3748]
978         * bits/libc-lock.h (__libc_once_get): New macro.
979         * sysdeps/mach/bits/libc-lock.h: Likewise.
980         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
981         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
982         instead of using implementation details.
983
984         * libio/fileops.c: Unconditionally include <kernel-features.h>.
985         * libio/freopen.c: Likewise.
986         * libio/freopen64.c: Likewise.
987         * misc/syslog.c: Likewise.
988         * nscd/connections.c: Likewise.
989         * nscd/netgroupcache.c: Likewise.
990         * sysdeps/posix/getcwd.c: Likewise.
991
992 2012-05-10  Roland McGrath  <roland@hack.frob.com>
993
994         * math/w_ilogbf.c: Add #include <limits.h>.
995
996 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
997
998         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
999         path instead of returning without unlocking.
1000
1001         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1002         immediate-write ioctls.
1003         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1004
1005 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1006
1007         * sysdeps/mach/hurd/i386/init-first.c (init): Use
1008         __builtin_frame_address instead of making assumptions about the
1009         location of the return address relative to DATA.  Force early load of
1010         the return address.
1011         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1012         __builtin_frame_address.
1013
1014         dup3 for GNU Hurd.
1015         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1016         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
1017         implement dup3 and do some further code clean-ups.
1018         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1019         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1020
1021 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1022
1023         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1024
1025         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1026         HURD_CRITICAL_END around holding _hurd_dtable_lock.
1027         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1028         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1029         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1030         d->port.lock.
1031
1032         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1033         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
1034         when handler == SIG_ERR, not when handler != SIG_ERR.
1035
1036 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1037
1038         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1039         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1040         definitions.
1041
1042         accept4 for GNU Hurd.
1043         * include/sys/socket.h (__libc_accept4): New prototype.
1044         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
1045         to implement __libc_accept4.
1046         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1047         __libc_accept4.
1048         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1049
1050         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1051         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1052         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1053         signal-defines.sym.
1054
1055 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1056
1057         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1058
1059 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1060
1061         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1062         assertion on O_CLOEXEC flag.
1063         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1064         * hurd/intern-fd.c: Likewise.
1065         * hurd/port2fd.c: Likewise.
1066
1067 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1068
1069         [BZ #3906]
1070         * bits/in.h (IPV6_PKTINFO): Define new macro.
1071         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1072
1073 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1074
1075         [BZ #13954]
1076         [BZ #13955]
1077         [BZ #13956]
1078         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1079         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1080         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1081         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1082         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1083         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1084         * math/libm-test.inc (logb_test) : Additional logb tests.
1085
1086 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
1087             Andreas Jaeger  <aj@suse.de>
1088
1089         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1090         * configure: Regenerated.
1091         * config.h.in (LINK_OBSOLETE_RPC): New macro.
1092         * config.make.in (link-obsolete-rpc): New substituted variable.
1093         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1094         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1095         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1096         (shared-only-routines): Don't set it under [link-obsolete-rpc],
1097         so that libc.a contains the symbols.
1098         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1099         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1100         * sunrpc/auth_none.c: Likewise.
1101         * sunrpc/auth_unix.c: Likewise.
1102         * sunrpc/authdes_prot.c: Likewise.
1103         * sunrpc/authuxprot.c: Likewise.
1104         * sunrpc/clnt_gen.c: Likewise.
1105         * sunrpc/clnt_perr.c: Likewise.
1106         * sunrpc/clnt_raw.c: Likewise.
1107         * sunrpc/clnt_simp.c: Likewise.
1108         * sunrpc/clnt_tcp.c: Likewise.
1109         * sunrpc/clnt_udp.c: Likewise.
1110         * sunrpc/clnt_unix.c: Likewise.
1111         * sunrpc/des_crypt.c: Likewise.
1112         * sunrpc/des_soft.c: Likewise.
1113         * sunrpc/get_myaddr.c: Likewise.
1114         * sunrpc/key_call.c: Likewise.
1115         * sunrpc/key_prot.c: Likewise.
1116         * sunrpc/netname.c: Likewise.
1117         * sunrpc/pm_getmaps.c: Likewise.
1118         * sunrpc/pm_getport.c: Likewise.
1119         * sunrpc/pmap_clnt.c: Likewise.
1120         * sunrpc/pmap_prot.c: Likewise.
1121         * sunrpc/pmap_prot2.c: Likewise.
1122         * sunrpc/pmap_rmt.c: Likewise.
1123         * sunrpc/publickey.c: Likewise.
1124         * sunrpc/rpc_cmsg.c: Likewise.
1125         * sunrpc/rpc_common.c: Likewise.
1126         * sunrpc/rpc_dtable.c: Likewise.
1127         * sunrpc/rpc_prot.c: Likewise.
1128         * sunrpc/rpc_thread.c: Likewise.
1129         * sunrpc/rtime.c: Likewise.
1130         * sunrpc/svc.c: Likewise.
1131         * sunrpc/svc_auth.c: Likewise.
1132         * sunrpc/svc_raw.c: Likewise.
1133         * sunrpc/svc_run.c: Likewise.
1134         * sunrpc/svc_tcp.c: Likewise.
1135         * sunrpc/svc_udp.c: Likewise.
1136         * sunrpc/svc_unix.c: Likewise.
1137         * sunrpc/svcauth_des.c: Likewise.
1138         * sunrpc/xcrypt.c: Likewise.
1139         * sunrpc/xdr.c: Likewise.
1140         * sunrpc/xdr_array.c: Likewise.
1141         * sunrpc/xdr_float.c: Likewise.
1142         * sunrpc/xdr_intXX_t.c: Likewise.
1143         * sunrpc/xdr_mem.c: Likewise.
1144         * sunrpc/xdr_rec.c: Likewise.
1145         * sunrpc/xdr_ref.c: Likewise.
1146         * sunrpc/xdr_sizeof.c: Likewise.
1147         * sunrpc/xdr_stdio.c: Likewise.
1148
1149 2012-05-10  Roland McGrath  <roland@hack.frob.com>
1150
1151         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1152         change.  Update copyright years.
1153
1154 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
1155
1156         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1157
1158 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
1159             Joseph Myers  <joseph@codesourcery.com>
1160             Paul Pluzhnikov  <ppluzhnikov@google.com>
1161
1162         [BZ #14012]
1163         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1164         requiring rpcgen.
1165         [cross-compiling] (extra-libs): Likewise.
1166         [cross-compiling] (extra-libs-others): Likewise.
1167         [cross-compiling] (librpcsvc-routines): Likewise.
1168         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1169         [cross-compiling] (omit-deps): Likewise.
1170         (sunrpc-CPPFLAGS): New variable.
1171         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1172         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1173         (cross-rpcgen-objs): New variable.
1174         (extra-objs): Append $(cross-rpcgen-objs).
1175         ($(cross-rpcgen-objs)): New rule.
1176         ($(objpfx)cross-rpcgen): Likewise.
1177         (rpcgen-cmd): Define to use $(built-program-file).  Expand
1178         comment.
1179         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1180         ($(objpfx)x%.stmp): Likewise.
1181         * sunrpc/proto.h [IS_IN_build] (_): Define.
1182         [IS_IN_build] (_libc_intl_domainname): Likewise.
1183
1184 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1185
1186         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1187         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1188         and R_X86_64_TPOFF64.
1189
1190 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
1191
1192         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1193         sysdeps/unix/sysv/syscalls.list.
1194         (stime): Likewise.
1195         (utime): Likewise.
1196         * sysdeps/unix/sysv/syscalls.list: Remove file.
1197
1198 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
1199
1200         [BZ #3440]
1201         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1202         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1203         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1204         (__LC_IDENTIFICATION): Make these macros useful in #if
1205         expressions, as required by C99.
1206
1207 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
1208
1209         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1210         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
1211         after this.
1212
1213 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1214
1215         * stdlib/longlong.h: Updated from GCC.
1216
1217 2012-05-09  Andreas Jaeger  <aj@suse.de>
1218
1219         * nscd/nscd.c (run_modes): Make named enum, reorder so that
1220         default is first entry.
1221         (run_mode): Set type.
1222         (main): Remove informal message about syslog.
1223         (options): Fix typo.
1224
1225         [BZ #14053]
1226         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1227         to asm.
1228         (lrint): Likewise.
1229         (llrintf): Likewise.
1230         (llrint): Likewise.
1231         (rint): Likewise.
1232         (rintf): Likewise.
1233         (nearbyint): Likewise.
1234         (nearbyintf): Likewise.
1235
1236 2012-05-09  Andreas Jaeger  <aj@suse.de>
1237             Pedro Alves  <palves@redhat.com>
1238
1239         * nscd/nscd.c (run_mode): Use enum.
1240         (main): Cleanup coding style issue.
1241
1242 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
1243             Andreas Jaeger  <aj@suse.de>
1244
1245         * nscd/nscd.c (go_background): Replaced with...
1246         (run_mode): ... this.
1247         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1248         (options): Add -F --foreground.
1249         (main): Implement it.
1250         (parse_opt): Parse it.
1251
1252 2012-05-09  Andreas Jaeger  <aj@suse.de>
1253
1254         [BZ #14083]
1255         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1256         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1257         -Wconversion warning.
1258         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1259         Likewise.
1260
1261 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
1262
1263         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
1264         == 0.
1265         (LC_ALL): Use macro-int-constant.
1266         (LC_COLLATE): Likewise.
1267         (LC_CTYPE): Likewise.
1268         (LC_MESSAGES): Likewise.
1269         (LC_MONETARY): Likewise.
1270         (LC_NUMERIC): Likewise.
1271         (LC_TIME): Likewise.
1272         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1273         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1274         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1275         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1276         Specify type.
1277         [C99-based standards] (float_t): Expect type.
1278         [C99-based standards] (double_t): Expect type.
1279         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
1280         type.
1281         [C99-based standards] (HUGE_VALL): Likewise.
1282         [C99-based standards] (INFINITY): Likewise.
1283         [C99-based standards] (NAN): Likewise.
1284         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1285         [C99-based standards] (FP_NAN): Likewise.
1286         [C99-based standards] (FP_NORMAL): Likewise.
1287         [C99-based standards] (FP_SUBNORMAL): Likewise.
1288         [C99-based standards] (FP_ZERO): Likewise.
1289         [C99-based standards] (FP_FAST_FMA): Use
1290         optional-macro-int-constant.  Specify type.  Require == 1.
1291         [C99-based standards] (FP_FAST_FMAF): Likewise.
1292         [C99-based standards] (FP_FAST_FMAL): Likewise.
1293         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1294         [C99-based standards] (FP_ILOGBNAN): Likewise.
1295         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1296         Specify type.
1297         [C99-based standards] (MATH_ERREXCEPT): Likewise.
1298         [C99-based standards] (math_errhandling): Specify type.
1299         [ISO99 || ISO11] (signgam): Do not allow.
1300         [non-C99-based standards] (copysignf): Do not allow.
1301         [non-C99-based standards] (exp2f): Likewise.
1302         [non-C99-based standards] (log2f): Likewise.
1303         [non-C99-based standards] (modff): Allow.
1304         [non-C99-based standards] (erff): Do not allow.
1305         [non-C99-based standards] (erfcf): Likewise.
1306         [non-C99-based standards] (gammaf): Likewise.
1307         [non-C99-based standards] (hypotf): Likewise.
1308         [non-C99-based standards] (j0f): Likewise.
1309         [non-C99-based standards] (j1f): Likewise.
1310         [non-C99-based standards] (jnf): Likewise.
1311         [non-C99-based standards] (lgammaf): Likewise.
1312         [non-C99-based standards] (tgammaf): Likewise.
1313         [non-C99-based standards] (y0f): Likewise.
1314         [non-C99-based standards] (y1f): Likewise.
1315         [non-C99-based standards] (ynf): Likewise.
1316         [non-C99-based standards] (isnanf): Likewise.
1317         [non-C99-based standards] (acoshf): Likewise.
1318         [non-C99-based standards] (asinhf): Likewise.
1319         [non-C99-based standards] (atanhf): Likewise.
1320         [non-C99-based standards] (cbrtf): Likewise.
1321         [non-C99-based standards] (expm1f): Likewise.
1322         [non-C99-based standards] (ilogbf): Likewise.
1323         [non-C99-based standards] (log1pf): Likewise.
1324         [non-C99-based standards] (logbf): Likewise.
1325         [non-C99-based standards] (nextafterf): Likewise.
1326         [non-C99-based standards] (remainderf): Likewise.
1327         [non-C99-based standards] (rintf): Likewise.
1328         [non-C99-based standards] (scalbf): Likewise.
1329         [non-C99-based standards] (copysignl): Likewise.
1330         [non-C99-based standards] (exp2l): Likewise.
1331         [non-C99-based standards] (log2l): Likewise.
1332         [non-C99-based standards] (modfl): Allow.
1333         [non-C99-based standards] (erfl): Do not allow.
1334         [non-C99-based standards] (erfcl): Likewise.
1335         [non-C99-based standards] (gammal): Likewise.
1336         [non-C99-based standards] (hypotl): Likewise.
1337         [non-C99-based standards] (j0l): Likewise.
1338         [non-C99-based standards] (j1l): Likewise.
1339         [non-C99-based standards] (jnl): Likewise.
1340         [non-C99-based standards] (lgammal): Likewise.
1341         [non-C99-based standards] (tgammal): Likewise.
1342         [non-C99-based standards] (y0l): Likewise.
1343         [non-C99-based standards] (y1l): Likewise.
1344         [non-C99-based standards] (ynl): Likewise.
1345         [non-C99-based standards] (isnanl): Likewise.
1346         [non-C99-based standards] (acoshl): Likewise.
1347         [non-C99-based standards] (asinhl): Likewise.
1348         [non-C99-based standards] (atanhl): Likewise.
1349         [non-C99-based standards] (cbrtl): Likewise.
1350         [non-C99-based standards] (expm1l): Likewise.
1351         [non-C99-based standards] (ilogbl): Likewise.
1352         [non-C99-based standards] (log1pl): Likewise.
1353         [non-C99-based standards] (logbl): Likewise.
1354         [non-C99-based standards] (nextafterl): Likewise.
1355         [non-C99-based standards] (remainderl): Likewise.
1356         [non-C99-based standards] (rintl): Likewise.
1357         [non-C99-based standards] (scalbl): Likewise.
1358         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1359         [non-C99-based standards] (FP_*): Do not allow.
1360         [C99-based standards] (FP_*): Change to
1361         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1362         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1363         allow.
1364         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1365         (SIG_ERR): Likewise.
1366         [X/Open-based standards] (SIG_HOLD): Likewise.
1367         (SIG_IGN): Likewise.
1368         (SIGABRT): Use macro-int-constant.  Specify type.  Require
1369         positive value.
1370         (SIGFPE): Likewise.
1371         (SIGILL): Likewise.
1372         (SIGINT): Likewise.
1373         (SIGSEGV): Likewise.
1374         (SIGTER): Likewise.
1375         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1376         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1377         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1378         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1379         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1380         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1381         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1382         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1383         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1384         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1385         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1386         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1387         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1388         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1389         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1390         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1391         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1392         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1393         [X/Open-based standards] (SIGTRAP): Likewise.
1394         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1395         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1396         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1397         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1398         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1399         allow.
1400
1401 2012-05-08  Ian Wienand  <ianw@vmware.com>
1402
1403         [BZ #14080]
1404         * time/tzset.c (__tzset_parse_tz): Update default rules for
1405         daylight time changes in the Energy Policy Act of 2005.
1406
1407 2012-05-09  Andreas Jaeger  <aj@suse.de>
1408
1409         [BZ #13983]
1410         * elf/ldconfig.c (parse_conf): Change string to make clear that
1411         ldconfig only issued a warning if ld.so.conf does not exist.
1412
1413 2012-05-08  David S. Miller  <davem@davemloft.net>
1414
1415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1416         movxtod instead of popping the value on the stack.
1417
1418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1419
1420 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
1421
1422         * config.h.in: Add HAVE_ARM_PCS_VFP.
1423
1424 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
1425
1426         [BZ #13979]
1427         * include/features.h: Warn if user requests __FORTIFY_SOURCE
1428         checking but the checks are disabled for any reason.
1429
1430 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1431
1432         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1433         and ELF64_R_TYPE with ELFW(R_TYPE).
1434
1435 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
1436
1437         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1438         (ulimit): Likewise.
1439
1440         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1441         (settimeofday): Likewise.
1442
1443 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
1444
1445         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
1446         a struct th_u2 inside the union, and move tu_block/tu_code into
1447         a new th_u3 union of tu_block/tu_code inside of that.  Move
1448         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
1449         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
1450         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1451         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1452         (th_stuff): Change to th_u1.tu_stuff.
1453         (th_data): Define.
1454         (th_msg): Change to th_u1.th_u2.tu_data.
1455
1456 2012-05-07  David S. Miller  <davem@davemloft.net>
1457
1458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1459
1460         [BZ #14074]
1461         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1462         (SETUP_PIC_REG): Use it.
1463         (SETUP_PIC_REG_LEAF): Use it.
1464
1465 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
1466
1467         [BZ #13885]
1468         [BZ #13923]
1469         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1470         USE_AS_EXPM1L.
1471         (EXPL_FINITE): Likewise.
1472         (FLDLOG): Likewise.
1473         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1474         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1475         e_expl.S.
1476         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1477         USE_AS_EXPM1L.
1478         (EXPL_FINITE): Likewise.
1479         (FLDLOG): Likewise.
1480         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1481         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1482         e_expl.S.
1483         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
1484         test of -max_value argument for long double.
1485         * sysdeps/i386/fpu/libm-test-ulps: Update.
1486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1487
1488 2012-05-06  David S. Miller  <davem@davemloft.net>
1489
1490         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1491         quad soft-float symbols whose references which are compiler
1492         generated.
1493         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1494
1495 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
1496
1497         [BZ #13884]
1498         [BZ #13914]
1499         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1500         USE_AS_EXP10L.
1501         (EXPL_FINITE): Likewise.
1502         (FLDLOG): Likewise.
1503         (c0): Likewise.
1504         (c1): Likewise.
1505         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
1506         Adjust comments for base varying.
1507         (__expl_finite): Change alias to EXPL_FINITE.
1508         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1509         e_expl.S.
1510         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1511         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1512         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1513         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1514         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1515         USE_AS_EXP10L.
1516         (EXPL_FINITE): Likewise.
1517         (FLDLOG): Likewise.
1518         (c0): Likewise.
1519         (c1): Likewise.
1520         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
1521         Adjust comments for base varying.
1522         (__expl_finite): Change alias to EXPL_FINITE.
1523         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
1524         tests for bugs.
1525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1526
1527         [BZ #14064]
1528         * math/libm-test.inc (check_float_internal): Correct ulp
1529         calculation for subnormal expected results.
1530
1531 2012-05-06  Andreas Jaeger  <aj@suse.de>
1532
1533         * Makeconfig (+math-flags): New, set to -frounding-math.
1534         (+cflags): Add +math-flags so that all of glibc gets compiled with
1535         it.
1536
1537         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1538
1539 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
1540
1541         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1542         Disable one test.
1543
1544         [BZ #13787]
1545         [BZ #13922]
1546         [BZ #14036]
1547         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1548         (__ieee754_expl): Allow for and saturate large arguments.
1549         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1550         (u_threshold): Likewise.
1551         (__exp): Call __ieee754_exp before checking for overflow and
1552         underflow.
1553         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1554         (u_threshold): Likewise.
1555         (__expf): Call __ieee754_expf before checking for overflow and
1556         underflow.
1557         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1558         (u_threshold): Likewise.
1559         (__expl): Call __ieee754_expl before checking for overflow and
1560         underflow.
1561         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1562         (__ieee754_expl): Allow for and saturate large arguments.
1563         * math/libm-test.inc (exp_test): Add another test.  Do not allow
1564         missing overflow exception on overflow.
1565         (expm1_test): Do not allow missing overflow exception on overflow.
1566
1567         * sysdeps/i386/fpu/e_expl.c: Move to ...
1568         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
1569         rather than using inline asm.
1570         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1571         * sysdeps/x86_64/fpu/e_expl.S: Copy from
1572         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1573
1574         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1575         (nice): Likewise.
1576         (poll): Likewise.
1577         (signal): Likewise.
1578         (time): Likewise.
1579         (times): Likewise.
1580
1581 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
1582
1583         * sysdeps/unix/syscalls.list (adjtime): Add entry from
1584         sysdeps/unix/common/syscalls.list.
1585         (fchmod): Likewise.
1586         (fchown): Likewise.
1587         (ftruncate): Likewise.
1588         (getrusage): Likewise.
1589         (gettimeofday): Likewise.
1590         (setpgid): Likewise.
1591         (setregid): Likewise.
1592         (setreuid): Likewise.
1593         (sigaction): Likewise.
1594         (truncate): Likewise.
1595         (vhangup): Likewise.
1596         * sysdeps/unix/common/syscalls.list: Remove file.
1597         * sysdeps/unix/bsd/Implies: Don't include unix/common.
1598         * sysdeps/unix/sysv/linux/Implies: Likewise.
1599
1600 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1601
1602         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1604         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1605         Moved to ...
1606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1607         Here.
1608         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1609         to ...
1610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1611         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1612         to ...
1613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1614         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1615         to ...
1616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1617         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1618         to ...
1619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1620         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1621         to ...
1622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1623         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1624         to ...
1625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1626         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1627         to ...
1628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1629         Here.
1630         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1631         to ...
1632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1633         Here.
1634         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1635         to ...
1636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1637         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1638         Moved to ...
1639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1640         Here.
1641         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1642         to ...
1643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1644
1645 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
1646
1647         * sysdeps/unix/common/bits/dirent.h: Remove file.
1648         * sysdeps/unix/common/bits/fcntl.h: Likewise.
1649
1650         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1651         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1652         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1653         * sysdeps/unix/bsd/isatty.c: Likewise.
1654         * sysdeps/unix/bsd/tcdrain.c: Likewise.
1655         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1656         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1657
1658 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1659
1660         [BZ #13563]
1661         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1662         long double comparison inaccuracies.
1663         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1665
1666 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
1667
1668         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1669         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1670
1671 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
1672
1673         [BZ #14049]
1674         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1675         nonzero digits before rounding a hex value.
1676         * stdlib/tst-strtod.c (tests): Add another test.
1677
1678 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1679
1680         * sysdeps/s390/fpu/libm-test-ulps: Update.
1681
1682 2012-05-03  Andreas Jaeger  <aj@suse.de>
1683
1684         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1685         does not get optimized out.
1686         (malloc_opt_barrier): New.
1687
1688 2012-05-03  Andreas Jaeger  <aj@suse.de>
1689             Roland McGrath  <roland@hack.frob.com>
1690
1691         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1692         intermediate file deletion.
1693         (generated): Add .symlist files.
1694
1695 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
1696
1697         [BZ #13775]
1698         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1699         Redirect under this condition.
1700         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1701         [__USE_GNU] (__dprintf_chk): Not under this condition.
1702         [__USE_GNU] (__vdprintf_chk): Likewise.
1703         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1704         under this condition.
1705         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1706         [__USE_XOPEN2K8] (dprintf): Define under this condition.
1707         [__USE_XOPEN2K8] (vdprintf): Likewise.
1708         [__USE_GNU] (__dprintf_chk): Not under this condition.
1709         [__USE_GNU] (__vdprintf_chk): Likewise.
1710         [__USE_GNU] (dprintf): Likewise.
1711         [__USE_GNU] (vdprintf): Likewise.
1712
1713 2012-05-03  Roland McGrath  <roland@hack.frob.com>
1714
1715         * elf/Makefile (common-generated): Set this instead of generated for
1716         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
1717         $(all-built-dso)-derived lists.
1718
1719 2012-05-03  Andreas Jaeger  <aj@suse.de>
1720
1721         * sysdeps/i386/fpu/libm-test-ulps: Update.
1722
1723         * FAQ: Removed.
1724         * FAQ.in: Likewise.
1725         * scripts/gen-FAQ.pl: Likewise.
1726         * manual/install.texi (Installation): Point to online location of
1727         FAQ.
1728         * Makefile (files-for-dist): Remove FAQ.
1729         (FAQ): Remove.
1730
1731 2012-05-02  Allan McRae  <allan@archlinux.org>
1732
1733         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1734         (LDFLAGS-reldepmod5.so): Likewise.
1735         (LDFLAGS-reldep6mod1.so): Likewise.
1736         (LDFLAGS-reldep6mod4.so): Likewise.
1737         (LDFLAGS-reldep8mod3.so): Likewise.
1738         (LDFLAGS-unload4mod1.so): Likewise.
1739         (LDFLAGS-unload4mod2.so): Likewise.
1740         (LDFLAGS-tst-initorder): Likewise.
1741         (LDFLAGS-tst-initordera2.so): Likewise.
1742         (LDFLAGS-tst-initordera3.so): Likewise.
1743         (LDFLAGS-tst-initordera4.so): Likewise.
1744         (LDFLAGS-tst-initorderb2.so): Likewise.
1745         (LDFLAGS-noload): Likewise.
1746         (LDFLAGS-next): Likewise.
1747         (LDFLAGS-order2mod1.so): Likewise.
1748         (LDFLAGS-order2mod2.so): Likewise.
1749         (LDFLAGS-tst-initorder2): Likewise.
1750         (LDFLAGS-tst-initorder2a.so): Likewise.
1751         (LDFLAGS-tst-initorder2b.so): Likewise.
1752         (LDFLAGS-tst-initorder2c.so): Likewise.
1753         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1754
1755 2012-05-02  David S. Miller  <davem@davemloft.net>
1756
1757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1758
1759 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
1760
1761         [BZ #14055]
1762         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1763
1764 2012-05-02  Andreas Jaeger  <aj@suse.de>
1765
1766         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1767         since we manipulate rounding mode.
1768         (CPPFLAGS-test-idouble.c): Likewise.
1769         (CPPFLAGS-test-ifloat.c): Likewise.
1770         (CFLAGS-test-ldouble.c): Likewise.
1771         (CFLAGS-test-double.c): Likewise.
1772         (CFLAGS-test-float.c): Likewise.
1773         (CFLAGS-test-misc.c): Likewise.
1774         (CFLAGS-test-test-fenv.c): Likewise.
1775
1776 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1777
1778         [BZ #2550]
1779         [BZ #2570]
1780         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1781         comparisons to determine direction to adjust input.
1782
1783 2012-05-01  Roland McGrath  <roland@hack.frob.com>
1784
1785         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1786         output to the target.
1787
1788         * scripts/localplt.awk: New file.
1789         * elf/Makefile ($(objpfx)check-localplt): Target removed.
1790         (check-localplt-CFLAGS): Variable removed.
1791         ($(all-built-dso:=.jmprel)): New static pattern rule.
1792         (generated): Add those targets.
1793         (localplt-built-dso): New variable.
1794         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1795
1796         * elf/check-localplt.c: File removed.
1797
1798         * scripts/check-execstack.awk: New file.
1799         * elf/Makefile ($(objpfx)check-execstack): Target removed.
1800         (check-execstack-CFLAGS): Variable removed.
1801         ($(objpfx)check-execstack.h): Target removed.
1802         ($(objpfx)execstack-default): New target.
1803         (generated): Add that instead of check-execstack.h.
1804         ($(all-built-dso:=.phdr)): New static pattern rule.
1805         (generated): Add those targets.
1806         * elf/check-execstack.c: File removed.
1807
1808         * scripts/check-textrel.awk: New file.
1809         * elf/Makefile ($(objpfx)check-textrel): Target removed.
1810         (check-textrel-CFLAGS): Variable removed.
1811         (all-built-dso): Use := to define.o
1812         ($(all-built-dso:=.dyn)): New static pattern rule.
1813         (generated): Add those targets.
1814         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1815         * config.make.in (READELF): New substituted variable.
1816         * elf/check-textrel.c: File removed.
1817
1818 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1819
1820         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1821         allow.
1822         * conform/data/ctype.h-data [C99-based standards] (isblank):
1823         Expect function.
1824         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1825         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1826         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1827         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1828         Specify type.  Require positive value.
1829         (EILSEQ): Likewise.
1830         (ERANGE): Likewise.
1831         [ISO || POSIX] (EILSEQ): Do not expect.
1832         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1833         Specify type.  Require positive value.
1834         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1835         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1836         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1837         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1838         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1839         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1840         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1841         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1842         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1843         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1844         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1845         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1846         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1847         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1848         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1849         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1850         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1851         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1852         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1853         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1854         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1855         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1856         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1857         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1858         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1859         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1860         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1861         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1862         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1863         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1864         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1865         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1866         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1867         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1868         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1869         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1870         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1871         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1872         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1873         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1874         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1875         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1876         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1877         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1878         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1879         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1880         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1881         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1882         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1883         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1884         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1885         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1886         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1887         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1888         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1889         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1890         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1891         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1892         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1893         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1894         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1895         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1896         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1897         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1898         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1899         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1900         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1901         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1902         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1903         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1904         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1905         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1906         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1907         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1908         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1909         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1910         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1911         Require >= 2.
1912         (FLT_ROUNDS): Expect as macro, not constant.
1913         (FLT_MANT_DIG): Use macro-int-constant.
1914         (DBL_MANT_DIG): Likewise.
1915         (LDBL_MANT_DIG): Likewise.
1916         (FLT_DIG): Likewise.
1917         (DBL_DIG): Likewise.
1918         (LDBL_DIG): Likewise.
1919         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
1920         (DBL_MIN_EXP): Likewise.
1921         (LDBL_MIN_EXP): Likewise.
1922         (FLT_MAX_EXP): Use macro-int-constant.
1923         (DBL_MAX_EXP): Likewise.
1924         (LDBL_MAX_EXP): Likewise.
1925         (FLT_MAX_10_EXP): Likewise.
1926         (DBL_MAX_10_EXP): Likewise.
1927         (LDBL_MAX_10_EXP): Likewise.
1928         (FLT_MAX): Use macro-constant.
1929         (DBL_MAX): Likewise.
1930         (LDBL_MAX): Likewise.
1931         (FLT_EPSILON): Use macro-constant.  Give upper bound.
1932         (DBL_EPSILON): Likewise.
1933         (LDBL_EPSILON): Likewise.
1934         (FLT_MIN): Likewise.
1935         (DBL_MIN): Likewise.
1936         (LDBL_MIN): Likewise.
1937         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1938         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1939         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1940         [ISO11] (FLT_HAS_SUBNORM): Likewise.
1941         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1942         [ISO11] (DBL_DECIMAL_DIG): Likewise.
1943         [ISO11] (FLT_DECIMAL_DIG): Likewise.
1944         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1945         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1946         [ISO11] (FLT_TRUE_MIN): Likewise.
1947         [ISO11] (LDBL_TRUE_MIN): Likewise.
1948         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1949         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1950         (SCHAR_MIN): Use macro-int-constant.  Specify type.
1951         (SCHAR_MAX): Likewise.
1952         (UCHAR_MAX): Likewise.
1953         (CHAR_MIN): Likewise.
1954         (CHAR_MAX): Likewise.
1955         (MB_LEN_MAX): Use macro-int-constant.
1956         (SHRT_MIN): Use macro-int-constant.  Specify type.
1957         (SHRT_MAX): Likewise.
1958         (USHRT_MAX): Likewise.
1959         (INT_MAX): Likewise.
1960         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
1961         bound negative.
1962         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1963         bound with "U".
1964         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1965         bound with "L".
1966         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
1967         bound negative.  Suffix upper bound with "L".
1968         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1969         bound with "UL".
1970         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1971         Specify type.
1972         [C99-based standards] (LLONG_MAX): Likewise.
1973         [C99-based standards] (ULLONG_MAX): Likewise.
1974         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
1975         == 0.
1976         [ISO11] (max_align_t): Require type.
1977         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1978
1979         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1980         from $CFLAGS, without defining away __attribute__ calls.
1981         (checknamespace): Use $CFLAGS_namespace.
1982
1983         * conform/conformtest.pl (@keywords): Only include C99 keywords
1984         for standards based on C99 or C11.
1985
1986         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1987         Disable tests.
1988         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1989         UNIX98]: Likewise.
1990
1991         * conform/conformtest.pl: Handle "macro-int-constant" and test for
1992         usability of symbols in #if.
1993
1994         * conform/conformtest.pl: If macro or constant types start
1995         "promoted:", expect the symbol to be of the following type
1996         promoted by the integer promotions.
1997
1998         * conform/conformtest.pl: Parse all "constant" and "macro" lines
1999         in one place.  Also handle "macro-constant".
2000
2001         * conform/conformtest.pl: Only accept expected macro values with
2002         "==".  Parse all "macro" lines in one place.
2003         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2004
2005         * conform/conformtest.pl: Handle braced types on "constant" lines
2006         instead of handling "typed-constant".
2007         * conform/data/signal.h-data: Use "constant" instead of
2008         "typed-constant".
2009
2010         * conform/conformtest.pl: Handle "optional-" at start of lines in
2011         one place rather than duplicating several cases.  Handle each
2012         format of "macro" line with initial "optional-".
2013
2014         * conform/conformtest.pl: Only accept expected constant or
2015         optional-constant values with "==".  Parse all "constant" lines in
2016         one place.  Parse all "optional-constant" lines in one place.
2017         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2018         * conform/data/fmtmsg.h-data: Likewise.
2019         * conform/data/netinet/in.h-data: Likewise.
2020         * conform/data/tar.h-data: Likewise.
2021         * conform/data/limits.h-data: Use "==" form on "constant" and
2022         "optional-constant" lines.
2023
2024         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2025         Use -std=c99 for XOPEN2K.
2026         (@knownproblems): Remove.
2027         (newtoken): Don't check %isknown.
2028
2029         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2030         Do not expect macro.
2031         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2032         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2033         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2034         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2035         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2036         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2037         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2038         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2039         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2040         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2041         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2042         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2043         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2044         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2045         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2046         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2047         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2048         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2049         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2050         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2051         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2052         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2053         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2054         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2055         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2056         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2057         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2058         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2059         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2060         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2061         [XPG3] (acosh): Likewise.
2062         [XPG3] (asinh): Likewise.
2063         [XPG3] (atanh): Likewise.
2064         [XPG3] (cbrt): Likewise.
2065         [XPG3] (expm1): Likewise.
2066         [XPG3] (ilogb): Likewise.
2067         [XPG3] (log1p): Likewise.
2068         [XPG3] (logb): Likewise.
2069         [XPG3] (nextafter): Likewise.
2070         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2071         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2072         [XPG3] (remainder): Likewise.
2073         [XPG3] (rint): Likewise.
2074         [XPG3 || XPG4 || UNIX98] (round): Likewise.
2075         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2076         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2077         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2078         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2079         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2080         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2081         [UNIX98 || XOPEN2K] (scalb): Expect.
2082         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2083         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2084         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2085         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2086         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2087         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2088         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2089         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2090         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2091         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2092         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2093         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2094         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2095         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2096         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2097         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2098         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2099         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2100         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2101         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2102         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2103         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2104         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2105         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2106         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2107         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2108         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2109         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2110         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2111         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2112         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2113         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2114         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2115         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2116         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2117         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2118         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2119         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2120         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2121         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2122         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2123         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2124         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2125         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2126         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2127         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2128         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2129         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2130         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2131         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2132         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2133         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2134         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2135         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2136         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2137         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2138         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2139         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2140         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2141         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2142         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2143         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2144         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2145         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2146         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2147         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2148         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2149         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2150         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2151         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2152         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2153         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2154         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2155         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2156         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2157         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2158         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2159         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2160         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2161         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2162         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2163         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2164         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2165         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2166         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2167         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2168         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2169         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2170         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2171         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2172         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2173         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2174         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2175         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2176         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2177         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2178         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2179         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2180         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2181         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2182         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2183         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2184         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2185         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2186         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2187         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2188         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2189         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2190         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2191         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2192         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2193         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2194         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2195         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2196         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2197         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2198         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2199         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2200         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2201         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2202         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2203         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2204         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2205         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2206         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2207         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2208         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2209         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2210         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2211         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2212         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2213         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2214         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2215         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2216         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2217         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2218         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2219
2220         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2221         _XOPEN_SOURCE_EXTENDED for XPG4.
2222
2223         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2224
2225         * Makeconfig (localtime): Remove variable.
2226         (inst_localtime-file): Likewise.
2227
2228 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2229
2230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2231         Update.
2232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2233         Update.
2234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2235         Update.
2236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2237         Update.
2238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2239         Update.
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2241         Update.
2242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2243         Update.
2244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2245         Update.
2246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2247         Update.
2248
2249 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
2250
2251         [BZ #2550]
2252         [BZ #2570]
2253         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2254         comparisons to determine direction to adjust input.
2255         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2256         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2257         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2258         Likewise.
2259         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2260         Likewise.
2261         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2262         Likewise.
2263         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2264         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2265         Likewise.
2266         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2267         Likewise.
2268         * math/libm-test.inc (nexttoward_test): Add more tests.
2269
2270 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2271
2272         [BZ #14040]
2273         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2274         in version GLIBC_2.1, not GLIBC_2.0.
2275         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2276         Likewise.
2277
2278 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
2279
2280         [BZ #13942]
2281         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2282         (1 - x) * (1 + x).
2283         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2284         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2285         * math/libm-test.inc (acos_test): Add more tests.
2286         (asin_test): Likewise.
2287         * sysdeps/i386/fpu/libm-test-ulps: Update.
2288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2289
2290         [BZ #14034]
2291         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2292         of square root.
2293         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2294         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2295         * math/libm-test.inc (acos_test_tonearest): New function.
2296         (acos_test_towardzero): Likewise.
2297         (acos_test_downward): Likewise.
2298         (acos_test_upward): Likewise.
2299         (asin_test_tonearest): Likewise.
2300         (asin_test_towardzero): Likewise.
2301         (asin_test_downward): Likewise.
2302         (asin_test_upward): Likewise.
2303         (main): Call the new functions.
2304         * sysdeps/i386/fpu/libm-test-ulps: Update.
2305         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2306
2307         [BZ #13884]
2308         [BZ #13924]
2309         * math/e_exp10.c: Include <float.h>.
2310         (__ieee754_exp10): Handle underflow here rather than multiplying
2311         large negative argument by M_LN10.
2312         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2313         of __ieee754_expf.
2314         * math/e_exp10l.c: Include <float.h>.
2315         (__ieee754_exp10l): Handle underflow here rather than multiplying
2316         large negative argument by M_LN10l.
2317         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
2318         spurious overflow exception on underflow.
2319
2320 2012-04-29  Marek Polacek  <polacek@redhat.com>
2321
2322         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2323         (__fortify_function): New macro.
2324         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2325         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2326         __extern_always_inline.
2327         * libio/bits/stdio2.h: Likewise.
2328         * libio/bits/stdio.h: Likewise.
2329         * string/string.h: Likewise.
2330         * string/bits/string3.h: Likewise.
2331         * include/stdio.h: Likewise.
2332         * stdlib/bits/stdlib.h: Likewise.
2333         * stdlib/stdlib.h: Likewise.
2334         * rt/bits/mqueue2.h: Likewise.
2335         * rt/mqueue.h: Likewise.
2336         * posix/bits/unistd.h: Likewise.
2337         * posix/unistd.h: Likewise.
2338         * io/bits/poll2.h: Likewise.
2339         * io/bits/fcntl2.h: Likewise.
2340         * io/fcntl.h: Likewise.
2341         * io/sys/poll.h: Likewise.
2342         * misc/bits/syslog.h: Likewise.
2343         * misc/bits/syslog-ldbl.h: Likewise.
2344         * misc/sys/syslog.h: Likewise.
2345         * socket/bits/socket2.h: Likewise.
2346         * socket/sys/socket.h: Likewise.
2347         * debug/tst-chk1.c: Likewise.
2348         * wcsmbs/bits/wchar2.h: Likewise.
2349         * wcsmbs/bits/wchar-ldbl.h: Likewise.
2350         * wcsmbs/wchar.h: Likewise.
2351
2352 2012-04-29  Andreas Jaeger  <aj@suse.de>
2353
2354         * Makerules (tests): Remove enable-check-abi protection.
2355         (check-abi-warn): Remove.
2356         (check-abi-%): Remove check-abi-warn usage.
2357
2358         * configure.in: Remove check-abi configure option.
2359         * configure: Regenerated.
2360         * config.make.in (enable-check-abi): Remove.
2361
2362 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
2363
2364         [BZ #14033]
2365         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2366         double functions to double *_finite functions.
2367
2368         [BZ #13941]
2369         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2370         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2371         LDBL_MIN_EXP.
2372         * stdio-common/Makefile (tests): Add tst-sprintf3.
2373         * stdio-common/tst-sprintf3.c: New file.
2374
2375         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2376         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2377
2378 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
2379
2380         * conform/conformtest.pl: Remove duplicate typed-constant
2381         handling.
2382
2383 2012-04-28  David S. Miller  <davem@davemloft.net>
2384
2385         * Makerules (%.abilist): Add vpath on sysdep_dirs.
2386         (check-abi-%): Remove AWK script prerequisite and explicit
2387         abilist directory.
2388         (check-abi): Rewrite to just diff the symlist with the abilist.
2389         (config-tls, config-abi-config): Delete, no longer used.
2390         (update-abi-%): Remove AWK script and explicit abilist directory.
2391         (update-abi): Rewrite to simply compare and conditionally copy the
2392         symlist and the sysdep abilist file.  Remove update-abi-config
2393         checks.
2394         * abilist/ld.abilist: Remove.
2395         * abilist/libBrokenLocale.abilist: Remove.
2396         * abilist/libanl.abilist: Remove.
2397         * abilist/libcrypt.abilist: Remove.
2398         * abilist/libdl.abilist: Remove.
2399         * abilist/librt.abilist: Remove.
2400         * abilist/libthread_db.abilist: Remove.
2401         * abilist/libutil.abilist: Remove.
2402         * scripts/extract-abilist.awk: Remove.
2403         * scripts/merge-abilist.awk: Remove.
2404         * sysdeps/generic/libcidn.abilist: New file.
2405         * sysdeps/generic/libnss_compat.abilist: New file.
2406         * sysdeps/generic/libnss_db.abilist: New file.
2407         * sysdeps/generic/libnss_dns.abilist: New file.
2408         * sysdeps/generic/libnss_files.abilist: New file.
2409         * sysdeps/generic/libnss_hesiod.abilist: New file.
2410         * sysdeps/generic/libnss_nis.abilist: New file.
2411         * sysdeps/generic/libnss_nisplus.abilist: New file.
2412         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2413         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2414         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2415         file.
2416         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2417         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2418         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2419         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2420         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2421         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2422         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2423         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2424         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2425         file.
2426         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2427         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2428         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2429         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2430         file.
2431         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2432         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2433         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2434         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2435         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2436         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2437         file.
2438         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2439         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2440         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2441         file.
2442         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2443         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2444         New file.
2445         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2446         New file.
2447         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2448         New file.
2449         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2450         New file.
2451         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2452         New file.
2453         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2454         New file.
2455         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2456         New file.
2457         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2458         New file.
2459         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2460         New file.
2461         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2462         New file.
2463         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2464         New file.
2465         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2466         New file.
2467         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2468         New file.
2469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2470         file.
2471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2472         New file.
2473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2474         New file.
2475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2476         file.
2477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2478         New file.
2479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2480         New file.
2481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2482         file.
2483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2484         New file.
2485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2486         New file.
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2488         New file.
2489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2490         New file.
2491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2492         New file.
2493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2494         New file.
2495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2497         file.
2498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2499         New file.
2500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2501         file.
2502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2503         file.
2504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2505         file.
2506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2507         file.
2508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2509         file.
2510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2511         New file.
2512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2513         file.
2514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2515         file.
2516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2517         New file.
2518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2519         file.
2520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2522         file.
2523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2524         New file.
2525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2526         file.
2527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2528         file.
2529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2530         file.
2531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2532         file.
2533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2534         file.
2535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2536         New file.
2537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2538         file.
2539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2540         file.
2541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2542         New file.
2543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2544         file.
2545         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2546         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2547         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2548         file.
2549         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2550         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2551         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2552         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2553         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2554         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2555         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2556         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2557         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2558         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2561         file.
2562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2563         New file.
2564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2565         file.
2566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2567         file.
2568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2569         file.
2570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2571         file.
2572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2573         file.
2574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2575         New file.
2576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2577         New file.
2578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2579         file.
2580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2581         New file.
2582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2583         file.
2584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2586         file.
2587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2588         New file.
2589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2590         file.
2591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2592         file.
2593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2594         file.
2595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2596         file.
2597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2598         file.
2599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2600         New file.
2601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2602         New file.
2603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2604         file.
2605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2606         New file.
2607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2608         file.
2609
2610 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
2611
2612         * conform/conformtest.pl: Fix typo in handling typed-constant from
2613         allow-header.
2614
2615 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
2616
2617         * README: Cut down references to pre-2.6 Linux kernels and
2618         Linuxthreads.  Update lists of configurations in libc and ports
2619         and sort alphabetically.  Say "or newer" with Linux kernel version
2620         requirements.
2621
2622         * config.h.in [IS_IN_build]: Allow compiling without optimization.
2623
2624 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2625
2626         [BZ #887]
2627         * math/libm-test.inc (logb_test_downward): New test to expose
2628         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2629         rounding mode.
2630
2631 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
2632
2633         [BZ #14027]
2634         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2635         to be done.
2636         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2637         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2638
2639 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
2640
2641         * sysdeps/unix/i386/brk.S: Remove file.
2642         * sysdeps/unix/i386/dl-brk.S: Likewise.
2643         * sysdeps/unix/i386/pipe.S: Likewise.
2644         * sysdeps/unix/i386/sigreturn.S: Likewise.
2645         * sysdeps/unix/i386/syscall.S: Likewise.
2646         * sysdeps/unix/i386/vfork.S: Likewise.
2647         * sysdeps/unix/i386/wait.S: Likewise.
2648
2649         * sysdeps/unix/common/tcsendbrk.c: Move to ...
2650         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2651
2652         * configure.in (arm*-none*): Do not allow without
2653         --enable-hacker-mode.
2654         (netbsd*): Remove case setting base_os.
2655         (386bsd*): Likewise.
2656         (freebsd*): Likewise.
2657         (bsdi*): Likewise.
2658         (osf*): Likewise.
2659         (sunos*): Likewise.
2660         (ultrix*): Likewise.
2661         (newsos*): Likewise.
2662         (dynix*): Likewise.
2663         (*bsd*): Likewise.
2664         (sysv*): Likewise.
2665         (isc*): Likewise.
2666         (esix*): Likewise.
2667         (sco*): Likewise.
2668         (minix*): Likewise.
2669         (irix4*): Likewise.
2670         (irix6*): Likewise.
2671         (solaris[2-9]*): Likewise.
2672         (none): Likewise.
2673         * configure: Regenerated.
2674
2675 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2676
2677         [BZ #11521]
2678         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2679         overflow or cancellation in calculating denominator.
2680         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2681         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2682         down expression to avoid unexpected rounding in newer GCCs.
2683         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2684
2685 2012-04-26  David S. Miller  <davem@davemloft.net>
2686
2687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2688         long-double compat symbols.
2689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2702
2703 2012-04-25  David S. Miller  <davem@davemloft.net>
2704
2705         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2706         HWCAP_* values only after the memory barriers have been defined.
2707         (atomic_full_barrier): Define.
2708         (atomic_read_barrier): Define.
2709         (atomic_write_barrier): Define.
2710
2711 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2712
2713         * shlib-versions: Add libgcc_s version information.
2714         * sysdeps/generic/libgcc_s.h: Remove.
2715         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2716         libgcc_s.h.
2717         * sysdeps/gnu/unwind-resume.c: Likewise.
2718         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2719
2720 2012-04-25  David S. Miller  <davem@davemloft.net>
2721
2722         * sysdeps/unix/sparc/brk.S: Delete.
2723         * sysdeps/unix/sparc/dl-brk.S: Delete.
2724         * sysdeps/unix/sparc/pipe.S: Delete.
2725         * sysdeps/unix/sparc/sysdep.S: Delete.
2726         * sysdeps/unix/sparc/sysdep.h: Delete.
2727         * sysdeps/unix/sparc/vfork.S: Delete.
2728         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2729         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2730         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2731         ret_ERRVAL, r0, r1, MOVE): Define.
2732         (JUMPTARGET): Remove.
2733         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2734         sysdeps/unix/sparc/sysdep.h
2735         (ENTRY, END): Remove.
2736         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2737
2738 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
2739
2740         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2741         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2742         -DIS_IN_build.
2743
2744         * timezone/README: Update upstream location and email address for
2745         tzcode and tzdata.
2746         * timezone/zdump.c: Update from tzcode 2012b.
2747         * timezone/zic.c: Likewise.
2748
2749         * configure.in (libc_cv_as_needed): Remove test.
2750         * configure: Regenerated.
2751         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2752         conditional definition.
2753         [$(have-as-needed) != yes] (no-as-needed): Likewise.
2754         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2755         * config.make.in (have-as-needed): Remove variable.
2756
2757 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2758             Paul Pluzhnikov  <ppluzhnikov@google.com>
2759
2760         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2761         strings correctly.
2762
2763 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2764
2765         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2766         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2767         * sysdeps/sh/strlen.S: Likewise.
2768
2769 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
2770
2771         * sysdeps/unix/fork.S: Remove file.
2772         * sysdeps/unix/i386/fork.S: Likewise.
2773         * sysdeps/unix/sparc/fork.S: Likewise.
2774
2775         * sysdeps/unix/system.c: Remove file.
2776         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2777
2778         * sysdeps/unix/getegid.S: Remove file.
2779         * sysdeps/unix/geteuid.S: Likewise.
2780
2781 2012-04-24  Roland McGrath  <roland@hack.frob.com>
2782
2783         * scripts/check-localplt.awk: New file.
2784         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2785         of diff.
2786         * scripts/data/localplt-generic.data: Add a comment.
2787
2788         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2789         NODE when __dir_mkfile failed.
2790         * sysdeps/mach/hurd/symlinkat.c: Likewise.
2791         Reported by Ludovic Courtès <ludo@gnu.org>.
2792
2793 2012-04-24  Andreas Jaeger  <aj@suse.de>
2794
2795         * Makerules (common-clean): Also remove gen-as-const-headers
2796         files.
2797
2798 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
2799
2800         * Makerules (native-compile): Do not change working directory for
2801         build.  Use $(OUTPUT_OPTION) in command.
2802         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2803
2804 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2805
2806         [BZ #13886]
2807         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2808         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2809         * math/libm-test.inc (floor_test): Add more tests.
2810         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2811
2812 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
2813
2814         * sysdeps/unix/getdents.c: Remove file.
2815         * sysdeps/unix/sysv/getdents.c: Likewise.
2816         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2817
2818         * sysdeps/unix/syscalls.list (madvise): Add syscall from
2819         sysdeps/unix/mman/syscalls.list.
2820         (mmap): Likewise.
2821         (mprotect): Likewise.
2822         (msync): Likewise.
2823         (munmap): Likewise.
2824         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2825         * sysdeps/unix/mman/syscalls.list: Remove.
2826         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2827
2828         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2829         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2830         * configure: Regenerated.
2831         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2832         $(libgcc_s_suffix).
2833         * config.make.in (libgcc_s_suffix): Remove variable.
2834
2835 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
2836
2837         * sysdeps/unix/sysv/gethostname.c: Move to ...
2838         * sysdeps/posix/gethostname.c: ... here.
2839
2840         * sysdeps/unix/execve.S: Remove file.
2841
2842         * sysdeps/unix/_exit.S: Remove file.
2843
2844 2012-04-23  Andreas Jaeger  <aj@suse.de>
2845
2846         [BZ #13739]
2847         * manual/Makefile: Remove make dist support, there's no
2848         need for a stand-alone documentation tar ball.
2849         (TEXI2DVI): Define always, it's not in Makeconfig.
2850         (dist): Removed.
2851         (tar-it): Removed.
2852         (edition): Removed.
2853         (glibc-doc-$(edition).tar): Removed
2854         (%.Z): Removed.
2855         (%.gz): Removed.
2856         (%.uu): Removed.
2857         (ETAGS): Remove, it's in Makeconfig.
2858         (move-if-change): Remove, it's in Makeconfig.
2859
2860 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
2861
2862         [BZ #13970]
2863         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2864         (strtod, strtof, strtold, strtol, strtoul, strtoq)
2865         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2866         (strtod_l, strtof_l, strtold_l): Remove __wur.
2867         It is not necessarily an error to ignore strtol's return value.
2868         One can reliably look at the stored endptr to decide whether
2869         the number had valid syntax.
2870
2871 2012-04-21  Andreas Jaeger  <aj@suse.de>
2872
2873         [BZ #13739]
2874         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2875
2876 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
2877
2878         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2879         * sysdeps/unix/sysv/Versions: Remove file.
2880
2881 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
2882
2883         [BZ #13927]
2884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2885
2886 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
2887
2888         [BZ #7064]
2889         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2890         version from __vm86.
2891
2892 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
2893
2894         * sysdeps/unix/common/lxstat.c: Remove file.
2895         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2896
2897         * sysdeps/unix/sysv/Makefile: Remove file.
2898
2899         * sysdeps/unix/sysv/direct.h: Remove file.
2900
2901         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2902         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2903         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2904         * sysdeps/unix/sysv/bits/signum.h: Likewise.
2905         * sysdeps/unix/sysv/bits/stat.h: Likewise.
2906         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2907         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2908
2909         * sysdeps/unix/sysv/setrlimit.c: Remove file.
2910
2911         * sysdeps/unix/xmknod.c: Remove file.
2912         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2913
2914         * sysdeps/unix/sysv/settimeofday.c: Remove file.
2915
2916         * sysdeps/unix/sysv/i386/time.S: Remove file.
2917
2918         * sysdeps/unix/fxstat.c: Remove file.
2919         * sysdeps/unix/xstat.c: Likewise.
2920         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2921
2922         * sysdeps/unix/sysv/sigaction.c: Remove file.
2923
2924         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2925         (sysdep_headers): Remove variable.
2926         [termio.h not in sysdep_headers] (generated): Likewise.
2927         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2928         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2929         * sysdeps/unix/sysv/tcdrain.c: Likewise.
2930         * sysdeps/unix/sysv/tcflow.c: Likewise.
2931         * sysdeps/unix/sysv/tcflush.c: Likewise.
2932         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2933         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2934         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2935         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2936         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2937
2938         * sysdeps/unix/siglist.c: Remove file.
2939
2940         * sysdeps/unix/getppid.S: Remove file.
2941
2942         * sysdeps/unix/mkdir.c: Remove file.
2943         * sysdeps/unix/rmdir.c: Likewise.
2944
2945 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
2946
2947         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2948         ERR_MAX value.
2949         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2950         errlist-compat value.
2951
2952 2012-04-18  David S. Miller  <davem@davemloft.net>
2953
2954         * sysdeps/generic/memcopy.h (reg_char): Delete.
2955         * debug/strcat_chk.c: Use char, not reg_char.
2956         * debug/strcpy_chk.c: Likewise.
2957         * debug/strncat_chk.c: Likewise.
2958         * debug/strncpy_chk.c: Likewise.
2959         * string/memchr.c: Likewise.
2960         * string/memrchr.c: Likewise.
2961         * string/rawmemchr.c: Likewise.
2962         * string/strcat.c: Likewise.
2963         * string/strchr.c: Likewise.
2964         * string/strchrnul.c: Likewise.
2965         * string/strcmp.c: Likewise.
2966         * string/strcpy.c: Likewise.
2967         * string/strncat.c: Likewise.
2968         * string/strncmp.c: Likewise.
2969         * string/strncpy.c: Likewise.
2970
2971 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2972
2973         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2974         __builtin_memcopy is called when src and dest ranges are known to not
2975         overlap.
2976
2977 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2978
2979         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2980         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2981         fwd_align_merge macro call.
2982         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2983         bwd_align_merge macro call.
2984         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2985
2986 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2987
2988         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2989         bwd_align_merge macros.
2990         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2991         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2992         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2993
2994 2012-04-18  David S. Miller  <davem@davemloft.net>
2995
2996         * sysdeps/sparc/sparc64/memcopy.h: Delete.
2997
2998 2012-04-18  Andreas Jaeger  <aj@suse.de>
2999
3000         [BZ# 6794]
3001         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3002         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3003         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3004
3005         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3006         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3007         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3008
3009         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3010         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3011         Adjust for changed ldbl-128 files.
3012
3013         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3014         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3015         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3016
3017 2012-04-17  David S. Miller  <davem@davemloft.net>
3018
3019         * sysdeps/sparc/sparc32/memcopy.h: Delete.
3020
3021 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
3022
3023         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3024         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3025         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3026         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3027         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3028         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3029
3030 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3031
3032         [BZ #6794]
3033         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3034         * math/libm-test.inc: Add ilogb errno and exception tests.
3035         * math/w_ilogb.c: New file: ilogb wrapper.
3036         * math/w_ilogbf.c: New file: ilogbf wrapper.
3037         * math/w_ilogbl.c: New file: ilogbl wrapper.
3038         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3039         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3040         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3041         exception being thrown with 0.0 as argument.
3042         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3043         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3044         exception being thrown with 0.0 as argument.
3045         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3046         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3047         exception being thrown with 0.0 as argument.
3048         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3049         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3050         exception being thrown with 0.0 as argument.
3051         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3052         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3053         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3054         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3055         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3056         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3057         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3058         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3059         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3060
3061 2012-04-17  Petr Baudis  <pasky@ucw.cz>
3062
3063         * include/sys/uio.h: Change __vector to __iovec to avoid clash
3064         with altivec.
3065
3066 2012-04-16  Marek Polacek  <polacek@redhat.com>
3067
3068         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3069
3070 2012-04-16  Marek Polacek  <polacek@redhat.com>
3071
3072         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3073         operands of fdivp instruction.
3074
3075 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
3076
3077         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3078         * elf/tst-auditmod3b.c: Likewise.
3079         * elf/tst-auditmod4b.c: Likewise.
3080         * elf/tst-auditmod5b.c: Likewise.
3081         * elf/tst-auditmod6b.c: Likewise.
3082         * elf/tst-auditmod6c.c: Likewise.
3083         * elf/tst-auditmod7b.c: Likewise.
3084         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3085         * sysdeps/x86_64/preconfigure.in: Likewise.
3086         * sysdeps/x86_64/preconfigure: Regenerated.
3087
3088 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
3089
3090         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3091         __ILP32__.
3092
3093 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
3094
3095         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3096         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3097
3098 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
3099
3100         [BZ #13973]
3101         * locale/iso-639.def: Fix gl language name. Spotted by
3102         Yaron Shahrabani.
3103
3104 2012-04-12  Roland McGrath  <roland@hack.frob.com>
3105
3106         [BZ #2074]
3107         * libio/libio.h (__io_write_fn): Update comment.
3108
3109 2012-04-12  Petr Baudis  <pasky@ucw.cz>
3110
3111         [BZ #2074]
3112         * stdio.texi (Hook Functions): The user provided writer function
3113         is not allowed to return -1.
3114
3115 2012-04-11  David S. Miller  <davem@davemloft.net>
3116
3117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3118
3119 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
3120
3121         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3122         Add a leading slash to rtkaio.
3123
3124 2012-04-11  Jim Meyering  <meyering@redhat.com>
3125
3126         [BZ #11959]
3127         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3128         It is not necessarily an error to ignore fwrite's return
3129         value.  One can reliably use ferror to test for errors after
3130         the fact.
3131
3132 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3133
3134         * bits/types.h (__snseconds_t): New type.
3135         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3136
3137         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3138         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3139         (__SNSECONDS_T_TYPE): Likewise.
3140         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3141         (__SNSECONDS_T_TYPE): Likewise.
3142         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3143         (__SNSECONDS_T_TYPE): Likewise.
3144
3145 2012-04-10  Andreas Jaeger  <aj@suse.de>
3146
3147         [BZ #2636]
3148         * manual/time.texi (Processor Time): Return type of times is
3149         elapsed real time since an arbitrary point in the past.
3150         (CPU Time): Move CLK_TCK from here...
3151         (Processor Time): ...to here.  Correct description.
3152         * manual/conf.texi (Constants for Sysconf): Correct description of
3153         _SC_CLK_TCK.
3154
3155 2012-04-10  David S. Miller  <davem@davemloft.net>
3156
3157         [BZ #13967]
3158         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3159         where the is a gap between DT_REL(A) and DT_JMPREL.
3160
3161 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3162
3163         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3164         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3165         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3166
3167 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3168
3169         * elf/dl-support.c (_dl_inhibit_cache): New variable.
3170         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3171         (dl_main): Handle --inhibit-cache.
3172         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3173         _dl_inhibit_cache.
3174         * elf/dl-load.c (_dl_map_object): Use it.
3175         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3176
3177 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
3178
3179         [BZ #13872]
3180         * sysdeps/i386/fpu/e_powl.S (p78): New object.
3181         (__ieee754_powl): Saturate large exponents rather than testing for
3182         overflow of y*log2(x).
3183         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3184         * math/libm-test.inc (pow_test): Do not permit spurious overflow
3185         exceptions.
3186
3187         [BZ #11521]
3188         * math/s_ctan.c: Include <float.h>.
3189         (__ctan): Avoid internal overflow or cancellation in calculating
3190         denominator.
3191         * math/s_ctanf.c: Likewise.
3192         * math/s_ctanl.c: Likewise.
3193         * math/s_ctanh.c: Likewise.
3194         * math/s_ctanhf.c: Likewise.
3195         * math/s_ctanhl.c: Likewise.
3196         * math/libm-test.inc (ctan_test): Add more tests.
3197         (ctanh_test): Likewise.
3198         * sysdeps/i386/fpu/libm-test-ulps: Update.
3199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3200
3201 2012-04-09  Andreas Jaeger  <aj@suse.de>
3202
3203         [BZ #6894]
3204         * manual/filesys.texi (Directory Entries): Mention that d_namlen
3205         is an optional BSD extension.
3206
3207         [BZ #10254]
3208         * manual/stdio.texi (Opening Streams): Document additional fopen
3209         parameters.
3210
3211 2012-04-09  Roland McGrath  <roland@hack.frob.com>
3212
3213         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3214         %eax without telling the compiler.
3215
3216 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
3217
3218         [BZ # 13963]
3219         * manual/install.texi: Use sourceware.org.
3220
3221 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
3222
3223         [BZ #13873]
3224         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3225         (__ieee754_pow): Generate overflow and underflow using huge*huge
3226         and tiny*tiny rather than just returning constant infinity or zero
3227         for large exponents.
3228         * math/libm-test.inc (pow_test): Require overflow exceptions for
3229         applicable cases of large exponents.
3230
3231         [BZ #706]
3232         * sysdeps/i386/fpu/e_pow.S (p10): New object.
3233         (__ieee754_pow): Use iterative multiplication algorithm only for
3234         integer exponents with absolute value below 1024.  Check for odd
3235         integer exponents when using algorithm for real exponents.
3236         * math/libm-test.inc (pow_test): Add more tests.
3237         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3238
3239 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
3240
3241         [BZ #13705]
3242         * math/libm-test.inc (exp_test): Do not allow overflow exception
3243         on underflow test.
3244
3245 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
3246
3247         [BZ #13705]
3248         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3249         instead of __kernel_standard_f.
3250
3251 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
3252
3253         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3254         * sysdeps/x86_64/memset_chk.S: Likewise.
3255
3256 2012-04-08  Andreas Jaeger  <aj@suse.de>
3257
3258         [BZ #10153]
3259         * manual/startup.texi (Environment Access): Describe return value
3260         for putenv and setenv.
3261
3262         [BZ #6895]
3263         * manual/filesys.texi (Directory Entries): Add description for
3264         DT_LNK.
3265
3266         [BZ #6890]
3267         * manual/filesys.texi (Directory Entries): Clarify that it's file
3268         system not operating system in the description of DT_UNKNOWN.
3269
3270         [BZ #6578]
3271         * manual/syslog.texi (closelog): Fix reference, it's openlog.
3272
3273 2012-04-08  Stephen Compall  <s11@member.fsf.org>
3274
3275         [BZ #6649]
3276         * manual/llio.texi (Opening and Closing Files): Add cross
3277         reference to explain mode argument.
3278
3279 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
3280
3281         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3282         * sysdeps/x86_64/memset_chk.S: Likewise.
3283
3284 2012-04-07  David S. Miller  <davem@davemloft.net>
3285
3286         * elf/elf.h (R_SPARC_WDISP10): Define.
3287         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3288         R_SPARC_SIZE32.
3289         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3290         R_SPARC_SIZE64 and R_SPARC_H34.
3291
3292 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
3293
3294         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3295         conditions and remove no longer applicable assertion.
3296
3297 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
3298
3299         * bits/byteswap.h: Include <features.h>.
3300         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3301         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3302
3303 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
3304
3305         * bits/byteswap.h (__bswap_16): Removed.
3306         Include <bits/byteswap-16.h> to get __bswap_16.
3307         * sysdeps/i386/bits/byteswap.h: Likewise.
3308         * sysdeps/s390/bits/byteswap.h: Likewise.
3309         * sysdeps/x86_64/bits/byteswap.h: Likewise.
3310         * bits/byteswap-16.h: New file.
3311         * sysdeps/i386/bits/byteswap-16.h: Likewise.
3312         * sysdeps/s390/bits/byteswap-16.h: Likewise.
3313         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3314         * string/Makefile (headers): Add bits/byteswap-16.h.
3315
3316 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3317
3318         [BZ #13895]
3319         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3320         extra indirection.
3321         * nss/Makefile (tests-static, tests): Add tst-nss-static.
3322         * nss/tst-nss-static.c: New.
3323
3324 2012-04-06  Robert Millan  <rmh@gnu.org>
3325
3326         [BZ #6486]
3327         * manual/llio.texi (File Position Primitive): lseek
3328         refers to WHENCE when it really means OFFSET.
3329
3330 2012-04-06  Andreas Jaeger  <aj@suse.de>
3331
3332         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3333         strncmp declarations.
3334
3335         * abilist/libc.abilist: Add __poll and __ppoll.
3336
3337 2012-04-05  David S. Miller  <davem@davemloft.net>
3338
3339         * scripts/check-local-headers.sh: Accept a host triplet in the
3340         path matched by the exclude regexp.
3341
3342         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3343         definition.
3344         * sysdeps/powerpc/powerpc32/dl-machine.h
3345         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3346         * sysdeps/s390/s390-32/dl-machine.h
3347         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3348         * sysdeps/sparc/sparc32/dl-machine.h
3349         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3350         * sysdeps/sparc/sparc64/dl-machine.h
3351         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3352
3353         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3354         lazy binding.
3355         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3356         undefined symbol errors.
3357
3358         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3359         DT_NEEDED entries.
3360
3361 2012-04-05  Michael Matz  <matz@suse.de>
3362
3363         [BZ #13592]
3364         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3365
3366 2012-04-05  Andreas Jaeger  <aj@suse.de>
3367
3368         [BZ #13908]
3369         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3370         comment.
3371
3372 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3373
3374         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3375         which ROUND is no valid rounding mode.
3376
3377 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3378
3379         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3380         read again.
3381         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3382
3383 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3384
3385         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3386         an exception using FPU order intentionally.
3387
3388 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3389
3390         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3391         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3392         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3393         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3394
3395 2012-04-05  Simon Josefsson  <simon@josefsson.org>
3396
3397         [BZ #12340]
3398         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3399         EINVAL when BUFLEN is too smal.
3400
3401 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
3402
3403         [BZ #13553]
3404         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3405         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3406
3407 2012-04-03  Andreas Jaeger  <aj@suse.de>
3408
3409         [BZ #13938]
3410         * manual/setjmp.texi (System V contexts): Fix sentence.
3411
3412         [BZ #13926]
3413         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3414         New macro for this case.
3415         [!__GNUC__] (__bswap_64): New inline function for this case.
3416         * sysdeps/x86_64/bits/byteswap.h: Likewise.
3417         * bits/byteswap.h: Likewise.
3418         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3419         ull, guard with __GLIBC_HAVE_LONG_LONG.
3420
3421         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3422         __GLIBC_HAVE_LONG_LONG.
3423
3424         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3425         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3426
3427 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3428
3429         [BZ #13691]
3430         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3431         inptr and inend, rather than using last_ch.
3432
3433 2012-04-02  David S. Miller  <davem@davemloft.net>
3434
3435         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3436         * stdio-common/printf-parse.h (read_int): Change return type to
3437         'int', return -1 on INT_MAX overflow.
3438         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3439         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
3440         overflows INT_MAX.  Check for overflow of in-format-string precision
3441         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
3442         SIZE_MAX not INT_MAX for integer overflow test.
3443         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3444         skip the construct in the format string but do not record anything.
3445         * stdio-common/bug22.c: Adjust to test both width/prevision
3446         INT_MAX overflow as well as total length INT_MAX overflow.  Check
3447         explicitly for proper errno values.
3448
3449 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
3450
3451         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3452         CHAR_MAX.
3453         * string/test-strcmp.c [! WIDE]: Likewise.
3454         * time/tst-mktime2.c: Likewise for INT_MAX.
3455         * string/test-string.h: #include <sys/param.h> for MIN.
3456
3457         * csu/init-first.c (__libc_init_first): Call __ctype_init.
3458         * sysdeps/i386/init-first.c (init): Likewise.
3459         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3460         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3461         * sysdeps/sh/init-first.c (init): Likewise.
3462
3463 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
3464
3465         * po/ru.po: Update from translation team.
3466         * po/vi.po: Likewise.
3467
3468 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3469
3470         * resolv/nss_dns/dns-host.c: Merge copyright years.
3471
3472 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3473
3474         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3475         Optimize memcpy with prefetch if
3476         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
3477         src, dst pointers have unequal 16 byte alignments.
3478
3479 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3480
3481         [BZ #13928]
3482         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3483         from a CNAME entry and return the minimum ttl for the query.
3484         (gaih_getanswer_slice): Likewise.
3485
3486 2012-03-30  Jeff Law  <law@redhat.com>
3487
3488         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3489         due to long keys.
3490         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3491         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3492
3493         * resolv/nss_dns/dns-host.c: Update copyright year.
3494
3495 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
3496
3497         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3498         requests to save a system call.  Fix check that all bytes are sent.
3499
3500         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3501         comments for sendmmsg.
3502
3503 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3504
3505         [BZ #13691]
3506         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3507         with only 1 character between 0x0041 and 0x01b0.
3508         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3509         * wcsmbs/tst-mbsnrtowcs.c: New file.
3510
3511 2012-03-29  David S. Miller  <davem@davemloft.net>
3512
3513         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3514         small copies by hand.
3515
3516 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3517
3518         [BZ #13761]
3519         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3520         _nss_compat_initgroups_dyn): Fall back to malloc/free
3521         for large group memberships.
3522
3523 2012-03-28  David S. Miller  <davem@davemloft.net>
3524
3525         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3526         that branches into memcpy.
3527         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3528         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3529         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3530         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3531         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3532         bits.
3533         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3534         implementation too.
3535         * sysdeps/sparc/mempcpy.S: New file.
3536
3537         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3538         the IFUNC routine in the libc case.
3539         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3540
3541         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3542         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3543         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3544         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3545         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3546         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3547         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3548         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3549
3550         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3551         loop to 256 bytes instead of 64 bytes and fix test signedness.
3552
3553         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3554         * sysdeps/sparc/sparc32/Makefile: rather than here...
3555         * sysdeps/sparc/sparc64/Makefile: and here.
3556
3557 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
3558
3559         * malloc/mallocbug.c: Avoid warnings about unused variables.
3560
3561 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3562
3563         [BZ #13760]
3564         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3565         in the right place. Discard and retry query if response is
3566         larger than input buffer size.
3567
3568 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
3569
3570         [BZ #369]
3571         [BZ #2678]
3572         [BZ #3866]
3573         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3574         x for large integer exponent.
3575         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3576         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
3577         sign of result as needed afterwards.
3578         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3579         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3580         result for underflowing pow the same as for overflow.
3581         (__kernel_standard_l): Handle powl overflow and underflow here
3582         rather than calling __kernel_standard.
3583         * math/libm-test.inc (pow_test): Add more tests.
3584
3585         [BZ #3868]
3586         [BZ #13879]
3587         [BZ #13910]
3588         [BZ #13911]
3589         [BZ #13912]
3590         [BZ #13913]
3591         [BZ #13915]
3592         [BZ #13916]
3593         [BZ #13917]
3594         [BZ #13918]
3595         [BZ #13919]
3596         [BZ #13920]
3597         [BZ #13921]
3598         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3599         * sysdeps/ieee754/k_standard.c: Include <float.h>.
3600         (__kernel_standard_l): New function.
3601         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3602         __kernel_standard.
3603         * math/w_acosl.c (__acosl): Likewise.
3604         * math/w_asinl.c (__asinl): Likewise.
3605         * math/w_atan2l.c (__atan2l): Likewise.
3606         * math/w_atanhl.c (__atanhl): Likewise.
3607         * math/w_coshl.c (__coshl): Likewise.
3608         * math/w_exp10l.c (__exp10l): Likewise.
3609         * math/w_exp2l.c (__exp2l): Likewise.
3610         * math/w_fmodl.c (__fmodl): Likewise.
3611         * math/w_hypotl.c (__hypotl): Likewise.
3612         * math/w_j0l.c (__j0l, __y0l): Likewise.
3613         * math/w_j1l.c (__j1l, __y1l): Likewise.
3614         * math/w_jnl.c (__jnl, __ynl): Likewise.
3615         * math/w_lgammal.c (__lgammal): Likewise.
3616         * math/w_log10l.c (__log10l): Likewise.
3617         * math/w_log2l.c (__log2l): Likewise.
3618         * math/w_logl.c (__logl): Likewise.
3619         * math/w_powl.c (__powl): Likewise.
3620         * math/w_remainderl.c (__remainderl): Likewise.
3621         * math/w_scalbl.c (sysv_scalbl): Likewise.
3622         * math/w_sinhl.c (__sinhl): Likewise.
3623         * math/w_sqrtl.c (__sqrtl): Likewise.
3624         * math/w_tgammal.c (__tgammal): Likewise.
3625         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3626         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3627         * math/libm-test.inc (acos_test): Add more tests.
3628         (acosh_test): Likewise.
3629         (asin_test): Likewise.
3630         (atanh_test): Likewise.
3631         (exp_test): Likewise.
3632         (exp10_test): Likewise.
3633         (exp2_test): Likewise.
3634         (expm1_test): Likewise.
3635         (lgamma_test): Likewise.
3636         (log_test): Likewise.
3637         (log10_test): Likewise.
3638         (log1p_test): Likewise.
3639         (log2_test): Likewise.
3640         (pow_test): Do not allow some spurious overflow exceptions.
3641         (sqrt_test): Add more tests.
3642         (tgamma_test): Likewise.
3643         (y0_test): Likewise.
3644         (y1_test): Likewise.
3645         (yn_test): Likewise.
3646
3647 2012-03-27  Anton Blanchard  <anton@samba.org>
3648
3649         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3650         MAP_HUGETLB.
3651         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3652         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3653         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3654
3655 2012-03-27  David S. Miller  <davem@davemloft.net>
3656
3657         * conform/Makefile: Run run-conformtest.sh using $(BASH).
3658
3659         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3660         have-as-vis3 check.
3661
3662 2012-03-27  Andreas Jaeger  <aj@suse.de>
3663
3664         * sysdeps/x86_64/elf/configure.in: Moved to ...
3665         * sysdeps/x86_64/configure.in: ... here.
3666         * sysdeps/x86_64/elf/start.S: Moved to ...
3667         * sysdeps/x86_64/start.S: ... here.
3668         * sysdeps/x86_64/elf/configure: Delete.
3669
3670         * sysdeps/x86_64/configure.in: Merge contents from
3671         sysdeps/i386/configure.in (without i686 check).
3672
3673         * sysdeps/i386/elf/Versions: Merge into ...
3674         * sysdeps/i386/Versions: ... this.
3675         * sysdeps/i386/elf/Versions: Delete file.
3676         * sysdeps/i386/elf/start.S: Moved to ...
3677         * sysdeps/i386/start.S: ...here.
3678         * sysdeps/i386/elf/configure.in: Merge into...
3679         * sysdeps/i386/configure.in: ...here.
3680         * sysdeps/i386/elf/configure.in: Delete file.
3681         * sysdeps/i386/elf/configure: Delete file.
3682
3683         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3684         * debug/backtracesyms.c: ... here.
3685         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3686         * debug/backtracesymsfd.c: ... here.
3687         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3688         * sysdeps/generic/ifunc-sel.h: ... here.
3689
3690         * sysdeps/unix/i386/start.c: Delete file.
3691         * sysdeps/unix/sparc/start.c: Delete file.
3692         * sysdeps/unix/start.c: Delete file.
3693
3694         * sysdeps/sh/elf/configure.in: Moved to ...
3695         * sysdeps/sh/configure.in: ... here.
3696         * sysdeps/sh/elf/start.S: Moved to ...
3697         * sysdeps/sh/start.S: ... here.
3698         * sysdeps/sh/elf/configure: Delete file.
3699
3700         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3701         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3702         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3703         * sysdeps/powerpc/powerpc64/entry.h: ... here.
3704         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3705         * sysdeps/powerpc/powerpc64/start.S: here.
3706         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3707         * sysdeps/powerpc/powerpc64/Makefile: ... this.
3708         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3709         * sysdeps/powerpc/powerpc64/configure.in: ... this.
3710         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3711
3712         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3713         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3714         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3715         * sysdeps/powerpc/powerpc32/start.S: ... here.
3716         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3717         * sysdeps/powerpc/powerpc32/configure.in: ... this.
3718         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3719
3720         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3721         * sysdeps/powerpc/ifunc-sel.h: ... here.
3722         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3723         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3724
3725         * sysdeps/sparc/elf/configure.in: Moved to ...
3726         * sysdeps/sparc/configure.in: ... here.
3727         * sysdeps/sparc/elf/configure: Delete file.
3728         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3729         * sysdeps/sparc/sparc32/start.S: ... here.
3730         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3731         * sysdeps/sparc/sparc64/start.S: ... here.
3732         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3733         * sysdeps/sparc/sparc32/Makefile: ... this.
3734         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3735         * sysdeps/sparc/sparc64/Makefile: ... this.
3736
3737         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3738         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3739         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3740         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3741         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3742         * sysdeps/s390/s390-32/setjmp.S: ... here.
3743         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3744         * sysdeps/s390/s390-32/configure.in: ... here.
3745         * sysdeps/s390/s390-32/elf/configure: Delete file.
3746         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3747         * sysdeps/s390/s390-32/start.S: ... here.
3748
3749         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3750         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3751         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3752         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3753         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3754         * sysdeps/s390/s390-64/setjmp.S: ... here.
3755         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3756         * sysdeps/s390/s390-64/configure.in: ... here
3757         * sysdeps/s390/s390-64/elf/configure: Delete file.
3758         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3759         * sysdeps/s390/s390-64/start.S: ... here.
3760         * sysdeps/s390/s390-64/elf/configure: Delete.
3761
3762         * configure.in: Remove support for elf directories in sysdeps.
3763
3764         * configure: Regenerated.
3765         * sysdeps/i386/configure: Regenerated.
3766         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3767         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3768         * sysdeps/s390/s390-32/configure: Regenerated.
3769         * sysdeps/s390/s390-64/configure: Regenerated.
3770         * sysdeps/sh/configure: Regenerated.
3771         * sysdeps/sparc/configure: Regenerated.
3772         * sysdeps/x86_64/configure: Regenerated.
3773
3774 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
3775
3776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3777
3778         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3779         denormal result into account.
3780
3781 2012-03-25  Roland McGrath  <roland@hack.frob.com>
3782
3783         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3784         Reported by Allan McRae <allan@archlinux.org>.
3785
3786 2012-03-23  Jeff Law  <law@redhat.com>
3787
3788         * nss/getnssent.c (__nss_getent): Fix typo.
3789
3790 2012-03-23  David S. Miller  <davem@davemloft.net>
3791
3792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3793
3794 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
3795
3796         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3797         to pad to uint64_t for each field.
3798         (dl_tls_index): Replace unsigned long with uint64_t.
3799
3800 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
3801         Paul Pluzhnikov  <ppluzhnikov@google.com>
3802
3803         [BZ #6528]
3804         * grp/Makefile (otherlibs): Don't set it.
3805         * inet/Makefile (otherlibs): Likewise.
3806         * login/Makefile (otherlibs): Likewise.
3807         * nscd/Makefile (otherlibs): Likewise.
3808         * posix/Makefile (otherlibs): Likewise.
3809         * pwd/Makefile (otherlibs): Likewise.
3810         * rt/Makefile (otherlibs): Likewise.
3811         * sunrpc/Makefile (otherlibs): Likewise.
3812         * nss/Makefile (otherlibs): Likewise.
3813         Add libnss_files to routines and static-only-routines.
3814         ($(objpfx)getent): Remove rule.
3815         * resolv/Makefile: Add libnss_dns and libresolv to routines and
3816         static-only-routines.
3817
3818 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
3819
3820         [BZ #13892]
3821         * math/s_cexp.c: Include <float.h>.
3822         (__cexp): Handle exp result overflowing not necessarily
3823         overflowing both real and imaginary parts of result.
3824         * math/s_cexpf.c: Likewise.
3825         * math/s_cexpl.c: Likewise.
3826         * math/libm-test.inc (cexp_test): Add more tests.
3827         * sysdeps/i386/fpu/libm-test-ulps: Update.
3828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3829
3830 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3831
3832         * include/link.h (ELFW): New macro.
3833         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3834         Replace ELF64_R_TYPE with ELFW(R_TYPE).
3835
3836 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3837
3838         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3839         with uint64_t.
3840
3841 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3842
3843         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3844         declaration.
3845         (struct La_x32_retval): Likewise.
3846
3847 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3848
3849         * sysdeps/x86_64/preconfigure.in: New file.
3850         * sysdeps/x86_64/preconfigure: New generated file.
3851
3852 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
3853
3854         [BZ #13824]
3855         * math/e_exp2l.c: Include <float.h>.
3856         (__ieee754_exp2l): Handle overflow and underflow cases
3857         separately.  Only pass fractional part of argument to
3858         __ieee754_expl.
3859         * math/libm-test.inc (exp2_test): Add more tests.
3860
3861         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3862         negating x to take absolute value.
3863         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3864         Likewise.
3865         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3866         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3867         Likewise.
3868         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3869         computing low part if x was negated.
3870         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3871
3872 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3873
3874         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3875         la_x32_gnu_pltexit.
3876         (pltexit): Cast int_retval to ptrdiff_t.
3877         * elf/tst-auditmod3b.c: Likewise.
3878         * elf/tst-auditmod4b.c: Likewise.
3879         * elf/tst-auditmod5b.c: Likewise.
3880         * elf/tst-auditmod6b.c: Likewise.
3881         * elf/tst-auditmod6c.c: Likewise.
3882         * elf/tst-auditmod7b.c: Likewise.
3883
3884         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3885         and x32_gnu_pltexit.
3886
3887         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3888         __ELF_NATIVE_CLASS.
3889         (La_x32_regs): New macro.
3890         (La_x32_retval): Likewise.
3891         (la_x32_gnu_pltenter): New function prototype.
3892         (la_x32_gnu_pltexit): Likewise.
3893
3894 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
3895
3896         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3897         exponent.
3898
3899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3900
3901         * configure.in (libc_cv_cc_nofma): Check for option to disable
3902         generation of FMA instructions.
3903         * configure: Regenerate.
3904         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3905         * sysdeps/ieee754/dbl-64/Makefile: New file.
3906         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3907         Remove brandred-fma4.
3908         (CFLAGS-brandred-fma4.c): Remove.
3909         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3910         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3911         define.
3912         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3913         define.
3914
3915 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3916
3917         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3918         LLONG_MAX != LONG_MAX.
3919         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3920         (_fitoa_word): Likewise.
3921         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3922         LLONG_MAX != LONG_MAX.
3923         * stdio-common/_itowa.h: Include <_itoa.h>.
3924         (_itowa_word): Use _ITOA_WORD_TYPE on value.
3925         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
3926         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
3927         only if not defined.
3928         (_ITOA_WORD_TYPE): Likewise.
3929         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3930         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3931
3932 2012-03-21  David S. Miller  <davem@davemloft.net>
3933
3934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3935
3936 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3937
3938         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3939         of x86_64 when setting libc_cv_slibdir, libdir and
3940         libc_cv_localedir.
3941         * sysdeps/unix/sysv/linux/configure: Regenerated.
3942
3943 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3944
3945         * manual/lang.texi (Old Varargs): Remove section.
3946         (How Variadic): Update menu.
3947         (va_start): Do not mention varargs.h.
3948
3949 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3950             Joseph Myers  <joseph@codesourcery.com>
3951
3952         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3953         link test.
3954         * configure: Regenerated.
3955
3956 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3957
3958         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3959         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3960         conformtest.pl
3961
3962 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3963
3964         * NOTES: Remove.
3965         * Makefile (files-for-dist): Remove NOTES.
3966         (NOTES): Remove rule.
3967         * README: Don't refer to NOTES.
3968         * manual/creature.texi: Don't include macros.texi.
3969         * manual/intro.texi (creature.texi): Remove comment referring to
3970         NOTES.
3971
3972         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3973         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3974         * configure: Regenerated.
3975         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3976         LIBC_TRY_CC_OPTION.
3977         (libc_cv_as_i686): Likewise.
3978         (libc_cv_cc_avx): Likewise.
3979         (libc_cv_cc_sse2avx): Likewise.
3980         (libc_cv_cc_fma4): Likewise.
3981         (libc_cv_cc_novzeroupper): Likewise.
3982         * sysdeps/i386/configure: Regenerated.
3983
3984         [BZ #13883]
3985         * sysdeps/i386/fpu/s_cexp.S: Remove.
3986         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3987         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3988         * math/libm-test.inc (cexp_test): Add more tests.
3989         * sysdeps/i386/fpu/libm-test-ulps: Update.
3990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3991
3992 2012-03-21  Allan McRae  <allan@archlinux.org>
3993
3994         * timezone/Makefile: Do not install iso3166.tab and zone.tab
3995
3996 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3997
3998         [BZ #13871]
3999         * math/w_exp2.c: Do not include <float.h>.
4000         (o_threshold, u_threshold): Remove.
4001         (__exp2): Calculate result before checking finiteness and calling
4002         __kernel_standard.
4003         * math/w_exp2f.c: Likewise.
4004         * math/w_exp2l.c: Likewise.
4005         * math/libm-test.inc (exp2_test): Require overflow exception for
4006         1e6 input.
4007
4008         [BZ #3866]
4009         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4010         range of signed 64-bit integers before using fistpll.  Remove
4011         checks for whether integers fit in mantissa bits.
4012         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4013         the range of signed 32-bit integers before using fistpl.  Remove
4014         checks for whether integers fit in mantissa bits.
4015         * sysdeps/i386/fpu/e_powl.S (p64): New object.
4016         (__ieee754_powl): Test for y outside the range of signed 64-bit
4017         integers before using fistpll.  Reduce 64-bit values to 63-bit
4018         ones as needed.
4019         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4020         divide-by-zero is raised for zero to large negative powers.
4021         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4022         (__ieee754_powl): Test for y outside the range of signed 64-bit
4023         integers before using fistpll.  Reduce 64-bit values to 63-bit
4024         ones as needed.
4025         * math/libm-test.inc (pow_test): Add more tests.
4026
4027 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
4028
4029         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4030         <stdio-common/_itoa.h>.
4031         * debug/segfault.c: Likewise.
4032         * elf/dl-cache.c: Likewise.
4033         * elf/dl-minimal.c: Likewise.
4034         * elf/dl-misc.c: Likewise.
4035         * elf/dl-sysdep.c: Likewise.
4036         * elf/dl-version.c: Likewise.
4037         * elf/rtld.c: Likewise.
4038         * hurd/hurdsock.c: Likewise.
4039         * hurd/lookup-retry.c: Likewise.
4040         * malloc/malloc.c: Likewise.
4041         * malloc/mtrace.c: Likewise.
4042         * nscd/nscd_getgr_r.c: Likewise.
4043         * nscd/nscd_getpw_r.c: Likewise.
4044         * nscd/nscd_getserv_r.c: Likewise.
4045         * posix/getopt_init.c: Likewise.
4046         * posix/wordexp.c: Likewise.
4047         * stdio-common/_itoa.c: Likewise.
4048         * stdio-common/printf_fphex.c: Likewise.
4049         * stdio-common/vfprintf.c: Likewise.
4050         * string/_strerror.c: Likewise.
4051         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4052         * sysdeps/i386/i686/hp-timing.h: Likewise.
4053         * sysdeps/mach/_strerror.c: Likewise.
4054         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4055         * sysdeps/mach/hurd/sethostid.c: Likewise.
4056         * sysdeps/mach/hurd/xmknodat.c: Likewise.
4057         * sysdeps/mach/xpg-strerror.c: Likewise.
4058         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4059         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4060         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4061         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4062         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4063         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4064         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4065         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4066         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4067         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4068         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4069         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4070         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4071         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4072         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4073         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4074         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4075         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4076         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4077         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4078         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4079
4080         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4081
4082         * stdio-common/_itoa.h: Moved to ...
4083         * sysdeps/generic/_itoa.h: Here.
4084
4085         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4086
4087         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4088         instead of "_itoa.h" and "_itowa.h".
4089         * stdio-common/vfprintf.: Likewise.
4090
4091 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
4092
4093         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4094         <bits/wordsize.h>.
4095         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4096         (__signbit): Likwise.
4097         (llrintf): Likwise.
4098         (llrint): Likwise.
4099
4100 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
4101
4102         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4103         __WORDSIZE != 64.
4104
4105 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
4106
4107         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4108         OVERFLOW_EXCEPTION_OK.
4109         * math/libm-test.inc ("Philosophy"): Update comment about
4110         exception testing.
4111         (OVERFLOW_EXCEPTION): Define.
4112         (OVERFLOW_EXCEPTION_OK): Likewise.
4113         (INVALID_EXCEPTION_OK): Renumber.
4114         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4115         (IGNORE_ZERO_INF_SIGN): Likewise.
4116         (test_exceptions): Handle FE_OVERFLOW.
4117         (exp10_test): Expect overflow exceptions.
4118         (exp2_test): Likewise.
4119         (expm1_test): Likewise.
4120         (nextafter_test): Likewise.
4121         (pow_test): Likewise.
4122         (scalbn_test): Likewise.
4123         (scalbln_test): Likewise.
4124
4125 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4126
4127         * sysdeps/x86_64/bits/atomic.h
4128         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4129         64bit integer.
4130         (atomic_exchange_acq): Likewise.
4131         (__arch_exchange_and_add_body): Likewise.
4132         (__arch_add_body): Likewise.
4133         (atomic_add_negative): Likewise.
4134         (atomic_add_zero): Likewise.
4135
4136 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4137
4138         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4139         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4140
4141 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4142
4143         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4144         Check __x86_64__ instead of __WORDSIZE.
4145
4146 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4147
4148         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4149
4150 2012-03-19  David S. Miller  <davem@davemloft.net>
4151
4152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4153
4154         * sysdeps/sparc/fpu/fenv_private.h: New file.
4155         * sysdeps/sparc/fpu/math_private.h: Use it.
4156         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4157         Remove.
4158         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4159         (libc_feholdexcept_setroundl): Remove.
4160         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4161         Remove.
4162         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4163         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4164
4165 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4166
4167         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4168         int64_t instead of long int.
4169         (INSERT_WORDS64): Likwise.
4170
4171 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4172
4173         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4174         _Unwind_GetCFA return to _Unwind_Ptr first.
4175
4176 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
4177
4178         [BZ #13629]
4179         * math/s_clog.c: Include <float.h>.
4180         (__clog): Scale large or subnormal inputs.
4181         * math/s_clogf.c: Likewise.
4182         * math/s_clogl.c: Likewise.
4183         * math/s_clog10.c: Include <float.h>.
4184         (M_LOG10_2): Define.
4185         (__clog10): Scale large or subnormal inputs.
4186         * math/s_clog10f.c: Likewise.
4187         * math/s_clog10l.c: Likewise.
4188         * math/libm-test.inc (clog_test): Add more tests.
4189         (clog10_test): Likewise.
4190         * sysdeps/i386/fpu/libm-test-ulps: Update.
4191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4192
4193         [BZ #11451]
4194         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4195         x and y.
4196         * math/libm-test.inc (atan2_test): Add another test.
4197
4198         * Makerules (common-objdir-compile): Remove.
4199         * sysdeps/unix/Makefile (config-generated): Do not add
4200         $(unix-generated) to variable.
4201         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4202         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4203         Remove rule.
4204         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4205         Likewise.
4206         [generic bits/local_lim.h] (before-compile): Do not append to
4207         variable.
4208         [generic bits/local_lim.h] (common-generated): Likewise.
4209         [generic sys/param.h] (before-compile): Do not append to variable.
4210         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4211         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4212         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4213         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4214         include.
4215         [generic sys/param.h] (sys/param.h-includes): Remove variable.
4216         [generic sys/param.h] (sys/param.h-includes): Remove rule.
4217         [generic sys/param.h] ($(addprefix
4218         $(common-objpfx),$(sys/param.h-includes))): Likewise.
4219         [generic sys/param.h] (common-generated): Do not append to
4220         variable.
4221         [generic sys/param.h] (sysdep_headers): Likewise.
4222         [generic bits/errno.h] (before-compile): Do not append to
4223         variable.
4224         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4225         rule.
4226         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4227         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4228         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4229         [generic bits/errno.h] (common-generated): Do not append to
4230         variable.
4231         [generic bits/ioctls.h] (before-compile): Do not append to
4232         variable.
4233         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4234         rule.
4235         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4236         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4237         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4238         rule.
4239         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4240         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4241         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4242         [generic bits/ioctls.h] (common-generated): Do not append to
4243         variable.
4244         [generic sys/syscall.h] (syscall.h): Remove variable.
4245         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4246         rule.
4247         [generic sys/syscall.h] (before-compile): Do not append to
4248         variable.
4249         [generic sys/syscall.h] (common-generated): Likewise.
4250         * sysdeps/unix/errnos-tmpl.c: Remove file.
4251         * sysdeps/unix/errnos.awk: Likewise.
4252         * sysdeps/unix/ioctls-tmpl.c: Likewise.
4253         * sysdeps/unix/ioctls.awk: Likewise.
4254         * sysdeps/unix/mk-local_lim.c: Likewise.
4255         * sysdeps/unix/snarf-ioctls: Likewise.
4256
4257 2012-03-19  Richard Henderson  <rth@twiddle.net>
4258
4259         * sysdeps/i386/fpu/fenv_private.h: New file.
4260         * sysdeps/i386/fpu/math_private.h: Use it.
4261         (math_opt_barrier, math_force_eval): Remove.
4262         (libc_feholdexcept_setround_53bit): Remove.
4263         (libc_feupdateenv_53bit): Remove.
4264         * sysdeps/x86_64/fpu/math_private.h: Likewise.
4265         (math_opt_barrier, math_force_eval): Remove.
4266         (libc_feholdexcept): Remove.
4267         (libc_feholdexcept_setround): Remove.
4268         (libc_fetestexcept, libc_fesetenv): Remove.
4269         (libc_feupdateenv_test): Remove.
4270         (libc_feupdateenv, libc_feholdsetround): Remove.
4271         (libc_feresetround): Remove.
4272
4273         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4274         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4275
4276         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4277         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4278         (libc_feupdateenv_testl): New.
4279         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4280         (libc_feupdateenv_testf): New.
4281         (libc_feupdateenv): Use libc_feupdateenv_test.
4282         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4283         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4284
4285         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4286         (libc_feholdsetroundf, libc_feholdsetroundl): New.
4287         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4288         (libc_feresetround_noex): New.
4289         (libc_feresetround_noexf): New.
4290         (libc_feresetround_noexl): New.
4291         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4292         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4293         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4294         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4295         SET_RESTORE_ROUND.
4296         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4297         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4298         (__cos): Likewise.
4299         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4300         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4301         SET_RESTORE_ROUND_NOEX.
4302         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4303         SET_RESTORE_ROUND_NOEXF.
4304         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4305         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4306         (libc_feholdsetroundf): New.
4307         (libc_feresetround, libc_feresetroundf): New.
4308
4309         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4310         (libc_feholdexcept_setround_53bit): Convert from macro to function.
4311         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
4312
4313         * sysdeps/generic/math_private.h: Include <fenv.h>.
4314         (default_libc_feholdexcept): New.
4315         (default_libc_feholdexcept_setround): New.
4316         (default_libc_fesetenv, default_libc_feupdateenv): New.
4317         (libc_feholdexcept): Only define if undefined.
4318         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4319         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4320         (libc_feholdexcept_setroundl): Likewise.
4321         (libc_feholdexcept_setround_53bit): Likewise.
4322         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4323         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4324         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4325         (libc_feupdateenv_53bit): Likewise.
4326         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4327         (libc_feholdexcept): Convert from macro to inline function.
4328         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4329         (libc_fesetenv, libc_feupdateenv): Likewise.
4330
4331         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4332         not previously defined.
4333         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4334         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4335         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4336         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4337         * sysdeps/ieee754/flt-32/math_private.h: New file.
4338         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4339         math_private.h below SET_FLOAT_WORD.
4340         (__isnan, __isinf_ns, __finite): Remove.
4341         (__isnanf, __isinf_nsf, __finitef): Remove.
4342
4343 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
4344
4345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4346
4347 2012-03-17  David S. Miller  <davem@davemloft.net>
4348
4349         [BZ #6471]
4350         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4351         for 2.16.
4352
4353 2012-03-16  David S. Miller  <davem@davemloft.net>
4354
4355         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4356         warnings.
4357
4358         [BZ #6471]
4359         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4360         properly.
4361         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4362         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4363         sysdep_routines when subdir is sysvipc.
4364         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4365         __getshmlba helper.
4366
4367         * sysdeps/sparc/fpu/libm-test/ulps: Update.
4368
4369 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4370
4371         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4372         [__LP64__].
4373
4374 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4375
4376         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4377         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4378         (__lround): Renamed to ...
4379         (__llround): This.  Replace long int with long long int.
4380         Define lround functions as aliases of llround functions.
4381         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4382
4383 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4384
4385         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4386         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
4387         adresses to uintptr_t.  Replace "long int" and "unsigned long
4388         int" with "greg_t" on va_arg.
4389
4390 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4391
4392         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4393         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4394
4395         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4396         Move e_machine check before EI_CLASS check.  Handle x32
4397         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4398         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4399         SKIP_EM_IA_64 and include
4400         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4401
4402         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4403         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4404         (add_system_dir): New macro.
4405
4406         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4407         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4408
4409 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
4410
4411         [BZ #2551]
4412         [BZ #2552]
4413         [BZ #2553]
4414         [BZ #2554]
4415         [BZ #2562]
4416         [BZ #2563]
4417         [BZ #2565]
4418         [BZ #2566]
4419         [BZ #2576]
4420         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4421         (y0): Likewise.
4422         * math/w_j0f.c (j0f): Likewise.
4423         (y0f): Likewise.
4424         * math/w_j0l.c (__j0l): Likewise.
4425         (__y0l): Likewise.
4426         * math/w_j1.c (j1): Likewise.
4427         (y1): Likewise.
4428         * math/w_j1f.c (j1f): Likewise.
4429         (y1f): Likewise.
4430         * math/w_j1l.c (__j1l): Likewise.
4431         (__y1l): Likewise.
4432         * math/w_jn.c (jn): Likewise.
4433         (yn): Likewise.
4434         * math/w_jnf.c (jnf): Likewise.
4435         (ynf): Likewise.
4436         * math/w_jnl.c (__jnl): Likewise.
4437         (__ynl): Likewise.
4438         * math/libm-test.inc (j0_test): Add more tests.
4439         (j1_test): Likewise.
4440         (jn_test): Likewise.  Add trailing semicolon to existing test.
4441         (y0_test): Likewise.
4442         (y1_test): Likewise.
4443         * sysdeps/i386/fpu/libm-test-ulps: Update.
4444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4445
4446         [BZ #13851]
4447         [BZ #13854]
4448         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4449         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4450         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4451         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4452         (__tanl): Set errno for infinite argument.
4453         * sysdeps/i386/fpu/mptan.c: Remove.
4454         * sysdeps/i386/fpu/s_tan.S: Likewise.
4455         * sysdeps/i386/fpu/s_tanl.S: Likewise.
4456         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4457         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4458         * math/libm-test.inc (tan_test): Add more tests and enable more
4459         tests for double and long double.
4460         * sysdeps/i386/fpu/libm-test-ulps: Update.
4461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4462
4463 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4464
4465         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4466         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4467
4468 2012-03-16  Roland McGrath  <roland@hack.frob.com>
4469
4470         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4471         * configure.in: Use it for both main tree and add-ons.
4472         * configure: Regenerated.
4473
4474 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4475
4476         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4477
4478 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
4479
4480         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4481         in comment.
4482
4483         [BZ #13851]
4484         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4485         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4486         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4487         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4488         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4489         infinite argument.
4490         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4491         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4492         != 0 for prec == 2.
4493         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4494         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4495         * sysdeps/i386/fpu/s_cosl.S: Likewise.
4496         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4497         * sysdeps/i386/fpu/s_sinl.S: Likewise.
4498         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4499         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4500         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4501         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4502         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4503         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4504         * math/libm-test.inc (cos_test): Add more tests and enable more
4505         tests for long double.
4506         (sin_test): Likewise.
4507         (sincos_test): Likewise.
4508         * sysdeps/i386/fpu/libm-test-ulps: Update.
4509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4510
4511 2012-03-16  David S. Miller  <davem@davemloft.net>
4512
4513         * sysdeps/sparc/fpu/math_private.h: New file.
4514
4515 2012-03-15  David S. Miller  <davem@davemloft.net>
4516
4517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4518         file.
4519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4521         file.
4522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4527         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4528         sysdep routines.
4529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4530
4531         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4532         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4533
4534         * sysdeps/sparc/sparc-ifunc.h: New file.
4535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4536         sparc-ifunc.h
4537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4539         Likewise.
4540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4541         Likewise.
4542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4546         Likewise.
4547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4552         Likewise.
4553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4554         Likewise.
4555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4559         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4560         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4561         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4562         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4563         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4564         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4569         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4570         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4571         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4572         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4573         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4574         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4575         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4576         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4577         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4578         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4579
4580 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
4581
4582         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4583         scaling.
4584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4585
4586 2012-03-15  Andreas Jaeger  <aj@suse.de>
4587
4588         [BZ #13852]
4589         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4590         ieee754/flt-32 implementation for sin, cos and sincos.
4591         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4592         * sysdeps/i386/fpu/s_cosf.S: Likewise.
4593         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4594         * sysdeps/i386/fpu/s_sinf.S: Likewise.
4595         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4596         ieee754/flt-32 implementation for tan.
4597
4598         * math/libm-test.inc (cos_test): Enable some large input tests for
4599         float as well
4600         (sin_test): Likewise.
4601         (sincos_test): Likewise.
4602         (tan_test): Add tests for large input.
4603
4604         * sysdeps/i386/fpu/libm-test-ulps: Update.
4605
4606 2012-03-15  Andreas Jaeger  <aj@suse.de>
4607
4608         [BZ #13658]
4609         * math/libm-test.inc (cos_test): Add more test cases.
4610         (sin_test): Likewise.
4611         (sincos_test): Likewise.
4612
4613 2012-03-15  Andreas Jaeger  <aj@suse.de>
4614
4615         [BZ #13837]
4616         * math/libm-test.inc (cos_test): Add a test case for large input
4617         value.
4618         (sin_test): Likewise.
4619         (sincos_test): Likewise.
4620
4621 2012-03-15  Andreas Jaeger  <aj@suse.de>,
4622         Joseph Myers  <joseph@codesourcery.com>
4623
4624         [BZ #13658]
4625         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4626         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4627         * sysdeps/i386/fpu/branred.c: Likewise.
4628         * sysdeps/i386/fpu/dosincos.c: Likewise.
4629         * sysdeps/i386/fpu/mpa.c: Likewise.
4630         * sysdeps/i386/fpu/s_cos.S: Likewise.
4631         * sysdeps/i386/fpu/s_sin.S: Likewise.
4632         * sysdeps/i386/fpu/s_sincos.S: Likewise.
4633         * sysdeps/i386/fpu/sincos32.c: Likewise.
4634
4635         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4636         Define.
4637         (libc_feupdateenv_53bit): Define.
4638         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4639         Define.
4640         (libc_feupdateenv_53bit): Define.
4641
4642         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4643         53 bit (without extend i386 double precision).
4644
4645         * math/libm-test.inc (sincos_test): Add tests for large input.
4646         (sin): Likewise.
4647         (cos): Likewise.
4648
4649         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4650
4651 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
4652
4653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4654
4655 2012-03-15  David S. Miller  <davem@davemloft.net>
4656
4657         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4658         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4659         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4660         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4667         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4668         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4669         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4670         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4671         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4673         file.
4674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4676         file.
4677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4679         file.
4680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4682         file.
4683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4684         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4685         fmin/fmax sysdep routines.
4686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4687
4688 2012-03-14  David S. Miller  <davem@davemloft.net>
4689
4690         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4691         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4693         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4694         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4695         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4696         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4697         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4698         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4699         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4700         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4701         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4702         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4703         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4704         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4705         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4706         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4707         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4708         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4709         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4710         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4711         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4712         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4713         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4714         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4715         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4716         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4717         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4718         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4719         routines.
4720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4721         file.
4722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4724         file.
4725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4727         file.
4728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4730         file.
4731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4733         file.
4734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4736         file.
4737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4738         file.
4739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4740         file.
4741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4742         file.
4743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4744         New file.
4745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4746         file.
4747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4748         file.
4749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4751         file.
4752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4754         file.
4755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4757         file.
4758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4760         VIS3 routines.
4761
4762         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4763         New file.
4764
4765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4766
4767         * sysdeps/sparc/configure.in: New file.
4768         * sysdeps/sparc/configure: Generate.
4769         * configure.in (libc_cv_sparc_as_vis3): Substitute.
4770         * configure: Regenerate.
4771         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4772         * config.make.in (have-as-vis3): New.
4773         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4774         available use -Av9d instead of -Av9a.
4775         * sysdeps/sparc/sparc64/Makefile: Likewise.
4776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4778         New file.
4779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4780         file.
4781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4782         New file.
4783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4784         file.
4785         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4786         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4787         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4788         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4789         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4790
4791         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4792         fzeros/fnegs to load 0x80000000 into a float register instead of
4793         using the stack.
4794         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4795
4796 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
4797
4798         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4799         bits/syscall.h.
4800         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4801         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4802         ($(inst_includedir)/bits/syscall.h): Remove rule.
4803         ($(objpfx)bits/syscall.d): Include instead of
4804         $(objpfx)syscall-list.d.
4805         (generated): Change syscall-list.h and syscall-list.d to
4806         bits/syscall.h and bits/syscall.d.
4807
4808 2012-03-14  Roland McGrath  <roland@hack.frob.com>
4809
4810         [BZ #13846]
4811         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4812
4813 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
4814
4815         [BZ #13841]
4816         * math/s_csqrt.c: Include <float.h>.
4817         (__csqrt): Scale large or subnormal inputs.
4818         * math/s_csqrtf.c: Likewise.
4819         * math/s_csqrtl.c: Likewise.
4820         * math/libm-test.inc (csqrt_test): Add more tests.
4821         * sysdeps/i386/fpu/libm-test-ulps: Update.
4822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4823
4824         [BZ #13840]
4825         * math/libm-test.inc (hypot_test): Add more tests.
4826
4827 2012-03-13  David S. Miller  <davem@davemloft.net>
4828
4829         [BZ #13840]
4830         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4831         double-precision for the calculation instead of scaling.
4832
4833 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
4834
4835         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4836         manipulate bits before adding and subtracting TWO52[sx].
4837         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4838         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4839         Likewise.
4840         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4841
4842 2012-03-13  David S. Miller  <davem@davemloft.net>
4843
4844         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4845         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4846         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4847         rtld-global-offsets.h
4848         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4849
4850         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4851         large parameters.
4852
4853         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4854
4855         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4856         'err' in the ifdef scope in which it is actually used.
4857
4858         * nss/nss_db/db-init.c: Include string.h
4859
4860 2012-03-12  David S. Miller  <davem@davemloft.net>
4861
4862         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4863         masking out of the most significant byte of random value used.
4864         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4865         Fix coding style in previous change.
4866
4867         * sysdeps/unix/sysv/linux/kernel-features.h
4868         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4869         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4870         expression.
4871         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4872         later.
4873
4874 2012-03-11  David S. Miller  <davem@davemloft.net>
4875
4876         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4877         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4878         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4879         for 'resultvar' otherwise things get truncated on 64-bit.
4880
4881         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4882         Fix masking out of the most significant byte of random value used.
4883
4884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4885
4886 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
4887
4888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4889
4890 2012-03-09  David S. Miller  <davem@davemloft.net>
4891
4892         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4893         variables with appropriate CPP guards.
4894         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4895         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
4896         on resulting framesize and the management of the outregs buffer for pltexit.
4897         Preserve floating point return values across _dl_call_pltexit call.
4898         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4899         framesize and the management of the outregs buffer for pltexit.
4900         Preserve floating point return values across _dl_call_pltexit
4901         call.
4902         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4903         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4904         (print_exit): Fix format string for return register value.
4905
4906 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
4907
4908         * sunrpc/Makefile (others): Add rpcgen.
4909         ($(objpfx)rpcgen): Remove special build rule and dependency on
4910         libc.
4911         * sunrpc/rpcgen.c: New file.
4912
4913 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
4914
4915         [BZ #13673]
4916         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4917         * stdio-common/bug-vfprintf-nargs.c: Likewise.
4918         * sysdeps/i386/crti.S: Likewise.
4919         * sysdeps/i386/crtn.S: Likewise.
4920         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4921         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4922         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4923         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4924         * sysdeps/sh/crti.S: Likewise.
4925         * sysdeps/sh/crtn.S: Likewise.
4926         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4927
4928         [BZ #13673]
4929         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4930         with URL.
4931         * locale/programs/locfile-kw.gperf: Likewise.
4932         * locale/programs/charmap-kw.h: Regenerated.
4933         * locale/programs/locfile-kw.h: Likewise.
4934
4935         [BZ #13673]
4936         * intl/plural.y: Replace FSF snail mail address with URL.
4937         * intl/plural.c: Regenerated.
4938
4939 2012-03-09  Richard Henderson  <rth@twiddle.net>
4940
4941         * include/math_private.h: Remove file.
4942         * math/math_private.h: Move file ...
4943         * sysdeps/generic/math_private.h: ... here.
4944
4945         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4946         * sysdeps/powerpc/fpu/math_private.h: Likewise.
4947         * sysdeps/x86_64/fpu/math_private.h: Likewise.
4948
4949         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4950         and <math_private.h>.
4951         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4952         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4953         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4954         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4955         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4956         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4957         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4958         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4959         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4960         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4961         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4962         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4963         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4964         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4965         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4966         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4967         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4968         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4969         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4970         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4971         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4972         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4973         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4974         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4975         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4976         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4977         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4978         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4979         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4980         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4981         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4982         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4983         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4984         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4985         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4986         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4987         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4988         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4989         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4990         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4991         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4992         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4993         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4994         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4995         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4996         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4997         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4998         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4999         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5000         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5001         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5002         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5003         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5004         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5005         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5006         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5007         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5008         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5009         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5010         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5011         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5012         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5013         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5014         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5015         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5016         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5017         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5018         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5019         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5020         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5021         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5022         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5023         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5024         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5025         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5026         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5027         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5028         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5029         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5030         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5031         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5032         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5033         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5034         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5035         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5036         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5037         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5038         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5039         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5040         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5041         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5042         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5043         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5044         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5045         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5046         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5047         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5048         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5049         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5050         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5051         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5052         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5053         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5054         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5055         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5056         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5057         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5058         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5059         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5060         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5061         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5062         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5063         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5064         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5065         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5066         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5067         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5068         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5069         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5070         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5071         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5072         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5073         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5074         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5075         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5076         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5077         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5078         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5079         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5080         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5081         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5082         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5083         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5084         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5085         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5086         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5087         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5088         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5089         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5090         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5091         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5092         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5093         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5094         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5095         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5096         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5097         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5098         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5099         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5100         * sysdeps/ieee754/k_standard.c: Likewise.
5101         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5102         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5103         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5104         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5105         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5106         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5107         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5108         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5109         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5110         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5111         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5112         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5113         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5114         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5115         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5116         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5117         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5118         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5119         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5120         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5121         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5122         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5123         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5124         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5125         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5126         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5127         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5128         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5129         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5130         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5131         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5132         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5133         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5134         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5135         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5136         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5137         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5138         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5139         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5140         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5141         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5142         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5143         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5144         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5145         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5146         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5147         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5148         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5149         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5150         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5151         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5152         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5153         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5154         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5155         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5156         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5157         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5158         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5159         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5160         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5161         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5162         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5163         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5164         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5165         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5166         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5167         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5168         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5169         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5170         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5171         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5172         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5173         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5174         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5175         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5176         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5177         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5178         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5179         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5180         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5181         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5182         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5183         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5184         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5185         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5186         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5187         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5188         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5189         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5190         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5191         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5192         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5193         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5194         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5195         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5196         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5197         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5198         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5199         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5200         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5201         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5202         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5203         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5204         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5205         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5206         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5207         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5208         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5209         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5210         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5211         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5212         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5213         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5214         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5215         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5216         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5217         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5218         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5219         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5220         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5221         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5222         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5223         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5224         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5225         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5226         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5227         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5228         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5229         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5230         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5231         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5232         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5233         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5234         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5235         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5236         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5237         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5238         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5239         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5240         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5241         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5242         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5243         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5244         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5245         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5246         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5247         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5248         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5249         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5250         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5251         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5252         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5253         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5254         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5255         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5256         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5257         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5258         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5259         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5260         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5261         * sysdeps/ieee754/s_lib_version.c: Likewise.
5262         * sysdeps/ieee754/s_matherr.c: Likewise.
5263         * sysdeps/ieee754/s_signgam.c: Likewise.
5264         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5265         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5266         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5267         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5268         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5269         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5270         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5271         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5272         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5273         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5274         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5275         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5276         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5277         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5278         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5279         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5280         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5281         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5282         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5283         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5284         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5285
5286 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
5287
5288         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5289         * sunrpc/rpc_main.c: Likewise.
5290         * sunrpc/rpc_svcout.c: Likewise.
5291
5292 2012-03-09  David S. Miller  <davem@davemloft.net>
5293
5294         * include/math_private.h: New file.
5295
5296 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
5297
5298         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5299         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5300         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5301         from <bits/socket_type.h>.
5302         (enum __socket_type): Don't define here.
5303         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5304         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5305         bits/socket_type.h.
5306
5307         [BZ #13566]
5308         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5309         checking __USE_GNU.
5310
5311         * Makerules ($(inst_includedir)/%.h): New rule.
5312         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5313         (install-others): Remove variable setting.
5314         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5315
5316 2012-03-08  Richard Henderson  <rth@twiddle.net>
5317
5318         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5319         from macro to inline function; merge with the
5320         !__LIBC_INTERNAL_MATH_INLINES version.
5321         (__ieee754_sqrtf): Likewise.
5322
5323         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5324         to inline function.
5325         (__rintf, __floor, __floorf): Likewise.
5326
5327         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5328         macro to inline function.
5329         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5330
5331         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5332         not <math/math_private.h>.
5333
5334 2012-03-08  David S. Miller  <davem@davemloft.net>
5335
5336         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5337         copyright year.
5338         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5339
5340 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
5341
5342         * resolv/gai_misc.c (handle_requests): Fix struct timespec
5343         normalization.
5344         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5345         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5346
5347 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
5348
5349         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
5350         be defined individually, they must be defined as a block.  Define
5351         S for printing a string instead of hidint the different by using a
5352         macro for adding the 'l'.
5353         * stdio-common/tst-fphex-wide.c: Adjust.
5354
5355 2012-03-07  Marek Polacek  <polacek@redhat.com>
5356
5357         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5358
5359 2012-03-08  Marek Polacek  <polacek@redhat.com>
5360
5361         [BZ #13806]
5362         * stdio-common/Makefile (tests): Add tst-fphex-wide.
5363         * stdio-common/tst-fphex.c: Define a few macros to make the
5364         test reusable.  Use them.
5365         * stdio-common/tst-fphex-wide.c: New file.
5366
5367 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
5368
5369         [BZ #6911]
5370         * manual/macros.texi (gnusystems): New macro.
5371         (nongnusystems): Likewise.
5372         (gnulinuxhurdsystems): Likewise.
5373         (gnuhurdsystems): Likewise..
5374         (gnulinuxsystems): Likewise.
5375         * manual/charset.texi: Use new macros or @theglibc{} to refer to
5376         variants of the GNU system, not "GNU system".
5377         * manual/conf.texi: Likewise.
5378         * manual/errno.texi: Likewise.  Update example of errno macro
5379         expansion.
5380         * manual/filesys.texi: Likewise.
5381         (getumask): Document as specific to GNU/Hurd.
5382         * manual/install.texi: Likewise.  Reword some references to
5383         GNU/Linux.
5384         * manual/intro.texi: Likewise.
5385         * manual/io.texi: Likewise.
5386         (File Name Portability): Detail which constraints are inapplicable
5387         to all GNU systems and which are only inapplicable to GNU/Hurd.
5388         * manual/job.texi: Likewise.
5389         * manual/llio.texi: Likewise.
5390         (O_NOCTTY): Document as present on GNU/Linux.
5391         * manual/maint.texi: Likewise.
5392         * manual/memory.texi: Likewise.
5393         * manual/pattern.texi: Likewise.
5394         * manual/pipe.texi: Likewise.
5395         * manual/process.texi: Likewise.
5396         * manual/resource.texi: Likewise.
5397         (RUSAGE_CHILDREN): Remove statement about specifying a particular
5398         child on GNU/Hurd.
5399         * manual/setjmp.texi: Likewise.
5400         * manual/signal.texi: Likewise.
5401         * manual/startup.texi: Likewise.
5402         * manual/stdio.texi: Likewise.
5403         * manual/terminal.texi: Likewise.
5404         (ONLCR): Document as POSIX.
5405         (OXTABS): Document availability on GNU/Linux as XTABS.
5406         (ONOEOT): Document availability separately from other bits.
5407         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5408         * manual/time.texi: Likewise.
5409         * manual/users.texi: Likewise.
5410         * INSTALL: Regenerated.
5411         * sysdeps/gnu/errlist.c: Regenerated.
5412
5413         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5414         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5415         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
5416         puts.
5417         * configure: Regenerated.
5418
5419 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
5420
5421         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5422         default includes instead of AC_HEADER_CHECK.
5423         * sysdeps/i386/configure: Regenerated.
5424
5425         [BZ #10716]
5426         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5427         * math/s_cacoshf.c (__cacoshf): Likewise.
5428         * math/s_cacoshl.c (__cacoshl): Likewise.
5429         * math/s_casinh.c (__casinh): Set signs of result from argument.
5430         * math/s_casinhf.c (__casinhf): Likewise.
5431         * math/s_casinhl.c (__casinhl): Likewise.
5432         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5433         (casinh_test): Add more tests.
5434         * sysdeps/i386/fpu/libm-test-ulps: Update.
5435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5436
5437 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
5438
5439         * po/zh_TW.po: Update from translation team.
5440
5441         * login/Makefile (distribute): Remove variable.
5442         * catgets/Makefile: Likewise.
5443         * mach/Makefile: Likewise.
5444         * malloc/Makefile: Likewise.
5445         * misc/Makefile: Likewise.
5446         * iconv/Makefile: Likewise.
5447         * nscd/Makefile: Likewise.
5448         * hurd/Makefile: Likewise.
5449         * manual/Makefile: Likewise.
5450         * locale/Makefile: Likewise.
5451         * intl/Makefile: Likewise.
5452         * conform/Makefile: Likewise.
5453         * nss/Makefile: Likewise.
5454         * time/Makefile: Likewise.
5455         * soft-fp/Makefile: Likewise.
5456         * dirent/Makefile: Likewise.
5457         * gmon/Makefile: Likewise.
5458         * po/Makefile: Likewise.
5459         * rt/Makefile: Likewise.
5460         * socket/Makefile: Likewise.
5461         * math/Makefile: Likewise.
5462         * signal/Makefile: Likewise.
5463         * debug/Makefile: Likewise.
5464         * elf/Makefile: Likewise.
5465         * timezone/Makefile: Likewise.
5466         * stdlib/Makefile: Likewise.
5467         * iconvdata/Makefile: Likewise.
5468         * sunrpc/Makefile: Likewise.
5469         * io/Makefile: Likewise.
5470         * argp/Makefile: Likewise.
5471         * inet/Makefile: Likewise.
5472         * hesiod/Makefile: Likewise.
5473         * grp/Makefile: Likewise.
5474         * csu/Makefile: Likewise.
5475         * wctype/Makefile: Likewise.
5476         * crypt/Makefile: Likewise.
5477         * libio/Makefile: Likewise.
5478         * string/Makefile: Likewise.
5479         * nis/Makefile: Likewise.
5480         * resolv/Makefile: Likewise.
5481         * stdio-common/Makefile: Likewise.
5482         * wcsmbs/Makefile: Likewise.
5483         * dlfcn/Makefile: Likewise.
5484         * posix/Makefile: Likewise.
5485
5486         [BZ #6959]
5487         * timezone/Makefile: Don't install timezone files, just the programs
5488         and scripts.
5489
5490 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
5491
5492         * nss/databases.def: Add missing gshadow entry.
5493
5494         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
5495
5496 2012-03-06  Marek Polacek  <polacek@redhat.com>
5497
5498         [BZ #13726]
5499         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5500         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5501         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5502         * stdio-common/tst-long-dbl-fphex.c: New file.
5503
5504 2012-03-06  David S. Miller  <davem@davemloft.net>
5505
5506         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5507         (set_obp_int): New function.
5508         (get_obp_int): New function.
5509         (__get_clockfreq_via_dev_openprom): Likewise.
5510         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5511         Avoid unused variable warnings on 'val' and use builtin_expect.
5512         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5513         __builtin_expect.
5514         (INLINE_CLONE_SYSCALL): Likewise.
5515
5516 2012-03-05  David S. Miller  <davem@davemloft.net>
5517
5518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5519
5520 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
5521
5522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5523
5524         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5525         only for |x| >= 40.
5526         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5527
5528 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5529
5530         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5531         Replace gettimeofday with __vdso_gettimeofday.
5532
5533         * sysdeps/unix/sysv/linux/x86_64/init-first.c
5534         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5535         __vdso_clock_gettime and __vdso_getcpu.
5536
5537         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5538         time with __vdso_time.
5539
5540 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
5541
5542         * manual/lang.texi (size_t): Note types to which size_t may be
5543         equivalent with the GNU C Library, but do not describe when
5544         differences between them are significant.
5545
5546 2012-03-05  Andreas Jaeger  <aj@suse.de>
5547
5548         * sysdeps/i386/fpu/libm-test-ulps: Update.
5549
5550 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
5551
5552         [BZ #3976]
5553         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5554         (__ieee754_pow): Save and restore rounding mode and use
5555         round-to-nearest for main computations.
5556         * math/libm-test.inc (pow_test_tonearest): New function.
5557         (pow_test_towardzero): Likewise.
5558         (pow_test_downward): Likewise.
5559         (pow_test_upward): Likewise.
5560         (main): Call the new functions.
5561         * sysdeps/i386/fpu/libm-test-ulps: Update.
5562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5563
5564         [BZ #3976]
5565         * math/libm-test.inc (cosh_test_tonearest): New function.
5566         (cosh_test_towardzero): Likewise.
5567         (cosh_test_downward): Likewise.
5568         (cosh_test_upward): Likewise.
5569         (sinh_test_tonearest): Likewise.
5570         (sinh_test_towardzero): Likewise.
5571         (sinh_test_downward): Likewise.
5572         (sinh_test_upward): Likewise.
5573         (main): Call the new functions.
5574         * sysdeps/i386/fpu/libm-test-ulps: Update.
5575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5576
5577 2012-03-05  Tom de Vries  <tom@codesourcery.com>
5578
5579         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5580         default stack guard is set in last bytes.
5581         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5582
5583 2012-03-05  Kees Cook  <keescook@chromium.org>
5584
5585         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5586
5587         [BZ #13656]
5588         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5589         possibly allocate from heap instead of stack.
5590         * stdio-common/bug-vfprintf-nargs.c: New file.
5591         * stdio-common/Makefile (tests): Add nargs overflow test.
5592
5593 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
5594
5595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5596
5597 2012-03-03  Marek Polacek  <polacek@redhat.com>
5598
5599         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5600         * math/math_private.h: Likewise.
5601         * stdlib/tst-strtod.c: Likewise.
5602         * sysdeps/i386/i486/bits/atomic.h: Likewise.
5603         * sysdeps/x86_64/bits/atomic.h: Likewise.
5604
5605 2012-03-02  David S. Miller  <davem@davemloft.net>
5606
5607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5611         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5612         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5613         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5614         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5615
5616 2012-03-02  Roland McGrath  <roland@hack.frob.com>
5617
5618         [BZ #13792]
5619         * manual/examples/README: New file, says the example source files
5620         can be used under GPL>=2.
5621         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5622         line containing just "*/".
5623         * manual/examples/add.c: Add copyright header (GPL>=2).
5624         * manual/examples/argp-ex1.c: Likewise.
5625         * manual/examples/argp-ex2.c: Likewise.
5626         * manual/examples/argp-ex3.c: Likewise.
5627         * manual/examples/argp-ex4.c: Likewise.
5628         * manual/examples/atexit.c: Likewise.
5629         * manual/examples/db.c: Likewise.
5630         * manual/examples/dir.c: Likewise.
5631         * manual/examples/dir2.c: Likewise.
5632         * manual/examples/execinfo.c: Likewise.
5633         * manual/examples/filecli.c: Likewise.
5634         * manual/examples/filesrv.c: Likewise.
5635         * manual/examples/fmtmsgexpl.c: Likewise.
5636         * manual/examples/genpass.c: Likewise.
5637         * manual/examples/inetcli.c: Likewise.
5638         * manual/examples/inetsrv.c: Likewise.
5639         * manual/examples/isockad.c: Likewise.
5640         * manual/examples/longopt.c: Likewise.
5641         * manual/examples/memopen.c: Likewise.
5642         * manual/examples/memstrm.c: Likewise.
5643         * manual/examples/mkfsock.c: Likewise.
5644         * manual/examples/mkisock.c: Likewise.
5645         * manual/examples/mygetpass.c: Likewise.
5646         * manual/examples/pipe.c: Likewise.
5647         * manual/examples/popen.c: Likewise.
5648         * manual/examples/rprintf.c: Likewise.
5649         * manual/examples/search.c: Likewise.
5650         * manual/examples/select.c: Likewise.
5651         * manual/examples/setjmp.c: Likewise.
5652         * manual/examples/sigh1.c: Likewise.
5653         * manual/examples/sigusr.c: Likewise.
5654         * manual/examples/stpcpy.c: Likewise.
5655         * manual/examples/strdupa.c: Likewise.
5656         * manual/examples/strftim.c: Likewise.
5657         * manual/examples/strncat.c: Likewise.
5658         * manual/examples/subopt.c: Likewise.
5659         * manual/examples/swapcontext.c: Likewise.
5660         * manual/examples/termios.c: Likewise.
5661         * manual/examples/testopt.c: Likewise.
5662         * manual/examples/testpass.c: Likewise.
5663         * manual/examples/timeval_subtract.c: Likewise.
5664
5665         [BZ #13792]
5666         * manual/time.texi (Elapsed Time): Move timeval_subtract example
5667         function to ...
5668         * manual/timeval_subtract.c.texi: ... here, new file.
5669
5670 2012-03-02  David S. Miller  <davem@davemloft.net>
5671
5672         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5673
5674 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
5675
5676         [BZ #3976]
5677         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5678         (__sin): Save and restore rounding mode and use round-to-nearest
5679         for all computations.
5680         (__cos): Save and restore rounding mode and use round-to-nearest
5681         for all computations.
5682         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5683         <fenv.h>.
5684         (tan): Save and restore rounding mode and use round-to-nearest for
5685         all computations.
5686         * math/libm-test.inc (cos_test_tonearest): New function.
5687         (cos_test_towardzero): Likewise.
5688         (cos_test_downward): Likewise.
5689         (cos_test_upward): Likewise.
5690         (sin_test_tonearest): Likewise.
5691         (sin_test_towardzero): Likewise.
5692         (sin_test_downward): Likewise.
5693         (sin_test_upward): Likewise.
5694         (tan_test_tonearest): Likewise.
5695         (tan_test_towardzero): Likewise.
5696         (tan_test_downward): Likewise.
5697         (tan_test_upward): Likewise.
5698         (main): Call the new functions.
5699         * sysdeps/i386/fpu/libm-test-ulps: Update.
5700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5701
5702         [BZ #10135]
5703         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5704         small n, then large n, before computing and testing k+n.
5705         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5706         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5707         Likewise.
5708         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5709         Likewise.
5710         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5711         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5712         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5713         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5714         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5715         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5716         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5717         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5718         * math/libm-test.inc (scalbn_test): Add more tests.
5719         (scalbln_test): Likewise.
5720
5721         * manual/filesys.texi (mode_t): Describe constraints on size and
5722         signedness, not exact equivalence to a particular type.
5723         (ino_t): Likewise.
5724         (ino64_t): Likewise.
5725         (dev_t): Likewise.
5726         (nlink_t): Likewise.
5727         (blkcnt_t): Likewise.
5728         (blkcnt64_t): Likewise.
5729         * manual/llio.texi (off_t): Likewise.
5730
5731         [BZ #3976]
5732         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5733         (__ieee754_exp): Save and restore rounding mode and use
5734         round-to-nearest for all computations.
5735         * math/libm-test.inc (exp_test_tonearest): New function.
5736         (exp_test_towardzero): Likewise.
5737         (exp_test_downward): Likewise.
5738         (exp_test_upward): Likewise.
5739         (main): Call the new functions.
5740         * sysdeps/i386/fpu/libm-test-ulps: Update.
5741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5742
5743 2012-03-01  Chris Demetriou  <cgd@google.com>
5744
5745         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5746         have predictable order.
5747
5748 2012-03-01  David S. Miller  <davem@davemloft.net>
5749
5750         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5751
5752         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5753         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5754         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5755         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5756
5757         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5758         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5759         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5761         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5762         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5763         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5764         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5765         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5766
5767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5768
5769         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5770         * sysdeps/sparc/fpu/libm-test-ulps: to here.
5771         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5772
5773         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5774         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5775         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5776         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5777         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5778         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5779         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5780         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5781         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5782         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5783         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5784         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5785         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5786         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5787         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5788         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5789         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5790         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5791         * sysdeps/sparc/elf/configure: Regenerated.
5792
5793 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
5794
5795         * configure.in (AS, LD): Require binutils 2.20 or later.
5796         * configure: Regenerated.
5797         * manual/install.texi (Tools for Compilation): Give binutils 2.20
5798         as required minimum version.
5799         * INSTALL: Regenerated.
5800
5801         [BZ #2541]
5802         [BZ #4108]
5803         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5804         before squaring exponent.
5805         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5806         bottom long double and 27 bits of top long double before squaring
5807         exponent.
5808         * math/libm-test.inc (erfc_test): Add more tests.
5809         * sysdeps/i386/fpu/libm-test-ulps: Update.
5810         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5812
5813 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5814
5815         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5816         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5817         containing bit-fields.
5818         * soft-fp/extended.h (_FP_UNION_E): Likewise.
5819         * soft-fp/single.h (_FP_UNION_S): Likewise.
5820         * soft-fp/double.h (_FP_UNION_D): Likewise.
5821
5822 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
5823
5824         [BZ #13786]
5825         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5826         not include ../strcmp.S.
5827         [USE_AS_STRNCASECMP_L]: Likewise.
5828         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5829         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5830         * sysdeps/i386/i686/multiarch/strncase_l-c.c
5831         (__strncasecmp_l_ia32): Define as alias to
5832         __strncasecmp_l_nonascii.
5833
5834         [BZ #5794]
5835         * math/libm-test.inc (expm1_test): Add test for bug 5794.
5836         * sysdeps/i386/fpu/libm-test-ulps: Update.
5837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5838
5839         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5841
5842 2012-02-29  Jeff Law  <law@redhat.com>
5843
5844         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5845         out of bounds read.
5846
5847 2012-02-29  Marek Polacek  <polacek@redhat.com>
5848
5849         [BZ #13706]
5850         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5851         * elf/Makefile: Add rules to run tst-unused-dep.out.
5852
5853 2012-02-28  David S. Miller  <davem@davemloft.net>
5854
5855         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5856         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5857         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5858         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5859         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5860         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5861
5862 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
5863
5864         * math/libm-test.inc (llround_test): Move one test from
5865         lround_test.  Use TEST_f_L in moved test.
5866         (lround_test): Move misplaced test to llround_test.  Add testcase
5867         from bug 2561.
5868
5869 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
5870
5871         * sysdeps/x86_64/fpu/e_expf.S: New file.
5872         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5873
5874 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
5875
5876         [BZ #13637]
5877         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5878         of remain_len that may cause incomplete multi-byte character and
5879         false match.
5880         * posix/bug-regex33.c: New file.
5881         * posix/Makefile (tests): Add bug-regex33.
5882
5883 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
5884
5885         * manual/macros.texi: New file.
5886         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5887         * manual/libc.texinfo: Include macros.texi.
5888         * manual/creatute.texi: Likewise.
5889         * manual/install.texi: Likewise.
5890         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5891         @glibcadj{} in references to the GNU C Library.
5892         * manual/charset.texi: Likewise.
5893         * manual/conf.texi: Likewise.
5894         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
5895         when not using those macros.
5896         * manual/creature.texi: Likewise.
5897         * manual/crypt.texi: Likewise.
5898         * manual/errno.texi: Likewise.
5899         * manual/filesys.texi: Likewise.
5900         * manual/header.texi: Likewise.
5901         * manual/install.texi: Likewise.
5902         * manual/intro.texi: Likewise.
5903         * manual/io.texi: Likewise.
5904         * manual/job.texi: Likewise.
5905         * manual/lang.texi: Likewise.
5906         * manual/libc.texiinfo: Likewise.
5907         * manual/llio.texi: Likewise.
5908         * manual/locale.texi: Likewise.
5909         * manual/maint.texi: Likewise.
5910         * manual/math.texi: Likewise.
5911         * manual/memory.texi: Likewise.
5912         * manual/message.texi: Likewise.
5913         * manual/nss.texi: Likewise.
5914         * manual/pattern.texi: Likewise.
5915         * manual/process.texi: Likewise.
5916         * manual/resource.texi: Likewise.
5917         * manual/search.texi: Likewise.
5918         * manual/setjmp.texi: Likewise.
5919         * manual/signal.texi: Likewise.
5920         * manual/socket.texi: Likewise.
5921         * manual/startup.texi: Likewise.
5922         * manual/stdio.texi: Likewise.
5923         * manual/string.texi: Likewise.
5924         * manual/sysinfo.texi: Likewise.
5925         * manual/syslog.texi: Likewise.
5926         * manual/terminal.texi: Likewise.
5927         * manual/time.texi: Likewise.
5928         * manual/users.texi: Likewise.
5929         * INSTALL: Regenerated.
5930         * NOTES: Regenerated.
5931         * sysdeps/gnu/errlist.c: Regenerated.
5932
5933 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5934
5935         * include/dirent.h: Include <dirstream.h> before
5936         <dirent/dirent.h>.
5937
5938 2012-02-28  David S. Miller  <davem@davemloft.net>
5939
5940         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5941         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5942         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5943         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5944
5945 2012-02-27  David S. Miller  <davem@davemloft.net>
5946
5947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5949         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5950         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5951
5952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5953         frame pointer instead of stack pointer relative arg slot.
5954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5955         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5956         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5957
5958 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
5959
5960         [BZ #3992]
5961         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5962
5963 2012-02-27  David S. Miller  <davem@davemloft.net>
5964
5965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5969         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5970         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5971         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5972         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5973
5974 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5975
5976         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5977         later.  Allow versions 5-9.
5978         * configure: Regenerated.
5979         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5980         required minimum version and 4.6 as recommended version.  Do not
5981         mention bugs in GCC 2.7 and 2.8.
5982         * INSTALL: Regenerated.
5983
5984 2012-02-27  David S. Miller  <davem@davemloft.net>
5985
5986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5990         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5991         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5992         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5993         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5994
5995         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5996         manipulate bits before adding and subtracting TWO112[sx].
5997         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5998
5999 2012-02-27  Roland McGrath  <roland@hack.frob.com>
6000
6001         [BZ #13775]
6002         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6003         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6004         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6005         being in POSIX, because they are in 1003.1-2008.
6006
6007         * rt/tst-aio.c: Include <fcntl.h>.
6008         * rt/tst-aio7.c: Likewise.
6009         * rt/tst-aio64.c: Likewise.
6010
6011         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6012
6013 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
6014
6015         * manual/install.texi (--with-headers): Describe headers as
6016         interface headers, not private headers.
6017         (Specific advice for GNU/Linux systems): Describe use of headers
6018         from "make headers_install", not private headers from older
6019         kernels.
6020         * INSTALL: Regenerated.
6021         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6022         Change to 2.6.19.
6023         * sysdeps/unix/sysv/linux/configure: Regenerated.
6024
6025         * manual/llio.texi (fclean): Remove documentation.
6026
6027         * manual/Makefile (libc-texi-generated): New variable.  Include
6028         version.texi.
6029         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6030         $(libc-texi-generated), not duplicated list of files.
6031         (version.texi, stamp-version): New rules.
6032         (realclean): Remove $(libc-texi-generated), not individual files
6033         from that list.  Do not remove dir-add.texinfo.
6034         * manual/libc.texinfo: Comment out uses of edition numbers and
6035         references to printed manual.  Remove last-updated dates.
6036         (EDITION): Comment out.
6037         (ISBN): Likewise.
6038         (VERSION, UPDATED): Remove.
6039         (version.texi): Include.
6040
6041 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
6042
6043         * sysdeps/posix/spawni.c: Include <signal.h>.
6044         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6045         * sysdeps/pthread/aio_fsync.c: Likewise.
6046
6047 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
6048
6049         * conform/Makefile (tests): Run only when not cross-compiling and
6050         when fast-check is not defined.
6051
6052         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6053         * conform/data/limits.h-data: Fixes for POSIX2008.
6054         * conform/run-conformtest.sh: Run all tests.
6055         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6056         headers.
6057         * include/bits/dlfcn.h: Likewise.
6058         * include/langinfo.h: Likewise.
6059         * include/monetary.h: Likewise.
6060         * include/sys/poll.h: Likewise.
6061
6062         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6063         for __USE_GNU.
6064         * posix/spawn.h: Define __need_sigset_t.
6065         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6066         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6067         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
6068         to get sigevent_t only.
6069         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6070         only for __USE_GNU.
6071         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6072         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6073         process_vm_writev only for __USE_GNU.
6074         * termios/termios.h: Declare tcgetsid also for POSIX2008.
6075
6076         * conform/Makefile: For now ignore errors from run-conformtest.
6077         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
6078         POSIX to avoid namespace pollution.  Don't prepend headers.
6079         * conform/data/aio.h-data: Fixes for POSIX testing.
6080         * conform/data/fcntl.h-data: Likewise.
6081         * conform/data/glob.h-data: Likewise.
6082         * conform/data/grp.h-data: Likewise.
6083         * conform/data/pthread.h-data: Likewise.
6084         * conform/data/pwd.h-data: Likewise.
6085         * conform/data/signal.h-data: Likewise.
6086         * conform/data/spawn.h-data: Likewise.
6087         * conform/data/stdio.h-data: Likewise.
6088         * conform/data/stdlib.h-data: Likewise.
6089         * conform/data/stropts.h-data: Likewise.
6090         * conform/data/sys/mman.h-data: Likewise.
6091         * conform/data/sys/stat.h-data: Likewise.
6092         * conform/data/sys/types.h-data: Likewise.
6093         * conform/data/sys/wait.h-data: Likewise.
6094         * conform/data/time.h-data: Likewise.
6095         * conform/data/unistd.h-data: Likewise.
6096         * conform/data/utime.h-data: Likewise.
6097
6098         * io/sys/stat.h: fchmod was always in POSIX.
6099         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6100         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6101         * rt/aio.h: Define __need_timespec before including <time.h>.
6102         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6103         struct.  Add forward declaration of pthread_attr_t and use it in
6104         sigevent.
6105         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6106         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6107         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6108         always remove CLK_TCK definition.
6109
6110 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
6111
6112         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6113
6114 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
6115
6116         * conform/run-conformtest.sh: New file.
6117         * conform/Makefile: Run run-conformtest for tests.
6118         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
6119         support.
6120
6121         * conform/data/uchar.h-data: New file.
6122         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6123         * conform/data/arpa/inet.h-data: Likewise.
6124         * conform/data/assert.h-data: Likewise.
6125         * conform/data/complex.h-data: Likewise.
6126         * conform/data/cpio.h-data: Likewise.
6127         * conform/data/ctype.h-data: Likewise.
6128         * conform/data/dirent.h-data: Likewise.
6129         * conform/data/dlfcn.h-data: Likewise.
6130         * conform/data/errno.h-data: Likewise.
6131         * conform/data/fcntl.h-data: Likewise.
6132         * conform/data/float.h-data: Likewise.
6133         * conform/data/fmtmsg.h-data: Likewise.
6134         * conform/data/fnmatch.h-data: Likewise.
6135         * conform/data/ftw.h-data: Likewise.
6136         * conform/data/glob.h-data: Likewise.
6137         * conform/data/grp.h-data: Likewise.
6138         * conform/data/iconv.h-data: Likewise.
6139         * conform/data/inttypes.h-data: Likewise.
6140         * conform/data/langinfo.h-data: Likewise.
6141         * conform/data/libgen.h-data: Likewise.
6142         * conform/data/limits.h-data: Likewise.
6143         * conform/data/locale.h-data: Likewise.
6144         * conform/data/math.h-data: Likewise.
6145         * conform/data/monetary.h-data: Likewise.
6146         * conform/data/mqueue.h-data: Likewise.
6147         * conform/data/ndbm.h-data: Likewise.
6148         * conform/data/net/if.h-data: Likewise.
6149         * conform/data/netdb.h-data: Likewise.
6150         * conform/data/netinet/in.h-data: Likewise.
6151         * conform/data/nl_types.h-data: Likewise.
6152         * conform/data/poll.h-data: Likewise.
6153         * conform/data/pthread.h-data: Likewise.
6154         * conform/data/pwd.h-data: Likewise.
6155         * conform/data/regex.h-data: Likewise.
6156         * conform/data/sched.h-data: Likewise.
6157         * conform/data/search.h-data: Likewise.
6158         * conform/data/semaphore.h-data: Likewise.
6159         * conform/data/setjmp.h-data: Likewise.
6160         * conform/data/signal.h-data: Likewise.
6161         * conform/data/spawn.h-data: Likewise.
6162         * conform/data/stdarg.h-data: Likewise.
6163         * conform/data/stdio.h-data: Likewise.
6164         * conform/data/stdlib.h-data: Likewise.
6165         * conform/data/string.h-data: Likewise.
6166         * conform/data/strings.h-data: Likewise.
6167         * conform/data/stropts.h-data: Likewise.
6168         * conform/data/sys/ipc.h-data: Likewise.
6169         * conform/data/sys/mman.h-data: Likewise.
6170         * conform/data/sys/msg.h-data: Likewise.
6171         * conform/data/sys/resource.h-data: Likewise.
6172         * conform/data/sys/select.h-data: Likewise.
6173         * conform/data/sys/sem.h-data: Likewise.
6174         * conform/data/sys/shm.h-data: Likewise.
6175         * conform/data/sys/socket.h-data: Likewise.
6176         * conform/data/sys/stat.h-data: Likewise.
6177         * conform/data/sys/statvfs.h-data: Likewise.
6178         * conform/data/sys/time.h-data: Likewise.
6179         * conform/data/sys/timeb.h-data: Likewise.
6180         * conform/data/sys/times.h-data: Likewise.
6181         * conform/data/sys/types.h-data: Likewise.
6182         * conform/data/sys/uio.h-data: Likewise.
6183         * conform/data/sys/un.h-data: Likewise.
6184         * conform/data/sys/utsname.h-data: Likewise.
6185         * conform/data/sys/wait.h-data: Likewise.
6186         * conform/data/syslog.h-data: Likewise.
6187         * conform/data/tar.h-data: Likewise.
6188         * conform/data/termios.h-data: Likewise.
6189         * conform/data/utime.h-data: Likewise.
6190         * conform/data/utmpx.h-data: Likewise.
6191         * conform/data/varargs.h-data: Likewise.
6192         * conform/data/wchar.h-data: Likewise.
6193         * conform/data/wctype.h-data: Likewise.
6194         * conform/data/wordexp.h-data: Likewise.
6195
6196         * include/stropts.h: New file.
6197         * include/uchar.h: New file.
6198         * include/aio.h: Changes to allow conformtest.pl to use the headers.
6199         * include/assert.h: Likewise.
6200         * include/ctype.h: Likewise.
6201         * include/dirent.h: Likewise.
6202         * include/dlfcn.h: Likewise.
6203         * include/fcntl.h: Likewise.
6204         * include/fnmatch.h: Likewise.
6205         * include/glob.h: Likewise.
6206         * include/grp.h: Likewise.
6207         * include/libio.h: Likewise.
6208         * include/locale.h: Likewise.
6209         * include/math.h: Likewise.
6210         * include/net/if.h: Likewise.
6211         * include/netdb.h: Likewise.
6212         * include/netinet/in.h: Likewise.
6213         * include/pthread.h: Likewise.
6214         * include/pwd.h: Likewise.
6215         * include/regex.h: Likewise.
6216         * include/sched.h: Likewise.
6217         * include/search.h: Likewise.
6218         * include/setjmp.h: Likewise.
6219         * include/signal.h: Likewise.
6220         * include/stdio.h: Likewise.
6221         * include/stdlib.h: Likewise.
6222         * include/string.h: Likewise.
6223         * include/sys/cdefs.h: Likewise.
6224         * include/sys/mman.h: Likewise.
6225         * include/sys/msg.h: Likewise.
6226         * include/sys/resource.h: Likewise.
6227         * include/sys/select.h: Likewise.
6228         * include/sys/socket.h: Likewise.
6229         * include/sys/stat.h: Likewise.
6230         * include/sys/statvfs.h: Likewise.
6231         * include/sys/time.h: Likewise.
6232         * include/sys/times.h: Likewise.
6233         * include/sys/uio.h: Likewise.
6234         * include/sys/utsname.h: Likewise.
6235         * include/sys/wait.h: Likewise.
6236         * include/termios.h: Likewise.
6237         * include/time.h: Likewise.
6238         * include/ulimit.h: Likewise.
6239         * include/unistd.h: Likewise.
6240         * include/utime.h: Likewise.
6241         * include/wchar.h: Likewise.
6242         * include/wctype.h: Likewise.
6243         * include/wordexp.h: Likewise.
6244
6245         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6246
6247         * time/time.h: TIME_UTC must be a macro.
6248         Make timespec_get available for ISO C11 only as well.
6249
6250 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
6251
6252         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6253         Reported by Peng Haitao <penght@cn.fujitsu.com>.
6254
6255 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
6256
6257         * configure.in: Use -o not -a in test for unsupported multi-arch.
6258
6259 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
6260
6261         * manual/texinfo.tex: Update to version 2012-01-19.16.
6262
6263 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
6264
6265         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6266
6267 2012-02-24  Roland McGrath  <roland@hack.frob.com>
6268
6269         [BZ #13738]
6270         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6271         * manual/fdl-1.3.texi: New file.
6272         * manual/fdl-1.1.texi: File removed.
6273
6274         [BZ #13738]
6275         * manual/libc.texinfo (FDL_VERSION): New @set.
6276         Use it for mention of FDL in cover text.
6277         (Documentation License): Use it in @include file name.
6278
6279 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
6280             Roland McGrath  <roland@hack.frob.com>
6281
6282         [BZ #5461]
6283         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6284         not LONG_LONG_MAX and LONG_LONG_MIN.
6285         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6286         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
6287         name.
6288         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6289
6290 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
6291
6292         [BZ #2547]
6293         [BZ #11365]
6294         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6295         manipulate bits before adding and subtracting TWO23[sx].
6296         * math/libm-test.inc (nearbyint_test): Add more tests.
6297
6298 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
6299
6300         [BZ #2548]
6301         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6302         bits before adding and subtracting TWO23[sx].
6303         * math/libm-test.inc (rint_test): Add more tests.
6304         (rint_test_tonearest): Likewise.
6305         (rint_test_towardzero): Likewise.
6306         (rint_test_downward): Likewise.
6307         (rint_test_upward: Likewise.
6308
6309 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
6310
6311         [BZ #10110]
6312         * include/stdc-predef.h: New file.  Extracted from features.h.
6313         * include/features.h: Include stdc-predef.h.
6314         * Makefile (headers): Add stdc-predef.h.
6315         * CONFORMANCE (Compiler limitations): Update.
6316
6317 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
6318
6319         * manual/libc.texinfo (VERSION, UPDATED): Revert.
6320
6321 2012-02-21  David S. Miller  <davem@davemloft.net>
6322
6323         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6324         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6325
6326 2012-02-20  David S. Miller  <davem@davemloft.net>
6327
6328         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6329         using a normal save/restore sequence, rather than allocating a
6330         dummy stack frame just to store a frame pointer and restore.
6331         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6332
6333 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
6334
6335         * manual/install.texi: Fix stray word in line-wrapped comment.
6336
6337 2012-02-20  David S. Miller  <davem@davemloft.net>
6338
6339         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6340         both binutils and gcc support GOTDATA.
6341
6342         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6343         "rd %pc" in the PIC register setup sequences.
6344
6345         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6346         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6347         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6348         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6349         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6350         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6351         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6352         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6354         (SYSCALL_ERROR_HANDLER): Likewise.
6355         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6356         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6357         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6358         (SYSCALL_ERROR_HANDLER): Likewise.
6359
6360         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6361         (HAVE_GCC_GOTDATA): New.
6362         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6363         relocation support in both binutils and gcc.
6364         * sysdeps/sparc/elf/configure: Regenerate.
6365
6366         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6367         * sysdeps/sparc/sparc32/elf/configure: Delete.
6368         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6369         * sysdeps/sparc/sparc64/elf/configure: Delete.
6370         * sysdeps/sparc/elf/configure.in: New file.
6371         * sysdeps/sparc/elf/configure: Generate.
6372
6373         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6374         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6375         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6376         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6377         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6378
6379 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
6380
6381         * manual/install.texi: Do not mention specific glibc version
6382         numbers.
6383         * manual/libc.texinfo (VERSION, UPDATED): Update.
6384         (@copying): Use @copyright{} and range of years.
6385
6386 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
6387
6388         [BZ #13695]
6389         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6390         [crti.S not in sysdirs] (generated): Do not append.
6391         [crti.S not in sysdirs] (omit-deps): Likewise.
6392         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6393         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6394         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6395         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6396         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6397         Likewise.
6398         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6399         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6400         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6401         * csu/defs.awk: Remove file.
6402         * sysdeps/generic/initfini.c: Likewise.
6403         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6404         variable.
6405         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6406         Likewise.
6407
6408 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
6409
6410         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6411         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6412         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6413         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6414         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6415         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6416         <bits/epoll.h>.
6417         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6418         (__EPOLL_PACKED): Define to empty if not defined by
6419         <bits/epoll.h>.
6420         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6421         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6422         bits/epoll.h.
6423
6424 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
6425
6426         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6427         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6428         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6429         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6430         <bits/timerfd.h>.
6431         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6432         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6433         bits/timerfd.h.
6434
6435 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
6436
6437         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6438         in C locale.
6439         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6440         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6441         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6443
6444 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
6445
6446         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6447         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6448
6449 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
6450
6451         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6452         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6453         defined.
6454         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6455         Likewise.
6456         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6457         entry for 2.16.
6458
6459 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
6460
6461         * math/w_acos.c: Use non-signaling floating-point comparisons.
6462         * math/w_acosf.c: Likewise.
6463         * math/w_acosh.c: Likewise.
6464         * math/w_acoshf.c: Likewise.
6465         * math/w_acoshl.c: Likewise.
6466         * math/w_acosl.c: Likewise.
6467         * math/w_asin.c: Likewise.
6468         * math/w_asinf.c: Likewise.
6469         * math/w_asinl.c: Likewise.
6470         * math/w_atanh.c: Likewise.
6471         * math/w_atanhf.c: Likewise.
6472         * math/w_atanhl.c: Likewise.
6473         * math/w_exp2.c: Likewise.
6474         * math/w_exp2f.c: Likewise.
6475         * math/w_exp2l.c: Likewise.
6476         * math/w_j0.c: Likewise.
6477         * math/w_j0f.c: Likewise.
6478         * math/w_j0l.c: Likewise.
6479         * math/w_j1.c: Likewise.
6480         * math/w_j1f.c: Likewise.
6481         * math/w_j1l.c: Likewise.
6482         * math/w_jn.c: Likewise.
6483         * math/w_jnf.c: Likewise.
6484         * math/w_log.c: Likewise.
6485         * math/w_log10.c: Likewise.
6486         * math/w_log10f.c: Likewise.
6487         * math/w_log10l.c: Likewise.
6488         * math/w_log2.c: Likewise.
6489         * math/w_log2f.c: Likewise.
6490         * math/w_log2l.c: Likewise.
6491         * math/w_logf.c: Likewise.
6492         * math/w_logl.c: Likewise.
6493         * math/w_sqrt.c: Likewise.
6494         * math/w_sqrtf.c: Likewise.
6495         * math/w_sqrtl.c: Likewise.
6496         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6497         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6498         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6499         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6500         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6501
6502 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
6503
6504         [BZ #9739]
6505         * manual/string.texi (strnlen): Use correct parameter name in
6506         equivalent expression.
6507
6508 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
6509
6510         [BZ #11174]
6511         * manual/users.texi (seteuid): Consistently use neweuid for
6512         argument name.
6513
6514 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
6515
6516         [BZ #13704]
6517         * manual/nss.texi (Services in the NSS configuration): Correct
6518         list of services in example configuration file.
6519
6520 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
6521
6522         [BZ #11322]
6523         * manual/arith.texi: Remove statements about negative zero
6524         behaving identically to zero.
6525
6526 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
6527
6528         [BZ #5993]
6529         * manual/install.texi: Do not document upgrading from libc5.
6530
6531 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
6532
6533         [BZ #4596]
6534         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6535
6536 2012-02-18  David S. Miller  <davem@davemloft.net>
6537
6538         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6539         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6540         %o7 across the call.
6541         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6542         instead.
6543         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6544         SETUP_PIC_REG_LEAF.
6545         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6546         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6547         * sysdeps/sparc/crtn.S: Likewise.
6548
6549 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
6550
6551         * aout/Makefile: Remove.
6552
6553 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
6554
6555         [BZ #13058]
6556         * manual/examples/argp-ex1.c (main): Format definition in GNU
6557         style.
6558         * manual/examples/argp-ex2.c (main): Likewise.
6559         * manual/examples/argp-ex3.c (main): Likewise.
6560         * manual/examples/argp-ex4.c (main): Likewise.
6561         * manual/examples/longopt.c (main): Use new-style prototype
6562         definition.
6563         * manual/examples/strncat.c (main): Specify return type and use
6564         (void) for arguments.
6565         * manual/examples/subopt.c (main): Use char **argv argument.
6566
6567 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6568
6569         [BZ #5077]
6570         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6571         rounding modes.
6572
6573 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
6574
6575         [BZ #6907]
6576         * manual/string.texi (strchr): Change when strchrnul is
6577         recommended.
6578
6579 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
6580
6581         [BZ #174]
6582         * manual/locale.texi (setlocale): Document LOCPATH.
6583
6584 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6585
6586         [BZ #10210]
6587         * manual/process.texi (execle): Move @dots{} before last argument.
6588
6589 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
6590
6591         [BZ #12047]
6592         * manual/charset.texi (Generic Charset Conversion): Fix typo
6593         (LC_TYPE -> LC_CTYPE).
6594
6595 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
6596
6597         [BZ #5805]
6598         * manual/arith.texi (scalbn): Use @var{} on parameter names.
6599         (scalbnf): Likewise.
6600         (scalbnl): Likewise.
6601         (scalbln): Likewise.
6602         (scalblnf): Likewise.
6603         (scalblnl): Likewise.
6604         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6605         (vwarnx): Likewise.
6606         (verr): Likewise.
6607         (verrx): Likewise.
6608         * manual/filesys.texi (telldir): Use braces around return type.
6609         * manual/llio.texi (mmap): Add space after comma.
6610         (mmap64): Likewise.
6611         * manual/math.texi (jn): Use @var{} on parameter names.
6612         (jnf): Likewise.
6613         (jnl): Likewise.
6614         (yn): Likewise.
6615         (ynf): Likewise.
6616         (ynl): Likewise.
6617         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6618         line.
6619         * manual/resource.texi (ulimit): Use @dots{} instead of literal
6620         "...".
6621         (sched_get_priority_min): Remove semicolon on @deftypefun line.
6622         (sched_get_priority_max): Likewise.
6623         * manual/signal.texi (sigvec): Add space after comma.
6624         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6625         names.
6626         (if_indextoname): Likewise.
6627         (if_freenameindex): Likewise.
6628         (sendto): Use ',' instead of '.' in prototype.
6629         * manual/startup.texi (syscall): Use @dots{} instead of literal
6630         "...".
6631         * manual/stdio.texi (__fpending): Separate initial words of
6632         paragraph from @deftypefun line.
6633         * manual/syslog.texi (syslog): Use @dots{} instead of literal
6634         "...".
6635         (vsyslog): Use @var{} on parameter names.
6636         * manual/terminal.texi (stty): Use @var{} on parameter names.
6637         * manual/users.texi (getutmp): Use @var{} on parameter names.
6638         (getutmpx): Likewise.
6639
6640 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6641
6642         [BZ #6884]
6643         * manual/stdio.texi (fopen): Fix typos in description of
6644         ",ccs=STRING".
6645
6646 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
6647
6648         [BZ #4026]
6649         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6650         get clock_id definition.
6651
6652 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
6653
6654         [BZ #4822]
6655         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6656         (madvise): Cast every argument to void on its own.
6657
6658 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6659
6660         [BZ #9902]
6661         * manual/startup.texi (Exit Status): Fix typo.
6662
6663 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6664
6665         [BZ #10140]
6666         * manual/examples/argp-ex1.c: Include <stdlib.h>.
6667         * manual/examples/argp-ex2.c: Likewise.
6668         * manual/examples/argp-ex3.c: Likewise.
6669
6670 2012-02-16  Richard Henderson  <rth@redhat.com>
6671
6672         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6673         * sysdeps/s390/s390-32/initfini.c: Remove.
6674         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6675         * sysdeps/s390/s390-64/initfini.c: Remove.
6676
6677 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6678
6679         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6680         compiler output for sysdeps/generic/initfini.c.
6681         * sysdeps/sh/elf/initfini.c: Remove file.
6682
6683 2012-02-16  David S. Miller  <davem@davemloft.net>
6684
6685         [BZ #11494]
6686         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6687
6688         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6689         * sysdeps/sparc/crti.S: New file.
6690         * sysdeps/sparc/crtn.S: New file.
6691         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6692         * sysdeps/sparc/sparc64/Makefile: Likewise.
6693
6694 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
6695
6696         [BZ #3335]
6697         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6698
6699 2012-02-15  Roland McGrath  <roland@hack.frob.com>
6700
6701         [BZ #4822]
6702         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6703
6704         * mach/devstream.c (cookie_io_functions_t): Macro removed.
6705         (write, read, close): Likewise.
6706         Patch by Aurelien Jarno <aurelien@aurel32.net>.
6707
6708 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
6709
6710         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6711         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6712         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6713         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6714         <bits/signalfd.h>.
6715         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6717         bits/signalfd.h.
6718
6719 2012-02-14  Marek Polacek  <polacek@redhat.com>
6720
6721         * sysdeps/x86_64/crti.S: New file.
6722         * sysdeps/x86_64/crtn.S: New file.
6723         * sysdeps/x86_64/elf/initfini.c: Remove file.
6724
6725 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
6726
6727         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6728         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6729         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6730         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6731         <bits/inotify.h>.
6732         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6733         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6734         bits/inotify.h.
6735
6736 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
6737
6738         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6739         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6740         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6741         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6742         <bits/eventfd.h>.
6743         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6744         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6745         bits/eventfd.h.
6746
6747 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
6748
6749         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6750         __feraiseexcept instead of feraiseexcept.
6751
6752         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6753         nanosleep invocations.
6754         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6755         strings, and add error checking for a nanosleep invocations.
6756
6757 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
6758
6759         Replace FSF snail mail address with URLs, as per GNU coding standards.
6760         Most of the snail mail addresses were wrong anyway, and omitting
6761         them makes the source code easier to maintain.  Almost all of the
6762         changes are to license notices and to locale LC_IDENTIFICATION
6763         addresses, except for this one:
6764         * manual/libc.texinfo: In "Published by", give the FSF's URL,
6765         not its snail mail address.
6766
6767 2012-02-09  Richard Henderson  <rth@twiddle.net>
6768
6769         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6770         of kernel-features.h.
6771
6772         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6773
6774 2012-02-08  Marek Polacek  <polacek@redhat.com>
6775
6776         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6777         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6778         * sysdeps/gnu/_G_config.h: Likewise.
6779         * sysdeps/generic/_G_config.h: Likewise.
6780
6781 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
6782
6783         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6784         tests.
6785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6786
6787         * sysdeps/powerpc/powerpc32/crti.S: New file.
6788         * sysdeps/powerpc/powerpc32/crtn.S: New file.
6789         * sysdeps/powerpc/powerpc64/crti.S: New file.
6790         * sysdeps/powerpc/powerpc64/crtn.S: New file.
6791
6792         * Makeconfig (have-initfini): Don't set.
6793         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6794         * configure.in (nopic_initfini): Don't substitute.
6795         * config.h.in (HAVE_INITFINI): Don't #undef.
6796         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6797         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6798
6799 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
6800
6801         Support crti.S and crtn.S provided directly by architectures.
6802         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6803         [crti.S in sysdirs] (omit-deps): Likewise.
6804         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6805         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6806         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6807         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6808         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6809         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6810         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6811         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6812         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6813         compiler output for sysdeps/generic/initfini.c.
6814         * sysdeps/i386/elf/Makefile: Remove file.
6815         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6816
6817 2012-02-07  Marek Polacek  <polacek@redhat.com>
6818
6819         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6820         * sysdeps/gnu/_G_config.h: Likewise.
6821         * sysdeps/mach/hurd/_G_config.h: Likewise.
6822
6823 2012-02-07  Marek Polacek  <polacek@redhat.com>
6824
6825         * math/Makefile (tests): Add tst-CMPLX2.
6826         * math/tst-CMPLX2.c: New file.
6827
6828 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
6829
6830         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6831
6832         * math/libm-test.inc (jn_test): Add missing L suffix.
6833
6834 2012-02-06  Marek Polacek  <polacek@redhat.com>
6835
6836         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6837         * sysdeps/i386/fpu/e_powf.S: Likewise.
6838         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6839         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6840         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6841         * sysdeps/i386/fpu/e_pow.S: Likewise.
6842         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6843         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6844         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6845         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6846         * sysdeps/i386/fpu/e_log2.S: Likewise.
6847         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6848         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6849         * sysdeps/i386/fpu/e_powl.S: Likewise.
6850         * sysdeps/i386/fpu/s_log1p.S: Likewise.
6851         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6852         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6853         * sysdeps/i386/fpu/e_logl.S: Likewise.
6854         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6855         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6856         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6857         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6858         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6859         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6860         * sysdeps/i386/fpu/e_log.S: Likewise.
6861         * sysdeps/i386/fpu/s_cexp.S: Likewise.
6862         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6863         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6864         * sysdeps/i386/fpu/e_logf.S: Likewise.
6865         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6866         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6867         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6868         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6869         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6870         * sysdeps/i386/fpu/e_log10.S: Likewise.
6871         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6872         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6873         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6874         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6875         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6876         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6877         * sysdeps/i386/asm-syntax.h: Likewise.
6878         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6879         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6880         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6881         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6882         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6883         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6884         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6885         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6886         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6887         * sysdeps/powerpc/sysdep.h: Likewise.
6888         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6889         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6890
6891 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
6892
6893         [BZ #411]
6894         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6895
6896 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
6897
6898         * sysdeps/i386/sysdep.h: Include <features.h>.
6899         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6900         version.
6901
6902 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
6903
6904         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6905         Define.
6906         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6907         LOAD_PIC_REG_STR.
6908
6909 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6910
6911         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6912         (SETUP_PIC_REG): Use GET_PC_THUNK.
6913         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6914         macro.
6915
6916 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6917
6918         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6919         for non-PIC compilation.
6920         (SETUP_PIC_REG): Add .p2align directive.
6921         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6922         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6923         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6924         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6925         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6926         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6927         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6928         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6929         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6930         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6931         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6932         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6933         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6934         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6935         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6936         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6937         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6938         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6939         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6940         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6941         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6942         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6943         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6944         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6945         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6946         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6947         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6948         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6949         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6950         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6951         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6952         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6953         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6954         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6955         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6956         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6957         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6958         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6959         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6960         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6961         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6962
6963 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6964
6965         * math/tst-CMPLX.c: Include <stdio.h>.
6966
6967 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
6968
6969         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6970         float.
6971         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6972         * sysdeps/sparc/bits/mathdef.h: Likewise.
6973
6974 2012-01-31  Marek Polacek  <polacek@redhat.com>
6975
6976         * libio/libio.h: Don't define _PARAMS.
6977         * locale/programs/config.h: Don't define PARAMS.
6978         * stdlib/strtol_l.c: Likewise.
6979         (__strtol_l): Remove PARAMS from the prototype.
6980
6981 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
6982
6983         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
6984         names.  Just use the correct names.  Remove unnecessary wrapper
6985         functions.
6986         * malloc/arena.c: Likewise.
6987         * malloc/hooks.c: Likewise.
6988
6989         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6990         ARENA_TEST says not to.  Simplify test for creation of a new arena.
6991         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6992
6993 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
6994
6995         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6996         into tail calls.
6997         (update_get_addr): New function.
6998         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6999         GET_ADDR_MODULE parameter.
7000
7001 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
7002
7003         * crypt/cert.c: Remove __STDC__ conditionals.
7004         * crypt/crypt-entry.c: Likewise.
7005         * crypt/crypt_util.c: Likewise.
7006         * libio/filedoalloc.c: Likewise.
7007         * libio/fileops.c: Likewise.
7008         * libio/genops.c: Likewise.
7009         * libio/iofclose.c: Likewise.
7010         * libio/iofdopen.c: Likewise.
7011         * libio/iofopen.c: Likewise.
7012         * libio/iofopen64.c: Likewise.
7013         * libio/iogetdelim.c: Likewise.
7014         * libio/iopopen.c: Likewise.
7015         * libio/obprintf.c: Likewise.
7016         * libio/oldfileops.c: Likewise.
7017         * libio/oldiofclose.c: Likewise.
7018         * libio/oldiofdopen.c: Likewise.
7019         * libio/oldiofopen.c: Likewise.
7020         * libio/oldiopopen.c: Likewise.
7021         * libio/wfiledoalloc.c: Likewise.
7022         * libio/wgenops.c: Likewise.
7023         * locale/programs/xmalloc.c: Likewise.
7024         * misc/syslog.c: Likewise.
7025         * stdio-common/xbug.c: Likewise.
7026         * string/memchr.c: Likewise.
7027         * string/memcmp.c: Likewise.
7028         * string/memrchr.c: Likewise.
7029         * string/rawmemchr.c: Likewise.
7030         * sysdeps/posix/getcwd.c: Likewise.
7031         * time/strftime_l.c: Likewise.
7032
7033 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
7034
7035         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7036         * config.make.in (config-cflags-sse2avx): Define.
7037         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7038         Fix typo.
7039
7040 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
7041
7042         * scripts/config.guess: Update from upstream config git repository.
7043         * scripts/config.sub: Likewise.
7044
7045 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
7046
7047         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7048         (EM_NUM): Update.
7049         (R_TILEPRO_*, R_TILEGX_*): New macros.
7050
7051         * scripts/firstversions.awk: Fix bug in version range handling.
7052
7053         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7054
7055         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7056
7057         * include/sys/epoll.h: New file.
7058         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7059         libc_hidden_def.
7060
7061 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
7062
7063         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7064         Avoid unnecessary __WORDSIZE == 64 test.
7065         (fmaxf): Use VEX format if possible.
7066         (fmax): Likewise.
7067         (fminf): Likewise.
7068         (fmin): Likewise.
7069
7070         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7071         * math/math_private.h: Remove libc_fegetround* and
7072         libc_fesetround*.
7073         * sysdeps/i386/configure.in: Check for -msse2avx.
7074         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7075         also if SSE2AVX is defined.
7076         Remove libc_fegetround* and libc_fesetround*.
7077         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7078         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
7079         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7080         of HAS_YMM_USABLE.
7081         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7082         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7083         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7084         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7085         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7086
7087         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7088
7089 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7090
7091         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7092         size is not set.
7093         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7094
7095 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
7096
7097         [BZ #13618]
7098         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7099         relocation.
7100         * Makeconfig (libm): Define.
7101         * elf/Makefile: Add rules to build and run tst-relsort1.
7102         * elf/tst-relsort1.c: New file.
7103         * elf/tst-relsort1mod1.c: New file.
7104         * elf/tst-relsort1mod2.c: New file.
7105
7106 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
7107
7108         * math/s_ldexp.c: Remove __STDC__ conditionals.
7109         * math/s_ldexpf.c: Likewise.
7110         * math/s_ldexpl.c: Likewise.
7111         * math/s_nextafter.c: Likewise.
7112         * math/s_nexttowardf.c: Likewise.
7113         * math/s_significand.c: Likewise.
7114         * math/s_significandf.c: Likewise.
7115         * math/s_significandl.c: Likewise.
7116         * math/w_jnl.c: Likewise.
7117         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7118         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7119         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7120         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7121         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7122         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7123         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7124         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7125         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7126         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7127         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7128         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7129         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7130         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7131         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7132         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7133         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7134         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7135         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7136         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7137         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7138         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7139         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7140         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7141         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7142         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7143         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7144         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7145         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7146         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7147         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7148         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7149         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7150         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7151         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7152         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7153         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7154         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7155         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7156         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7157         * sysdeps/ieee754/k_standard.c: Likewise.
7158         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7159         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7160         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7161         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7162         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7163         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7164         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7165         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7166         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7167         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7168         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7169         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7170         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7171         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7172         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7173         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7174         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7175         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7176         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7177         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7178         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7179         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7180         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7181         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7182         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7183         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7184         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7185         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7186         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7187         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7188         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7189         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7190         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7191         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7192         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7193         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7194         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7195         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7196         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7197         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7198         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7199         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7200         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7201         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7202         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7203         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7204         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7205         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7206         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7207         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7208         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7209         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7210         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7211         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7212         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7213         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7214         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7215         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7216         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7217         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7218         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7219         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7220         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7221         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7222         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7223         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7224         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7225         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7226         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7227         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7228         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7229         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7230         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7231         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7232         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7233         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7234         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7235         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7236         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7237         * sysdeps/ieee754/s_matherr.c: Likewise.
7238         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7239         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7240         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7241         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7242
7243 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
7244
7245         * crypt/md5.h: Remove __STDC__ conditionals.
7246         * libio/libioP.h: Likewise.
7247         * locale/programs/config.h: Likewise.
7248         * sysdeps/generic/sysdep.h: Likewise.
7249         * sysdeps/i386/asm-syntax.h: Likewise.
7250         * sysdeps/s390/asm-syntax.h: Likewise.
7251         * sysdeps/unix/sysdep.h: Likewise.
7252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7254
7255 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
7256
7257         * libio/libio.h: Remove __STDC__ conditionals.
7258         * malloc/obstack.h: Likewise.
7259         * math/complex.h: Likewise.
7260         * math/math.h: Likewise.
7261         * sysdeps/generic/_G_config.h: Likewise.
7262         * sysdeps/gnu/_G_config.h: Likewise.
7263         * sysdeps/mach/hurd/_G_config.h: Likewise.
7264         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7265         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7266         * sysdeps/sparc/bits/mathdef.h: Likewise.
7267
7268 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
7269
7270         [BZ #13583]
7271         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7272         Clean up HAS_* macros.
7273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7274         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7275         possible.
7276         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7277         HAS_AVX.
7278         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7279         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7280         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7281         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7282         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7283
7284 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
7285
7286         * elf/tst-unique3.cc (gets): Remove declaration.
7287         * elf/tst-unique3lib.cc (gets): Likewise.
7288         * elf/tst-unique3lib2.cc (gets): Likewise.
7289         * elf/tst-unique4.cc (gets): Likewise.
7290
7291 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
7292
7293         * include/stdio.h: Add C++ protection.  Add gets declarations and
7294         definitions.
7295         * debug/tst-chk1.c: Don't declare gets here.
7296         * stdio-common/tst-gets.c: Likewise.
7297
7298 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
7299
7300         * posix/glob: Remove directory.
7301
7302 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
7303
7304         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7305
7306 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
7307
7308         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7309         of the non-standard EPFNOSUPPORT.
7310
7311 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7312
7313         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7314         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7315         ANYWHERE set to 1 only on KERN_NO_SPACE error.
7316
7317 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
7318
7319         * wcsmbs/uchar.h: Test __STDC_VERSION__.
7320
7321 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
7322
7323         * nscd/aicache.c (addhstaiX): Do not cache negative results of
7324         transient errors.
7325         * nscd/grpcache.c (cache_addgr): Likewise.
7326         * nscd/hstcache.c (cache_addhst): Likewise.
7327         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7328         * nscd/pwdcache.c (cache_addpw): Likewise.
7329         * nscd/servicescache.c (cache_addserv): Likewise.
7330
7331 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
7332
7333         * malloc/malloc.c: Various cleanups.
7334         * malloc/hooks.c: Likewise.
7335
7336         * stdlib/Makefile (tests): Add bug-fmtmsg1.
7337         * stdlib/bug-fmtmsg1.c: New file.
7338
7339         * stdlib/fmtmsg.c (init): Add missing unlock.
7340         Patch by Peng Haitao <penght@cn.fujitsu.com>.
7341
7342 2012-01-12  Marek Polacek  <polacek@redhat.com>
7343
7344         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7345         and _GNU_SOURCE.
7346
7347 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7348
7349         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7350         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7351         macro to ensure uniqueness of label name.
7352         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7353         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7354
7355 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
7356
7357         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7358
7359         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7360         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7361         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7362         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7363
7364 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
7365
7366         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7367
7368         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7369         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7370         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7371
7372         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7373
7374         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7375         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7376         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7377         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7378
7379         * math/bits/math-finite.h: Add ldexp support.
7380
7381 2012-01-10  Marek Polacek  <polacek@redhat.com>
7382
7383         * locale/programs/localedef.h (show_archive_content): Add noreturn
7384         attribute.
7385
7386 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
7387
7388         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7389
7390 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
7391
7392         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7393
7394         * io/Makefile (headers): Add bits/poll2.h.
7395
7396 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
7397
7398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7399         typo #include statement.
7400
7401 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
7402
7403         * include/sys/cdefs.h: Define __attribute_alloc_size.
7404         * catgets/gencat.c: Add alloc_size attribute and apply consistently
7405         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7406         * elf/pldd.c: Likewise.
7407         * iconv/iconv_charmap.c: Likewise.
7408         * iconv/iconvconfig.c: Likewise.
7409         * iconv/strtab.c: Likewise.
7410         * locale/programs/locale.c: Likewise.
7411         * locale/programs/localedef.h: Likewise.
7412         * locale/programs/simple-hash.c: Likewise.
7413         * nscd/nscd.h: Likewise.
7414         * nss/makedb.c: Likewise.
7415         * sysdeps/generic/ldconfig.h: Likewise.
7416         * locale/programs/localedef.c: Remove xmalloc prototype.
7417         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7418
7419 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7420
7421         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7422         appropriate.
7423
7424 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
7425
7426         * math/Makefile (tests): Add tst-CMPLX.
7427         * math/tst-CMPLX.c: New file.
7428
7429         * math/complex.h (CMPLXL): Fix typo.
7430
7431         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7432         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7433         GLIBC_2.16.
7434         * debug/tst-chk1.c: Add poll and ppoll tests.
7435         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7436         * include/sys/poll.h: Add hidden proto for ppoll.
7437         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7438         * sysdeps/mach/hurd/ppoll.c: Likewise.
7439         * io/ppoll.c: Likewise.
7440         * debug/poll_chk.c: New file.
7441         * debug/ppoll_chk.c: New file.
7442         * include/bits/poll2.h: New file.
7443         * io/bits/poll2.h: New file.
7444
7445         [BZ #1350]
7446         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7447
7448         * configure.in: static is always set to yes.  Remove.
7449         * config.make.in: Don't set build-static.
7450         * Makeconfig: Remove use of build-static.
7451         * dlfcn/Makefile: Likewise.
7452         * elf/Makefile: Likewise.
7453         * math/Makefile: Likewise.
7454         * misc/Makefile: Likewise.
7455         * nptl/Makefile: Likewise.
7456         * sysdeps/mach/hurd/Makefile: Likewise.
7457
7458         * configure.in: PWD_P is not used anymore.
7459         * config.make.in: Remove PWD_P entry.
7460
7461         * configure.in: Remove last remnants of RANLIB.
7462         No need to check for signed size_t anymore.
7463         Don't set libc_commonpagesize and libc_relro_required here for Alpha
7464         and IA-64.
7465         Remove __builtin_expect test because we require at least gcc 3.4.
7466         * aclocal.m4: Likewise.
7467
7468         * wcsmbs/mbrtoc16.c: Implement using towc function.
7469         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7470         * wcsmbs/wcsmbsload.c: Likewise.
7471         * iconv/gconv_simple.c: Likewise.
7472         * iconv/gconv_int.h: Likewise.
7473         * iconv/gconv_builtin.h: Likewise.
7474         * iconv/iconv_prog.c: Remove CHAR16 handling.
7475
7476         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7477
7478         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7479
7480         * configure.in: Remove --with-elf and --enable-bounded options.
7481         Dont set base_machine for ia64.  More non-ELF conditions removed.
7482         Remove testing and setting of leading underscore information.
7483         * config.make.in (build-bounded): Set to no.
7484         * config.h.in: Remove NO_UNDERSCORES entry.
7485         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
7486         them.
7487         * csu/start.c: Remove !NO_UNDERSCORE code.
7488         * locale/localeinfo.h: Likewise.
7489         * sysdeps/generic/machine-gmon.h: Likewise.
7490         * sysdeps/generic/sysdep.h: Likewise.
7491         * sysdeps/i386/sysdep.h: Likewise.
7492         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7493         * sysdeps/mach/sysdep.h: Likewise.
7494         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7495         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7496         * sysdeps/sh/sysdep.h: Likewise.
7497         * sysdeps/sparc/sparc32/alloca.S: Likewise.
7498         * sysdeps/unix/i386/sysdep.S: Likewise.
7499         * sysdeps/unix/sparc/start.c: Likewise.
7500         * sysdeps/unix/sparc/sysdep.S: Likewise.
7501         * sysdeps/unix/sparc/sysdep.h: Likewise.
7502         * sysdeps/unix/start.c: Likewise.
7503         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7504         * sysdeps/x86_64/sysdep.h: Likewise.
7505
7506 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
7507
7508         [BZ #13553]
7509         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7510         for non-gcc.
7511         * argp/argp-fmtstream.h: Use const instead __const.
7512         * argp/argp.h: Likewise.
7513         * assert/assert.h: Likewise.
7514         * bits/fenv.h: Likewise.
7515         * bits/sched.h: Likewise.
7516         * bits/sigset.h: Likewise.
7517         * bits/sigthread.h: Likewise.
7518         * catgets/nl_types.h: Likewise.
7519         * conform/data/pthread.h-data: Likewise.
7520         * crypt/crypt-private.h: Likewise.
7521         * crypt/crypt.h: Likewise.
7522         * crypt/crypt_util.c: Likewise.
7523         * ctype/ctype.h: Likewise.
7524         * debug/execinfo.h: Likewise.
7525         * debug/mbsnrtowcs_chk.c: Likewise.
7526         * debug/mbsrtowcs_chk.c: Likewise.
7527         * debug/wcsnrtombs_chk.c: Likewise.
7528         * debug/wcsrtombs_chk.c: Likewise.
7529         * debug/wcstombs_chk.c: Likewise.
7530         * dirent/dirent.h: Likewise.
7531         * dlfcn/dlfcn.h: Likewise.
7532         * elf/neededtest4.c: Likewise.
7533         * grp/grp.h: Likewise.
7534         * gshadow/gshadow.h: Likewise.
7535         * iconv/gconv.h: Likewise.
7536         * iconv/gconv_int.h: Likewise.
7537         * iconv/gconv_simple.c: Likewise.
7538         * iconv/iconv.h: Likewise.
7539         * iconv/loop.c: Likewise.
7540         * iconv/skeleton.c: Likewise.
7541         * include/aio.h: Likewise.
7542         * include/aliases.h: Likewise.
7543         * include/argz.h: Likewise.
7544         * include/arpa/inet.h: Likewise.
7545         * include/assert.h: Likewise.
7546         * include/dirent.h: Likewise.
7547         * include/dlfcn.h: Likewise.
7548         * include/execinfo.h: Likewise.
7549         * include/fcntl.h: Likewise.
7550         * include/fenv.h: Likewise.
7551         * include/glob.h: Likewise.
7552         * include/grp.h: Likewise.
7553         * include/libintl.h: Likewise.
7554         * include/mntent.h: Likewise.
7555         * include/netdb.h: Likewise.
7556         * include/pwd.h: Likewise.
7557         * include/rpc/netdb.h: Likewise.
7558         * include/sched.h: Likewise.
7559         * include/search.h: Likewise.
7560         * include/shadow.h: Likewise.
7561         * include/signal.h: Likewise.
7562         * include/stdio.h: Likewise.
7563         * include/stdlib.h: Likewise.
7564         * include/string.h: Likewise.
7565         * include/sys/socket.h: Likewise.
7566         * include/sys/stat.h: Likewise.
7567         * include/sys/statfs.h: Likewise.
7568         * include/sys/statvfs.h: Likewise.
7569         * include/sys/syslog.h: Likewise.
7570         * include/sys/time.h: Likewise.
7571         * include/sys/uio.h: Likewise.
7572         * include/time.h: Likewise.
7573         * include/unistd.h: Likewise.
7574         * include/utmp.h: Likewise.
7575         * include/wchar.h: Likewise.
7576         * include/wctype.h: Likewise.
7577         * inet/aliases.h: Likewise.
7578         * inet/arpa/inet.h: Likewise.
7579         * inet/netinet/ether.h: Likewise.
7580         * inet/netinet/in.h: Likewise.
7581         * intl/libintl.h: Likewise.
7582         * io/bits/fcntl2.h: Likewise.
7583         * io/fcntl.h: Likewise.
7584         * io/ftw.h: Likewise.
7585         * io/sys/poll.h: Likewise.
7586         * io/sys/stat.h: Likewise.
7587         * io/sys/statfs.h: Likewise.
7588         * io/sys/statvfs.h: Likewise.
7589         * io/utime.h: Likewise.
7590         * libio/bits/stdio.h: Likewise.
7591         * libio/bits/stdio2.h: Likewise.
7592         * libio/libio.h: Likewise.
7593         * libio/libioP.h: Likewise.
7594         * libio/stdio.h: Likewise.
7595         * locale/lc-ctype.c: Likewise.
7596         * locale/locale.h: Likewise.
7597         * login/utmp.h: Likewise.
7598         * malloc/arena.c: Likewise.
7599         * malloc/malloc.c: Likewise.
7600         * malloc/malloc.h: Likewise.
7601         * malloc/mcheck.c: Likewise.
7602         * malloc/mtrace.c: Likewise.
7603         * math/bits/mathcalls.h: Likewise.
7604         * math/fenv.h: Likewise.
7605         * math/math_private.h: Likewise.
7606         * misc/bits/error.h: Likewise.
7607         * misc/bits/syslog.h: Likewise.
7608         * misc/err.h: Likewise.
7609         * misc/error.h: Likewise.
7610         * misc/fstab.h: Likewise.
7611         * misc/mntent.h: Likewise.
7612         * misc/regexp.h: Likewise.
7613         * misc/search.h: Likewise.
7614         * misc/sgtty.h: Likewise.
7615         * misc/sys/mman.h: Likewise.
7616         * misc/sys/syslog.h: Likewise.
7617         * misc/sys/uio.h: Likewise.
7618         * misc/sys/xattr.h: Likewise.
7619         * misc/ttyent.h: Likewise.
7620         * nis/rpcsvc/ypclnt.h: Likewise.
7621         * nss/nss.h: Likewise.
7622         * posix/bits/unistd.h: Likewise.
7623         * posix/fnmatch.h: Likewise.
7624         * posix/glob.h: Likewise.
7625         * posix/sched.h: Likewise.
7626         * posix/spawn.h: Likewise.
7627         * posix/sys/wait.h: Likewise.
7628         * posix/unistd.h: Likewise.
7629         * posix/wordexp.h: Likewise.
7630         * pwd/pwd.h: Likewise.
7631         * resolv/netdb.h: Likewise.
7632         * resource/sys/resource.h: Likewise.
7633         * rt/aio.h: Likewise.
7634         * rt/bits/mqueue2.h: Likewise.
7635         * rt/mqueue.h: Likewise.
7636         * shadow/shadow.h: Likewise.
7637         * signal/signal.h: Likewise.
7638         * socket/send.c: Likewise.
7639         * socket/sendto.c: Likewise.
7640         * socket/sys/socket.h: Likewise.
7641         * stdio-common/printf.h: Likewise.
7642         * stdlib/bits/stdlib.h: Likewise.
7643         * stdlib/fmtmsg.h: Likewise.
7644         * stdlib/monetary.h: Likewise.
7645         * stdlib/stdlib.h: Likewise.
7646         * stdlib/ucontext.h: Likewise.
7647         * streams/stropts.h: Likewise.
7648         * string/argz.h: Likewise.
7649         * string/bits/string2.h: Likewise.
7650         * string/string.h: Likewise.
7651         * string/strings.h: Likewise.
7652         * sunrpc/rpc/auth.h: Likewise.
7653         * sunrpc/rpc/auth_des.h: Likewise.
7654         * sunrpc/rpc/clnt.h: Likewise.
7655         * sunrpc/rpc/netdb.h: Likewise.
7656         * sunrpc/rpc/pmap_clnt.h: Likewise.
7657         * sunrpc/rpc/xdr.h: Likewise.
7658         * sysdeps/generic/inttypes.h: Likewise.
7659         * sysdeps/generic/net/if.h: Likewise.
7660         * sysdeps/generic/sys/swap.h: Likewise.
7661         * sysdeps/gnu/net/if.h: Likewise.
7662         * sysdeps/gnu/utmpx.h: Likewise.
7663         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7664         * sysdeps/i386/i486/bits/string.h: Likewise.
7665         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7666         * sysdeps/s390/bits/string.h: Likewise.
7667         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7668         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7669         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7670         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7671         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7672         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7673         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7674         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7675         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7676         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7677         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7678         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7679         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7680         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7681         * sysdeps/unix/sysv/linux/readv.c: Likewise.
7682         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7683         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7684         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7685         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7686         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7687         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7688         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7689         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7690         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7691         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7692         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7693         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7694         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7695         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7696         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7697         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7698         * sysvipc/sys/ipc.h: Likewise.
7699         * sysvipc/sys/msg.h: Likewise.
7700         * sysvipc/sys/sem.h: Likewise.
7701         * sysvipc/sys/shm.h: Likewise.
7702         * termios/termios.h: Likewise.
7703         * time/sys/time.h: Likewise.
7704         * time/time.h: Likewise.
7705         * wcsmbs/bits/wchar2.h: Likewise.
7706         * wcsmbs/uchar.h: Likewise.
7707         * wcsmbs/wchar.h: Likewise.
7708         * wctype/wctype.h: Likewise.
7709
7710         [BZ #13551]
7711         * Makeconfig: Remove all but ELF support including AIX support.
7712         * Makerules: Likewise.
7713         * config.h.in: Likewise.
7714         * config.make.in: Likewise.
7715         * configure: Likewise.
7716         * configure.in: Likewise.
7717         * csu/Makefile: Likewise.
7718         * csu/version.c: Likewise.
7719         * debug/Makefile: Likewise.
7720         * dlfcn/Makefile: Likewise.
7721         * elf/Makefile: Likewise.
7722         * extra-lib.mk: Likewise.
7723         * iconv/Makefile: Likewise.
7724         * include/libc-symbols.h: Likewise.
7725         * include/shlib-compat.h: Likewise.
7726         * resolv/Makefile: Likewise.
7727         * resolv/res_libc.c: Likewise.
7728         * rt/Makefile: Likewise.
7729         * sysdeps/i386/asm-syntax.h: Likewise.
7730         * sysdeps/i386/sysdep.h: Likewise.
7731         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7732         * sysdeps/mach/sysdep.h: Likewise.
7733         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7734         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7735         * sysdeps/s390/asm-syntax.h: Likewise.
7736         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7737         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7738         * sysdeps/sh/sysdep.h: Likewise.
7739         * sysdeps/unix/sparc/sysdep.h: Likewise.
7740         * sysdeps/wordsize-32/divdi3.c: Likewise.
7741         * sysdeps/x86_64/sysdep.h: Likewise.
7742
7743         * argp/Versions: Remove _argp_unlock_xxx.
7744
7745         [BZ #13559]
7746         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
7747         * abilist/libBrokenLocale.abilist: Likewise.
7748         * abilist/libanl.abilist: Likewise.
7749         * abilist/libc.abilist: Likewise.
7750         * abilist/libcrypt.abilist: Likewise.
7751         * abilist/libdl.abilist: Likewise.
7752         * abilist/libm.abilist: Likewise.
7753         * abilist/libnsl.abilist: Likewise.
7754         * abilist/libpthread.abilist: Likewise.
7755         * abilist/libresolv.abilist: Likewise.
7756         * abilist/librt.abilist: Likewise.
7757         * abilist/libthread_db.abilist: Likewise.
7758         * abilist/libutil.abilist: Likewise.
7759         * abilist/libnss_db.abilist: New file.
7760
7761         * scripts/abilist.awk: Add support for indirect functions.
7762
7763         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7764
7765         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7766
7767         * shlib-versions: Remove entries for ports architectures.
7768
7769         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
7770         files in ports.
7771         * elf/stackguard-macros.h: Remove support for IA-64.
7772         * elf/tst-auditmod1.c: Likewise.
7773         * sysdeps/generic/ldsodefs.h: Likewise.
7774
7775         * sysdeps/unix/sysv/linux/configure.in: Ports should define
7776         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7777         configure files.
7778
7779         [BZ #13552]
7780         * configure.in: Remove --enable-omitfp support.
7781         * FAQ.in: Adjust.
7782         * config.make.in: Likewise.
7783         * Makeconfig: Likewise.
7784         * manual/install.texi: Likewise.
7785
7786         In case anyone cares, the IA-64 architecture could move to ports.
7787         * sysdeps/ia64/*: Removed.
7788         * sysdeps/unix/sysv/linux/ia64/*: Removed.
7789         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7790
7791         [BZ #13555]
7792         * configure.in: Remove entries for unsupported architectures.
7793
7794         [BZ #13533]
7795         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7796         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
7797         routines.
7798         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7799         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7800         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
7801         fall back to using wcrtomb.
7802         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7803         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
7804         renaming.
7805         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7806         * wcsmbs/tst-c16c32-1.c: New file.
7807
7808         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7809         local variable.
7810
7811         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7812
7813         * elf/tst-unique3.cc: Add explicit declaration of gets.
7814         * elf/tst-unique3lib.cc: Likewise.
7815         * elf/tst-unique3lib2.cc: Likewise.
7816         * elf/tst-unique4.cc: Likewise.
7817
7818         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7819
7820 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
7821
7822         [BZ #13566]
7823         * assert/assert.h (static_assert): Don't define for C++.
7824         * libio/stdio.h (gets): Do declare for C++ <= C++11.
7825         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7826
7827 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
7828
7829         * iconv/loop.c (single loop): Fix assertion in storing of
7830         remaining bytes.
7831
7832         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7833
7834 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
7835
7836         * posix/getconf.c: Update copyright year.
7837         * nss/getent.c: Likewise.
7838         * nss/makedb.c: Likewise.
7839         * iconv/iconvconfig.c: Likewise.
7840         * iconv/iconv_prog.c: Likewise.
7841         * elf/ldconfig.c: Likewise.
7842         * elf/pldd.c: Likewise.
7843         * elf/sotruss.ksh: Likewise.
7844         * catgets/gencat.c: Likewise.
7845         * csu/version.c: Likewise.
7846         * elf/ldd.bash.in: Likewise.
7847         * elf/sprof.c (print_version): Likewise.
7848         * locale/programs/locale.c: Likewise.
7849         * locale/programs/localedef.c: Likewise.
7850         * login/programs/pt_chown.c: Likewise.
7851         * nscd/nscd.c (print_version): Likewise.
7852         * debug/xtrace.sh: Likewise.
7853         * malloc/memusage.sh: Likewise.
7854         * malloc/mtrace.pl: Likewise.
7855         * debug/catchsegv.sh: Likewise.
7856
7857 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
7858
7859         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7860         pure attribute.
7861
7862 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
7863
7864         [BZ #13533]
7865         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7866         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7867         transformations.
7868         * iconv/gconv_int.h: Likewise.
7869         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7870         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7871         from libc for GLIBC_2.16.
7872         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7873         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7874         * wcsmbs/uchar.h: Really define mbstate_t.
7875         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7876         * wcsmbs/c16rtomb.c: New file.
7877         * wcsmbs/mbrtoc16.c: New file.
7878         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7879         for C/POSIX locale.
7880         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7881         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7882
7883         * wcsmbs/wchar.h: Add missing __restrict.
7884
7885 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7886
7887         [BZ #13532]
7888         * time/Makefile (routines): Add timespec_get.
7889         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7890         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
7891         timespec for ISO C11.
7892         * time/timespec_get.c: New file.
7893         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7894         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7895
7896         [BZ #13531]
7897         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7898         * stdlib/stdlib.h: Declare aligned_alloc.
7899         * Versions.def: Add GLIBC_2.16 for libc.
7900         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7901
7902         [BZ 13527]
7903         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7904         ISO C11.
7905
7906         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7907         code.
7908
7909         [BZ #13528]
7910         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7911
7912         [BZ #13529]
7913         * assert/assert.h (static_assert): Define.
7914
7915         * version.h: Update for 2.16 development version.
7916
7917         [BZ #13526]
7918         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7919         _ISOC11_SOURCE.
7920
7921         * version.h (RELEASE): Bump for 2.15 release.
7922         * include/features.h (__GLIBC_MINOR__): Bump to 15.
7923
7924         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7925         Patch by Marek Polacek <mpolacek@redhat.com>.
7926
7927         * bits/byteswap.h: Protect long long constants with __extension__.
7928         * sysdeps/i386/bits/byteswap.h: Likewise.
7929         * sysdeps/ia64/bits/byteswap.h: Likewise.
7930         * sysdeps/s390/bits/byteswap.h: Likewise.
7931         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7932
7933 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7934
7935         [BZ #13540]
7936         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7937         destination buffer.
7938         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7939
7940 2011-12-23  Marek Polacek  <polacek@redhat.com>
7941
7942         * elf/dl-addr.c (determine_info): Add inline keyword.
7943         * elf/tst-auditmod4b.c (check_avx): Likewise.
7944         * elf/tst-auditmod6b.c (check_avx): Likewise.
7945         * elf/tst-auditmod6c.c (check_avx): Likewise.
7946         * elf/tst-auditmod7b.c (check_avx): Likewise.
7947
7948 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7949
7950         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7951         !__SSE_MATH__.
7952
7953 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7954
7955         [BZ #13540]
7956         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7957         processing for last bytes.
7958
7959 2011-08-06  Bruno Haible  <bruno@clisp.org>
7960
7961         [BZ #13061]
7962         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7963         U+0385, not to U+1FEE.
7964
7965         [BZ #13062]
7966         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7967         entry for U+00A5 U+0301.
7968
7969 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7970
7971         [BZ #13166]
7972         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7973         buffer for the output is too small.
7974
7975         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7976         optimization.
7977
7978         [BZ #13185]
7979         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7980         SSE flags if possible.
7981
7982 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7983
7984         [BZ #13540]
7985         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7986         processing for last bytes.
7987
7988 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
7989
7990         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7991         (syscall-list-default-options, syscall-list-default-condition)
7992         (syscall-list-includes): Define.
7993         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7994         list of ABIs and options and #if conditions for each ABI.  Do not
7995         handle common syscalls between ABIs specially.
7996         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7997         Remove.
7998         (syscall-list-variants, syscall-list-32bit-options)
7999         (syscall-list-32bit-condition, syscall-list-64bit-options)
8000         (syscall-list-64bit-condition): Define.
8001         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8002         (syscall-list-variants, syscall-list-32bit-options)
8003         (syscall-list-32bit-condition, syscall-list-64bit-options)
8004         (syscall-list-64bit-condition): Define.
8005         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8006         Remove.
8007         (syscall-list-variants, syscall-list-32bit-options)
8008         (syscall-list-32bit-condition, syscall-list-64bit-options)
8009         (syscall-list-64bit-condition): Define.
8010         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8011         Remove.
8012         (syscall-list-variants, syscall-list-32bit-options)
8013         (syscall-list-32bit-condition, syscall-list-64bit-options)
8014         (syscall-list-64bit-condition): Define.
8015
8016 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
8017
8018         * locale/iso-639.def: Add brx entry.
8019
8020         [BZ #13328]
8021         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8022         Proposed by Mariusz_Cukr <marcukr@op.pl>.
8023
8024         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8025         __feraiseexcept_renamed.
8026
8027 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
8028
8029         [BZ #13538]
8030         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8031         EPOLLET with unsigned values.
8032         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8033         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8034
8035         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8036         to large cancellation.
8037         * math/s_cacoshf.c: Likewise.
8038         * math/s_cacoshl.c: Likewise.
8039
8040 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
8041
8042         [BZ #13305]
8043         [BZ #12786]
8044         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8045         * math/s_cacoshf.c: Likewise.
8046         * math/s_cacoshl.c: Likewise.
8047
8048 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
8049
8050         [BZ #13439]
8051         * iconv/gconv.h: Define __GCONV_SWAP.
8052         * iconvdata/unicode.c: The swap bit must be stored in __flags.
8053         * iconvdata/utf-16.c: Likewise.
8054         * iconvdata/utf-32.c: Likewise.
8055
8056 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8057
8058         [BZ #13524]
8059         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8060         numerator after shifting it by one limb.
8061
8062 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
8063
8064         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8065         under [__USE_EXTERN_INLINES].
8066
8067 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
8068
8069         [BZ #13446]
8070         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8071
8072 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8073
8074         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8075         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8076         optimized code.
8077         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8078         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8079         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8080         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8081         for strncasecmp/strncasecmp_l compilation.
8082         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8083         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8084
8085 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
8086
8087         [BZ #13484]
8088         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8089         of __asm__.
8090
8091 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
8092
8093         [BZ #13506]
8094         * time/tzfile.c (__tzfile_read): Check values from file header.
8095
8096 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8097
8098         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8099         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8100         * powerpc/powerpc32/dl-start.S: Likewise.
8101         * powerpc/powerpc32/elf/start.S: Likewise.
8102         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8103         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8104         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8105         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8106         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8107         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8108         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8109         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8110         * powerpc/powerpc32/fpu/s_round.S: Likewise.
8111         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8112         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8113         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8114         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8115         * powerpc/powerpc32/memset.S: Likewise.
8116         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8117         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8118         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8119         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8120         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8121         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8122         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8123         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8124         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8125         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8126         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8127         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8128         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8129
8130 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8131
8132         * math/libm-test.inc: Added more nearbyint tests.
8133         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8134         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8135         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8136         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8137
8138 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
8139
8140         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8141         FD_CLOEXEC.
8142
8143 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8144
8145         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8146         Add wcscpy-ssse3 wcscpy-c.
8147         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8148         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8149         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8150         * sysdeps/x86_64/wcschr.S: New file.
8151         * sysdeps/x86_64/wcsrchr.S: New file.
8152         * string/test-strcmp.c: Remove checking of wcscmp function for
8153         wrong alignments.
8154         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8155         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8156         wcsrchr-sse2 wcsrchr-c.
8157         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8158         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8159         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8160         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8161         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8162         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8163         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8164         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8165         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8166         * wcsmbc/wcschr.c (WCSCHR): New macro.
8167
8168 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8169
8170         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8171         * wcsmbs/test-wcsrchr.c: New file.
8172         * string/test-strrchr.c: Add wcsrchr support.
8173         (WIDE): New macro.
8174         * wcsmbs/test-wcscpy.c: New file.
8175         * string/test-strcpy.c: Add wcscpy support.
8176         (WIDE): New macro.
8177
8178 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
8179
8180         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8181         the inner loop.
8182
8183 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
8184
8185         [BZ #13472]
8186         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8187
8188 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
8189
8190         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8191         Minor optimizations.
8192
8193         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8194         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8195         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8196
8197 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
8198
8199         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8200         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8201         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8202         for gcc to avoid warnings.
8203         * inet/Makefile (tests): Add tst-checks.
8204         * inet/tst-checks.c: New file.
8205
8206         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8207         warning.
8208
8209         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8210         __wmemcmp_sse2.
8211
8212         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8213         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8214
8215         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8216
8217 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
8218
8219         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8220         problem.
8221
8222         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8223
8224 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
8225
8226         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8227         conditional on GCC version.
8228         (__arch_compare_and_exchange_val_8_acq)
8229         (__arch_compare_and_exchange_val_16_acq)
8230         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8231         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8232         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8233
8234 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
8235
8236         * sysdeps/sh/backtrace.c: New file.
8237
8238 2011-12-02  Andreas Schwab  <schwab@redhat.com>
8239
8240         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
8241         parenthesis.
8242
8243 2011-12-01  Andreas Schwab  <schwab@redhat.com>
8244
8245         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8246         falling back to utime.
8247
8248 2011-11-30  Andreas Schwab  <schwab@redhat.com>
8249
8250         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8251         expectations for float.
8252
8253 2011-11-29  Andreas Schwab  <schwab@redhat.com>
8254
8255         * locale/weight.h (findidx): Add parameter len.
8256         * locale/weightwc.h (findidx): Likewise.
8257         * posix/fnmatch_loop.c (FCT): Adjust caller.
8258         * posix/regcomp.c (build_equiv_class): Likewise.
8259         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8260         * posix/regexec.c (check_node_accept_bytes): Likewise.
8261         * string/strcoll_l.c (STRCOLL): Likewise.
8262         * string/strxfrm_l.c (STRXFRM): Likewise.
8263
8264 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
8265
8266         * Makefile.in: Remove CVSOPT handling.
8267         * configure.in: Remove use of AC_REVISION.
8268         * iconvdata/Makefile (distribute): No need to filter out CVS.
8269         * scripts/list-sources.sh: Remove CVS, subversion and monotone
8270         handling.
8271
8272 2011-11-16  Andreas Schwab  <schwab@redhat.com>
8273
8274         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8275         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8276         [USE_AS_STRNCASECMP_L]: Likewise.
8277         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8278         NO_TLS_DIRECT_SEG_REFS.
8279         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8280         Fix argument offsets for non-PIC.
8281         [USE_AS_STRNCASECMP_L]: Likewise.
8282         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8283         NO_TLS_DIRECT_SEG_REFS.
8284
8285 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
8286
8287         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8288         O_CLOEXEC.
8289         * locale/loadlocale.c (_nl_load_locale): Likewise.
8290
8291 2011-11-15  Andreas Schwab  <schwab@redhat.com>
8292
8293         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8294         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8295         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8296         (SYSCALL_GETTIME): Set errno on error.
8297
8298         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8299         count references to noai6ai_cached.
8300
8301 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
8302
8303         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8304
8305         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8306         FD_CLOEXEC for /proc/self/maps.
8307
8308         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8309         FD_CLOEXEC for /proc/meminfo.
8310
8311         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8312         gai.conf.
8313
8314         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
8315         FD_CLOEXEC for given file.
8316
8317         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8318
8319         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8320         FD_CLOEXEC for /etc/hosts.
8321         (_gethtent): Likewise.
8322
8323         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8324
8325         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8326         cancellation and set FD_CLOEXEC for /etc/netgroup.
8327
8328         * nss/nss_files/files-key.c (search): Don't allow cancellation when
8329         reading /etc/publickey.
8330
8331         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8332         allow cancellation when reading /etc/group.
8333
8334         * nss/nss_files/files-alias.c (internal_setent): Don't allow
8335         cancellation.
8336         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
8337
8338         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8339         when using data file.
8340
8341         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8342
8343         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8344         (write_nis_obj): Use "c" and "e" in fopen.
8345
8346         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8347
8348         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8349
8350         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8351
8352         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8353
8354         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8355         locale.alias.
8356
8357         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8358
8359         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8360
8361         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8362
8363         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8364         file parsing and set FD_CLOEXEC.
8365
8366 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
8367
8368         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8369
8370 2011-11-14  Andreas Schwab  <schwab@redhat.com>
8371
8372         * malloc/arena.c (arena_get2): Don't call reused_arena when
8373         _int_new_arena failed.
8374
8375 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
8376
8377         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8378         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8379         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8380         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8381         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8382         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8383         to compile strcasecmp and strncasecmp.
8384         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8385         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8386
8387         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8388
8389 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
8390
8391         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8392         locale-defines.sym to gen-as-const-headers.
8393         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8394         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8395         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8396         to compile strcasecmp and strncasecmp.
8397         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8398         strcasecmp_l and strncasecmp_l.
8399         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8400         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8401         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8402         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8403         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8404         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8405         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8406         * sysdeps/i386/i686/multiarch/strncase.S: New file.
8407         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8408         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8409         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8410
8411 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
8412
8413         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8414         result of SYSDEP_GETTIME_CPU to retval.
8415         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8416         parameter list to macro.  Remove trailing semicolon.  Adjust users.
8417
8418         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8419         variable.
8420
8421         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8422         mantissa words.
8423         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8424
8425         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8426         from unused variable.
8427
8428         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8429         DWARF definitions.
8430         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8431         for assembling.
8432
8433         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8434         over namespaces.
8435
8436         * sunrpc/rpc_prot.c (rejected): Fix case value.
8437
8438         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8439         unsigned long long int to avoid warnings in shift.
8440
8441         * posix/regex_internal.c (re_string_reconstruct): Actually use result
8442         of use of trans.
8443         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8444         variable tmp.
8445
8446         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8447         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8448         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8449
8450         * nis/nis_table.c (nis_list): Use variable of correct type for
8451         result of __follow_path call.
8452
8453 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8454
8455         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8456         of math functions ceil, trunc, floor, round, and sqrt, when
8457         avaliable on the platform.
8458         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8459         name clash.
8460         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8461         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8462         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8463
8464 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
8465
8466         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8467         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8468
8469 2011-11-11  Roland McGrath  <roland@hack.frob.com>
8470
8471         * include/unistd.h: Fix __readlink return type.
8472         Reported by Chris Metcalf <cmetcalf@tilera.com>.
8473
8474 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
8475
8476         * stdlib/ucontext.h: Undo last change for makecontext.
8477
8478 2011-11-11  Andreas Schwab  <schwab@redhat.com>
8479
8480         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8481
8482         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8483         * setjmp/setjmp.h: Mark functions as non-leaf.
8484         * setjmp/bits/setjmp2.h: Likewise.
8485         * stdlib/ucontext.h: Likewise.
8486
8487 2011-11-10  Andreas Schwab  <schwab@redhat.com>
8488
8489         * malloc/arena.c (_int_new_arena): Don't increment narenas.
8490         (reused_arena): Don't check arena limit.
8491         (arena_get2): Atomically check arena limit.
8492
8493 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
8494
8495         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8496         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8497
8498         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8499         instructions.
8500
8501 2011-11-07  Andreas Schwab  <schwab@redhat.com>
8502
8503         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8504         handler when locking.
8505
8506         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8507         Fix size of allocated buffer.
8508
8509 2011-11-04  Andreas Schwab  <schwab@redhat.com>
8510
8511         [BZ #10103]
8512         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8513         declarations for long double functions.
8514         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8515
8516         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8517
8518 2011-11-03  Andreas Schwab  <schwab@redhat.com>
8519
8520         * nscd/nscd.c (main): Don't start AVC thread until credentials are
8521         installed.
8522
8523         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8524         is disabled.
8525
8526 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8527
8528         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8529
8530 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
8531
8532         * include/alloca.h (stackinfo_alloca_round): Define.
8533         (extend_alloca): Use it.
8534         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8535         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8536         here.
8537
8538         * scripts/check-local-headers.sh: Ignore libaudit.h.
8539
8540         * nscd/Makefile (extra-objs): Make recursively expanded.
8541
8542 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
8543
8544         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8545         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8546
8547         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8548         * posix/tst-rfc3484-2.c: Likewise.
8549         * posix/tst-rfc3484-3.c: Likewise.
8550
8551         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8552         process_vm_writev.
8553         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8554         process_vm_writev.
8555         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8556         process_vm_writev from libc using GLIBC_2.15 version.
8557
8558         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8559
8560 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
8561
8562         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8563         stack usage.
8564
8565 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
8566
8567         [BZ #13367]
8568         * nss/getent.c (initgroups_keys): Show error message in case no group
8569         names are given.
8570
8571         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8572         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8573         __bump_nl_timestamp.
8574         * nscd/connections (nscd_init): When host database is served open
8575         netlink socket and request notification about configuration changes.
8576         (main_loop_poll): Track netlink file descriptor and bump timestamp
8577         in case data becomes available.
8578         (main_loop_epoll): Likewise.
8579         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8580         (database_pers_head): Add extra_data fileds.
8581         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8582         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8583         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8584         Adjust caller.
8585         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8586         in6ai data, call __free_in6ai.
8587         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8588         Add -DHAVE_NETLINK.
8589         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
8590         interface information.  Reuse previous data if netlink timestamp
8591         is not changed.
8592         (__bump_nl_timestamp): New function.
8593         (__free_in6ai): New function.
8594
8595 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
8596
8597         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8598         close_not_cancel_no_status here.
8599         (__check_pf): Reorganize code a bit to not call close twice if OOM.
8600
8601 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
8602
8603         [BZ #13276]
8604         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8605         return value.
8606
8607         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8608         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8609         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8610
8611 2011-07-03  Andreas Jaeger  <aj@suse.de>
8612
8613         [BZ #10709]
8614         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8615         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8616         * math/libm-test.inc (sin_test): Add test case.
8617
8618 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
8619
8620         [BZ #13337]
8621         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8622         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8623
8624         * elf/chroot_canon.c (chroot_canon): Cleanups.
8625
8626         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8627
8628         [BZ #13335]
8629         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8630         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8631
8632         * string/test-strchr.c: Make usable for strchrnul testing.
8633         * string/test-strchrnul.c: New file.
8634         * string/Makefile (strop-tests): Add strchrnul.
8635
8636         * po/it.po: Update from translation team.
8637         * po/es.po: Likewise.
8638
8639 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
8640
8641         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8642         the three constants needed as parameters.  Drop the others.
8643         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8644         __m128i_strloadu_tolower.
8645         Create and initialize variable zero and use it in all the places
8646         where _mm_setzero_si128 was used.
8647
8648         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8649         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8650         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8651         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8652         anymore.
8653         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8654         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8655         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8656         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8657         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8658         __mpranred, __mptan.
8659         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8660         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8661         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8662         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8663         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8664         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8665         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8666         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8667         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8668
8669 2011-10-28  Andreas Schwab  <schwab@redhat.com>
8670
8671         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8672         redefine if SHARED.
8673         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8674
8675         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8676         wide char related routines to wcsmbs subdir.
8677
8678 2011-10-27  Andreas Schwab  <schwab@redhat.com>
8679
8680         [BZ #13344]
8681         * misc/sys/cdefs.h (__THROWNL): Define.
8682         * posix/unistd.h: Use __THREADNL instead of __THREAD
8683         for memory synchronization functions.
8684
8685 2011-10-26  Roland McGrath  <roland@hack.frob.com>
8686
8687         [BZ #13349]
8688         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8689         doesn't exist.
8690         * manual/stdio.texi (Obstack Streams): Node removed.
8691
8692 2011-10-26  Andreas Schwab  <schwab@redhat.com>
8693
8694         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8695         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8696         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8697
8698         * math/math_private.h (math_force_eval): Allow non-addressable
8699         arguments.
8700         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8701
8702 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
8703
8704         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8705         file is not needed.
8706
8707         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8708         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8709         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8710         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8711         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8712         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8713         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8714         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8715         Add AVX variants.
8716         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8717         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8718         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8719         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8720         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8721         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8722         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8723         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8724         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8725         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8726         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8727         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8728         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8729         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8730         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8731         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8732         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8733         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8734         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8735
8736         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8737         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
8738
8739         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8740         place.  Use VEX encoding when compiling for AVX.
8741
8742 2011-10-25  Andreas Schwab  <schwab@redhat.com>
8743
8744         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8745         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8746
8747         * string/test-strchr.c (do_test): Don't generate NUL bytes.
8748
8749 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
8750
8751         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8752         useless if() expression.
8753         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8754         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8755         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8756         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8757         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8758         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8759         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8760         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8761         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8762         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8763         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8764         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8765         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8766         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8767         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8768         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8769         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8770         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8771         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8772
8773         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8774
8775 2011-10-25  Andreas Schwab  <schwab@redhat.com>
8776
8777         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8778         condition.
8779         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8780
8781 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
8782
8783         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8784         .text section.  Avoid duplicate constants.
8785         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8786         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8787         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8788         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8789         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8790         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8791         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8792         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8793         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8794         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8795         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8796         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8797         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8798         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8799         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8800         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8801         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8802         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8803         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8804         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8805         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8806         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8807         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8808         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8809         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8810         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8811         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8812         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8813         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8814         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8815         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8816         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8817         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8818         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8819         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8820         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8821         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8822         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8823         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8824         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8825         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8826         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8827         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8828         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8829         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8830
8831 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
8832
8833         * sysdeps/x86_64/dla.h: Move to ...
8834         * sysdeps/x86_64/fpu/dla.h: ...here.
8835         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8836         situations.  Use __builtin_fma only for gcc 4.6 and up.
8837
8838         * config.make.in: Add have-mfma4 entry.
8839         * configure.in: Substitute libc_cv_cc_fma4.
8840         * math/Makefile (dbl-only-routines): Add sincostab.
8841         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8842         Use __sincostab not sincos.
8843         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8844         name is a macro.
8845         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8846         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8847         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8848         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
8849         using __copysign.
8850         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
8851         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
8852         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8853         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8854         and __inv.
8855         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8856         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8857         __copysign.
8858         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
8859         define aliases when function name is a macro.
8860         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8861         sysdeps/ieee754/dbl-64/sincos.tbl.
8862         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8863         fma4-enabled routines.
8864         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8865         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8866         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8867         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8868         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8869         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8870         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8871         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8872         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8873         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8874         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8875         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8876         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8877         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8878         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8879         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8880         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8881         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8882         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8883         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8884         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8885         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8886         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8887         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8888         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8889         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8890         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8891         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8892         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8893         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8894
8895         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8896         rename.
8897         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8898         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8899         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8901         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8902         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8903         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8904         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8905
8906 2011-10-24  Andreas Schwab  <schwab@redhat.com>
8907
8908         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8909
8910 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8911
8912         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8913
8914         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8915         prediction.
8916         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8917
8918         * string/strnlen.c: Don't define STRNLEN, reverse logic.
8919         Remove unused variable magic_bits.
8920         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8921
8922         * string/strnlen.c: Define and use STRNLEN macro.
8923         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8924         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8925         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8926         * wcsmbs/wcslen.c: Define and use WCSLEN.
8927         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8928         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8929         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8930         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8931         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8932         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8933         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8934
8935 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8936
8937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8938         strnlen-sse2-no-bsf.
8939         Rename strlen-no-bsf to strlen-sse2-no-bsf.
8940         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8941         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8942         Add strnlen support.
8943         (USE_AS_STRNLEN): New macro.
8944         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8945         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8946         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8947         * sysdeps/x86_64/wcslen.S: New file.
8948
8949 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
8950
8951         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8952         XMM-moves are used for copying on small sizes.
8953
8954 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8955
8956         * wcsmbs/Makefile (strop-tests): Add wcschr.
8957         * wcsmbs/test-wcschr.c: New file.
8958         * string/test-strchr.c: Update.
8959         Add wcschr support.
8960         (WIDE): New macro.
8961
8962 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8963
8964         * wcsmbs/Makefile (strop-tests): Add wcslen.
8965         * wcsmbs/test-wcslen.c: New file.
8966         * string/test-strlen.c: Update.
8967         Add wcslen support.
8968         (WIDE): New macro.
8969
8970 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8971
8972         * po/it.po: Update from translation team.
8973
8974 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8975
8976         * sysdeps/x86_64/wcscmp.S: Update.
8977         Fix wrong comparison semantics.
8978         wcscmp shall use signed comparison not unsigned.
8979         Don't use substraction to avoid overflow bug.
8980         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8981         * wcsmbc/wcscmp.c: Likewise.
8982         * string/test-strcmp.c: Likewise.
8983         Add new tests to check cases with negative values.
8984
8985 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8986
8987         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8988         * sysdeps/x86_64/dla.h: ...here.  New file.
8989         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8990         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8991         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8992         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8993         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8994         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8995         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8996         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8997         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8998
8999 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
9000
9001         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9002         __ynl_finite aliases.
9003
9004 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
9005
9006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9007
9008         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9009         define DLA_FMA.
9010         [DLA_FMA] (EMULV): Use DLA_FMA.
9011         [DLA_FMA] (MUL12): Use EMULV.
9012         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9013         that are not needed.
9014         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9015         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9016         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9017         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9018         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9019         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9020         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9021
9022 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
9023
9024         * math/s_nan.c: Undef __nan.
9025         * math/s_nanf.c: Undef __nanf.
9026         * math/s_nanl.c: Undef __nanl.
9027         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9028         "math_private.h".
9029
9030 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
9031
9032         * math/s_catan.c: Add branch predictions.
9033         * math/s_catanf.c: Likewise.
9034         * math/s_catanh.c: Likewise.
9035         * math/s_catanhf.c: Likewise.
9036         * math/s_catanhl.c: Likewise.
9037         * math/s_catanl.c: Likewise.
9038         * math/s_cexp.c: Likewise.
9039         * math/s_cexpf.c: Likewise.
9040         * math/s_cexpl.c: Likewise.
9041         * math/s_clog.c: Likewise.
9042         * math/s_clog10.c: Likewise.
9043         * math/s_clog10f.c: Likewise.
9044         * math/s_clog10l.c: Likewise.
9045         * math/s_clogf.c: Likewise.
9046         * math/s_clogl.c: Likewise.
9047         * math/s_csqrt.c: Likewise.
9048         * math/s_csqrtf.c: Likewise.
9049         * math/s_csqrtl.c: Likewise.
9050         * math/s_ctanf.c: Likewise.
9051         * math/s_ctanh.c: Likewise.
9052         * math/s_ctanhf.c: Likewise.
9053         * math/s_ctanhl.c: Likewise.
9054         * math/s_ctanl.c: Likewise.
9055
9056         * math/math_private.h: Define __nan, __nanf, __nanl.
9057         * math/s_cacosh.c: Include <math_private.h>.
9058         * math/s_cacoshl.c: Likewise.
9059         * math/s_casinh.c: Likewise.
9060         * math/s_casinhf.c: Likewise.
9061         * math/s_casinhl.c: Likewise.
9062         * math/s_ccos.c: Rely entire on ccosh.
9063         * math/s_ccosf.c: Rely entire on ccoshf.
9064         * math/s_ccosl.c: Rely entirely on ccoshl.
9065         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
9066         Remove tests for FE_INVALID.
9067         * math/s_ccoshf.c: Likewise.
9068         * math/s_ccoshl.c: Likewise.
9069         * math/s_csin.c: Likewise.
9070         * math/s_csinf.c: Likewise.
9071         * math/s_csinh.c Likewise.
9072         * math/s_csinhf.c: Likewise.
9073         * math/s_csinhl.c: Likewise.
9074         * math/s_csinl.c: Likewise.
9075         * math/s_ctan.c: Likewise.
9076         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9077         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9078         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9079
9080 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
9081
9082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9083         compilation problems.
9084
9085         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9086         __builtin_expect.
9087
9088 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
9089
9090         * sysdeps/i386/configure.in: Test for -mfma4 option.
9091         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9092         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9093         COMMON_CPUID_INDEX_80000001.
9094         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9095         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9096         use it if FMA3 is not supported.
9097         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9098
9099         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9100         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9101
9102 2011-10-20  Andreas Schwab  <schwab@redhat.com>
9103
9104         [BZ #12892]
9105         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9106         it would create a cycle with a link time dependency.
9107
9108 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
9109
9110         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9111         instruction.
9112         * string/Makefile (strop-tests): Add rawmemchr.
9113         * string/test-rawmemchr.c: New file.
9114
9115         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9116         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
9117         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
9118         when compiling str{,n}casecmp and when AVX is available.  Hook up
9119         new optimized code in initializers.
9120
9121 2011-10-19  Andreas Schwab  <schwab@redhat.com>
9122
9123         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9124         __feraiseexcept instead of feraiseexcept.
9125
9126 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
9127
9128         * math/math_private.h: Define defaults for libc_fetestexcept and
9129         libc_feupdateenv.
9130         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9131         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9132         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9133         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9134         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9135         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9136         libc_fetestexcept and libc_feupdateenv.
9137
9138         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9139         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9140         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9141         * sysdeps/x86_64/fpu/math_private.h: Define special version of
9142         libc_feholdexcept_setround.
9143
9144         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9145         Add s_nearbyint-c and s_nearbyintf-c.
9146         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9147         nearbyintf inlines.
9148         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9149         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9150         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9151         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9152
9153         * math/math_private.h: Define defaults for libc_fegetround,
9154         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9155         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9156         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9157         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9158         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9159         standard functions.
9160         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9161         Remove comments and hacks for old compiler versions.
9162         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9163         libc_fegetround, libc_fesetround, libc_feholdexcept, and
9164         libc_feholdexceptl.
9165
9166 2011-10-18  Andreas Schwab  <schwab@redhat.com>
9167
9168         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9169         (__feraiseexcept_renamed): Add __NTH.
9170         (feraiseexcept): Add __NTH.  Rename local variables to fix
9171         namespace violations.
9172
9173 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
9174
9175         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9176
9177         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9178
9179         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9180         recently added interfaces.
9181         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9182
9183         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9184         about macro parameter expansion.
9185
9186         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9187         __NO_MATH_INLINES is defined.  Cleanups.
9188
9189         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9190         and __floorf is target has SSE4.1.
9191         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9192         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9193         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9194         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9195
9196         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9197         name.
9198         (floorf): Likewise.
9199
9200         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9201
9202 2011-10-17  Andreas Schwab  <schwab@redhat.com>
9203
9204         * misc/sys/cdefs.h: Fix last change.
9205
9206         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9207         database lookup.
9208
9209 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
9210
9211         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9212
9213         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9214         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9215         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9216         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9217         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9218         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9219         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9220         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9221         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9222         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9223         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9224         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9225         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9226         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9227         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9228         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9229         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9230         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9231         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9232         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9233         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9234         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9235
9236         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9237         ceil, ceilf, floor, floorf.
9238
9239         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9240         Perform IRELATIVE relocations last.
9241
9242         * elf/do-rel.h: Add another parameter nrelative, replacing the
9243         local variable with the same name.  Change name of the function
9244         to end in Rel or Rela (uppercase).
9245         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9246         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
9247         elf_dynamic_do_##reloc function.
9248
9249 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
9250
9251         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9252         is sufficient, at least on modern CPUs.
9253
9254         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9255
9256         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9257         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9258
9259         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9260         __expl_finite.
9261         * math/bits/math-finite.h: Add entries for exp.
9262         * math/e_expl.c: Add __*_finite alias.
9263         * sysdeps/i386/fpu/e_exp.S: Likewise.
9264         * sysdeps/i386/fpu/e_expf.S: Likewise.
9265         * sysdeps/i386/fpu/e_expl.c: Likewise.
9266         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9267         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9268         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9269         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9270         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9271         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9272         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9273
9274         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9275         is sufficient, at least on modern CPUs.
9276
9277         * ctype/ctype-info.c (__ctype_init): Define.
9278         * include/ctype.h (__ctype_init): Declare.
9279         (__ctype_b_loc): The variable is always initialized.
9280         (__ctype_toupper_loc): Likewise.
9281         (__ctype_tolower_loc): Likewise.
9282         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9283         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9284
9285 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
9286
9287         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9288
9289         * configure.in: Also look in $cxxmachine/include for C++ system
9290         headers.
9291
9292 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9293
9294         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9295         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9296         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9297         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
9298         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9299         (USE_AS_WMEMCMP): New macro.
9300         Fixing indents.
9301         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9302         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9303         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9304         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9305         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9306         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9307         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9308         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9309         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9310         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9311         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9312         (USE_AS_WMEMCMP): New macro.
9313         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9314         * sysdeps/string/test-memcmp.c: Update.
9315         Fix simple_wmemcmp.
9316         Add new tests.
9317         * wcsmbs/wmemcmp.c: Update.
9318         (WMEMCMP): New macro.
9319         Fix overflow bug.
9320
9321 2011-10-12  Andreas Jaeger  <aj@suse.de>
9322
9323         [BZ #13268]
9324         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9325
9326 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
9327
9328         * libio/iofwide.c (do_length): Avoid warning.
9329
9330         * ctype/ctype.h (__isctype_f): Add missing __THROW.
9331
9332 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
9333
9334         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9335
9336         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9337         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9338         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9339         * sysdeps/i386/i686/fpu/e_log.S: New file.
9340         * sysdeps/i386/i686/fpu/e_logf.S: New file.
9341         * sysdeps/i386/i686/fpu/e_logl.S: New file.
9342
9343         * ctype/ctype.h: Add support for inlined isXXX functions when
9344         compiling C++ code.
9345
9346 2011-10-14  Andreas Schwab  <schwab@redhat.com>
9347
9348         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9349
9350         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9351
9352 2011-10-13  Roland McGrath  <roland@hack.frob.com>
9353
9354         [BZ #13291]
9355         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9356
9357 2011-10-13  Andreas Schwab  <schwab@redhat.com>
9358
9359         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9360         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9361         feraiseexcept.
9362
9363         * sysdeps/x86_64/memrchr.S: Check for zero size.
9364
9365         * string/stratcliff.c: Add memrchr tests.
9366
9367 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9368
9369         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9370         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9371         rawmemchr-sse2 rawmemchr-sse2-bsf.
9372         * sysdeps/i386/i686/multiarch/memchr.S: New file.
9373         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9374         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9375         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9376         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9377         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9378         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9379         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9380         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9381         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9382         * string/memrchr.c (MEMRCHR): New macro.
9383
9384 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
9385
9386         Add integration with gcc's -ffinite-math-only and optimize wrapper
9387         functions in libm.
9388         * Versions.def: Define GLIBC_2.15 version for libm.
9389         * math/Makefile (headers): Add bits/math-finite.h.
9390         * math/bits/math-finite.h: New file.
9391         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9392         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9393         * math/e_acoshl.c: Add __*_finite alias.
9394         * math/e_acosl.c: Likewise.
9395         * math/e_asinl.c: Likewise.
9396         * math/e_atan2l.c: Likewise.
9397         * math/e_atanhl.c: Likewise.
9398         * math/e_coshl.c: Likewise.
9399         * math/e_exp10.c: Likewise.
9400         * math/e_exp10f.c: Likewise.
9401         * math/e_exp10l.c: Likewise.
9402         * math/e_exp2l.c: Likewise.
9403         * math/e_fmodl.c: Likewise.
9404         * math/e_gammal_r.c: Likewise.
9405         * math/e_hypotl.c: Likewise.
9406         * math/e_j0l.c: Likewise.
9407         * math/e_j1l.c: Likewise.
9408         * math/e_jnl.c: Likewise.
9409         * math/e_lgammal_r.c: Likewise.
9410         * math/e_log10l.c: Likewise.
9411         * math/e_log2l.c: Likewise.
9412         * math/e_logl.c: Likewise.
9413         * math/e_powl.c: Likewise.
9414         * math/e_sinhl.c: Likewise.
9415         * math/e_sqrtl.c: Likewise.
9416         * math/e_scalb.c: Completely rewritten and optimized.
9417         * math/e_scalbf.c: Likewise.
9418         * math/e_scalbl.c: Likewise.
9419         * math/w_acos.c: Likewise.
9420         * math/w_acosf.c: Likewise.
9421         * math/w_acosl.c: Likewise.
9422         * math/w_acosh.c: Likewise.
9423         * math/w_acoshf.c: Likewise.
9424         * math/w_acoshl.c: Likewise.
9425         * math/w_asin.c: Likewise.
9426         * math/w_asinf.c: Likewise.
9427         * math/w_asinl.c: Likewise.
9428         * math/w_atan2.c: Likewise.
9429         * math/w_atan2f.c: Likewise.
9430         * math/w_atan2l.c: Likewise.
9431         * math/w_atanh.c: Likewise.
9432         * math/w_atanhf.c: Likewise.
9433         * math/w_atanhl.c: Likewise.
9434         * math/w_exp10.c: Likewise.
9435         * math/w_exp10f.c: Likewise.
9436         * math/w_exp10l.c: Likewise.
9437         * math/w_fmod.c: Likewise.
9438         * math/w_fmodf.c: Likewise.
9439         * math/w_fmodl.c: Likewise.
9440         * math/w_j0.c: Likewise.
9441         * math/w_j0f.c: Likewise.
9442         * math/w_j0l.c: Likewise.
9443         * math/w_j1.c: Likewise.
9444         * math/w_j1f.c: Likewise.
9445         * math/w_j1l.c: Likewise.
9446         * math/w_jn.c: Likewise.
9447         * math/w_jnf.c: Likewise.
9448         * math/w_log.c: Likewise.
9449         * math/w_logf.c: Likewise.
9450         * math/w_logl.c: Likewise.
9451         * math/w_log10.c: Likewise.
9452         * math/w_log10f.c: Likewise.
9453         * math/w_log10l.c: Likewise.
9454         * math/w_log2.c: Likewise.
9455         * math/w_log2f.c: Likewise.
9456         * math/w_log2l.c: Likewise.
9457         * math/w_pow.c: Likewise.
9458         * math/w_powf.c: Likewise.
9459         * math/w_powl.c: Likewise.
9460         * math/w_remainder.c: Likewise.
9461         * math/w_remainderf.c: Likewise.
9462         * math/w_remainderl.c: Likewise.
9463         * math/w_scalb.c: Likewise.
9464         * math/w_scalbf.c: Likewise.
9465         * math/w_scalbl.c: Likewise.
9466         * math/w_sqrt.c: Likewise.
9467         * math/w_sqrtf.c: Likewise.
9468         * math/w_sqrtl.c: Likewise.
9469         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9470         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
9471         used.
9472         * math/math_private.h: Declare __kernel_standard_f.
9473         * math/w_cosh.c: Remove cruft and optimize a bit.
9474         * math/w_coshf.c: Likewise.
9475         * math/w_coshl.c: Likewise.
9476         * math/w_exp2.c: Likewise.
9477         * math/w_exp2f.c: Likewise.
9478         * math/w_exp2l.c: Likewise.
9479         * math/w_hypot.c: Likewise.
9480         * math/w_hypotf.c: Likewise.
9481         * math/w_hypotl.c: Likewise.
9482         * math/w_lgamma.c: Likewise.
9483         * math/w_lgamma_r.c: Likewise.
9484         * math/w_lgammaf.c: Likewise.
9485         * math/w_lgammaf_r.c: Likewise.
9486         * math/w_lgammal.c: Likewise.
9487         * math/w_lgammal_r.c: Likewise.
9488         * math/w_sinh.c: Likewise.
9489         * math/w_sinhf.c: Likewise.
9490         * math/w_sinhl.c: Likewise.
9491         * math/w_tgamma.c: Likewise.
9492         * math/w_tgammaf.c: Likewise.
9493         * math/w_tgammal.c: Likewise.
9494         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9495         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9496         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9497         Minor optimizations.  Pretty printing.  Remove cruft.
9498         * sysdeps/i386/fpu/e_acosf.S: Likewise.
9499         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9500         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9501         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9502         * sysdeps/i386/fpu/e_acosl.c: Likewise.
9503         * sysdeps/i386/fpu/e_asin.S: Likewise.
9504         * sysdeps/i386/fpu/e_asinf.S: Likewise.
9505         * sysdeps/i386/fpu/e_atan2.S: Likewise.
9506         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9507         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9508         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9509         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9510         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9511         * sysdeps/i386/fpu/e_exp10.S: Likewise.
9512         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9513         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9514         * sysdeps/i386/fpu/e_exp2.S: Likewise.
9515         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9516         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9517         * sysdeps/i386/fpu/e_fmod.S: Likewise.
9518         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9519         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9520         * sysdeps/i386/fpu/e_hypot.S: Likewise.
9521         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9522         * sysdeps/i386/fpu/e_log.S: Likewise.
9523         * sysdeps/i386/fpu/e_log10.S: Likewise.
9524         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9525         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9526         * sysdeps/i386/fpu/e_log2.S: Likewise.
9527         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9528         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9529         * sysdeps/i386/fpu/e_logf.S: Likewise.
9530         * sysdeps/i386/fpu/e_logl.S: Likewise.
9531         * sysdeps/i386/fpu/e_pow.S: Likewise.
9532         * sysdeps/i386/fpu/e_powf.S: Likewise.
9533         * sysdeps/i386/fpu/e_powl.S: Likewise.
9534         * sysdeps/i386/fpu/e_remainder.S: Likewise.
9535         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9536         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9537         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9538         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9539         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9540         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9541         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9542         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9543         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9544         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9545         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9546         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9547         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9548         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9549         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9550         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9551         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9552         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9553         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9554         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9555         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9556         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9557         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9559         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9560         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9561         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9562         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9563         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9564         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9565         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9566         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9567         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9568         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9569         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9570         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9571         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9572         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9573         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9574         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9575         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9576         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9577         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9578         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9579         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9580         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9581         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9582         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9583         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9584         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9585         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9586         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9587         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9588         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9589         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9590         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9591         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9592         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9593         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9594         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9595         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9596         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9597         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9598         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9599         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9600         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9601         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9602         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9603         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9604         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9605         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9606         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9607         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9608         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9609         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9610         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9611         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9612         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9613         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9614         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9615         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9616         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9617         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9618         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9619         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9620         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9621         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9622         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9623         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9624         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9625         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9626         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9627         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9628         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9629         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9630         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9631         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9632         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9633         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9634         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9635         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9636         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9637         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9638         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9639         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9640         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9641         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9642         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9643         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9644         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9645         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9646         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9647         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9648         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9649         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9650         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9651         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9652         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9653         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
9654         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9655         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9656         (__isnanf): Likewise.
9657         (__isinf_ns): Likewise.
9658         (__isinf_nsf): Likewise.
9659         (__finite): Likewise.
9660         (__finitef): Likewise.
9661         (__ieee754_sqrt): Define as macro.
9662         (__ieee754_sqrtf): Define as macro.
9663         (__ieee754_sqrtl): Define as macro.
9664         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9665         inlined copy.
9666         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9667         __FINITE_MATH_ONLY__ consistent.
9668         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9669
9670 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
9671
9672         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9673         of rawmemchr.
9674
9675         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9676
9677 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
9678
9679         * po/ja.po: Update from translation team.
9680
9681 2011-10-08  Roland McGrath  <roland@hack.frob.com>
9682
9683         * locale/programs/locarchive.c (prepare_address_space): New function.
9684         (create_archive, enlarge_archive, open_archive): Use it.
9685
9686         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9687         inside [SHARED], where it is used.
9688
9689         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9690
9691         * nss/getent.c (netgroup_keys): Remove unused variable.
9692         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9693
9694 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
9695
9696         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9697         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9698         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9699         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9700         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9701         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9702         * math/Makefile (libm-calls): Add s_isinf_ns.
9703         * math/divtc3.c: Use __isinf_nsl instead of isinf.
9704         * math/multc3.c: Likewise.
9705         * math/s_casin.c: Likewise.
9706         * math/s_casinf.c: Likewise.
9707         * math/s_casinl.c: Likewise.
9708         * math/s_ccos.c: Likewise.
9709         * math/s_ccosf.c: Likewise.
9710         * math/s_ccosl.c: Likewise.
9711         * math/s_ctan.c: Likewise.
9712         * math/s_ctanf.c: Likewise.
9713         * math/s_ctanh.c: Likewise.
9714         * math/s_ctanhf.c: Likewise.
9715         * math/s_ctanhl.c: Likewise.
9716         * math/s_ctanl.c: Likewise.
9717         * math/w_fmod.c: Likewise.
9718         * math/w_fmodf.c: Likewise.
9719         * math/w_fmodl.c: Likewise.
9720         * math/w_remainder.c: Likewise.
9721         * math/w_remainderf.c: Likewise.
9722         * math/w_remainderl.c: Likewise.
9723         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9724         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9725         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9726         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9727         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9728         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9729         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9730         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9731
9732         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9733         of the number.
9734         * stdio-common/printf_fphex.c: Likewise.
9735         * stdio-common/printf_size.c: Likewise.
9736
9737         * math/e_exp10.c: Include math_private.h using <...> not "...".
9738         * math/e_exp10f.c: Likewise.
9739         * math/e_exp10l.c: Likewise.
9740         * math/e_exp2l.c: Likewise.
9741         * math/e_j0l.c: Likewise.
9742         * math/e_j1l.c: Likewise.
9743         * math/e_jnl.c: Likewise.
9744         * math/e_lgammal_r.c: Likewise.
9745         * math/e_rem_pio2l.c: Likewise.
9746         * math/e_scalb.c: Likewise.
9747         * math/e_scalbf.c: Likewise.
9748         * math/e_scalbl.c: Likewise.
9749         * math/k_cosl.c: Likewise.
9750         * math/k_sinl.c: Likewise.
9751         * math/k_tanl.c: Likewise.
9752         * math/s_cacoshf.c: Likewise.
9753         * math/s_catan.c: Likewise.
9754         * math/s_catanf.c: Likewise.
9755         * math/s_catanh.c: Likewise.
9756         * math/s_catanhf.c: Likewise.
9757         * math/s_catanhl.c: Likewise.
9758         * math/s_catanl.c: Likewise.
9759         * math/s_ccosh.c: Likewise.
9760         * math/s_ccoshf.c: Likewise.
9761         * math/s_ccoshl.c: Likewise.
9762         * math/s_cexp.c: Likewise.
9763         * math/s_cexpf.c: Likewise.
9764         * math/s_cexpl.c: Likewise.
9765         * math/s_clog.c: Likewise.
9766         * math/s_clog10.c: Likewise.
9767         * math/s_clog10f.c: Likewise.
9768         * math/s_clog10l.c: Likewise.
9769         * math/s_clogf.c: Likewise.
9770         * math/s_clogl.c: Likewise.
9771         * math/s_csin.c: Likewise.
9772         * math/s_csinf.c: Likewise.
9773         * math/s_csinh.c: Likewise.
9774         * math/s_csinhf.c: Likewise.
9775         * math/s_csinhl.c: Likewise.
9776         * math/s_csinl.c: Likewise.
9777         * math/s_csqrt.c: Likewise.
9778         * math/s_csqrtf.c: Likewise.
9779         * math/s_csqrtl.c: Likewise.
9780         * math/s_ctan.c: Likewise.
9781         * math/s_ctanf.c: Likewise.
9782         * math/s_ctanh.c: Likewise.
9783         * math/s_ctanhf.c: Likewise.
9784         * math/s_ctanhl.c: Likewise.
9785         * math/s_ctanl.c: Likewise.
9786         * math/s_ldexp.c: Likewise.
9787         * math/s_ldexpf.c: Likewise.
9788         * math/s_ldexpl.c: Likewise.
9789         * math/s_significand.c: Likewise.
9790         * math/s_significandf.c: Likewise.
9791         * math/s_significandl.c: Likewise.
9792         * math/w_acos.c: Likewise.
9793         * math/w_acosf.c: Likewise.
9794         * math/w_acosh.c: Likewise.
9795         * math/w_acoshf.c: Likewise.
9796         * math/w_acoshl.c: Likewise.
9797         * math/w_acosl.c: Likewise.
9798         * math/w_asin.c: Likewise.
9799         * math/w_asinf.c: Likewise.
9800         * math/w_asinl.c: Likewise.
9801         * math/w_atan2.c: Likewise.
9802         * math/w_atan2f.c: Likewise.
9803         * math/w_atan2l.c: Likewise.
9804         * math/w_atanh.c: Likewise.
9805         * math/w_atanhf.c: Likewise.
9806         * math/w_atanhl.c: Likewise.
9807         * math/w_cosh.c: Likewise.
9808         * math/w_coshf.c: Likewise.
9809         * math/w_coshl.c: Likewise.
9810         * math/w_dremf.c: Likewise.
9811         * math/w_exp10.c: Likewise.
9812         * math/w_exp10f.c: Likewise.
9813         * math/w_exp10l.c: Likewise.
9814         * math/w_exp2.c: Likewise.
9815         * math/w_exp2f.c: Likewise.
9816         * math/w_fmod.c: Likewise.
9817         * math/w_fmodf.c: Likewise.
9818         * math/w_fmodl.c: Likewise.
9819         * math/w_hypot.c: Likewise.
9820         * math/w_hypotf.c: Likewise.
9821         * math/w_hypotl.c: Likewise.
9822         * math/w_j0.c: Likewise.
9823         * math/w_j0f.c: Likewise.
9824         * math/w_j0l.c: Likewise.
9825         * math/w_j1.c: Likewise.
9826         * math/w_j1f.c: Likewise.
9827         * math/w_j1l.c: Likewise.
9828         * math/w_jn.c: Likewise.
9829         * math/w_jnf.c: Likewise.
9830         * math/w_jnl.c: Likewise.
9831         * math/w_lgamma.c: Likewise.
9832         * math/w_lgamma_r.c: Likewise.
9833         * math/w_lgammaf.c: Likewise.
9834         * math/w_lgammaf_r.c: Likewise.
9835         * math/w_lgammal.c: Likewise.
9836         * math/w_lgammal_r.c: Likewise.
9837         * math/w_log.c: Likewise.
9838         * math/w_log10.c: Likewise.
9839         * math/w_log10f.c: Likewise.
9840         * math/w_log10l.c: Likewise.
9841         * math/w_log2.c: Likewise.
9842         * math/w_log2f.c: Likewise.
9843         * math/w_log2l.c: Likewise.
9844         * math/w_logf.c: Likewise.
9845         * math/w_logl.c: Likewise.
9846         * math/w_pow.c: Likewise.
9847         * math/w_powf.c: Likewise.
9848         * math/w_powl.c: Likewise.
9849         * math/w_remainder.c: Likewise.
9850         * math/w_remainderf.c: Likewise.
9851         * math/w_remainderl.c: Likewise.
9852         * math/w_scalb.c: Likewise.
9853         * math/w_scalbf.c: Likewise.
9854         * math/w_scalbl.c: Likewise.
9855         * math/w_sinh.c: Likewise.
9856         * math/w_sinhf.c: Likewise.
9857         * math/w_sinhl.c: Likewise.
9858         * math/w_sqrt.c: Likewise.
9859         * math/w_sqrtf.c: Likewise.
9860         * math/w_sqrtl.c: Likewise.
9861         * math/w_tgamma.c: Likewise.
9862         * math/w_tgammaf.c: Likewise.
9863         * math/w_tgammal.c: Likewise.
9864
9865         * po/ja.po: Update from translation team.
9866
9867 2011-09-29  Andreas Jaeger  <aj@suse.de>
9868
9869         [BZ #13179]
9870         * sunrpc/netname.c (netname2host): Fix logic.
9871
9872         [BZ #6779]
9873         [BZ #6783]
9874         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9875         correctly.
9876         * math/w_remainder.c (__remainder): Likewise.
9877         * math/w_remainderf.c (__remainderf): Likewise.
9878         * math/libm-test.inc (remainder_test): Add test cases.
9879
9880 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9881
9882         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
9883         sdiv_qrnnd.
9884
9885 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
9886
9887         * string/test-memcmp.c: Avoid unncessary #defines.
9888         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9889
9890 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9891
9892         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9893         Use new sse2 version for core i3 - i7 as it's faster
9894         than sse42 version.
9895         (bit_Prefer_PMINUB_for_stringop): New.
9896         * sysdeps/x86_64/rawmemchr.S: Update.
9897         Replace with faster SSE2 version.
9898         * sysdeps/x86_64/memrchr.S: New file.
9899         * sysdeps/x86_64/memchr.S: Update.
9900         Replace with faster SSE2 version.
9901
9902 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
9903
9904         * elf/dl-load.c (lose): Add cast to avoid warning.
9905
9906 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
9907
9908         * po/ca.po: Update from translation team.
9909
9910         * inet/getnetgrent_r.c: Hook up nscd.
9911         * nscd/Makefile (routines): Add nscd_netgroup.
9912         (nscd-modules): Add netgroupcache.
9913         (CFLAGS-netgroupcache.c): Define.
9914         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9915         (cache_search): Add const to second parameter.
9916         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9917         INNETGR.
9918         (dbs): Add netgrdb entry.
9919         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9920         (verify_persistent_db): Handle netgrdb.
9921         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9922         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9923         GETFDNETGR.
9924         (netgroup_response_header): Define.
9925         (innetgroup_response_header): Define.
9926         (datahead): Add netgroup_response_header and innetgroup_response_header
9927         elements.
9928         * nscd/nscd.conf: Add entries for netgroup cache.
9929         * nscd/nscd.h (dbtype): Add netgrdb.
9930         (_PATH_NSCD_NETGROUP_DB): Define.
9931         (netgroup_iov_disabled): Declare.
9932         (xmalloc, xcalloc, xrealloc): Move declarations here.
9933         (cache_search): Adjust prototype.
9934         Add netgroup-related prototypes.
9935         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9936         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9937         (__nscd_innetgr): Declare.
9938         * nscd/selinux.c (perms): Use access_vector_t as element type and
9939         add netgroup-related initializers.
9940         * nscd/netgroupcache.c: New file.
9941         * nscd/nscd_netgroup.c: New file.
9942         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9943         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9944         For four parameters use innetgr.
9945         * nss/nss_files/files-init.c: Add definition and callback for netgr.
9946         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9947         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9948         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9949
9950         * nscd/connections.c (register_traced_file): Don't register file
9951         for disabled databases.
9952
9953 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
9954
9955         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9956
9957         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9958         from tree and freeing node.
9959
9960 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
9961
9962         * nss/nsswitch.c (__nss_database_lookup): Handle
9963         nss_parse_service_list out of memory case.
9964
9965 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
9966
9967         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9968         out of memory case.
9969
9970 2011-10-04  Andreas Schwab  <schwab@redhat.com>
9971
9972         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9973         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9974         pass it down.
9975         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9976         elf_machine_rela, elf_machine_lazy_rel.
9977         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9978         (ELF_DYNAMIC_DO_REL): Likewise.
9979         (ELF_DYNAMIC_DO_RELA): Likewise.
9980         (ELF_DYNAMIC_RELOCATE): Likewise.
9981         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9982         to ELF_DYNAMIC_DO_REL.
9983         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9984         (dl_main): In trace mode always set __RTLD_NOIFUNC.
9985         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9986         elf_machine_rela.
9987         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9988         skip_ifunc, don't call ifunc function if non-zero.
9989         (elf_machine_rela): Likewise.
9990         (elf_machine_lazy_rel): Likewise.
9991         (elf_machine_lazy_rela): Likewise.
9992         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9993         (elf_machine_lazy_rel): Likewise.
9994         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9995         Likewise.
9996         (elf_machine_lazy_rel): Likewise.
9997         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9998         Likewise.
9999         (elf_machine_lazy_rel): Likewise.
10000         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10001         (elf_machine_lazy_rel): Likewise.
10002         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10003         (elf_machine_lazy_rel): Likewise.
10004         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10005         (elf_machine_lazy_rel): Likewise.
10006         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10007         (elf_machine_lazy_rel): Likewise.
10008         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10009         (elf_machine_lazy_rel): Likewise.
10010         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10011         (elf_machine_lazy_rel): Likewise.
10012
10013 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
10014
10015         * nss/nss_files/files-init.c (_nss_files_init): Use static
10016         initialization for all the *_traced_file variables.
10017
10018 2011-09-28  Andreas Schwab  <schwab@redhat.com>
10019
10020         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10021
10022 2011-09-27  Roland McGrath  <roland@hack.frob.com>
10023
10024         [BZ #13226]
10025         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10026
10027 2011-09-27  Andreas Schwab  <schwab@redhat.com>
10028
10029         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10030         Reread the line before reparsing it.
10031
10032 2011-09-26  Andreas Schwab  <schwab@redhat.com>
10033
10034         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10035
10036 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
10037             Maxim Kuvyrkov  <maxim@codesourcery.com>
10038             Joseph Myers  <joseph@codesourcery.com>
10039
10040         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10041         if needed for __stack_chk_guard.
10042
10043 2011-09-19  Roland McGrath  <roland@hack.frob.com>
10044
10045         * sysdeps/posix/spawni.c (script_execute): Always define it.
10046         It will be optimized away if unused.
10047         (maybe_script_execute): New function.
10048         (__spawni): Call it.
10049
10050         * Makerules: Don't include tls.make.
10051         (config-tls): Always set to thread.
10052         * tls.make.c: File removed.
10053
10054 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
10055
10056         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10057         * config.make.in (CPPFLAGS-config): New substituted variable.
10058
10059 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
10060
10061         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10062
10063         [BZ #13192]
10064         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10065         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10066
10067 2011-09-15  Roland McGrath  <roland@hack.frob.com>
10068
10069         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10070         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10071         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10072         (CALL_FAIL): Likewise.
10073         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10074         (CALL_FAIL): Macro removed.
10075         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10076
10077 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
10078
10079         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10080         for __FINITE_MATH_ONLY__ == 1.
10081
10082 2011-09-15  Andreas Schwab  <schwab@redhat.com>
10083
10084         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10085         __ieee754_sqrt instead of sqrt.
10086         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10087         __ieee754_sqrtf instead of sqrtf.
10088         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10089         __floorf instead of floorf.
10090         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10091         __floorf, __truncf instead of floorf, truncf.
10092
10093 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
10094
10095         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10096
10097         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10098         __extern_always_inline.
10099         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10100         32-bit.
10101
10102 2011-09-14  Andreas Schwab  <schwab@redhat.com>
10103
10104         * elf/rtld.c (dl_main): Also relocate in dependency order when
10105         doing symbol dependency testing.
10106
10107 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
10108
10109         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10110         Always define `refsym'.
10111
10112 2011-09-13  Andreas Schwab  <schwab@redhat.com>
10113
10114         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10115         (__FD_ELT): Renamed from __FDELT.
10116         * misc/bits/select2.h (__FD_ELT): Likewise.
10117         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10118         __FD_MASK instead of __FDELT, __FDMASK.
10119         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10120         Likewise.
10121         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10122         Likewise.
10123
10124         * elf/Makefile (gen-ldd): Fix pattern.
10125
10126         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10127         (init_tls): Likewise.
10128
10129 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
10130
10131         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10132
10133 2011-09-12  Andreas Schwab  <schwab@redhat.com>
10134
10135         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10136         `struct cmsghdr *' instead of `void *'.
10137         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10138         Likewise.
10139
10140 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
10141
10142         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10143         if non-absolute.
10144         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10145         ldd_rewrite_script.
10146
10147 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
10148
10149         * configure.in: Remove --with-tls option.
10150         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10151         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10152         out in case it is missing.
10153         * sysdeps/ia64/elf/configure.in: Likewise.
10154         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10155         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10156         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10157         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10158         * sysdeps/sh/elf/configure.in: Likewise.
10159         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10160         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10161         * sysdeps/x86_64/elf/configure.in: Likewise.
10162         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10163         * sysdeps/mach/hurd/tls.h: Likewise.
10164
10165         [BZ #13067]
10166         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10167
10168         [BZ #13090]
10169         * configure.in: Fix use of AC_INIT.
10170
10171         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10172
10173 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
10174
10175         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10176         __set_errno.
10177         * malloc/hooks.c: Likewise.
10178
10179         [BZ #11929]
10180         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
10181         variables statically.
10182         (narenas): Initialize.
10183         (list_lock): Initialize.
10184         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
10185         initializtion of main_arena and list_lock.  Small cleanups.
10186         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10187         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
10188         Add initializers to main_arena and mp_.
10189         (malloc_state): Remove pagesize member.  Change all users to use
10190         GLRO(dl_pagesize).
10191
10192         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10193         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
10194         is always initialized.
10195
10196         * malloc/malloc.c: Removed unused configurations and dead code.
10197         * malloc/arena.c: Likewise.
10198         * malloc/hooks.c: Likewise.
10199         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10200
10201         * include/tls.h: Removed.  USE___THREAD must always be defined.
10202         * bits/libc-tsd.h: Don't handle !USE___THREAD.
10203         * elf/dl-libc.c: Likewise.
10204         * elf/dl-tsd.c: Likewise.
10205         * include/errno.h: Likewise.
10206         * include/netdb.h: Likewise.
10207         * include/resolv.h: Likewise.
10208         * inet/herrno-loc.c: Likewise.
10209         * inet/herrno.c: Likewise.
10210         * malloc/arena.c: Likewise.
10211         * malloc/hooks.c: Likewise.
10212         * malloc/malloc.c: Likewise.
10213         * resolv/res-state.c: Likewise.
10214         * resolv/res_libc.c: Likewise.
10215         * sysdeps/i386/dl-machine.h: Likewise.
10216         * sysdeps/ia64/dl-machine.h: Likewise.
10217         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10218         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10219         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10220         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10221         * sysdeps/sh/dl-machine.h: Likewise.
10222         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10223         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10224         * sysdeps/unix/i386/sysdep.S: Likewise.
10225         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10226         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10227         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10228         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10229         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10230         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10231         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10235         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10236         * sysdeps/x86_64/dl-machine.h: Likewise.
10237         * tls.make.c: Likewise.
10238
10239         * configure.in: Remove --with-__thread option.  Make tests for
10240         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10241         tls_model attribute fail if no support is available.  Remove
10242         USE_IN_LIBIO.
10243         * Makeconfig: Adjust for dropped configure option.  All features are
10244         now mandatory.
10245         * Makerules: Likewise.
10246         * Versions.def: Likewise.
10247         * argp/argp-fmtstream.c: Likewise.
10248         * argp/argp-fmtstream.h: Likewise.
10249         * argp/argp-help.c: Likewise.
10250         * assert/assert.c: Likewise.
10251         * config.h.in: Likewise.
10252         * config.make.in: Likewise.
10253         * configure: Likewise.
10254         * configure.in: Likewise.
10255         * csu/Versions: Likewise.
10256         * csu/init.c: Likewise.
10257         * elf/tst-audit2.c: Likewise.
10258         * elf/tst-tls10.c: Likewise.
10259         * elf/tst-tls10.h: Likewise.
10260         * elf/tst-tls11.c: Likewise.
10261         * elf/tst-tls12.c: Likewise.
10262         * elf/tst-tls14.c: Likewise.
10263         * elf/tst-tlsmod11.c: Likewise.
10264         * elf/tst-tlsmod12.c: Likewise.
10265         * elf/tst-tlsmod13.c: Likewise.
10266         * elf/tst-tlsmod13a.c: Likewise.
10267         * elf/tst-tlsmod14a.c: Likewise.
10268         * elf/tst-tlsmod15b.c: Likewise.
10269         * elf/tst-tlsmod16a.c: Likewise.
10270         * elf/tst-tlsmod16b.c: Likewise.
10271         * elf/tst-tlsmod7.c: Likewise.
10272         * elf/tst-tlsmod8.c: Likewise.
10273         * elf/tst-tlsmod9.c: Likewise.
10274         * gmon/gmon.c: Likewise.
10275         * grp/fgetgrent_r.c: Likewise.
10276         * grp/putgrent.c: Likewise.
10277         * hurd/fopenport.c: Likewise.
10278         * include/libc-symbols.h: Likewise.
10279         * include/tls.h: Likewise.
10280         * intl/gettextP.h: Likewise.
10281         * intl/loadinfo.h: Likewise.
10282         * locale/global-locale.c: Likewise.
10283         * locale/localeinfo.h: Likewise.
10284         * mach/devstream.c: Likewise.
10285         * malloc/arena.c: Likewise.
10286         * malloc/set-freeres.c: Likewise.
10287         * misc/err.c: Likewise.
10288         * misc/getttyent.c: Likewise.
10289         * misc/mntent_r.c: Likewise.
10290         * posix/getopt.c: Likewise.
10291         * posix/wordexp.c: Likewise.
10292         * pwd/fgetpwent_r.c: Likewise.
10293         * resolv/Versions: Likewise.
10294         * resolv/res_hconf.c: Likewise.
10295         * shadow/fgetspent_r.c: Likewise.
10296         * shadow/putspent.c: Likewise.
10297         * stdio-common/printf_fphex.c: Likewise.
10298         * stdio-common/tmpfile.c: Likewise.
10299         * stdlib/abort.c: Likewise.
10300         * stdlib/fmtmsg.c: Likewise.
10301         * sunrpc/auth_unix.c: Likewise.
10302         * sunrpc/clnt_perr.c: Likewise.
10303         * sunrpc/clnt_tcp.c: Likewise.
10304         * sunrpc/clnt_udp.c: Likewise.
10305         * sunrpc/clnt_unix.c: Likewise.
10306         * sunrpc/openchild.c: Likewise.
10307         * sunrpc/svc_simple.c: Likewise.
10308         * sunrpc/svc_tcp.c: Likewise.
10309         * sunrpc/svc_udp.c: Likewise.
10310         * sunrpc/svc_unix.c: Likewise.
10311         * sunrpc/xdr.c: Likewise.
10312         * sunrpc/xdr_array.c: Likewise.
10313         * sunrpc/xdr_rec.c: Likewise.
10314         * sunrpc/xdr_ref.c: Likewise.
10315         * sunrpc/xdr_stdio.c: Likewise.
10316
10317 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
10318
10319         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10320
10321 2011-07-03  Andreas Jaeger  <aj@suse.de>
10322
10323         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10324         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10325         regenerate with gen-libm-tests.pl.
10326
10327 2010-05-12  Petr Baudis  <pasky@suse.cz>
10328
10329         [BZ #11589]
10330         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10331         around j0() zero points by switching to j1().
10332         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10333         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10334         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10335         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10336
10337 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
10338
10339         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10340         instead of 0.
10341         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10342         instead of 0.                              .
10343         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10344         Patch in part by Pavel Roskin <proski@gnu.org>.
10345
10346         [BZ #13138]
10347         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10348         realloc.
10349         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
10350         Free memory block if necessary.
10351
10352         [BZ #12847]
10353         * libio/genops.c (INTDEF): For string streams the _lock pointer can
10354         be NULL.  Don't lock in this case.
10355
10356 2011-09-09  Roland McGrath  <roland@hack.frob.com>
10357
10358         * elf/elf.h (ELFOSABI_GNU): New macro.
10359         (ELFOSABI_LINUX): Define to that.
10360
10361 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
10362
10363         * string/strncat.c (strncat): Undef the symbol in case it has been
10364         defined in bits/string.h.
10365
10366 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
10367
10368         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10369
10370         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10371         link map.
10372
10373 2011-08-17  Andreas Jaeger  <aj@suse.de>
10374
10375         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10376
10377 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10378             Ian Lance Taylor  <iant@google.com>
10379
10380         * math/libm-test.inc (lround_test): New testcase.
10381         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10382
10383 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
10384
10385         * Makefile: Remove support for automatic cvs check-ins.
10386         * Makerules: Likewise.
10387         * config.make.in: Likewise.
10388         * configure.in: Likewise.
10389         * intl/Makefile: Likewise.
10390         * locale/Makefile: Likewise.
10391         * po/Makefile: Likewise.
10392         * posix/Makefile: Likewise.
10393         * sysdeps/gnu/Makefile: Likewise.
10394         * sysdeps/mach/hurd/Makefile: Likewise.
10395         * sysdeps/sparc/sparc32/Makefile: Likewise.
10396
10397         [BZ #13118]
10398         * posix/Makefile (bug-regex32-ENV): Define.
10399         Patch by John Stanley <jpsinthemix@verizon.net>.
10400
10401         * misc/Makefile (headers): Add bits/select2.h.
10402         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10403         * misc/bits/select2.h: New file.
10404         * include/bits/select2.h: New file.
10405         * debug/Makefile (routines): Add fdelt_chk.
10406         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10407         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10408         FD_ISSET.
10409         * debug/fdelt_chk.c: New file.
10410
10411         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
10412         * wcsmbs/test-wmemcmp.c: Likewise.
10413         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10414         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10415
10416 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10417
10418         * string/Makefile (strop-tests): Add memcmp.
10419         * string/test-wmemcmp.c: New file.
10420         * string/test-memcmp.c: Add wmemcmp support.
10421
10422 2011-09-08  Roland McGrath  <roland@hack.frob.com>
10423
10424         [BZ #13153]
10425         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10426         2011-07-19 change.
10427
10428         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10429         garbage value in a __mach_port_mod_refs call in the cases of the
10430         task-self and thread-self ports.
10431
10432 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10433
10434         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10435
10436 2011-09-08  Andreas Schwab  <schwab@redhat.com>
10437
10438         * elf/dl-load.c (lose): Check for non-null L.
10439
10440 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
10441
10442         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10443
10444         * elf/dl-libc.c (dlerror_run): Pass back error code from
10445         dl_catch_error.
10446
10447         [BZ #13123]
10448         * elf/dl-load.c (lose): Free l_origin if it is valid.
10449
10450         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10451         names.
10452         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10453         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10454         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10455         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10456         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10457         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10458
10459 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10460
10461         * sysdeps/powerpc/fpu/e_hypot.c: New file.
10462         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10463         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10464         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10465         * sysdeps/powerpc/fpu/k_cosf.c: New file.
10466         * sysdeps/powerpc/fpu/k_sinf.c: New file.
10467         * sysdeps/powerpc/fpu/s_cosf.c: New file.
10468         * sysdeps/powerpc/fpu/s_sinf.c: New file.
10469         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10470         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10471
10472 2011-08-15  Alan Modra  <amodra@gmail.com>
10473
10474         [BZ #13092]
10475         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10476         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10477         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
10478         ppc_mcount to static-only-routines.
10479         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10480         __mcount_internal.
10481         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10482         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
10483
10484 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
10485
10486         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10487         for finite and infinity parameters.
10488
10489 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
10490
10491         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10492         and add nop instructions for throughput optimization.
10493         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10494
10495 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
10496
10497         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10498         aligned copy for power7 with vector-scalar instructions.
10499         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10500
10501 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
10502
10503         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10504         AVX check.
10505
10506 2011-09-07  Andreas Schwab  <schwab@redhat.com>
10507
10508         [BZ #13144]
10509         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10510         last change.
10511
10512 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
10513
10514         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10515         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10516         syscall wrapper around clock_gettime in __vdso_clock_gettime.
10517         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10518         clock_gettime.
10519
10520 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
10521
10522         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10523         Forgot to demangle the pointer.
10524
10525         * sysdeps/i386/sysdep.h: Define atom_text_section.
10526         * sysdeps/x86_64/sysdep.h: Likewise.
10527         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10528         section with atom_text_section.
10529         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10530         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10531         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10532         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10533         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10534
10535         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10536         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10537         already be defined.  Change to take two parameters and don't assign
10538         result to variable.  Adjust all users.
10539         Define INTERNAL_GETTIME if not already defined.
10540         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10541         call.
10542         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10543         HAVE_CLOCK_GETTIME_VSYSCALL.
10544         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10545
10546         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10547         gettimeofday vsyscall, just use time.
10548
10549 2011-09-06  Andreas Schwab  <schwab@redhat.com>
10550
10551         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10552         <errno.h>.
10553
10554 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
10555
10556         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10557         syscall on x86-64.
10558         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10559         syscall.
10560         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10561         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10562         syscall if possible.
10563
10564 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
10565
10566         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10567         e_ident.  Don't pass to find_mapsXX.
10568         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10569
10570 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10571
10572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10573         strchr-sse2-no-bsf strrchr-sse2-no-bsf
10574         * sysdeps/x86_64/multiarch/strchr.S: Update.
10575         Check bit_slow_BSF bit.
10576         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10577         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10578         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10579
10580 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
10581
10582         [BZ #13134]
10583         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10584         before glibc 2.15.
10585         (tryshell): Define.
10586         (__spawni): Change last parameter to be flag.  Test
10587         SPAWN_XFLAGS_USE_PATH flag to use path or not.
10588         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10589         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10590         * posix/spawni.c: Likewise.
10591         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10592         * posix/spawnp.c: Likewise.  Change normal version to use
10593         SPAWN_XFLAGS_USE_PATH.
10594         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10595         SPAWN_XFLAGS_TRY_SHELL.
10596
10597         [BZ #13150]
10598         * posix/glob.h: Remove gcc 1.x support.
10599
10600         [BZ #13068]
10601         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10602
10603 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10604
10605         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10606         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10607         strrchr-sse2-bsf
10608         * sysdeps/i386/i686/multiarch/strchr.S: New file.
10609         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10610         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10611         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10612         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10613         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10614
10615 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10616
10617         * sysdeps/x86_64/wcscmp.S: New file.
10618
10619         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10620         wcscmp-c wcscmp-sse2
10621         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10622         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10623         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10624         * wcsmbs/wcscmp.c: Allow renaming.
10625
10626 2011-09-05  David S. Miller  <davem@davemloft.net>
10627
10628         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10629         stack slot, rather than the struct return pointer slot.
10630         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10631         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10633         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10634
10635 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
10636
10637         * po/ja.po: Update from translation team.
10638
10639         [BZ #13144]
10640         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10641         kernel in 64-bit binaries.
10642
10643 2011-09-01  David S. Miller  <davem@davemloft.net>
10644
10645         * elf/elf.h (HWCAP_SPARC_*): Move to..
10646         * sysdeps/sparc/sysdep.h: this new file and add new values.
10647         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10648         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10649         _DL_HWCAP_COUNT to 24.
10650         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10651         entries.
10652         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10653         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10654         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10655         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10656         instead of magic constants.
10657         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10658
10659 2011-08-31  David S. Miller  <davem@davemloft.net>
10660
10661         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10662         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10663         Reimplement to do errno handling inline.
10664         (SYSCALL_ERROR_HANDLER): New macro.
10665         (__SYSCALL_STRING): Do not do errno handling in asm.
10666         (__CLONE_SYSCALL_STRING): Delete.
10667         (__INTERNAL_SYSCALL_STRING): Delete.
10668         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10669         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10670         (PSEUDO): Reimplement to do errno handling inline.
10671         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10672         (SYSCALL_ERROR_HANDLER): New macro.
10673         (__SYSCALL_STRING): Do not do errno handling in asm.
10674         (__CLONE_SYSCALL_STRING): Delete.
10675         (__INTERNAL_SYSCALL_STRING): Delete.
10676         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10677         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10678         i386.
10679         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10680         (inline_syscall*): Add 'err' argument.
10681         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10682         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10683         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10684         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10685
10686         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10687         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10688
10689 2011-08-30  Andreas Schwab  <schwab@redhat.com>
10690
10691         * elf/rtld.c (dl_main): Relocate objects in dependency order.
10692
10693 2011-08-29  Jiri Olsa <jolsa@redhat.com>
10694
10695         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10696         directive.
10697
10698 2011-08-24  David S. Miller  <davem@davemloft.net>
10699
10700         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10701
10702 2011-08-24  Andreas Schwab  <schwab@redhat.com>
10703
10704         * elf/Makefile: Add rules to build and run unload8 test.
10705         * elf/unload8.c: New file.
10706         * elf/unload8mod1.c: New file.
10707         * elf/unload8mod1x.c: New file.
10708         * elf/unload8mod2.c: New file.
10709         * elf/unload8mod3.c: New file.
10710
10711         * elf/dl-close.c (_dl_close_worker): Reset private search list if
10712         it wasn't used.
10713
10714 2011-08-23  David S. Miller  <davem@davemloft.net>
10715
10716         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10717         subtract stack bias.
10718         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10719         %sp not %fp in calculations.
10720         (_JMPBUF_UNWINDS_ADJ): Likewise.
10721
10722         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10723         (aio_suspend): Call it to force an exception region around the
10724         AIO_MISC_WAIT() invocation.
10725
10726 2011-08-23  Andreas Schwab  <schwab@redhat.com>
10727
10728         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10729         backslash.
10730
10731 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
10732
10733         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10734         protection macro.
10735         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10736         and <dl-machine.h>.
10737         (Elf64_FuncDesc): Remove.
10738
10739 2011-08-22  David S. Miller  <davem@davemloft.net>
10740
10741         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10742         sigaltstack check, add missing cfi directives.
10743         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10744         missing cfi directives, and sigaltstack handling.
10745
10746 2011-08-16  Andreas Schwab  <schwab@redhat.com>
10747
10748         [BZ #11724]
10749         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10750         object is seen twice.
10751         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10752
10753         * elf/Makefile (distribute): Add tst-initorder2.c.
10754         (tests): Add tst-initorder2.
10755         (modules-names): Add tst-initorder2a tst-initorder2b
10756         tst-initorder2c tst-initorder2d.  Add rules to build them.
10757         ($(objpfx)tst-initorder2.out): New rule.
10758         * elf/tst-initorder2.c: New file.
10759         * elf/tst-initorder2.exp: New file.
10760
10761 2011-08-22  Andreas Schwab  <schwab@redhat.com>
10762
10763         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10764
10765         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10766         dependencies back to end of function.
10767
10768         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10769         $(elfobjdir)/ld.so.
10770
10771 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
10772
10773         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10774         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10775         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10776         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10777         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10778         of __vdso_gettimeofday.
10779         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10780         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
10781         attribute_hidden.
10782         (_libc_vdso_platform_setup): Remove initialization of
10783         __vdso_gettimeofday and __vdso_time.
10784
10785 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
10786
10787         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10788         and fgetc_unlocked.
10789         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10790         getc_unlocked.
10791
10792         * elf/dl-open.c (add_to_global): Report additions to the global scope
10793         for LD_DEBUG=scopes.
10794         (dl_open_worker): Also print scope of newly loaded dependencies.
10795         (_dl_show_scope): Indicate if there is no scope.
10796
10797         [BZ #13114]
10798         * stdio-common/Makefile (tests): Add bug24.
10799         * stdio-common/bug24.c: New file.
10800
10801 2011-08-19  Andreas Jaeger  <aj@suse.de>
10802
10803         [BZ #13114]
10804         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10805         non-existant file when using close-on-exec mode.
10806
10807 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
10808
10809         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10810         the very first instruction.
10811
10812         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10813         the CFI state in the end.
10814         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10815         inclusion of dl-trampoline.h.
10816         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10817
10818 2011-08-19  Andreas Schwab  <schwab@redhat.com>
10819
10820         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10821         expectations for long double.
10822
10823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10824         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10825
10826 2011-08-14  David S. Miller  <davem@davemloft.net>
10827
10828         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10829         artificual limit depends upon the system page size.
10830
10831 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
10832
10833         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10834         * resolv/Makefile: Define CFLAGS-libresolv.
10835
10836 2011-08-17  Andreas Schwab  <schwab@redhat.com>
10837
10838         * nss/makedb.c (compute_tables): Make variables used in nested
10839         function static.
10840
10841 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
10842
10843         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10844         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10845         if buffer was too small.
10846
10847         * elf/pldd.c (main): Attach to all threads in the process.
10848         Rewrite /proc handling to use *at functions.
10849
10850 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
10851
10852         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10853         specifies first scope to show.
10854         (dl_open_worker): Update callers.  Move printing scope of new
10855         object to before the relocation.
10856         * elf/rtld.c (dl_main): Update _dl_show_scope call.
10857         * sysdeps/generic/ldsodefs.h: Update declaration.
10858
10859         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10860         string for the scope number.
10861
10862 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
10863
10864         * nscd/servicescache.c (cache_addserv): Make sure written is always
10865         initialized.
10866
10867 2011-08-14  Roland McGrath  <roland@hack.frob.com>
10868
10869         * sysdeps/i386/i486/bits/atomic.h
10870         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10871         statement expression, so as to suppress "set but not used" warning.
10872         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10873
10874         * string/strncat.c (STRNCAT): Use prototype definition.
10875
10876         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10877         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10878         -Iprograms here.
10879         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10880         (localedef-modules): Add localedef.
10881         (locale-modules): Add locale.
10882
10883         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10884         * elf/rtld.c (dl_main): Invert order of assignment in last change,
10885         to avoid a warning.
10886
10887 2011-08-14  David S. Miller  <davem@davemloft.net>
10888
10889         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10890         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10891
10892 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
10893
10894         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10895         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10896         * elf/rtld.c (dl_main): Set l_name of vDSO.
10897         Call _dl_show_scope when DL_DEBUG_SCOPES.
10898         (process_dl_debug): Recognize scopes flag and also set it for all.
10899         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10900         Declare _dl_show_scope.
10901
10902         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10903         (do_dlopen): Pass caller_dlopen to dl_open.
10904         (__libc_dlopen_mode): Initialize caller_dlopen.
10905
10906         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10907         of libc.  Make tolower call locale-independent.  Optimize a bit by
10908         using isdigit instead of isalnum.
10909         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10910
10911 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
10912
10913         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10914         was a dependency or dynamically loaded.
10915
10916 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
10917
10918         * intl/l10nflist.c: Allow architecture-specific pop function.
10919         * sysdeps/x86_64/l10nflist.c: New file.
10920
10921         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10922         classification.
10923
10924 2011-08-10  Andreas Schwab  <schwab@redhat.com>
10925
10926         * include/dirent.h: Add libc_hidden_proto for scandirat and
10927         scandirat64.  Don't declare __scandirat64.
10928         * dirent/scandirat.c: Add libc_hidden_def.
10929         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10930         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10931
10932 2011-08-10  David S. Miller  <davem@davemloft.net>
10933
10934         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10935         enum.
10936         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10937         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10938         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10939
10940 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
10941
10942         * Versions.def [libc]: Add GLIBC_2.15.
10943         * dirent/Makefile (routines): Add scandirat and scandirat64.
10944         * dirent/Versions [libc]: Export scandirat and scandirat64 for
10945         GLIBC_2.15.
10946         * dirent/dirent.h: Declare scandirat and scandirat64.
10947         * dirent/scandirat.c: New file.
10948         * dirent/scandirat64.c: New file.
10949         * sysdeps/wordsize-64/scandirat.c: New file.
10950         * sysdeps/wordsize-64/scandirat64.c: New file.
10951         * dirent/opendir.c: Define opendirat.
10952         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
10953         using scandirat.
10954         * dirent/scandir64.c: Adjust for scandir.c change.
10955         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
10956         __scandirat64, and __scandir_cancel_handler.
10957         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
10958         additional parameter and use openat instead of open (outside of ld.so).
10959         Add new __opendir as wrapper around __opendirat.
10960         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10961         here without requiring old scandirat implementation.
10962
10963 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
10964
10965         * dirent/scandir.c (cancel_handler): Renamed to
10966         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
10967         defined.  Adjust users.
10968         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10969         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10970
10971 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
10972
10973         * string/test-string.h (IMPL): Use __STRING to expand name and then
10974         stringify it.
10975
10976         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
10977         of cleanups.
10978
10979 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10980
10981         * string/Makefile: Update.
10982         (strop-tests): Append strncat.
10983         * string/test-wcscmp.c: New file.
10984         New comprehensive test for wcscmp.
10985         * string/test-strcmp.c: Update.
10986         (WIDE): New define.
10987
10988 2011-07-22  Andreas Schwab  <schwab@redhat.com>
10989
10990         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10991         line.
10992
10993 2011-07-26  Andreas Schwab  <schwab@redhat.com>
10994
10995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10996         encoding to ACE if AI_IDN.
10997
10998 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
10999
11000         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11001         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11002
11003 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11004
11005         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11006         Fix overflow bug in strncat.
11007         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11008
11009         * string/test-strncat.c: Update.
11010         Add new tests for checking overflow bugs.
11011
11012 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11013
11014         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11015         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11016         * sysdeps/i386/i686/multiarch/strcat.S: New file.
11017         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11018         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11019         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11020         * sysdeps/i386/i686/multiarch/strncat.S: New file.
11021         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11022         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11023
11024         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11025         (USE_AS_STRCAT): Define.
11026         Add strcat and strncat support.
11027         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11028
11029 2011-07-25  Andreas Schwab  <schwab@redhat.com>
11030
11031         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11032         __n bigger than INT_MAX+1.
11033         (__strncmp_g): Likewise.
11034
11035 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
11036
11037         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11038         * libio/stido.h: Likewise.
11039
11040         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11041         (AF_NFC): Define.
11042         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11043         (AF_NFC): Define.
11044
11045         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11046         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11047         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11048         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11049         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11050
11051         [BZ #13021]
11052         * scripts/test-installation.pl: Don't expect libnss_test1 to be
11053         installed.
11054
11055         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11056         typo.
11057         (_dl_x86_64_save_sse): Likewise.
11058
11059 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
11060
11061         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11062         OSXSAVE.
11063         (_dl_x86_64_save_sse): Likewise.
11064
11065         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11066
11067         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11068
11069 2011-07-21  Andreas Schwab  <schwab@redhat.com>
11070
11071         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11072         change.
11073         (_dl_x86_64_save_sse): Use correct AVX check.
11074
11075 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11076
11077         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11078         bug in strncpy/strncat.
11079         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11080
11081 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
11082
11083         * string/tester.c (test_strcat): Add tests for different alignments
11084         of source and destination.
11085         (test_strncat): Likewise.
11086
11087 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
11088
11089         [BZ #12852]
11090         * posix/glob.c (glob): Check passed in values before using them in
11091         expressions to avoid some overflows.
11092         (glob_in_dir): Likewise.
11093
11094         [BZ #13007]
11095         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11096         check for AVX enablement so that we don't crash with old kernels and
11097         new hardware.
11098         * elf/tst-audit4.c: Add same checks here.
11099         * elf/tst-audit6.c: Likewise.
11100
11101         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11102
11103 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
11104
11105         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11106
11107 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
11108
11109         * po/cs.po: Update from translation team.
11110         * po/bg.po: Likewise.
11111
11112 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
11113
11114         * misc/sys/cdefs.h: Add support for const attribute.
11115         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11116         to gnu_dev_{major,minor,makedev} functions.
11117
11118 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
11119
11120         * intl/dcigettext.c (get_output_charset): Add missing bracket.
11121
11122 2011-07-20  Andreas Schwab  <schwab@redhat.com>
11123
11124         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11125         strlen results.
11126
11127 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11128
11129         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11130         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11131         register in order to avoid conflicts with the soft frame pointer
11132         being held in r11 when necessary.
11133         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11134         (INTERNAL_VSYSCALL_NCS): Likewise.
11135
11136 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
11137
11138         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11139         * elf/dl-fini.c (_dl_fini): Adjust caller.
11140         * elf/dl-close.c (_dl_close_worker): Likewise.
11141         * sysdeps/generic/ldsodefs.h: Adjust declaration.
11142
11143 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
11144
11145         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11146         "aux_cache->nlibs < 0".
11147
11148         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11149         in the reload-count case.
11150
11151 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11152
11153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11154         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11155         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11156         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11157         * sysdeps/x86_64/multiarch/strcat.S: New file.
11158         * sysdeps/x86_64/multiarch/strncat.S: New file.
11159         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11160         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11161         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11162         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11163         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11164         (USE_AS_STRCAT): Define.
11165         Add strcat and strncat support.
11166         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11167         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11168         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11169         * string/strncat.c: Update.
11170         (USE_AS_STRNCAT): Define.
11171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11172         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11173         and i7.
11174         * sysdeps/x86_64/multiarch/init-arch.h
11175         (bit_Prefer_PMINUB_for_stringop): New.
11176         (index_Prefer_PMINUB_for_stringop): Likewise.
11177         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11178         bit_Prefer_PMINUB_for_stringop.
11179
11180 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
11181
11182         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11183         buffer64.
11184         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11185         of casting of buffer.
11186         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11187         buffer32 and buffer64.
11188         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11189         writes instead of casting of buffer.
11190         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11191         buffer32.
11192         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11193         casting of buffer.
11194
11195 2011-07-19  Andreas Schwab  <schwab@redhat.com>
11196
11197         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11198
11199 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
11200
11201         * nscd/nscd.c (termination_handler): Don't do anything for a database
11202         if it has not yet been initialized.
11203
11204 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
11205
11206         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11207
11208 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
11209
11210         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11211
11212 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
11213
11214         * po/nl.po: Update from translation team.
11215         * po/sv.po: Likewise.
11216
11217 2011-07-16  Roland McGrath  <roland@hack.frob.com>
11218
11219         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11220         now disallowed by GCC.
11221
11222         * configure.in (use-default-link): Default to yes if a test -shared
11223         link meets our qualifications.
11224         * configure: Regenerated.
11225
11226         * config.make.in (output-format): New variable.
11227         * configure.in: Check for ld --print-output-format support.
11228         * configure: Regenerated.
11229         * Makerules ($(common-objpfx)format.lds)
11230         [$(output-format) != unknown]: Just use $(output-format),
11231         instead of the linker-script munging.
11232
11233 2011-07-14  Roland McGrath  <roland@hack.frob.com>
11234
11235         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11236         of $(common-objpfx)shlib.lds.
11237         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11238
11239         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11240         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11241
11242         * configure.in (-z relro check): Adjust test code to add a large
11243         writable data section after it.
11244         * configure: Regenerated.
11245
11246 2011-07-11  Roland McGrath  <roland@hack.frob.com>
11247
11248         * configure.in (-z relro check): Fix test code to make the variable
11249         truly const.
11250         * configure: Regenerated.
11251
11252 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
11253
11254         * nscd/nscd.h (struct traced_file): Define.
11255         (struct database_dyn): Remove inotify_descr, reset_res, and filename
11256         elements.  Add traced_files.
11257         (inotify_fd): Declare.
11258         (register_traced_file): Declare.
11259         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11260         (inotify_fd): Export.
11261         (resolv_conf_descr): Remove.
11262         (nscd_init): Move inotify descriptor creation to main.
11263         Don't register files for notification here.
11264         (register_traced_file): New function.
11265         (invalidate_cache): Don't use reset_res to determine whether to call
11266         res_init, go through the list of registered files.
11267         (main_loop_poll): The inotify descriptors are now stored in the
11268         structures for the traced files.
11269         (main_loop_epoll): Likewise
11270         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
11271         to __nss_disable_nscd.
11272         * nscd/cache.c (prune_cache): There is no single inotify descriptor
11273         for a database anymore.  Check the records for all the registered
11274         files instead.
11275         * nss/Makefile (libnss_files-routines): Add files-init.
11276         (libnss_db-routines): Add db-init.
11277         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11278         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11279         * nss/nss_db/db-init.c: New file.
11280         * nss/nss_files/files-init.c: New file.
11281         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
11282         __nss_lookup_function.
11283         (__nss_lookup_function): Call nss_load_library.
11284         (nss_load_all_libraries): New function.
11285         (__nss_disable_nscd): Take parameter with callback function for files
11286         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
11287         used for the cached services.
11288         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11289         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11290         options for features to all the files in nscd.
11291
11292         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11293
11294 2011-07-10  Roland McGrath  <roland@hack.frob.com>
11295
11296         * csu/elf-init.c (__libc_csu_init): Comment typo.
11297
11298 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
11299
11300         * po/pl.po: Update from translation team.
11301         * po/ja.po: Likewise.
11302         * po/ru.po: Likewise.
11303         * po/ko.po: Likewise.
11304         * po/fr.po: Likewise.
11305
11306 2011-07-09  Roland McGrath  <roland@hack.frob.com>
11307
11308         * configure.in (.ctors/.dtors header and trailer check):
11309         Use an empirical test on a built program.
11310         * configure: Regenerated.
11311
11312         * configure.in (-z relro check): Use an empirical test on a built DSO.
11313         Detect, but do not require, on ia64.
11314         * configure: Regenerated.
11315
11316         * configure.in (READELF): Find it with AC_CHECK_TOOL.
11317         Update tests that use readelf to use $READELF instead.
11318         * configure: Regenerated.
11319
11320 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
11321
11322         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11323         if the result is not used.
11324
11325 2011-07-05  Andreas Jaeger  <aj@suse.de>
11326
11327         [BZ#9696]
11328         * stdlib/tst-strtod.c: Add testcase.
11329
11330 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
11331
11332         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11333         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11334         The latter has a higher limit.  Take additional parameter to pass to
11335         the new function.
11336         (__pathconf): Pass file to __statfs_link_max.
11337         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11338         __statfs_link_max.
11339         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11340         __statfs_link_max.
11341
11342         [BZ #12868]
11343         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11344         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11345         Handle Lustre.
11346         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11347         (__statfs_filesize_max): Likewise.
11348         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11349
11350 2011-07-05  Andreas Jaeger  <aj@suse.de>
11351
11352         * resolv/res_comp.c (dn_skipname): Remove unused variable.
11353
11354 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
11355
11356         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11357         `status' variable.
11358         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11359         Likewise.
11360
11361 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
11362
11363         * Makefile (strop-tests): Add strncat.
11364         * string/test-strncat.c: New file.
11365
11366 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
11367
11368         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11369
11370 2011-06-21  Andreas Jaeger  <aj@suse.de>
11371
11372         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11373         Copy rule from iconvdata/Makefile.
11374
11375 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
11376
11377         [BZ #12922]
11378         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11379         but no long options are defined, just return 'W'.
11380
11381 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
11382
11383         [BZ #9696]
11384         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11385
11386 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
11387
11388         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11389         netgroups to read.
11390         (innetgr): Likewise.
11391
11392 2011-07-05  Roland McGrath  <roland@hack.frob.com>
11393
11394         * config.make.in (install_root): Default to $(DESTDIR).
11395
11396 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
11397
11398         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11399
11400 2011-07-02  Roland McGrath  <roland@hack.frob.com>
11401
11402         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11403
11404         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11405         containing directory rather than embedding absolute directory names.
11406
11407         * scripts/check-local-headers.sh: Rewritten using awk.
11408         Match by word, not by line.  Print error messages for matches.
11409         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11410
11411         * Makerules [shlib-lds-flags empty]:
11412         ($(common-objpfx)libc_pic.opts): New target.
11413         ($(common-objpfx)libc_pic.os.clean): New target.
11414         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11415
11416         * config.make.in (OBJCOPY): New variable.
11417         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11418         * configure: Regenerated.
11419
11420         * config.make.in (use-default-link): New variable.
11421         * configure.in (use_default_link): Grok --with-default-link to set it.
11422         * configure: Regenerated.
11423         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11424         (shlib-lds, shlib-lds-flags): Define to empty.
11425
11426         * Makerules (shlib-lds): New variable.
11427         (shlib-lds-flags): New variable.
11428         (build-shlib, build-moduile, build-module-asneeded): Use it.
11429         ($(common-objpfx)libc.so): Use $(shlib-lds).
11430         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11431         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11432
11433         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11434         DT_FLAGS/DT_FLAGS_1 with zero flags.
11435
11436         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11437         linker script munging.
11438
11439 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
11440
11441         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11442         as 128-bit value.
11443         * crypt/sha512.c (sha512_process_block): Perform total addition using
11444         128-bit if possible.
11445         (__sha512_finish_ctx): Likewise.
11446         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11447         as 64-bit value.
11448         * crypt/sha256.c (SWAP64): Define.
11449         (sha256_process_block): Perform total addition using 64-bit if
11450         possible.
11451         (__sha256_finish_ctx): Likewise.
11452
11453 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
11454
11455         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
11456         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11457         * nscd/hstcache.c (cache_addhst): Likewise.
11458         * nscd/grpcache.c (cache_addgr): Likewise.
11459         * nscd/aicache.c (addhstaiX): Likewise
11460         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11461
11462 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
11463
11464         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11465         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11466         * nscd/hstcache.c (cache_addhst): Likewise.
11467         * nscd/grpcache.c (cache_addgr): Likewise.
11468         * nscd/aicache.c (addhstaiX): Likewise
11469
11470 2011-07-01  Andreas Schwab  <schwab@redhat.com>
11471
11472         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11473         domain only when needed.
11474
11475 2011-06-30  Andreas Schwab  <schwab@redhat.com>
11476
11477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11478         is always restored.
11479
11480 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
11481
11482         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11483         are re-adding the entry.
11484         * nscd/servicescache.c (cache_addserv): Likewise.
11485
11486 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11487
11488         * sysdeps/generic/dl-irel.h: fix protection against multiple
11489         inclusions.
11490         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11491
11492 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
11493
11494         [BZ #12935]
11495         * malloc/memusage.sh: Fix quoting in message.
11496         * debug/xtrace.sh: Likewise.
11497
11498         * configure.in: Remove support for --experimental-malloc option, make
11499         it the default.
11500         * config.make.in: Likewise.
11501         * malloc/Makefile: Likewise.
11502
11503 2011-06-27  Andreas Schwab  <schwab@redhat.com>
11504
11505         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11506         two-byte characters.
11507
11508 2011-06-27  Roland McGrath  <roland@hack.frob.com>
11509
11510         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11511         AC_CACHE_CHECK invocation.
11512         * configure: Regenerated.
11513
11514         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11515
11516 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
11517
11518         [BZ #12350]
11519         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
11520         bit from old_res_options.
11521
11522         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11523
11524         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11525         value type for setfct.
11526
11527 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
11528
11529         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11530         __gettimeofday instead of gettimeofday.
11531
11532 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
11533
11534         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11535
11536 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11537
11538         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11539
11540         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11541         info.
11542
11543 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
11544
11545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11546         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11547         strcpy-sse2-unaligned strncpy-sse2-unaligned
11548         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11549         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11550         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11551         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11552         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11553         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11554         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11555         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11556         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11557         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11558         (STRCPY): Support SSE2 and SSSE3 versions.
11559
11560 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
11561
11562         [BZ #12874]
11563         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11564         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11565         kernels which artificially limit size of requests.
11566
11567 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
11568
11569         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11570         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11571         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11572         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11573         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11574         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11575         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11576         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11577         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11578         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11579         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11580         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11581         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11582         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11583         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11584         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11585         Enable unaligned load optimization for Intel Core i3, i5 and i7
11586         processors.
11587         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11588         Define.
11589         (index_Fast_Unaligned_Load): Define.
11590         (HAS_FAST_UNALIGNED_LOAD): Define.
11591
11592 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
11593
11594         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11595
11596 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
11597
11598         [BZ #12907]
11599         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11600         until it is clear that the information is realy needed.
11601         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11602
11603 2011-06-22  Andreas Schwab  <schwab@redhat.com>
11604
11605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11606
11607 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
11608
11609         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11610         /sys/devices/system/cpu/online if it is usable.
11611
11612         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11613         reading the information from the /proc filesystem to once a second.
11614
11615 2011-06-21  Andreas Jaeger  <aj@suse.de>
11616
11617         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11618         NULL after inclusion of kernel headers.
11619
11620 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
11621
11622         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11623         calls to internal_setent.
11624
11625         [BZ #12885]
11626         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11627         addresses using gethostbyname4_r ignore IPv4 addresses.
11628
11629         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11630         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
11631
11632         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11633
11634 2011-06-20  David S. Miller  <davem@davemloft.net>
11635
11636         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11637         inclusions.
11638         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11639
11640         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11641         (elf_irel): Use it.
11642         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11643         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11644         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11645         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11646         * sysdeps/x86_64/dl-irel.h: Likewise.
11647
11648         * elf/dl-runtime.c: Use elf_ifunc_invoke.
11649         * elf/dl-sym.c: Likewise.
11650
11651 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
11652
11653         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
11654         need to dereference resplen2.
11655
11656 2011-06-14  Andreas Schwab  <schwab@redhat.com>
11657
11658         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11659
11660 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
11661
11662         * Makeconfig: Define vardbdir and inst_vardbdir.
11663         * nss/Makefile: Add rules to install db-Makefile.
11664
11665         * nss/nss_db/db-XXX.c: Cleanup.
11666
11667         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11668         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11669         GLIBC_PRIVATE.
11670         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11671         * nss/makedb.c: Implement -g option to specify that value strings
11672         are generated and should not be added to table iterated over for
11673         get*ent calls.
11674         * nss/nss_db/db-initgroups.c: New file.
11675
11676         * nss/getent.c: Add support for initgroups lookups through getgrouplist
11677         interface.
11678
11679         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11680         (internal_getgrouplist): Adjust to name change.
11681         Update use_initgroups_entry if this is not the first call.
11682         * nss/databases.def: Add initgroups entry.
11683
11684         * nss/makedb.c (compute_tables): Check result of multiple hash table
11685         sizes to minimize maximum chain length.
11686
11687 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
11688
11689         * Versions.def: Add entry for libnss_db.
11690         * shlib-versions: Likewise.
11691         * nss/Makefile: Add rules to build libnss_db.
11692         * nss/Versions: Add libnss_db information.  Organize libnss_files
11693         entries better.
11694         * nss/db-Makefile: Add gshadow support.  Change rules for the new
11695         makedb progra.  Some minor improvements to generate smaller files.
11696         * nss/nss_db/nss_db.h: Move NSS database header data structures to
11697         here from...
11698         * nss/makedb.c: ...here.
11699         Improve database format to be smaller and require less memory at
11700         runtime.
11701         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
11702         db anymore.
11703         * nss/nss_db/db-netgrp.c: Likewise.
11704         * nss/nss_db/db-open.c: Likewise.
11705         * nss/nss_files/flies-XXX.x: Adjust comments.
11706         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11707         * nss/nss_files/files-grp.c: Likewise.
11708         * nss/nss_files/files-hosts.c: Likewise.
11709         * nss/nss_files/files-network.c: Likewise.
11710         * nss/nss_files/files-proto.c: Likewise.
11711         * nss/nss_files/files-pwd.c: Likewise.
11712         * nss/nss_files/files-rpc.c: Likewise.
11713         * nss/nss_files/files-service.c: Likewise.
11714         * nss/nss_files/files-sgrp.c: Likewise.
11715         * nss/nss_files/files-spwd.c: Likewise.
11716         * nss/nss_db/db-alias.c: Removed.
11717         * nss/nss_db/dummy-db.h: Removed.
11718
11719 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
11720
11721         * nss/makedb.c: Rewritten to not use database library.
11722         * nss/Makefile: Update to build new makedb program.
11723
11724 2011-06-14  Andreas Jaeger  <aj@suse.de>
11725
11726         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11727         memset declaration.
11728
11729 2011-06-10  Andreas Schwab  <schwab@redhat.com>
11730
11731         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11732         tmpbuf.
11733
11734 2011-06-10  Roland McGrath  <roland@hack.frob.com>
11735
11736         * Makerules (shlib.lds): Fail if the linker script comes out empty.
11737         * elf/Makefile ($(objpfx)ld.so): Likewise.
11738
11739         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11740         Don't list ld.so twice in dependencies.
11741
11742         * posix/bug-regex31.c: Include <stdlib.h>.
11743
11744         * nscd/hstcache.c (cache_addhst): Remove unused variable.
11745
11746         * nis/nss_compat/compat-spwd.c
11747         (getspent_next_nss_netgr): Remove unused variable.
11748         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11749
11750         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11751         nonmembers" output to use the right array.
11752
11753         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11754
11755         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11756
11757         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11758         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11759         * catgets/gencat.c (read_input_file): Likewise.
11760         * locale/programs/locarchive.c (enlarge_archive): Likewise.
11761
11762         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11763         variable definition inside #if's controlling its use.
11764
11765         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11766
11767         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11768
11769         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11770
11771         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11772         unreachable code.
11773
11774         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11775
11776         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11777         * configure: Regenerated.
11778
11779         * Makerules: Revert last change.
11780         * elf/Makefile: Likewise.
11781
11782 2011-06-09  Roland McGrath  <roland@hack.frob.com>
11783
11784         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11785         * elf/Makefile ($(objpfx)librtld.os): Likewise.
11786         (reloc-link): Likewise.
11787
11788 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
11789
11790         * elf/Makefile: Add rules to build pldd.
11791         * elf/pldd.c: New file.
11792         * elf/pldd-xx.c: New file.
11793
11794 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
11795
11796         * version.h: Update for 2.15 development version.
11797
11798 2011-06-07  David S. Miller  <davem@davemloft.net>
11799
11800         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11801         ifuncs.
11802         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11803         elf_machine_lazy_rel): Likewise.
11804         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11805         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11806         elf_machine_lazy_rel): Likewise.
11807         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11808         dl_hwcap via passed in argument.
11809         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11810         Likewise.
11811
11812 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11813
11814         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
11815
11816 2011-06-06  Roland McGrath  <roland@hack.frob.com>
11817
11818         [BZ #12849]
11819         * manual/fdl-1.1.texi: New file, verbatim from:
11820         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11821         * manual/lgpl-2.1.texi: New file, verbatim from:
11822         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11823         * manual/Makefile (licenses): New variable, list those new file names.
11824         (texis): Use it.
11825         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11826
11827         * manual/fdl.texi: File removed.
11828         * manual/lesser.texi: File removed.
11829         * manual/libc.texinfo (Copying, Documentation License):
11830         Use new @include file names, put @appendix directive before @include.
11831
11832 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
11833
11834         [BZ #12841]
11835         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11836         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11837         (mq_open): Add __NTH.
11838
11839 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
11840
11841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11842         Assume Intel Core i3/i5/i7 processor if AVX is available.
11843
11844 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
11845
11846         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11847         typo.
11848
11849 2011-05-31  Andreas Schwab  <schwab@redhat.com>
11850
11851         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11852         memory.  Use alloca_account.  Fix memory leak when retrying.
11853
11854 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
11855
11856         * version.h (RELEASE): Bump for 2.14 release.
11857         * include/features.h (__GLIBC_MINOR__): Bump to 14.
11858
11859         * config.make.in (RANLIB): Remove entry.
11860
11861 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
11862
11863         * po/Makefile (po-sed-cmd): Add ksh to extensions.
11864         (libc.pot): Work around missing support for .ksh extension in xgettext.
11865
11866         [BZ #12684]
11867         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11868         if both request failed.
11869         (send_dg): In case of server errors clear resplen or *resplen2.
11870
11871         [BZ #12454]
11872         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11873         when there are multiple maps.
11874         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11875         (_dl_fini): Remove test here.
11876
11877         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11878
11879 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
11880
11881         [BZ #12350]
11882         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11883         bit from old_res_options.
11884         (gaih_inet): Likewise.
11885
11886         [BZ #11099]
11887         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11888         as signed.
11889
11890         * resolv/res_init.c (res_setoptions): Make the code more compact.
11891
11892         [BZ #11558]
11893         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11894         set RES_USEVC.
11895
11896         [BZ #11634]
11897         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11898
11899         * malloc/malloc.h: Mark malloc hook variables as deprecated.
11900
11901         [BZ #11781]
11902         * malloc/malloc.h: Declare malloc hook variables as volatile.
11903
11904         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11905         in last patch.
11906
11907         [BZ #11799]
11908         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11909         raise in the comment.
11910         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11911         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11912         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11913
11914 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
11915
11916         [BZ #12811]
11917         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11918         grow the buffers more if it already has to be sufficient.
11919         (build_wcs_upper_buffer): Likewise.
11920         * posix/regexec.c (check_matching): Likewise.
11921         (clean_state_log_if_needed): Likewise.
11922         (extend_buffers): Don't enlarge buffers beyond size of the input
11923         buffer.
11924         Patches mostly by Emil Wojak <emil@wojak.eu>.
11925         * posix/bug-regex32.c: New file.
11926         * posix/Makefile (tests): Add bug-regex32.
11927
11928         * locale/findlocale.c (_nl_find_locale): Return right away if
11929         _nl_explode_name failed.
11930         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11931
11932         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11933
11934         * debug/xtrace.sh: Unify messages.
11935         * malloc/memusage.sh: Likewise.
11936
11937         [BZ #12813]
11938         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11939         time symbol from vDSO.  Substitute with vsyscall if not available.
11940         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11941         __vdso_time.
11942
11943         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11944         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11945         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11946         Add sendmmsg and internal_sendmmsg.
11947         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11948         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11949         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11950
11951         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11952         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11953         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11954
11955 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
11956
11957         [BZ #12813]
11958         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11959         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
11960         available.
11961         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11962         __vdso_getcpu.
11963
11964         [BZ #12814]
11965         * iconvdata/Makefile (tests): Add bug-iconv9.
11966         * iconvdata/bug-iconv9.c: New file.
11967
11968 2011-05-27  Andreas Schwab  <schwab@redhat.com>
11969
11970         [BZ #12814]
11971         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11972
11973 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
11974
11975         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11976         (struct user_regs_struct): Change intcs field back to cs.
11977
11978 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
11979
11980         * po/ja.po: Update from translation team.
11981
11982 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
11983
11984         [BZ #12795]
11985         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11986         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11987
11988 2011-05-20  Andreas Schwab  <schwab@redhat.com>
11989
11990         * stdlib/longlong.h: Update from GCC.
11991
11992 2011-05-23  Andreas Schwab  <schwab@redhat.com>
11993
11994         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11995         parameter name.
11996         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11997         Add parameter name.
11998         (__sysconf): Pass it down.
11999
12000 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
12001
12002         [BZ #12671]
12003         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12004         some situations.
12005         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12006         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12007         add in in __libc_use_alloca calls.  Adjust callers.
12008         (glob): Use malloc in some situations.
12009
12010         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12011         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12012         pltexit.
12013
12014 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
12015
12016         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12017         and CLOCK_BOOTTIME_ALARM.
12018
12019         [BZ #12782]
12020         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12021         is returned.
12022
12023         * string/_strerror.c (__strerror_r): Print negative errors as signed
12024         numbers.
12025
12026         [BZ #12777]
12027         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12028         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12029         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12030
12031         * configure.in: Fix typo in redirection and correct removal of test
12032         files in two cases.
12033
12034         [BZ #12788]
12035         * locale/setlocale.c (new_composite_name): Fix test to check for
12036         identical name of all categories.
12037
12038         [BZ #12792]
12039         * libio/filedoalloc.c (local_isatty): New function.
12040         (_IO_file_doallocate): Use local_isatty.
12041         * stdio-common/perror.c (perror): In case a new stream is used
12042         forward the stream error.
12043         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12044         error flag.
12045
12046 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
12047
12048         [BZ #11869]
12049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12050         alloca.
12051         * include/alloca.h (extend_alloca_account): Define.
12052
12053         [BZ #11857]
12054         * posix/regex.h: Fix comments with documentation of user-accessible
12055         fields after compilation and describe correct free'ing of pattern
12056         after re_compile_pattern.
12057         Patch by Reuben Thomas <rrt@sc3d.org>.
12058
12059 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
12060
12061         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12062         and -mno-altivec to prevent the compiler from using Altivec and/or
12063         VSX instructions when the corresponding registers are not available.
12064
12065 2011-05-19  Andreas Schwab  <schwab@redhat.com>
12066
12067         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12068
12069 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
12070
12071         * libio/freopen.c (freopen): Use __dup2, not dup2.
12072         * libio/freopen64.c (freopen64): Likewise.
12073
12074 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12075
12076         [BZ #12775]
12077         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12078         * math/Makefile (tests): Add test-powl.
12079         (CFLAGS-test-powl.c): Define.
12080         * math/test-powl.c: New file.
12081
12082 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12083
12084         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12085
12086 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
12087
12088         [BZ #11837]
12089         * iconvdata/gb18030.c: Update to GB18020-2005.
12090
12091 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
12092
12093         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12094         RE_SYNTAX_POSIX_AWK): Update to match recent development.
12095         Patch by Aharon Robbins <arnold@skeeve.com>.
12096
12097         [BZ #11892]
12098         * stdlib/putenv.c (putenv): Don't always create copy of the variable
12099         on the stack.
12100
12101         [BZ #11895]
12102         * misc/pselect.c (__pselect): Handle timeout value errors hidden
12103         through underflows.
12104
12105         [BZ #12766]
12106         * misc/error.c (error_at_line): Ensure file_name and old_file_name
12107         point to strings before performing equality test for error_one_per_line
12108         mode.
12109
12110         [BZ #11697]
12111         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12112
12113         [BZ #11820]
12114         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12115         (struct user_fpregs_struct): Avoid __uint*_t types.
12116
12117         [BZ #6420]
12118         * malloc/mtrace.c (tr_where): Add additional parameter to point to
12119         symbol info.  Use it instead of calling _dl_addr locally.
12120         (lock_and_info): New function.
12121         (tr_freehook): Call lock_and_info and pass symbol info as additional
12122         parameter to tr_where.
12123         (tr_mallochook): Likewise.
12124         (tr_reallochook): Likewise.
12125         (tr_memalignhook): Likewise.
12126
12127         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
12128         used and couldn't be at all thread-safe.
12129
12130 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
12131
12132         * libio/freopen.c (freopen): Don't close old file descriptor
12133         before the new one is opened.  Instead dup the new file descriptor
12134         to the old one after the new stream is created.
12135         * libio/freopen64.c (freopen64): Likewise.
12136         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12137         * libio/fileops.c (_IO_new_file_close_it): Handle new
12138         _IO_FLAGS2_NOCLOSE flag.
12139         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12140         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12141         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12142         _IO_FLAGS2_NOCLOSE flag.
12143         * include/unistd.h: Add hidden_proto for dup3.
12144         Define __have_dup3.
12145         * io/dup3.c: Define hidden symbol.
12146         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12147
12148         [BZ #7101]
12149         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12150         when an incomplete long option is used.
12151         * posix/tst-getopt_long1.c: New file.
12152         * posix/Makefile (tests): Add tst-getopt_long1.
12153
12154         [BZ #10138]
12155         * scripts/config.guess: Update from autoconf-2.68.
12156         * scripts/config.sub: Likewise.
12157
12158         [BZ #10157]
12159         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12160         tests into ...
12161         (has_cpuclock): ...this.  New function.
12162         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12163         macro here based on has_cpuclock code.
12164
12165         [BZ #10149]
12166         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12167         First byte (not low byte) is now always NUL.
12168         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12169
12170         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12171         Use non-cancelable interfaces.
12172
12173         [BZ #9809]
12174         * locale/iso-639.def: Add entry for Sorani.
12175
12176         [BZ #11901]
12177         * include/stdlib.h: Move include protection to the right place.
12178         Define abort_msg_s.  Declare __abort_msg with it.
12179         * stdlib/abort.c (__abort_msg): Adjust type.
12180         * assert/assert.c (__assert_fail_base): New function.  Majority
12181         of code from __assert_fail.  Allocate memory for __abort_msg with
12182         mmap.
12183         (__assert_fail): Now call __assert_fail_base.
12184         * assert/assert-perr.c: Remove bulk of implementation.  Use
12185         __assert_fail_base.
12186         * include/assert.hL Declare __assert_fail_base.
12187         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12188         mmap.
12189         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12190
12191 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
12192
12193         [BZ #11952]
12194         [BZ #12453]
12195         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12196         until all modules are registered in the DTV.
12197         * elf/Makefile: Add rules to build and run tst-tls19.
12198         * elf/tst-tls19.c: New file.
12199         * elf/tst-tls19mod1.c: New file.
12200         * elf/tst-tls19mod2.c: New file.
12201         * elf/tst-tls19mod3.c: New file.
12202         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12203
12204         [BZ #12083]
12205         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12206         correctly.
12207
12208         [BZ #12601]
12209         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12210         two-byte sequence errors.
12211         * iconvdata/Makefile (tests): Add bug-iconv8.
12212         * iconvdata/bug-iconv8.c: New file.
12213
12214         [BZ #12626]
12215         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12216         buf2 definition.
12217
12218         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12219
12220         [BZ #12432]
12221         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12222         (dummy_getcfa): New function.
12223         (init): Get _Unwind_GetCFA address, use dummy if not found.
12224         (backtrace_helper): In recursion check, also check whether CFA changes.
12225         (__backtrace): Completely initialize arg.
12226
12227         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12228         storing incomplete byte sequence in state object.  Avoid testing for
12229         guaranteed too small input if we know there is enough data available.
12230
12231 2011-05-11  Andreas Schwab  <schwab@redhat.com>
12232
12233         * Makeconfig (+link-pie): Indent.
12234         * Rules (binaries-pie): Define if $(have-fpie) and
12235         $(build-shared).
12236         (binaries-shared): Also filter out $(binaries-pie).
12237         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12238         * nscd/Makefile (others-pie): Add nscd.
12239         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12240         ($(objpfx)nscd): Remove command override.
12241         * login/Makefile (others-pie): Add pt_chown.
12242         ($(objpfx)pt_chown): Remove command override.
12243         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12244         remove command overrides.
12245
12246 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
12247
12248         * libio/tst_putwc.c: Fix error messages.
12249
12250         [BZ #12724]
12251         * libio/fileops.c (_IO_new_file_close_it): Always flush when
12252         currently writing and seek to current position when not.
12253         * libio/Makefile (tests): Add bug-fclose1.
12254         * libio/bug-fclose1.c: New file.
12255
12256 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
12257
12258         [BZ #12511]
12259         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12260         don't set DF_1_NODELETE here.
12261         (do_lookup_x): When entering new entry test for copy relocation
12262         and if necessary set DF_1_NODELETE flag.
12263         * elf/tst-unique4.cc: New file.
12264         * elf/tst-unique4.h: New file.
12265         * elf/tst-unique4lib.cc: New file.
12266         * elf/Makefile: Add rules to build and run tst-unique4.
12267         Patch by Piotr Bury <pbury@goahead.com>.
12268
12269 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
12270
12271         [BZ #12052]
12272         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12273
12274         [BZ #12625]
12275         * misc/mntent_r.c (addmntent): Flush the stream after the output
12276
12277         [BZ #12393]
12278         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12279         (is_trusted_path_normalize): Skip initial colon.  Append slash
12280         to empty buffer.  Duplicate is_trusted_path code but allow
12281         constructed patch to be prefix.
12282         (is_dst): Allow $ORIGIN followed by /.
12283         (_dl_dst_substitute): Correct clearing of check_for_trusted.
12284         Correct testing of result of is_trusted_path_normalize
12285         (decompose_rpath): Fix warning.
12286
12287 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
12288
12289         [BZ #11257]
12290         * grp/initgroups.c (internal_getgrouplist): When we found the service
12291         list through the initgroups entry in nsswitch.conf do not always
12292         continue on a successful lookup.  Don't always use the
12293         __nss_group_database value if it is set.
12294         * nss/nsswitch.conf (initgroups): Change action for successful db
12295         lookup to continue for compatibility.
12296
12297 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
12298
12299         [BZ #11532]
12300         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12301         and CP774 modules.
12302         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12303         and CP774 modules.
12304         * iconvdata/tst-tables.sh: Likewise.
12305         * iconvdata/cp770.c: New file.
12306         * iconvdata/cp771.c: New file.
12307         * iconvdata/cp772.c: New file.
12308         * iconvdata/cp773.c: New file.
12309         * iconvdata/cp774.c: New file.
12310         * iconvdata/testdata/CP770: New file.
12311         * iconvdata/testdata/CP770..UTF8: New file.
12312         * iconvdata/testdata/CP771: New file.
12313         * iconvdata/testdata/CP771..UTF8: New file.
12314         * iconvdata/testdata/CP772: New file.
12315         * iconvdata/testdata/CP772..UTF8: New file.
12316         * iconvdata/testdata/CP773: New file.
12317         * iconvdata/testdata/CP773..UTF8: New file.
12318         * iconvdata/testdata/CP774: New file.
12319         * iconvdata/testdata/CP774..UTF8: New file.
12320
12321         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12322         END CHARMAP line.
12323         * iconvdata/gen-8bit-gap.sh: Likewise.
12324         * iconvdata/gen-8bit.sh: Likewise.
12325
12326         * locale/iso-639.def: Add ary entry.
12327
12328         [BZ #11258]
12329         * locale/C-translit.h.in: Add U20A1 transliteration.
12330
12331         [BZ #12178]
12332         * locale/iso-639.def: Add wae entry.
12333         Patch by Kevin Bortis <bortis@translate-wae.ch>.
12334
12335         [BZ #12545]
12336         * locale/programs/localedef.c (construct_output_path): Use ssize_t
12337         for n.
12338
12339         [BZ #12711]
12340         * locale/C-translit.h.in: Add entry for U20B9.
12341         Patch by pravin.d.s@gmail.com.
12342
12343 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
12344
12345         [BZ #12713]
12346         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12347         ENAMETOOLONG use generic getcwd.
12348         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
12349         in rtld.  Use *stat64.
12350         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12351         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12352         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12353         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12354         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12355         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12356         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12357         __fstatat64 macros.
12358         * include/dirent.h: Add libc_hidden_proto for rewinddir.
12359         * dirent/rewinddir.c: Add libc_hidden_def.
12360         * sysdeps/mach/hurd/rewinddir.c: Likewise.
12361         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
12362
12363         * include/dirent.h (__alloc_dir): Add flags parameter.
12364         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12365         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12366         __alloc_dir.
12367         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
12368         from fdopendir if O_CLOEXEC is already set.
12369
12370 2011-03-15  Alan Modra  <amodra@gmail.com>
12371
12372         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12373         l_tls_firstbyte_offset non-zero.  Save padding offset in
12374         l_tls_firstbyte_offset for later use.
12375         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12376         freeing static tls block.
12377
12378 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
12379
12380         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12381         where #ifdef was intended.  The intent is to prevent ARG_MAX from
12382         being defined by the kernel headers.
12383
12384 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
12385
12386         [BZ #12734]
12387         * resolv/resolv.h: Define RES_NOTLDQUERY.
12388         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12389         no-tld-query and set RES_NOTLDQUERY.
12390         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12391         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12392         modern BIND to search name as TLD unless forbidden.
12393
12394 2011-05-07  Petr Baudis  <pasky@suse.cz>
12395             Ulrich Drepper  <drepper@gmail.com>
12396
12397         [BZ #12393]
12398         * elf/dl-load.c (fillin_rpath): Move trusted path check...
12399         (is_trusted_path): ...to here.
12400         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12401         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12402         using is_trusted_path_normalize() in setuid scripts.
12403
12404 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12405
12406         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12407         __BEGIN/__END_DECLS.
12408
12409 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
12410
12411         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12412         NSS_STATUS_NOTFOUND if no record was found.
12413
12414 2011-05-05  Andreas Schwab  <schwab@redhat.com>
12415
12416         * sunrpc/Makefile (headers): Add rpc/netdb.h.
12417         (headers-not-in-tirpc): Remove rpc/netdb.h
12418         * resolv/netdb.h: Revert last change.
12419
12420 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12421
12422         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12423         circular dependency between libgcc.a and libc.a.
12424
12425 2011-05-05  Andreas Schwab  <schwab@redhat.com>
12426
12427         * resolv/netdb.h: Don't include <rpc/netdb.h>.
12428         * nis/Makefile: Don't install rpcsvc/*.
12429         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12430         instead of <rpc/types.h>.
12431         (MAXHOSTNAMELEN): Define.
12432
12433 2011-05-03  Andreas Schwab  <schwab@redhat.com>
12434
12435         * elf/ldconfig.c (add_dir): Don't crash on empty path.
12436
12437 2011-04-28  Maciej Babinski  <mbabinski@google.com>
12438
12439         [BZ #12714]
12440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12441         gethostbyname4_r when IPv6 results are possible.
12442
12443 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
12444
12445         [BZ #12723]
12446         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12447         _PC_PIPE_BUF handling.
12448
12449 2011-04-30  Bruno Haible  <bruno@clisp.org>
12450
12451         [BZ #12717]
12452         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12453         * resolv/netdb.h (getnameinfo): Change type of flags parameter
12454         to 'int'.
12455         * inet/getnameinfo.c (getnameinfo): Likewise.
12456
12457 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
12458
12459         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12460         to groups setting in database lookup.
12461         * nss/nsswitch.conf: Add initgroups entry.
12462
12463 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
12464
12465         [BZ #12685]
12466         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12467         mode string.
12468         Patch by Eric Blake <eblake@redhat.com>.
12469
12470 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
12471
12472         * sunrpc/Makefile (need-export-routines): Add svc_run.
12473         (routines): Remove svc_run.
12474         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12475         * sunrpc/clnt_perr.c (clnt_perrno): Export.
12476         * sunrpc/svc_run.c (svc_run): Likewise.
12477         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12478
12479 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
12480
12481         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12482         problem in reallocation in last patch.
12483
12484 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
12485
12486         * sunrpc/Makefile: Move inclusion of Rules.
12487
12488 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
12489
12490         * nss/nss_files/files-initgroups.c: New file.
12491         * nss/Makefile (libnss_files-routines): Add files-initgroups.
12492         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12493         _nss_files_initgroups_dyn.
12494
12495 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
12496
12497         * elf/elf.h (R_ARM_IRELATIVE): Define.
12498
12499 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
12500
12501         * po/ru.po: Update from translation team.
12502
12503 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
12504
12505         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12506         dependencies.
12507
12508 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
12509
12510         [BZ #12653]
12511         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12512         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12513         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12514         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12515         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12516
12517 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
12518
12519         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12520         differing bytes.
12521         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12522         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12523         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12524
12525 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
12526
12527         [BZ #12420]
12528         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12529         storing it.
12530         * stdlib/bug-getcontext.c: New file.
12531         * stdlib/Makefile: Add rules to build and run bug-getcontext.
12532
12533 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12534
12535         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12536         instructions into .machine "z9-109".
12537         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12538         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12539
12540 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12541
12542         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12543         between environment variables and auxiliary vector.
12544
12545 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
12546
12547         * Makefile: Add rules to build linkobj/libc.so.
12548         * include/libc-symbols.h: Define libc_hidden_nolink.
12549         * include/rpc/auth.h: Mark functions which are to be hidden.
12550         * include/rpc/auth_des.h: Likewise.
12551         * include/rpc/auth_unix.h: Likewise.
12552         * include/rpc/clnt.h: Likewise.
12553         * include/rpc/des_crypt.h: Likewise.
12554         * include/rpc/key_prot.h: Likewise.
12555         * include/rpc/pmap_clnt.h: Likewise.
12556         * include/rpc/pmap_prot.h: Likewise.
12557         * include/rpc/pmap_rmt.h: Likewise.
12558         * include/rpc/rpc_msg.h: Likewise.
12559         * include/rpc/svc.h: Likewise.
12560         * include/rpc/svc_auth.h: Likewise.
12561         * include/rpc/xdr.h: Likewise.
12562         * nis/Makefile: Link all DSOs against linkobj/libc.so.
12563         * nss/Makefile: Likewise.
12564         * sunrpc/Makefile: Don't install headers.  Build library with normal
12565         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
12566         * sunrpc/auth_des.c: Hide exported symbols by default, export some
12567         for the compat linking library.  Remove use of INTDEF/INTUSE.
12568         * sunrpc/auth_none.c: Likewise.
12569         * sunrpc/auth_unix.c: Likewise.
12570         * sunrpc/authdes_prot.c: Likewise.
12571         * sunrpc/authuxprot.c: Likewise.
12572         * sunrpc/clnt_gen.c: Likewise.
12573         * sunrpc/clnt_perr.c: Likewise.
12574         * sunrpc/clnt_raw.c: Likewise.
12575         * sunrpc/clnt_simp.c: Likewise.
12576         * sunrpc/clnt_tcp.c: Likewise.
12577         * sunrpc/clnt_udp.c: Likewise.
12578         * sunrpc/clnt_unix.c: Likewise.
12579         * sunrpc/des_crypt.c: Likewise.
12580         * sunrpc/des_soft.c: Likewise.
12581         * sunrpc/get_myaddr.c: Likewise.
12582         * sunrpc/key_call.c: Likewise.
12583         * sunrpc/key_prot.c: Likewise.
12584         * sunrpc/netname.c: Likewise.
12585         * sunrpc/pm_getmaps.c: Likewise.
12586         * sunrpc/pm_getport.c: Likewise.
12587         * sunrpc/pmap_clnt.c: Likewise.
12588         * sunrpc/pmap_prot.c: Likewise.
12589         * sunrpc/pmap_prot2.c: Likewise.
12590         * sunrpc/pmap_rmt.c: Likewise.
12591         * sunrpc/publickey.c: Likewise.
12592         * sunrpc/rpc_cmsg.c: Likewise.
12593         * sunrpc/rpc_common.c: Likewise.
12594         * sunrpc/rpc_dtable.c: Likewise.
12595         * sunrpc/rpc_prot.c: Likewise.
12596         * sunrpc/rpc_thread.c: Likewise.
12597         * sunrpc/rtime.c: Likewise.
12598         * sunrpc/svc.c: Likewise.
12599         * sunrpc/svc_auth.c: Likewise.
12600         * sunrpc/svc_authux.c: Likewise.
12601         * sunrpc/svc_raw.c: Likewise.
12602         * sunrpc/svc_run.c: Likewise.
12603         * sunrpc/svc_simple.c: Likewise.
12604         * sunrpc/svc_tcp.c: Likewise.
12605         * sunrpc/svc_udp.c: Likewise.
12606         * sunrpc/svc_unix.c: Likewise.
12607         * sunrpc/svcauth_des.c: Likewise.
12608         * sunrpc/xcrypt.c: Likewise.
12609         * sunrpc/xdr.c: Likewise.
12610         * sunrpc/xdr_array.c: Likewise.
12611         * sunrpc/xdr_float.c: Likewise.
12612         * sunrpc/xdr_intXX_t.c: Likewise.
12613         * sunrpc/xdr_mem.c: Likewise.
12614         * sunrpc/xdr_rec.c: Likewise.
12615         * sunrpc/xdr_ref.c: Likewise.
12616         * sunrpc/xdr_sizeof.c: Likewise.
12617         * sunrpc/xdr_stdio.c: Likewise.
12618
12619 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
12620
12621         [BZ #12650]
12622         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12623         * sysdeps/ia64/dl-tls.h: Likewise.
12624         * sysdeps/powerpc/dl-tls.h: Likewise.
12625         * sysdeps/s390/dl-tls.h: Likewise.
12626         * sysdeps/sh/dl-tls.h: Likewise.
12627         * sysdeps/sparc/dl-tls.h: Likewise.
12628         * sysdeps/x86_64/dl-tls.h: Likewise.
12629         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12630
12631 2011-03-14  Andreas Schwab  <schwab@redhat.com>
12632
12633         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12634         rpath element also skip the following colon.
12635         (expand_dynamic_string_token): Add is_path parameter and pass
12636         down to DL_DST_REQUIRED and _dl_dst_substitute.
12637         (decompose_rpath): Call expand_dynamic_string_token with
12638         non-zero is_path.  Ignore empty rpaths.
12639         (_dl_map_object_from_fd): Call expand_dynamic_string_token
12640         with zero is_path.
12641
12642 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
12643
12644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12645         Make cancelable.
12646
12647 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
12648
12649         [BZ #12655]
12650         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12651         Patch by Filipe David Manana <fdmanana@apache.org>.
12652
12653 2011-04-07  Andreas Schwab  <schwab@redhat.com>
12654
12655         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12656         Maintain aligned stack.
12657         (CHECK_RSP): Remove unused macro.
12658
12659 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
12660
12661         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12662         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12663
12664 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
12665
12666         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12667
12668         * include/features.h: Mention __USE_XOPEN2K8 in comment.
12669
12670 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
12671
12672         [BZ #12518]
12673         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12674         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12675         * sysdeps/x86_64/memmove.c: New file.
12676         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12677         (memcpy): Renamed to ...
12678         (__new_memcpy): This.
12679         (memcpy): Provide GLIBC_2_14 memcpy.
12680         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12681         (memcpy): Provide GLIBC_2_2_5 memcpy.
12682
12683 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
12684
12685         [BZ #12631]
12686         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12687
12688 2011-03-30  Andreas Schwab  <schwab@redhat.com>
12689
12690         * misc/syncfs.c: New file.
12691         * misc/Makefile (routines): Add syncfs.
12692         * posix/unistd.h: Declare syncfs.
12693         * sysdeps/unix/syscalls.list: Add syncfs.
12694
12695 2011-04-01  Andreas Schwab  <schwab@redhat.com>
12696
12697         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12698         open_by_handle_at.
12699         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12700         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12701         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12702         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12703         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12704         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12705         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12706
12707 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
12708
12709         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12710         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12711         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12712         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12713         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12714         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12715         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12716
12717         * io/Makefile: Compile fallocate.c, fallocate64.c, and
12718         sync_file_range.c with -fexceptions.
12719         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12720         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12721         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12722         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12723         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12724         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12725         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12726         sync_file_range as cancellation point
12727         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
12728         now a wrapper around __call_sync_file_range with cancellation handling.
12729         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12730         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
12731         function name to __call_sync_file_range.
12732         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12733         Add call_sync_file_range.
12734
12735 2011-04-01  Andreas Schwab  <schwab@redhat.com>
12736
12737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12738         bits/timex.h.
12739
12740 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
12741
12742         * iconv/iconv.h: Fix typo in comment.
12743         * io/fcntl.h: Likewise.
12744         * libio/stdio.h: Likewise.
12745         * posix/spawn.h: Likewise.
12746         * posix/unistd.h: Likewise.
12747         * stdlib/stdlib.h: Likewise.
12748         * time/time.h: Likewise.
12749         * wcsmbs/wchar.h: Likewise.
12750
12751         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12752         open_by_handle): Add.
12753         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12754         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
12755         Augment a few comments.
12756         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12757         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12758         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12759         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12760         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12761         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12762         open_by_handle.
12763
12764         * io/fcntl.h (AT_EMPTY_PATH): Define.
12765
12766 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
12767
12768         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12769         * sysdeps/unix/sysv/linux/bits/time.h: New file.
12770         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12771         to...
12772         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
12773         * Versions.def: Add GLIBC_2.14.
12774         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12775         Export.
12776
12777 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
12778
12779         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12780         round counter.
12781         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12782
12783 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12784
12785         [BZ #12597]
12786         * string/test-strncmp.c (do_page_test): New function.
12787         (check2): Likewise.
12788         (test_main): Call check2.
12789         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12790
12791 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
12792
12793         [BZ #12587]
12794         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12795         Handle cache information in CPU leaf 4.
12796         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12797
12798 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
12799
12800         [BZ #12583]
12801         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12802         character representation.
12803         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12804
12805 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
12806
12807         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12808         END(__isnan) to END(__isnanf) to match function entry point/label
12809         EALIGN(__isnanf,...).
12810
12811 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
12812
12813         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12814
12815 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
12816
12817         [BZ #12510]
12818         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12819         copy from the symbol referenced in the relocation to initialize the
12820         used variable.
12821         Patch by Piotr Bury <pbury@goahead.com>.
12822         * elf/Makefile: Add rules to build and tst-unique3.
12823         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12824         * elf/tst-unique3.cc: New file.
12825         * elf/tst-unique3.h: New file.
12826         * elf/tst-unique3lib.cc: New file.
12827         * elf/tst-unique3lib2.cc: New file.
12828
12829         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12830
12831 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
12832
12833         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12834         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
12835         to _start.
12836
12837 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
12838
12839         * elf/dl-load.c (_dl_map_object): If we are looking for the first
12840         to-be-loaded object along a path to loader is ld.so.
12841
12842 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
12843             Ulrich Drepper  <drepper@gmail.com>
12844
12845         * sysdeps/x86_64/memset.S: After aligning destination, code
12846         branches to different locations depending on the value of
12847         misalignment, when multiarch is enabled. Fix this.
12848
12849 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
12850
12851         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12852         Set _x86_64_preferred_memory_instruction for AMD processsors.
12853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12854         Set bit_Prefer_SSE_for_memop for AMD processors.
12855
12856 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
12857
12858         * libio/fmemopen.c (fmemopen): Optimize a bit.
12859
12860 2011-03-03  Andreas Schwab  <schwab@redhat.com>
12861
12862         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12863
12864 2011-03-03  Roland McGrath  <roland@redhat.com>
12865
12866         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12867
12868 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
12869
12870         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12871         __bzero_ultra1 instead of __memset_ultra1.
12872
12873 2011-02-23  Andreas Schwab  <schwab@redhat.com>
12874             Ulrich Drepper  <drepper@gmail.com>
12875
12876         [BZ #12509]
12877         * include/link.h (struct link_map): Add l_orig_initfini.
12878         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12879         returning unsuccessfully.
12880         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12881         close of a file loaded at startup, restore the original l_initfini
12882         list.
12883         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12884         list, store the pointer.
12885         * elf/Makefile ($(objpfx)noload-mem): New rule.
12886         (noload-ENV): Define.
12887         (tests): Add $(objpfx)noload-mem.
12888         * elf/noload.c: Include <memcheck.h>.
12889         (main): Call mtrace.  Close all opened handles.
12890
12891 2011-02-17  Andreas Schwab  <schwab@redhat.com>
12892
12893         [BZ #12454]
12894         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12895         dependencies are missing.
12896
12897 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12898
12899         Fix __if_freereq crash: Unlike the generic version which uses free,
12900         Hurd needs munmap.
12901         * sysdeps/mach/hurd/ifreq.h: New file.
12902
12903 2011-01-27  Petr Baudis  <pasky@suse.cz>
12904             Ulrich Drepper  <drepper@gmail.com>
12905
12906         [BZ 12445]#
12907         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12908         to extend_alloca().
12909         * stdio-common/bug23.c: New file.
12910         * stdio-common/Makefile (tests): Add bug23.
12911
12912 2010-09-28  Andreas Schwab  <schwab@redhat.com>
12913             Ulrich Drepper  <drepper@gmail.com>
12914
12915         [BZ #12489]
12916         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12917         before performing relro protection.  At old place add assertion
12918         to make sure nothing changed.
12919
12920 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
12921             Glauber de Oliveira Costa  <glommer@gmail.com>
12922
12923         * elf/elf.h: Add new ARM TLS relocs.
12924
12925 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
12926
12927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12928         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12929         cast from r3.
12930         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
12931         'tests' variable.
12932         * sysdeps/wordsize-64/tst-writev.c: New file.
12933
12934 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
12935
12936         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12937         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12938         insns in _dl_start to prevent a TOC reference before relocs are
12939         resolved.
12940
12941 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
12942
12943         [BZ #12469]
12944         * Makeconfig: Remove RANLIB definition.
12945         * Makerules: Don't use RANLIB.
12946         * aclocal.m4: Remove ranlib test.
12947         * configure.in: No need to check for ranlib.
12948         * elf/rtld-Rules: Don't use RANLIB.
12949
12950 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12951
12952         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12953         protection macro.
12954         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12955         inclusion protection macro.
12956
12957         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12958         SIGRTMIN and SIGRTMAX and print information in that case only when
12959         SIGRTMIN is defined.
12960
12961 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
12962
12963         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12964         arginfo fn returning -1.
12965
12966         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12967         and thousands string is zero terminated.
12968
12969 2011-02-03  Andreas Schwab  <schwab@redhat.com>
12970
12971         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12972         sysdeps/unix/sysv/linux/bits/socket.h.
12973
12974 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12975
12976         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12977         (__CPU_COUNT): Remove old macros.
12978         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12979         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12980         (__CPU_ALLOC, __CPU_FREE): Add macros.
12981         (__sched_cpualloc, __sched_cpufree): Add declarations.
12982
12983 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
12984
12985         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12986         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12987         * nscd/aicache.c (addhstaiX): Return timeout of added value.
12988         (readdhstai): Return value of addhstaiX call.
12989         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12990         (addgrbyX): Return value returned by cache_addgr.
12991         (readdgrbyname): Return value returned by addgrbyX.
12992         (readdgrbygid): Likewise.
12993         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12994         (addpwbyX): Return value returned by cache_addpw.
12995         (readdpwbyname): Return value returned by addhstbyX.
12996         (readdpwbyuid): Likewise.
12997         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12998         (addservbyX): Return value returned by cache_addserv.
12999         (readdservbyname): Return value returned by addservbyX:
13000         (readdservbyport): Likewise.
13001         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13002         (addhstbyX): Return value returned by cache_addhst.
13003         (readdhstbyname): Return value returned by addhstbyX.
13004         (readdhstbyaddr): Likewise.
13005         (readdhstbynamev6): Likewise.
13006         (readdhstbyaddrv6): Likewise.
13007         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13008         (readdinitgroups): Return value returned by addinitgroupsX.
13009         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13010         (prune_cache): Keep track of timeout value of re-added entries.
13011         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13012         * nscd/nscd.h: Adjust prototypes of readd* functions.
13013
13014 2011-02-04  Roland McGrath  <roland@redhat.com>
13015
13016         * nis/nis_server.c (nis_servstate): Use the right name for 0.
13017         (nis_stats): Likewise.
13018         * nis/nis_modify.c (nis_modify): Likewise.
13019         * nis/nis_remove.c (nis_remove): Likewise.
13020         * nis/nis_add.c (nis_add): Likewise.
13021
13022         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13023
13024         * posix/fnmatch_loop.c: Add some consts.
13025
13026         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13027
13028 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
13029
13030         [BZ #12460]
13031         * config.make.in (config-cflags-novzeroupper): Define.
13032         * configure.in: Substitute libc_cv_cc_novzeroupper.
13033         * elf/Makefile (AVX-CFLAGS): Define.
13034         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13035         (CFLAGS-tst-auditmod4a.c): Likewise.
13036         (CFLAGS-tst-auditmod4b.c): Likewise.
13037         (CFLAGS-tst-auditmod6b.c): Likewise.
13038         (CFLAGS-tst-auditmod6c.c): Likewise.
13039         (CFLAGS-tst-auditmod7b.c): Likewise.
13040         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13041
13042 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
13043
13044         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13045         function to the callback.
13046         Patch partly by Jiri Olsa <jolsa@redhat.com>.
13047
13048 2011-02-02  Andreas Schwab  <schwab@redhat.com>
13049
13050         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13051         of errno.
13052
13053 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
13054
13055         [BZ #11724]
13056         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13057         of constructors.
13058         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13059         of destructors.
13060         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13061
13062         [BZ #11724]
13063         * elf/Makefile: Add rules to build and run new test.
13064         * elf/tst-initorder.c: New file.
13065         * elf/tst-initorder.exp: New file.
13066         * elf/tst-initordera1.c: New file.
13067         * elf/tst-initordera2.c: New file.
13068         * elf/tst-initordera3.c: New file.
13069         * elf/tst-initordera4.c: New file.
13070         * elf/tst-initorderb1.c: New file.
13071         * elf/tst-initorderb2.c: New file.
13072         * elf/tst-order-a1.c: New file.
13073         * elf/tst-order-a2.c: New file.
13074         * elf/tst-order-a3.c: New file.
13075         * elf/tst-order-a4.c: New file.
13076         * elf/tst-order-b1.c: New file.
13077         * elf/tst-order-b2.c: New file.
13078         * elf/tst-order-main.c: New file.
13079         New test case by George Gensure <werkt0@gmail.com>.
13080
13081 2010-10-01  Andreas Schwab  <schwab@redhat.com>
13082
13083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13084         decoding ACE if AI_CANONIDN.
13085
13086 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
13087
13088         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13089
13090 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
13091
13092         * version.h (RELEASE): Bump for 2.13 release.
13093         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13094
13095         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13096
13097         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13098         MADV_NOHUGEPAGE.
13099         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13100         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13101         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13102         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13103         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13104         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13105
13106         * posix/getconf.c: Update copyright year.
13107         * catgets/gencat.c: Likewise.
13108         * csu/version.c: Likewise.
13109         * debug/catchsegv.sh: Likewise.
13110         * debug/xtrace.sh: Likewise.
13111         * elf/ldconfig.c: Likewise.
13112         * elf/ldd.bash.in: Likewise.
13113         * elf/sprof.c (print_version): Likewise.
13114         * iconv/iconv_prog.c: Likewise.
13115         * iconv/iconvconfig.c: Likewise.
13116         * locale/programs/locale.c: Likewise.
13117         * locale/programs/localedef.c: Likewise.
13118         * malloc/memusage.sh: Likewise.
13119         * malloc/mtrace.pl: Likewise.
13120         * nscd/nscd.c (print_version): Likewise.
13121         * nss/getent.c: Likewise.
13122
13123         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13124         PF_CAIF, and PF_ALG.
13125         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13126
13127 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
13128
13129         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13130         (modules-names): Use them.
13131         (ifunc-test-modules, ifunc-pie-tests): Define.
13132         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13133         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13134         (test-extras): Likewise.
13135         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13136         $(compile-command.c).
13137         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13138         (all-built-dso): Define.
13139         (check-textrel.out, check-execstack.out): Depend on it.
13140
13141         * configure.in: Don't override --enable-multi-arch.
13142
13143 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
13144
13145         [BZ #6812]
13146         * nscd/hstcache.c (tryagain): Define.
13147         (cache_addhst): Return tryagain not notfound for temporary errors.
13148         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13149         failed.
13150
13151 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
13152
13153         [BZ #10563]
13154         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13155         to make the syscall.
13156         * sysdeps/unix/sysv/linux/setgroups.c: New file.
13157
13158         [BZ #12378]
13159         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13160         and fall back to matching as normal character if the string ends before
13161         the matching ']' is found.  This is what POSIX requires.
13162         * posix/testfnm.c: Adjust test result.
13163         * posix/globtest.sh: Adjust test result.  Add new test.
13164         * posix/tst-fnmatch.input: Likewise.
13165         * posix/tst-fnmatch2.c: Add new test.
13166
13167 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
13168
13169         * elf/Makefile (check-execstack): Revert last change.  Depend on
13170         check-execstack.h.
13171         (check-execstack.h): New target.
13172         (generated): Add check-execstack.h.
13173         * elf/check-execstack.c: Include "check-execstack.h".
13174         (main): Revert last change.
13175         (handle_file): Return zero if GNU_STACK is absent and
13176         DEFAULT_STACK_PERMS doesn't include PF_X.
13177
13178 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
13179
13180         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13181         in child fails because the descriptor is already closed.
13182         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13183         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13184         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13185
13186         [BZ #12397]
13187         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13188         syscall.
13189
13190         [BZ #10484]
13191         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13192         temporary buffer used to handle multi lookups locally.
13193         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13194
13195 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
13196
13197         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13198         loader is ld.so.
13199
13200 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
13201
13202         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13203         alignment for SSE2.
13204
13205 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
13206
13207         [BZ #12394]
13208         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13209         characters.  When rounding increased number of integer digits recompute
13210         number of groups.
13211         * stdio-common/tst-grouping.c: New file.
13212         * stdio-common/Makefile: Add rules to build and run tst-grouping.
13213
13214 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
13215
13216         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13217         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
13218
13219         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13220         void.
13221         * bits/select.h: Likewise.
13222
13223 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
13224
13225         * po/ja.po: Update from translation team.
13226
13227 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
13228
13229         [BZ #11155]
13230         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13231         implementation just like for lxstat, fxstatat, et al.
13232
13233 2010-12-27  Jim Meyering  <meyering@redhat.com>
13234
13235         [BZ #12348]
13236         * posix/regexec.c (build_trtable): Return failure indication upon
13237         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
13238
13239 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
13240
13241         [BZ #12201]
13242         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13243         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13244         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13245         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13246
13247         [BZ #12207]
13248         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13249
13250         [BZ #12204]
13251         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13252         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13253
13254 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
13255
13256         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13257         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13258         script has SORT_BY_INIT_PRIORITY.
13259         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13260         NO_CTORS_DTORS_SECTIONS is defined.
13261         * elf/soinit.c: Likewise.
13262         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13263         NO_CTORS_DTORS_SECTIONS is defined.
13264         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13265         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13266         * sysdeps/sh/init-first.c: Likewise.
13267         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13268
13269 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
13270
13271         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13272         always use the slow path.
13273
13274 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
13275
13276         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13277         similar rule which adds the sysdep directories to the header search in
13278         order to pick up the correct platform stackinfo.h.
13279         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13280         perform test if it is, otherwise return successfully without testing.
13281         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13282         DEFAULT_STACK_PERMS define in stackinfo.h.
13283         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13284         defined in stackinfo.h.
13285         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13286         DEFAULT_STACK_PERMS defined in stackinfo.h.
13287         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13288         * sysdeps/ia64/stackinfo.h: Likewise.
13289         * sysdeps/s390/stackinfo.h: Likewise.
13290         * sysdeps/sh/stackinfo.h: Likewise.
13291         * sysdeps/sparc/stackinfo.h: Likewise.
13292         * sysdeps/x86_64/stackinfo.h: Likewise.
13293         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13294         PF_X for powerpc64.  Retain PF_X for powerpc32.
13295
13296 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
13297
13298         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13299         accurately.
13300         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13301         GETDENTS_64BIT_ALIGNED.
13302
13303 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
13304
13305         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13306
13307 2010-12-10  Andreas Schwab  <schwab@redhat.com>
13308
13309         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13310         _GNU_SOURCE.
13311
13312         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13313         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13314         Remove __restrict.
13315         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13316         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13317
13318 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
13319
13320         [BZ #11655]
13321         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13322         are initialized.
13323
13324 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
13325
13326         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13327
13328 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
13329
13330         * po/it.po: Update from translation team.
13331
13332 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
13333
13334         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13335         unused codes.
13336
13337 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
13338
13339         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13340
13341 2010-11-24  Andreas Schwab  <schwab@redhat.com>
13342
13343         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13344         specially.
13345         (gaih_getanswer_slice): Likewise.
13346
13347 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
13348
13349         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13350
13351 2010-05-31  Petr Baudis  <pasky@suse.cz>
13352
13353         [BZ #11149]
13354         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13355         silently even in the chroot mode.
13356
13357 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
13358
13359         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13360         last patch a bit.  Pretty printing
13361
13362 2010-05-31  Petr Baudis <pasky@suse.cz>
13363
13364         [BZ #10085]
13365         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13366         initialization of skip_initgroups_dyn.
13367
13368 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
13369
13370         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13371         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13372
13373 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
13374
13375         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13376
13377 2010-11-11  Andreas Schwab  <schwab@redhat.com>
13378
13379         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13380         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13381         (tst-fnmatch-ENV): Set MALLOC_TRACE.
13382         ($(objpfx)tst-fnmatch-mem): New rule.
13383         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13384         * posix/tst-fnmatch.c (main): Call mtrace.
13385
13386 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
13387
13388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13389         Support Intel processor model 6 and model 0x2c.
13390
13391 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
13392
13393         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13394           signed comparison.
13395
13396 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
13397
13398         [BZ #12205]
13399         * string/test-strncasecmp.c (check_result): New function.
13400         (do_one_test): Use it.
13401         (check1): New function.
13402         (test_main): Use it.
13403         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13404         Support strcasecmp and strncasecmp.
13405
13406 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
13407
13408         [BZ #12194]
13409         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13410         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13411
13412 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13413
13414         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13415         IFUNC support.
13416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13417         memset-x86-64.
13418         * sysdeps/x86_64/multiarch/bzero.S: New file.
13419         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13420         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13421         * sysdeps/x86_64/multiarch/memset.S: New file.
13422         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13424         Set bit_Prefer_SSE_for_memop for Intel processors.
13425         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13426         Define.
13427         (index_Prefer_SSE_for_memop): Define.
13428         (HAS_PREFER_SSE_FOR_MEMOP): Define.
13429
13430 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
13431
13432         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13433         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13434
13435 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
13436
13437         [BZ #12191]
13438         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13439         (__x86_64_raw_data_cache_size_half): Likewise.
13440         (__x86_64_raw_shared_cache_size): Likewise.
13441         (__x86_64_raw_shared_cache_size_half): Likewise.
13442
13443         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13444         (__x86_64_raw_data_cache_size_half): Likewise.
13445         (__x86_64_raw_shared_cache_size): Likewise.
13446         (__x86_64_raw_shared_cache_size_half): Likewise.
13447         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13448         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13449         and __x86_64_raw_shared_cache_size_half.  Round
13450         __x86_64_data_cache_size_half, __x86_64_data_cache_size
13451         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13452         to multiple of 256 bytes.
13453
13454 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
13455
13456         [BZ #12167]
13457         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13458         of inacessible symlinks.  Verify result of symlink before returning it.
13459         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13460         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13461
13462 2010-10-28  Erich Ritz  <erichritz@gmail.com>
13463
13464         * math/math.h (isinf): Fix typo in comment.
13465
13466 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
13467
13468         * po/da.po: Update from translation team.
13469
13470 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
13471
13472         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13473         is added to the list.
13474
13475 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13476             Ulrich Drepper  <drepper@gmail.com>
13477
13478         * elf/dl-object.c (_dl_new_object): Don't append the new object to
13479         the global list here.  Move code to...
13480         (_dl_add_to_namespace_list): ...here.  New function.
13481         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13482         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13483         * elf/dl-load.c (lose): Don't remove the element from the list.
13484         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13485         (_dl_map_object): Likewise.
13486
13487 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
13488
13489         [BZ #12159]
13490         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13491         into all bytes of SSE register.
13492         Patch by Richard Li <richardpku@gmail.com>.
13493
13494 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
13495
13496         [BZ #12140]
13497         * malloc/malloc.c (_int_free): Fill correct number of bytes when
13498         perturbing.
13499
13500 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
13501
13502         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13503         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13504         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13505         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13507         submachine.
13508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13509
13510 2010-10-22  Andreas Schwab  <schwab@redhat.com>
13511
13512         * include/dlfcn.h (__RTLD_SECURE): Define.
13513         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
13514         mode & __RTLD_SECURE instead.
13515         (open_path): Rename preloaded parameter to secure.
13516         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13517         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13518         * elf/dl-deps.c (openaux): Likewise.
13519         * elf/rtld.c (struct map_args): Remove is_preloaded.
13520         (map_doit): Don't use it.
13521         (dl_main): Likewise.
13522         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13523         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13524
13525 2010-09-09  Andreas Schwab  <schwab@redhat.com>
13526
13527         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13528         (sysd-rules-targets): Remove duplicates.
13529         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13530         rtld-%.$o dependency.
13531
13532 2010-10-18  Andreas Schwab  <schwab@redhat.com>
13533
13534         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13535         _dl_map_object do it.
13536
13537 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
13538
13539         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13540         fast fma builtins, define the macros in the C99 standard.
13541         (FP_FAST_FMAF): Likewise.
13542         (FP_FAST_FMAL): Likewise.
13543         * sysdeps/x86_64/bits/mathdef.h: Likewise.
13544
13545         * bits/mathdef.h: Update copyright year.
13546         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13547
13548 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
13549
13550         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13551         builtins, define the macros in the C99 standard.
13552         (FP_FAST_FMAF): Likewise.
13553         (FP_FAST_FMAL): Likewise.
13554         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13555         multiply/add.
13556         (FP_FAST_FMAF): Likewise.
13557
13558 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
13559
13560         [BZ #3268]
13561         * math/libm-test.inc (fma_test): Some new testcases.
13562         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13563         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13564         y and infinite z.  Do multiplication by C already in long double.
13565         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13566         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13567         y and infinite z.  Do bitwise or of inexact bit into u.d.
13568         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13569         * sysdeps/i386/fpu/s_fmaf.S: Removed.
13570         * sysdeps/i386/fpu/s_fma.S: Removed.
13571         * sysdeps/i386/fpu/s_fmal.S: Removed.
13572
13573 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
13574
13575         [BZ #3268]
13576         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13577         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13578         computation is not scheduled after fetestexcept.  Fix value
13579         of minimum denormal long double.
13580
13581 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
13582
13583         [BZ #3268]
13584         * math/libm-test.inc (fma_test): Add some more tests.
13585         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13586         correctly.
13587
13588 2010-10-15  Andreas Schwab  <schwab@redhat.com>
13589
13590         * scripts/data/localplt-s390-linux-gnu.data: New file.
13591         * scripts/data/localplt-s390x-linux-gnu.data: New file.
13592
13593 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
13594
13595         [BZ #3268]
13596         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13597         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13598         instead of dbl-64.
13599         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13600         inlines.
13601         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13603         if one of x and y is very large and the other is subnormal.
13604         * sysdeps/s390/fpu/s_fmaf.c: New file.
13605         * sysdeps/s390/fpu/s_fma.c: New file.
13606         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13607         * sysdeps/powerpc/fpu/s_fma.S: New file.
13608         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13609         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13610         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13611
13612 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
13613
13614         [BZ #3268]
13615         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13616         fma tests.
13617         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13618         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13619         * sysdeps/i386/i686/multiarch/s_fma.c: Include
13620         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13621         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13622         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13623         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13624
13625 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
13626
13627         [BZ #12078]
13628         * posix/regcomp.c (parse_branch): One more memory leak plugged.
13629         * posix/bug-regex31.input: Add test case.
13630
13631 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
13632
13633         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13634         * posix/bug-regex31.input: New file.
13635
13636         [BZ #12078]
13637         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13638         (parse_sub_exp): Fix last change, use postorder.
13639
13640         * posix/bug-regex31.c: New file.
13641         * posix/Makefile: Add rules to build and run bug-regex31.
13642
13643         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13644
13645         [BZ #12078]
13646         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13647
13648         [BZ #12108]
13649         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13650         to have entries in sys_siglist.
13651
13652         [BZ #12093]
13653         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13654         be NULL.
13655
13656 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
13657
13658         [BZ #3268]
13659         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13660         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13661         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13662         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13663         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13664         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13665         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13666         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13667         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13668         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13669         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13670         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13671         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13672         * math/ftestexcept.c (fetestexcept): Likewise.
13673         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13674         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13675         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13676         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13677         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13678         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13679         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13680
13681 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
13682
13683         [BZ #12107]
13684         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13685         newline.
13686
13687 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
13688
13689         * string/bug-strstr1.c: New file.
13690         * string/Makefile: Add rules to build and run bug-strstr1.
13691
13692 2010-10-05  Eric Blake  <eblake@redhat.com>
13693
13694         [BZ #12092]
13695         * string/str-two-way.h (two_way_long_needle): Always clear memory
13696         when skipping input due to the shift table.
13697
13698 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
13699
13700         [BZ #12005]
13701         * malloc/mcheck.c: Handle large requests.
13702
13703         [BZ #12077]
13704         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13705         for strncmp and strncasecmp.
13706         * string/stratcliff.c: Add tests for strcmp and strncmp.
13707         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13708
13709 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13710
13711         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13712         __set_fpscr.
13713
13714 2010-09-30  Andreas Jaeger  <aj@suse.de>
13715
13716         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13717         (CGROUP_SUPER_MAGIC): Define.
13718         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13719         Handle btrfs and cgroup file systems.
13720         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13721         Likewise.
13722
13723 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
13724
13725         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13726         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13727
13728 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13729
13730         [BZ #12067]
13731         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13732         trying to locate the ELF header.
13733
13734 2010-09-27  Andreas Schwab  <schwab@redhat.com>
13735
13736         [BZ #11611]
13737         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13738         Mask out sign-bit copies when constructing f_fsid.
13739
13740 2010-09-24  Petr Baudis <pasky@suse.cz>
13741
13742         * debug/stack_chk_fail_local.c: Add missing licence exception.
13743         * debug/warning-nop.c: Likewise.
13744
13745 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
13746
13747         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13748         implementing getdents64 using getdents syscall, set d_type if
13749         __ASSUME_GETDENTS32_D_TYPE.
13750
13751 2010-09-16  Andreas Schwab  <schwab@redhat.com>
13752
13753         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13754         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13755
13756 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
13757
13758         [BZ #12037]
13759         * posix/unistd.h: Undo change of feature selection for ftruncate from
13760         2010-01-11.
13761
13762 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
13763
13764         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13765         detection.
13766
13767 2010-09-20  Andreas Schwab  <schwab@redhat.com>
13768
13769         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13770         fanotify_mark.
13771         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13772
13773 2010-09-14  Andreas Schwab  <schwab@redhat.com>
13774
13775         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13776         variables after CHECK_SP call.
13777         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13778
13779 2010-09-13  Andreas Schwab  <schwab@redhat.com>
13780             Ulrich Drepper  <drepper@redhat.com>
13781
13782         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13783         re-relocationg ld.so.
13784         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13785         _dl_init_paths call.
13786         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
13787         here anymore.
13788
13789 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
13790
13791         * resolv/res_init.c (__res_vinit): Count the default server we added.
13792
13793 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
13794             Ulrich Drepper  <drepper@redhat.com>
13795
13796         [BZ #11968]
13797         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13798         (____longjmp_chk): Use %ebx for saving value across system call.
13799         Add unwind info.
13800
13801 2010-09-06  Andreas Schwab  <schwab@redhat.com>
13802
13803         * manual/Makefile: Don't mix pattern rules with normal rules.
13804
13805 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13806
13807         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13808         operation.
13809         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13810         * libio/iofopncook.c (_IO_cookie_init): Likewise.
13811         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13812         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13813         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13814         Likewise.
13815
13816 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
13817
13818         [BZ #11979]
13819         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13820         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13821
13822 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
13823
13824         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13825         * sysdeps/x86_64/addmul_1.S: Likewise.
13826         * sysdeps/x86_64/lshift.S: Likewise.
13827         * sysdeps/x86_64/mul_1.S: Likewise.
13828         * sysdeps/x86_64/rshift.S: Likewise.
13829         * sysdeps/x86_64/sub_n.S: Likewise.
13830         * sysdeps/x86_64/submul_1.S: Likewise.
13831
13832 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13833
13834         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13835         Define __sched_param instead of SCHED_* and sched_param when
13836         <bits/sched.h> is included with __need_schedparam defined.
13837         * bits/sched.h [__need_schedparam]
13838         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13839         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13840         (__defined_schedparam): Define to 1.
13841         (__sched_param): New structure, identical to sched_param.
13842         (__need_schedparam): Undefine.
13843
13844 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
13845
13846         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13847         (epoll_create1): Declare.
13848
13849         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13850
13851 2010-08-31  Andreas Schwab  <schwab@redhat.com>
13852
13853         [BZ #7066]
13854         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13855         shifting retval into place.
13856
13857 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
13858
13859         * nis/rpcsvc/nis.h: Update copyright notice.
13860         * nis/rpcsvc/nis.x: Likewise.
13861         * nis/rpcsvc/nis_callback.h: Likewise.
13862         * nis/rpcsvc/nis_callback.x: Likewise.
13863         * nis/rpcsvc/nis_object.x: Likewise.
13864         * nis/rpcsvc/nis_tags.h: Likewise.
13865         * nis/rpcsvc/yp.h: Likewise.
13866         * nis/rpcsvc/yp.x: Likewise.
13867         * nis/rpcsvc/ypupd.h: Likewise.
13868         * nis/yp_xdr.c: Likewise.
13869         * nis/ypupdate_xdr.c: Likewise.
13870
13871         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
13872         mainly the body of pmap_getport.  Add parameters to specify timeouts.
13873         (pmap_getport): Use __libc_rpc_getport.
13874         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13875         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13876         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13877
13878 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
13879
13880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13881         fanotify_mark.
13882
13883 2010-08-27  Roland McGrath  <roland@redhat.com>
13884
13885         * sysdeps/i386/i686/multiarch/Makefile
13886         (CFLAGS-varshift.c): New variable.
13887
13888 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
13889
13890         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13891         * sysdeps/i386/i686/multiarch/varshift.c: New file.
13892
13893         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13894
13895         * sysdeps/x86_64/strlen.S: Minimal code improvement.
13896
13897 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13898
13899         * sysdeps/x86_64/strlen.S: Unroll the loop.
13900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13901         strlen-sse2 strlen-sse2-bsf.
13902         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13903         __strlen_no_bsf if bit_Slow_BSF is set.
13904         (__strlen_sse42): Removed.
13905         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13906         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13907
13908 2010-08-25  Roland McGrath  <roland@redhat.com>
13909
13910         * sysdeps/x86_64/multiarch/varshift.S: File removed.
13911         * sysdeps/x86_64/multiarch/varshift.c: New file.
13912         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13913         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13914         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13915         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13916
13917 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13918
13919         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13920         strlen-sse2 strlen-sse2-bsf.
13921         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13922         __strlen_sse2_bsf if bit_Slow_BSF is unset.
13923         (__strlen_sse2): Removed.
13924         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13925         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13927         bit_Slow_BSF for Atom.
13928         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13929         (index_Slow_BSF): Define.
13930         (HAS_SLOW_BSF): Define.
13931
13932 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
13933
13934         [BZ #10851]
13935         * resolv/res_init.c (__res_vinit): When no server address at all
13936         is given default to loopback.
13937
13938 2010-08-24  Roland McGrath  <roland@redhat.com>
13939
13940         * configure.in: Remove config-name.h generation.
13941         * configure: Regenerated.
13942         * config-name.in: File removed.
13943         * scripts/config-uname.sh: New file.
13944         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13945         ($(objdir)config-name.h): New target.
13946
13947         * sunrpc/rpc_parse.h: Avoid nested comment.
13948
13949 2010-08-24  Richard Henderson  <rth@redhat.com>
13950             Ulrich Drepper  <drepper@redhat.com>
13951             H.J. Lu  <hongjiu.lu@intel.com>
13952
13953         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13955         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13956         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
13957         _mm_alignr_epi8 with _mm_loadu_si128.
13958         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13959         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13960         (__m128i_shift_right): Removed.
13961         * sysdeps/i386/i686/multiarch/varshift.h: New file.
13962         * sysdeps/i386/i686/multiarch/varshift.S: New file.
13963         * sysdeps/x86_64/multiarch/varshift.h: New file.
13964         * sysdeps/x86_64/multiarch/varshift.S: New file.
13965
13966 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
13967
13968         * configure.in: Move assembler checks to before sysdep dir checking.
13969
13970 2010-08-20  Petr Baudis  <pasky@suse.cz>
13971
13972         * LICENSES: Sync the sunrpc license.
13973
13974 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
13975
13976         * sunrpc/auth_des.c: Update copyright notice once again.
13977         * sunrpc/auth_none.c: Likewise.
13978         * sunrpc/auth_unix.c: Likewise.
13979         * sunrpc/authdes_prot.c: Likewise.
13980         * sunrpc/authuxprot.c: Likewise.
13981         * sunrpc/bindrsvprt.c: Likewise.
13982         * sunrpc/clnt_gen.c: Likewise.
13983         * sunrpc/clnt_perr.c: Likewise.
13984         * sunrpc/clnt_raw.c: Likewise.
13985         * sunrpc/clnt_simp.c: Likewise.
13986         * sunrpc/clnt_tcp.c: Likewise.
13987         * sunrpc/clnt_udp.c: Likewise.
13988         * sunrpc/clnt_unix.c: Likewise.
13989         * sunrpc/des_crypt.c: Likewise.
13990         * sunrpc/des_soft.c: Likewise.
13991         * sunrpc/get_myaddr.c: Likewise.
13992         * sunrpc/getrpcport.c: Likewise.
13993         * sunrpc/key_call.c: Likewise.
13994         * sunrpc/key_prot.c: Likewise.
13995         * sunrpc/openchild.c: Likewise.
13996         * sunrpc/pm_getmaps.c: Likewise.
13997         * sunrpc/pm_getport.c: Likewise.
13998         * sunrpc/pmap_clnt.c: Likewise.
13999         * sunrpc/pmap_prot.c: Likewise.
14000         * sunrpc/pmap_prot2.c: Likewise.
14001         * sunrpc/pmap_rmt.c: Likewise.
14002         * sunrpc/rpc/auth.h: Likewise.
14003         * sunrpc/rpc/auth_unix.h: Likewise.
14004         * sunrpc/rpc/clnt.h: Likewise.
14005         * sunrpc/rpc/des_crypt.h: Likewise.
14006         * sunrpc/rpc/key_prot.h: Likewise.
14007         * sunrpc/rpc/netdb.h: Likewise.
14008         * sunrpc/rpc/pmap_clnt.h: Likewise.
14009         * sunrpc/rpc/pmap_prot.h: Likewise.
14010         * sunrpc/rpc/pmap_rmt.h: Likewise.
14011         * sunrpc/rpc/rpc.h: Likewise.
14012         * sunrpc/rpc/rpc_des.h: Likewise.
14013         * sunrpc/rpc/rpc_msg.h: Likewise.
14014         * sunrpc/rpc/svc.h: Likewise.
14015         * sunrpc/rpc/svc_auth.h: Likewise.
14016         * sunrpc/rpc/types.h: Likewise.
14017         * sunrpc/rpc/xdr.h: Likewise.
14018         * sunrpc/rpc_clntout.c: Likewise.
14019         * sunrpc/rpc_cmsg.c: Likewise.
14020         * sunrpc/rpc_common.c: Likewise.
14021         * sunrpc/rpc_cout.c: Likewise.
14022         * sunrpc/rpc_dtable.c: Likewise.
14023         * sunrpc/rpc_hout.c: Likewise.
14024         * sunrpc/rpc_main.c: Likewise.
14025         * sunrpc/rpc_parse.c: Likewise.
14026         * sunrpc/rpc_parse.h: Likewise.
14027         * sunrpc/rpc_prot.c: Likewise.
14028         * sunrpc/rpc_sample.c: Likewise.
14029         * sunrpc/rpc_scan.c: Likewise.
14030         * sunrpc/rpc_scan.h: Likewise.
14031         * sunrpc/rpc_svcout.c: Likewise.
14032         * sunrpc/rpc_tblout.c: Likewise.
14033         * sunrpc/rpc_util.c: Likewise.
14034         * sunrpc/rpc_util.h: Likewise.
14035         * sunrpc/rpcinfo.c: Likewise.
14036         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14037         * sunrpc/rpcsvc/key_prot.x: Likewise.
14038         * sunrpc/rpcsvc/klm_prot.x: Likewise.
14039         * sunrpc/rpcsvc/mount.x: Likewise.
14040         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14041         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14042         * sunrpc/rpcsvc/rex.x: Likewise.
14043         * sunrpc/rpcsvc/rstat.x: Likewise.
14044         * sunrpc/rpcsvc/rusers.x: Likewise.
14045         * sunrpc/rpcsvc/sm_inter.x: Likewise.
14046         * sunrpc/rpcsvc/spray.x: Likewise.
14047         * sunrpc/rpcsvc/yppasswd.x: Likewise.
14048         * sunrpc/rtime.c: Likewise.
14049         * sunrpc/svc.c: Likewise.
14050         * sunrpc/svc_auth.c: Likewise.
14051         * sunrpc/svc_authux.c: Likewise.
14052         * sunrpc/svc_raw.c: Likewise.
14053         * sunrpc/svc_run.c: Likewise.
14054         * sunrpc/svc_simple.c: Likewise.
14055         * sunrpc/svc_tcp.c: Likewise.
14056         * sunrpc/svc_udp.c: Likewise.
14057         * sunrpc/svc_unix.c: Likewise.
14058         * sunrpc/svcauth_des.c: Likewise.
14059         * sunrpc/xcrypt.c: Likewise.
14060         * sunrpc/xdr.c: Likewise.
14061         * sunrpc/xdr_array.c: Likewise.
14062         * sunrpc/xdr_float.c: Likewise.
14063         * sunrpc/xdr_mem.c: Likewise.
14064         * sunrpc/xdr_rec.c: Likewise.
14065         * sunrpc/xdr_ref.c: Likewise.
14066         * sunrpc/xdr_sizeof.c: Likewise.
14067         * sunrpc/xdr_stdio.c: Likewise.
14068
14069         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14070         handling.
14071
14072 2010-08-19  Andreas Schwab  <schwab@redhat.com>
14073
14074         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14075
14076 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
14077
14078         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14079         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14080         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14081         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14082         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14083         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14084         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14085         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14086         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14087         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14088         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14089         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14090         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14091         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14092
14093 2010-07-26  Anton Blanchard  <anton@samba.org>
14094
14095         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14096         * malloc/arena.c (heap_trim): Likewise.
14097
14098 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
14099
14100         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14101         here.  Not...
14102         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14103         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14104
14105 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14106
14107         * sysdeps/i386/elf/Makefile: New file.
14108
14109 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
14110
14111         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14112         from fanotify_init.
14113         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14114         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14115
14116 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
14117
14118         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14119         of strncasecmp_l.
14120         * sysdeps/multiarch/strcmp.S: Likewise.
14121
14122 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
14123
14124         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14125         strncase_l-nonascii.
14126         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14127         Add strncase_l-ssse3.
14128         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14129         * sysdeps/x86_64/strcmp.S: Likewise.
14130         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14131         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14132         * sysdeps/x86_64/strncase.S: New file.
14133         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14134         * sysdeps/x86_64/strncase_l.S: New file.
14135         * string/Makefile (strop-tests): Add strncasecmp.
14136         * string/test-strncasecmp.c: New file.
14137
14138         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14139         warning.
14140
14141         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14142         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14143
14144 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
14145
14146         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14147
14148 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
14149
14150         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14151         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14152         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14153
14154 2010-05-01  Alan Modra  <amodra@gmail.com>
14155
14156         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14157         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14158         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14159         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14160         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14161         tidying.  Don't tail-call __sigjmp_save for static lib.
14162         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14163         save location.
14164         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14165         (CALL_MCOUNT): Add eh info, and nop after bl.
14166         (TAIL_CALL_SYSCALL_ERROR): New macro.
14167         (PSEUDO_RET): Use it.
14168         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14169         Correct save location of integer regs and cr.
14170         (_dl_profile_resolve): Correct cr save location.  Delete nops
14171         after bl when SHARED.  Reduce cfi size a little by better
14172         placement of cfi directives.
14173         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14174         make a stack frame.  Instead use parm save area as a temp.
14175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14176         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
14177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14178         Don't make a stack frame for parent, use parm save area.
14179         Increase child stack frame to 112 bytes.  Don't save unused reg,
14180         and adjust reg usage.  Set up cfi on error recovery and
14181         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14183         (__makecontext): Add dummy nop after jump to exit.
14184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14185         Use correct parm save area and cr save, reduce stack frame.
14186         Correct cfi for possible PSEUDO_RET frame setup.
14187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14188         Branch to local label emitted by PSEUDO_RET rather than
14189         __syscall_error.
14190
14191 2010-08-12  Andreas Schwab  <schwab@redhat.com>
14192
14193         [BZ #11904]
14194         * locale/programs/locale.c (print_assignment): New function.
14195         (show_locale_vars): Use it.
14196
14197 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
14198
14199         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14200         field.
14201         (struct statfs64): Likewise.
14202         (_STATFS_F_FLAGS): Define.
14203         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14204         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14205         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14206         (ST_VALID): Define locally.
14207         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14208         __statvfs_getflags, use the provided value.
14209         * sysdeps/unix/sysv/linux/kernel-features.h: Define
14210         __ASSUME_STATFS_F_FLAGS.
14211
14212         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14213
14214         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14215         Add sys/fanotify.h.
14216         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14217         fanotify_mask for GLIBC_2.13.
14218         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14219         fanotify_init and fanotify_mark.
14220         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14221         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14222
14223         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14224         Add prlimit.
14225         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14226         prlimit64 for GLIBC_2.13.
14227         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14228         prlimit64.
14229         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14230         syscall.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14232         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14233         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14234         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14235         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
14236         add prlimit alias.
14237         * sysdeps/unix/sysv/linux/prlimit.c: New file.
14238
14239         [BZ #11903]
14240         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14241         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14242
14243         * nss/Makefile: Add rules to build and run tst-nss-test1.
14244         * shlib-versions: Add entry for libnss_test1.
14245         * nss/nss_test1.c: New file.
14246         * nss/tst-nss-test1.c: New file.
14247
14248         * nss/nsswitch.c (__nss_database_custom): Define new variable.
14249         (__nss_configure_lookup): Set appropriate entry in
14250         __nss_configure_lookup to true.
14251         * nss/nsswitch.h: Define enum with indeces of databases in
14252         databases and __nss_database_custom arrays.  Declare
14253         __nss_database_custom.
14254         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14255         to avoid using nscd when custom rules are installed.
14256         * nss/getXXbyYY_r.c: Likewise.
14257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14258
14259         * nss/nss_files/files-parse.c: Whitespace fixes.
14260
14261 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
14262
14263         [BZ #11883]
14264         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14265         * posix/fnmatch_loop.c: Likewise.
14266
14267 2010-07-17  Andi Kleen  <ak@linux.intel.com>
14268
14269         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14270         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14271         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14272         * Versions.def [GLIBC_2.13]: Add.
14273
14274 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
14275
14276         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14277         Also fail if tpwd after pwuid call is NULL.
14278
14279 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14280
14281         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14282         when converting to ms.
14283
14284 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14285
14286         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14287         EOPNOTSUPP errors with ENOTTY.
14288         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14289         EOPNOTSUPP errors with ENOTTY.
14290
14291 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
14292
14293         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14294         Add strcasecmp_l-ssse3.
14295         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14296         strcasecmp.
14297         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14298         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14299         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14300
14301 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
14302
14303         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14304
14305         * string/Makefile (strop-tests): Add strcasecmp.
14306         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14307         strcasecmp_l-nonascii.
14308         (gen-as-const-headers): Add locale-defines.sym.
14309         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14310         * sysdeps/x86_64/strcasecmp.S: New file.
14311         * sysdeps/x86_64/strcasecmp_l.S: New file.
14312         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14313         * sysdeps/x86_64/locale-defines.sym: New file.
14314         * string/test-strcasecmp.c: New file.
14315
14316         * string/test-strcasestr.c: Test both ends of the range of characters.
14317         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14318
14319 2010-07-29  Roland McGrath  <roland@redhat.com>
14320
14321         [BZ #11856]
14322         * manual/locale.texi (Yes-or-No Questions): Fix example code.
14323
14324 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
14325
14326         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14327         for ld.so.
14328
14329 2010-07-27  Andreas Schwab  <schwab@redhat.com>
14330
14331         * manual/memory.texi (Malloc Tunable Parameters): Document
14332         M_PERTURB.
14333
14334 2010-07-26  Roland McGrath  <roland@redhat.com>
14335
14336         [BZ #11840]
14337         * configure.in (-fgnu89-inline check): Set and substitute
14338         gnu89_inline, not libc_cv_gnu89_inline.
14339         * configure: Regenerated.
14340         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14341
14342 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
14343
14344         * string/test-strnlen.c: New file.
14345         * string/Makefile (strop-tests): Add strnlen.
14346         * string/tester.c (test_strnlen): Add a few more test cases.
14347         * string/tst-strlen.c: Better error reporting.
14348
14349         * sysdeps/x86_64/strnlen.S: New file.
14350
14351 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
14352
14353         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14354         lower-latency instructions.
14355
14356 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
14357
14358         * string/test-strcasestr.c: New file.
14359         * string/test-strstr.c: New file.
14360         * string/Makefile (strop-tests): Add strstr and strcasestr.
14361         * string/str-two-way.h: Don't undefine MAX.
14362         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14363
14364 2010-07-21  Andreas Schwab  <schwab@redhat.com>
14365
14366         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14367         strcasestr-nonascii.
14368         (CFLAGS-strcasestr-nonascii.c): Define.
14369         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14370         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14371         Remove unused attribute.
14372
14373 2010-07-20  Roland McGrath  <roland@redhat.com>
14374
14375         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14376         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
14377         ld.so.cache was broken.  With it, there is no way to disable dsocaps
14378         like LD_HWCAP_MASK can disable hwcaps.
14379
14380 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
14381
14382         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14383
14384 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
14385
14386         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14387         call in strcasestr.
14388         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14389         __strcasestr_sse42_nonascii.
14390         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14391         strcasestr-nonascii.c.
14392         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14393
14394 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
14395
14396         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14397         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14398         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14399         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14400
14401 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
14402
14403         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14404         fcntl.
14405
14406 2010-07-06  Andreas Schwab  <schwab@redhat.com>
14407
14408         [BZ #11577]
14409         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14410         dl_signal_cerror.
14411
14412 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
14413
14414         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14415         _PC_PIPE_BUF using F_GETPIPE_SZ.
14416
14417 2010-07-05  Roland McGrath  <roland@redhat.com>
14418
14419         * manual/arith.texi (Rounding Functions): Fix rint description
14420         implicit in round description.
14421
14422 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
14423
14424         * elf/Makefile: Fix linking for a few tests to make recent linker
14425         happy.
14426
14427 2010-06-30  Andreas Schwab  <schwab@redhat.com>
14428
14429         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14430         $(common-objpfx)libc_nonshared.a.
14431
14432 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
14433
14434         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14435         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14436         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14437         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14438         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14439         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14440         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14441         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14456         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14457         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14458         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14459         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14460         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14461         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14462         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14463         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14464         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14465         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14466         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14467         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14482
14483 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14484
14485         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14486         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
14487         * string/memmove.c (memmove): Renamed to ...
14488         (MEMMOVE): ...this.  Default to memmove.
14489         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14490         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14491         (END_CHK): Define.
14492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14493         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14494         mempcpy-ssse3-back memmove-ssse3-back.
14495         * sysdeps/x86_64/multiarch/bcopy.S: New file .
14496         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14497         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14498         * sysdeps/x86_64/multiarch/memcpy.S: New file.
14499         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14500         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14501         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14502         * sysdeps/x86_64/multiarch/memmove.c: New file.
14503         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14504         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14505         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14506         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14507         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14508         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14509         Define.
14510         (index_Fast_Copy_Backward): Define.
14511         (HAS_ARCH_FEATURE): Define.
14512         (HAS_FAST_REP_STRING): Define.
14513         (HAS_FAST_COPY_BACKWARD): Define.
14514
14515 2010-06-21  Andreas Schwab  <schwab@redhat.com>
14516
14517         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14518         Restore proper fallback handling.
14519
14520 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
14521
14522         [BZ #11701]
14523         * posix/group_member.c (__group_member): Correct checking loop.
14524
14525         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14526         OOM in getpwuid_r correctly.  Return error number when the caller
14527         should return, otherwise -1.
14528         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14529         call returning > 0 value.
14530         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14531
14532 2010-06-07  Andreas Schwab  <schwab@redhat.com>
14533
14534         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14535         libc_nonshared.a from targets in modules-names.
14536
14537 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
14538
14539         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14540         requires it.
14541
14542 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
14543
14544         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14545         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14546         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14547         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14548
14549 2010-06-02  Andreas Schwab  <schwab@redhat.com>
14550
14551         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14552
14553 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
14554
14555         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14556         and F_GETPIPE_SZ.
14557         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14558         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14559         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14560         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14561         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14562         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14563
14564 2010-06-14  Roland McGrath  <roland@redhat.com>
14565
14566         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14567
14568 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
14569
14570         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14571         __REDIRECT followed by __THROW.
14572         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14573         * posix/getopt.h (getopt): Likewise.
14574
14575 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
14576
14577         * hurd/lookup-at.c (__file_name_lookup_at): Accept
14578         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
14579         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14580         in AT_FLAGS.
14581         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14582         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14583
14584 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
14585
14586         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14587
14588 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
14589
14590         [BZ #11640]
14591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14592         Properly check family and model.
14593
14594 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
14595
14596         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14597
14598 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
14599
14600         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14601
14602 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
14603
14604         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14605         symbol reference.
14606
14607 2010-05-19  Andreas Schwab  <schwab@redhat.com>
14608
14609         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14610         symbol reference.
14611
14612 2010-05-21  Andreas Schwab  <schwab@redhat.com>
14613
14614         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14615         and internal_recvmmsg.
14616         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14617         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14618         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14619         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14620
14621         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14622         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14623         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14624
14625 2010-05-20  Andreas Schwab  <schwab@redhat.com>
14626
14627         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14628
14629 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
14630
14631         POWER7 optimizations.
14632         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14633         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14634
14635 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
14636
14637         * version.h: Update for 2.13 development version.
14638
14639 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
14640
14641         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14642         exceptions.  Return 0.
14643
14644 2010-05-07  Roland McGrath  <roland@redhat.com>
14645
14646         * elf/ldconfig.c (main): Add a const.
14647
14648 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
14649
14650         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14651         (args_options): Add no-idn option.
14652         (ahosts_keys_int): Add idn_flags to ai_flags.
14653         (parse_option): Handle 'i' option to clear idn_flags.
14654
14655         * malloc/malloc.c (_int_free): Possible race in the most recently
14656         added check.  Only act on the data if no current modification
14657         happened.
14658
14659 See ChangeLog.17 for earlier changes.